mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
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)
This commit is contained in:
parent
f5ea0ae2e6
commit
7220a250ce
@ -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
|
||||
|
14
www/py-django-bootstrap-pagination/files/patch-setup.py
Normal file
14
www/py-django-bootstrap-pagination/files/patch-setup.py
Normal file
@ -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',
|
Loading…
Reference in New Issue
Block a user