Skip to content

Commit

Permalink
www/py-django-haystack: Update to 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed May 13, 2022
1 parent 49984ee commit 11cf1cf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
29 changes: 9 additions & 20 deletions www/py-django-haystack/Makefile
Original file line number Diff line number Diff line change
@@ -1,40 +1,29 @@
# Created by: Kristaps Kulis <kristaps.kulis@gmail.com>

PORTNAME= django-haystack
PORTVERSION= 3.1.1
PORTREVISION= 1
PORTVERSION= 3.2.1
CATEGORIES= www databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Pluggable search for Django

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR}

USES= python:3.5+
USE_PYTHON= distutils concurrent autoplist
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes
PORTDOCS= *

OPTIONS_DEFINE= DOCS ELASTIC
OPTIONS_DEFAULT= ELASTIC
OPTIONS_DEFINE= ELASTIC
OPTIONS_DEFAULT=ELASTIC
ELASTIC_DESC= Elasticsearch support

ELASTIC_DESC= Enable Elasticsearch support

DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
ELASTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch5>=5<6:textproc/py-elasticsearch5@${PY_FLAVOR}

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/build/sphinx/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
"! -name .buildinfo -and ! -name objects.inv")
ELASTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch>=5<8:textproc/py-elasticsearch@${PY_FLAVOR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions www/py-django-haystack/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1642337783
SHA256 (django-haystack-3.1.1.tar.gz) = 6d05756b95d7d5ec1dbd4668eb999ced1504b47f588e2e54be53b1404c516a82
SIZE (django-haystack-3.1.1.tar.gz) = 467122
TIMESTAMP = 1652122707
SHA256 (django-haystack-3.2.1.tar.gz) = 97e3197aefc225fe405b6f17600a2534bf827cb4d6743130c20bc1a06f7293a4
SIZE (django-haystack-3.2.1.tar.gz) = 466580
3 changes: 2 additions & 1 deletion www/py-django-haystack/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ architecture that allows you to swap things in and out as you need to, it's how
search ought to be. Haystack is BSD licensed, plays nicely with third-party app
without needing to modify the source and supports Solr, Whoosh and Xapian.

WWW: http://haystacksearch.org/
WWW: https://haystacksearch.org/
WWW: https://github.com/django-haystack/django-haystack

0 comments on commit 11cf1cf

Please sign in to comment.