git: 6ab3e86434d2 - main - devel/py-yarg: Do not install test module

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 21:55:34 UTC
The branch main has been updated by ehaupt:

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

commit 6ab3e86434d26aa9268a67ca18988baa6886e8b8
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-03-30 21:54:42 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-03-30 21:54:42 +0000

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

diff --git a/devel/py-yarg/Makefile b/devel/py-yarg/Makefile
index 63997a07ed4a..f432fe157d6e 100644
--- a/devel/py-yarg/Makefile
+++ b/devel/py-yarg/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	yarg
 PORTVERSION=	0.1.9
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-yarg/files/patch-setup.py b/devel/py-yarg/files/patch-setup.py
new file mode 100644
index 000000000000..f414f03cd638
--- /dev/null
+++ b/devel/py-yarg/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2014-08-11 21:55:01 UTC
++++ setup.py
+@@ -21,7 +21,7 @@ setup(name=__title__,
+       long_description=long_desc,
+       license=__license__,
+       platforms=['linux'],
+-      packages=find_packages(exclude=["*.tests"]),
++      packages=find_packages(exclude=["tests"]),
+       install_requires=['requests', ],
+       requires=['requests', ],
+       provides=[__title__, ],