summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/py-pybtex/Makefile1
-rw-r--r--textproc/py-pybtex/files/patch-setup.py11
2 files changed, 12 insertions, 0 deletions
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={