graphics/py-pygraph: Do not install test module

PR:		262759
Reported by:	se
This commit is contained in:
Emanuel Haupt 2022-03-30 23:52:46 +02:00
parent 49636a5650
commit a9d8c1dfdc
2 changed files with 11 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= pygraph
DISTVERSION= 0.2.1-4
DISTVERSIONSUFFIX= -g037bb2f
PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -0,0 +1,10 @@
--- setup.py.orig 2017-10-31 16:41:33 UTC
+++ setup.py
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup
-EXCLUDE_FROM_PACKAGES = []
+EXCLUDE_FROM_PACKAGES = ['tests']
setup(
name='PyGraph',