Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2022 21:53:01 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a9d8c1dfdc01 - main - graphics/py-pygraph: Do not install test module
Message-ID:  <202203302153.22ULr1Df019673@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a9d8c1dfdc01608dcc70e52538b230cbca242388

commit a9d8c1dfdc01608dcc70e52538b230cbca242388
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-03-30 21:52:46 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-03-30 21:52:56 +0000

    graphics/py-pygraph: Do not install test module
    
    PR:             262759
    Reported by:    se
---
 graphics/py-pygraph/Makefile             |  1 +
 graphics/py-pygraph/files/patch-setup.py | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/graphics/py-pygraph/Makefile b/graphics/py-pygraph/Makefile
index 22861288113e..4272c584017d 100644
--- a/graphics/py-pygraph/Makefile
+++ b/graphics/py-pygraph/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	pygraph
 DISTVERSION=	0.2.1-4
 DISTVERSIONSUFFIX=	-g037bb2f
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/graphics/py-pygraph/files/patch-setup.py b/graphics/py-pygraph/files/patch-setup.py
new file mode 100644
index 000000000000..72ba6ee29abe
--- /dev/null
+++ b/graphics/py-pygraph/files/patch-setup.py
@@ -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',



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203302153.22ULr1Df019673>