diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/py-django-bootstrap-pagination/Makefile | 3 | ||||
-rw-r--r-- | www/py-django-bootstrap-pagination/files/patch-setup.py | 14 |
2 files changed, 16 insertions, 1 deletions
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', |