Lines 1-8
Link Here
|
1 |
# Created by: Kristaps Kulis <kristaps.kulis@gmail.com> |
1 |
# Created by: Kristaps Kulis <kristaps.kulis@gmail.com> |
2 |
|
2 |
|
3 |
PORTNAME= django-haystack |
3 |
PORTNAME= django-haystack |
4 |
PORTVERSION= 2.8.1 |
4 |
PORTVERSION= 3.1.1 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= www databases python |
5 |
CATEGORIES= www databases python |
7 |
MASTER_SITES= CHEESESHOP |
6 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 13-19
COMMENT= Pluggable search for Django
Link Here
|
13 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE= BSD3CLAUSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
14 |
|
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} |
15 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} |
17 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} |
16 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} |
18 |
|
17 |
|
19 |
USES= python:3.5+ |
18 |
USES= python:3.5+ |
Lines 22-30
USE_PYTHON= distutils concurrent autoplist
Link Here
|
22 |
NO_ARCH= yes |
21 |
NO_ARCH= yes |
23 |
PORTDOCS= * |
22 |
PORTDOCS= * |
24 |
|
23 |
|
25 |
OPTIONS_DEFINE= DOCS |
24 |
OPTIONS_DEFINE= DOCS ELASTIC |
|
|
25 |
OPTIONS_DEFAULT= ELASTIC |
26 |
|
27 |
ELASTIC_DESC= Enable Elasticsearch support |
28 |
|
26 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
29 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
27 |
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" |
30 |
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" |
|
|
31 |
ELASTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch5>=5<6:textproc/py-elasticsearch5@${PY_FLAVOR} |
28 |
|
32 |
|
29 |
post-install-DOCS-on: |
33 |
post-install-DOCS-on: |
30 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
34 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |