git: 2f7a1179663e - main - www/py-pysmartdl: Do not install test module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:46:02 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2f7a1179663ecb5686c73beb078c7b73fbb5bc78
commit 2f7a1179663ecb5686c73beb078c7b73fbb5bc78
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:05:44 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:20 +0000
www/py-pysmartdl: Do not install test module
- Bump PORTREVISION for package change
PR: 262759
Reported by: se
---
www/py-pysmartdl/Makefile | 1 +
www/py-pysmartdl/files/patch-setup.py | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/www/py-pysmartdl/Makefile b/www/py-pysmartdl/Makefile
index 168e45a83d5b..d2f7986358b5 100644
--- a/www/py-pysmartdl/Makefile
+++ b/www/py-pysmartdl/Makefile
@@ -2,6 +2,7 @@
PORTNAME= pysmartdl
PORTVERSION= 1.3.4
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-pysmartdl/files/patch-setup.py b/www/py-pysmartdl/files/patch-setup.py
new file mode 100644
index 000000000000..b91914dc6703
--- /dev/null
+++ b/www/py-pysmartdl/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2020-09-19 15:39:42 UTC
++++ setup.py
+@@ -11,7 +11,7 @@ setup(
+ author='Itay Brandes',
+ author_email='brandes.itay+pysmartdl@gmail.com',
+ license='Public Domain',
+- packages=find_packages(),
++ packages=find_packages(exclude=['test*']),
+ description='A Smart Download Manager for Python',
+ long_description=open('README.md').read(),
+ test_suite = "test.test_pySmartDL.test_suite",