git: b97f894b6768 - main - devel/py-cachy: Do not install tests module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:43:42 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b97f894b67680e272ed40b1d74b0e01d0df3b9a5
commit b97f894b67680e272ed40b1d74b0e01d0df3b9a5
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:59:30 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:52 +0000
devel/py-cachy: Do not install tests module
- Bump PORTREVISION for package change
PR: 262759
Reported by: se
---
devel/py-cachy/Makefile | 1 +
devel/py-cachy/files/patch-setup.py | 12 +++++++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/devel/py-cachy/Makefile b/devel/py-cachy/Makefile
index a39a2aca4dee..fd569924ea6e 100644
--- a/devel/py-cachy/Makefile
+++ b/devel/py-cachy/Makefile
@@ -2,6 +2,7 @@
PORTNAME= cachy
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-cachy/files/patch-setup.py b/devel/py-cachy/files/patch-setup.py
index 97616bb8ce31..2e90428514f8 100644
--- a/devel/py-cachy/files/patch-setup.py
+++ b/devel/py-cachy/files/patch-setup.py
@@ -1,6 +1,16 @@
--- setup.py.orig 1970-01-01 00:00:00 UTC
+++ setup.py
-@@ -14,7 +14,7 @@ package_data = \
+@@ -5,16 +5,14 @@ packages = \
+ ['cachy',
+ 'cachy.contracts',
+ 'cachy.serializers',
+- 'cachy.stores',
+- 'tests',
+- 'tests.stores']
++ 'cachy.stores']
+
+ package_data = \
+ {'': ['*']}
extras_require = \
{'memcached': ['python-memcached>=1.59,<2.0'],