Date: Sun, 18 Apr 2021 08:30:07 GMT From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7220a250ce94 - main - www/py-django-bootstrap-pagination: Switch to Django 3.2 Message-ID: <202104180830.13I8U7IP021294@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=7220a250ce9464445c5df399d89754368474c0ad commit 7220a250ce9464445c5df399d89754368474c0ad Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2021-04-18 07:28:03 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2021-04-18 08:28:33 +0000 www/py-django-bootstrap-pagination: Switch to Django 3.2 * Adjust RUN_DEPENDS to use Django 3.2 (LTS release) because the extended support for Django 3.0 has expired on 6th April 2021. * Also avoid the installation of the test suite into the root of Python's site-lib directory as it can lead to conflicts with other packages. PR: 255114 Approved by: dbaio (maintainer) --- www/py-django-bootstrap-pagination/Makefile | 3 ++- www/py-django-bootstrap-pagination/files/patch-setup.py | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/www/py-django-bootstrap-pagination/Makefile b/www/py-django-bootstrap-pagination/Makefile index 90360b8e00a3..bff2696b6aac 100644 --- a/www/py-django-bootstrap-pagination/Makefile +++ b/www/py-django-bootstrap-pagination/Makefile @@ -1,5 +1,6 @@ PORTNAME= django-bootstrap-pagination DISTVERSION= 1.7.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -9,7 +10,7 @@ COMMENT= Bootstrap pagination for django LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django30>=1.7.0:www/py-django30@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.7.0:www/py-django32@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils diff --git a/www/py-django-bootstrap-pagination/files/patch-setup.py b/www/py-django-bootstrap-pagination/files/patch-setup.py new file mode 100644 index 000000000000..b541907c0fb6 --- /dev/null +++ b/www/py-django-bootstrap-pagination/files/patch-setup.py @@ -0,0 +1,14 @@ +Avoid the installation of the test suite in the top-level directory +of ${PYTHON_SITELIBDIR}. + +--- setup.py.orig 2019-06-13 21:18:37 UTC ++++ setup.py +@@ -17,7 +17,7 @@ setup( + keywords="django bootstrap pagination templatetag", + author=u'Jason McClellan<jason@jasonmcclellan.io>, Koert van der Veer<koert@ondergetekende.nl>', + author_email='jason@jasonmccllelan.io', +- packages=find_packages(), ++ packages=find_packages(exclude=['tests']), + url='https://github.com/jmcclell/django-bootstrap-pagination', + license='MIT licence, see LICENCE', + description='Render Django Page objects as Bootstrap 3.x/4.x Pagination compatible HTML',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104180830.13I8U7IP021294>