ports/www/py-django-bootstrap-pagination/files/patch-setup.py
Kai Knoblich 7220a250ce 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)
2021-04-18 10:28:33 +02:00

14 lines
661 B
Python

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',