git: dfc2536f7da1 - main - textproc/py-pybtex: Do not install tests module

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:45:40 UTC
The branch main has been updated by sunpoet:

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

commit dfc2536f7da14c9797337dce2f8acc995fcb778f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:04:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:16 +0000

    textproc/py-pybtex: Do not install tests module
    
    - Bump PORTREVISION for package change
    
    PR:             262759
    Reported by:    se
---
 textproc/py-pybtex/Makefile             |  1 +
 textproc/py-pybtex/files/patch-setup.py | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/textproc/py-pybtex/Makefile b/textproc/py-pybtex/Makefile
index 9629b39dd3df..326e3c2f356f 100644
--- a/textproc/py-pybtex/Makefile
+++ b/textproc/py-pybtex/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	pybtex
 PORTVERSION=	0.24.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/textproc/py-pybtex/files/patch-setup.py b/textproc/py-pybtex/files/patch-setup.py
new file mode 100644
index 000000000000..83eeab858264
--- /dev/null
+++ b/textproc/py-pybtex/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2021-01-17 19:26:34 UTC
++++ setup.py
+@@ -92,7 +92,7 @@ setup(
+     install_requires=install_requires,
+     extras_require=extras_require,
+     python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
+-    packages=find_packages(exclude=['docs']),
++    packages=find_packages(exclude=['docs', 'tests*']),
+     include_package_data=True,
+     cmdclass={'sdist': Sdist},
+     entry_points={