Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2022 10:21:15 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: ff62c1197457 - main - www/py-django-registration-redux: Fix wayward test files installing
Message-ID:  <202203301021.22UALFmI079806@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=ff62c1197457e70e44b011b2fd3809e6b40fd400

commit ff62c1197457e70e44b011b2fd3809e6b40fd400
Author:     Kevin Golding <ports@caomhin.org>
AuthorDate: 2022-03-30 10:15:01 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-30 10:15:01 +0000

    www/py-django-registration-redux: Fix wayward test files installing
    
    * Prevent installing the test suite into the top level of Python's
      site-lib directory to avoid conflicting files.
    
    * Bump PORTREVISION due package change.
    
    PR:             262759 [1], 262800
    Reported by:    se [1]
---
 www/py-django-registration-redux/Makefile             |  1 +
 www/py-django-registration-redux/files/patch-setup.py | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/www/py-django-registration-redux/Makefile b/www/py-django-registration-redux/Makefile
index d489b3bd3580..7b17900185b4 100644
--- a/www/py-django-registration-redux/Makefile
+++ b/www/py-django-registration-redux/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	django-registration-redux
 PORTVERSION=	2.10
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-django-registration-redux/files/patch-setup.py b/www/py-django-registration-redux/files/patch-setup.py
new file mode 100644
index 000000000000..52d04f23138c
--- /dev/null
+++ b/www/py-django-registration-redux/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig      2022-03-25 16:28:33 UTC
++++ setup.py
+@@ -30,7 +30,7 @@ setup(
+     author_email='macropin@gmail.com',
+     url='https://github.com/macropin/django-registration',
+     package_dir={'registration': 'registration'},
+-    packages=find_packages(exclude='test_app'),
++    packages=find_packages(exclude=['test_app']),
+     tests_require=['pytest-django'],
+     cmdclass={'test': PyTest},
+     include_package_data=True,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203301021.22UALFmI079806>