Date: Wed, 30 Mar 2022 10:21:16 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: 855b1b0a36f4 - main - www/py-django-star-ratings: Fix wayward test files installing Message-ID: <202203301021.22UALGTs079837@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=855b1b0a36f43e40d9eb02da77ebfbfdbffc666d commit 855b1b0a36f43e40d9eb02da77ebfbfdbffc666d Author: Kevin Golding <ports@caomhin.org> AuthorDate: 2022-03-30 10:18:08 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-03-30 10:18:08 +0000 www/py-django-star-ratings: 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], 262798 Reported by: se [1] --- www/py-django-star-ratings/Makefile | 1 + www/py-django-star-ratings/files/patch-setup.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/www/py-django-star-ratings/Makefile b/www/py-django-star-ratings/Makefile index d8a8b06fa892..2efca8d6b5c6 100644 --- a/www/py-django-star-ratings/Makefile +++ b/www/py-django-star-ratings/Makefile @@ -2,6 +2,7 @@ PORTNAME= django-star-ratings PORTVERSION= 0.9.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-django-star-ratings/files/patch-setup.py b/www/py-django-star-ratings/files/patch-setup.py new file mode 100644 index 000000000000..2db904294a92 --- /dev/null +++ b/www/py-django-star-ratings/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-03-25 15:45:28 UTC ++++ setup.py +@@ -41,7 +41,7 @@ if sys.argv[-1] == 'publish': + setup( + name='django-star-ratings', + version=version, +- packages=find_packages(), ++ packages=find_packages(exclude=['tests*']), + include_package_data=True, + package_data={ + 'star_ratings/static': ['*'],
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203301021.22UALGTs079837>