1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

www/py-woob: Do not install tests files

PR:		269003
This commit is contained in:
Oleg Sidorkin 2023-01-16 22:34:14 +03:00 committed by Jason E. Hale
parent 628f67be98
commit bbbaebcf3b
2 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= woob
PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -0,0 +1,14 @@
Exclude test files from being installed.
PR: 269003
--- setup.py.orig 2022-12-20 10:22:03 UTC
+++ setup.py
@@ -29,7 +29,7 @@ from setuptools import find_packages, setup
def install_woob():
- packages = set(find_packages(exclude=['modules', 'modules.*']))
+ packages = set(find_packages(exclude=['modules', 'modules.*', 'tests', 'tests.*']))
data_files = [
('share/man/man1', glob.glob('man/*')),