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:
parent
628f67be98
commit
bbbaebcf3b
@ -1,5 +1,6 @@
|
||||
PORTNAME= woob
|
||||
PORTVERSION= 3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
14
www/py-woob/files/patch-setup.py
Normal file
14
www/py-woob/files/patch-setup.py
Normal 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/*')),
|
Loading…
Reference in New Issue
Block a user