git: b32108b9fb2b - main - math/py-iohexperimenter: Do not install tests module

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

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

commit b32108b9fb2bdd9b8017dca7ca409f8b88e5e604
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:00:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:06 +0000

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

diff --git a/math/py-iohexperimenter/Makefile b/math/py-iohexperimenter/Makefile
index dfd1e1b00ae5..b919729ac6f1 100644
--- a/math/py-iohexperimenter/Makefile
+++ b/math/py-iohexperimenter/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	iohexperimenter
 PORTVERSION=	0.2.9.2
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/math/py-iohexperimenter/files/patch-setup.py b/math/py-iohexperimenter/files/patch-setup.py
new file mode 100644
index 000000000000..f888102c625c
--- /dev/null
+++ b/math/py-iohexperimenter/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2021-01-29 16:13:26 UTC
++++ setup.py
+@@ -43,7 +43,7 @@ setup(
+     version=__version__,
+     author="Furong Ye, Diederick Vermetten, and Hao Wang",
+     author_email="f.ye@liacs.leidenuniv.nl",
+-    packages=find_packages(),
++    packages=find_packages(exclude=['tests*']),
+     description="The experimenter for Iterative Optimization Heuristic",
+     long_description=long_description,
+     long_description_content_type="text/markdown",