mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
MFH: r562572
www/py-django-classy-tags: Prevent installation of test suite at top-level * Add a workaround to prevent the installation of the test suite into Python's site-lib directory at top-level. * Bump PORTREVISION due changed package contents. PR: 252974 Approved by: cs (maintainer) Approved by: ports-secteam (implicit, packaging fix blanket)
This commit is contained in:
parent
a076ddb4ef
commit
95408651f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=562573
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= django-classy-tags
|
||||
PORTVERSION= 2.0.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
16
www/py-django-classy-tags/files/patch-setup.py
Normal file
16
www/py-django-classy-tags/files/patch-setup.py
Normal file
@ -0,0 +1,16 @@
|
||||
Avoid the installation of the test suite in the top-level directory
|
||||
of ${PYTHON_SITELIBDIR}.
|
||||
|
||||
See also: https://github.com/django-cms/django-classy-tags/issues/58
|
||||
|
||||
--- setup.py.orig 2020-08-26 08:49:51 UTC
|
||||
+++ setup.py
|
||||
@@ -41,7 +41,7 @@ setup(
|
||||
license='BSD',
|
||||
description='Class based template tags for Django',
|
||||
long_description=open('README.rst').read(),
|
||||
- packages=find_packages(),
|
||||
+ packages=find_packages(exclude=("tests",)),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
install_requires=REQUIREMENTS,
|
Loading…
Reference in New Issue
Block a user