git: fad5d1754c6c - main - biology/py-ont-fast5-api: Update to 4.0.2

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 16:39:57 UTC
The branch main has been updated by jwb:

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

commit fad5d1754c6cacc578077dfa752196f3db3271f7
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2022-03-25 16:37:29 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2022-03-25 16:37:29 +0000

    biology/py-ont-fast5-api: Update to 4.0.2
    
    Minor bug fix release
    
    Also disabled install of test directory, which was not properly
    installed under the package subdir and caused a conflict as a result
    
    PR:             262759
---
 biology/py-ont-fast5-api/Makefile             |  4 ++--
 biology/py-ont-fast5-api/distinfo             |  6 +++---
 biology/py-ont-fast5-api/files/patch-setup.py | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/biology/py-ont-fast5-api/Makefile b/biology/py-ont-fast5-api/Makefile
index d998d68a0e04..79879d97e612 100644
--- a/biology/py-ont-fast5-api/Makefile
+++ b/biology/py-ont-fast5-api/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ont-fast5-api
 DISTVERSIONPREFIX=	release_
-DISTVERSION=	4.0.0
+DISTVERSION=	4.0.2
 CATEGORIES=	biology python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -18,7 +18,7 @@ RUN_DEPENDS=	${PYNUMPY} \
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 USE_GITHUB=	yes
 
 GH_ACCOUNT=	nanoporetech
diff --git a/biology/py-ont-fast5-api/distinfo b/biology/py-ont-fast5-api/distinfo
index 9156cd8912ef..d6298ee5ba57 100644
--- a/biology/py-ont-fast5-api/distinfo
+++ b/biology/py-ont-fast5-api/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628770827
-SHA256 (nanoporetech-ont_fast5_api-release_4.0.0_GH0.tar.gz) = 7f9b3fa0f814ff38c30e9cb21971ec61e2b3fd52fb166a8404c21bf25679e0ab
-SIZE (nanoporetech-ont_fast5_api-release_4.0.0_GH0.tar.gz) = 4081125
+TIMESTAMP = 1648128656
+SHA256 (nanoporetech-ont_fast5_api-release_4.0.2_GH0.tar.gz) = c078dc0d20b02cd9807105415f259e099f1adc8b922d67a1a9fe04321c098361
+SIZE (nanoporetech-ont_fast5_api-release_4.0.2_GH0.tar.gz) = 4082466
diff --git a/biology/py-ont-fast5-api/files/patch-setup.py b/biology/py-ont-fast5-api/files/patch-setup.py
new file mode 100644
index 000000000000..a29c7326d3b5
--- /dev/null
+++ b/biology/py-ont-fast5-api/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2022-03-25 16:23:32 UTC
++++ setup.py
+@@ -35,7 +35,7 @@ setup(name=__pkg_name__.replace("_", "-"),
+       version=get_version(),
+       url='https://github.com/nanoporetech/{}'.format(__pkg_name__),
+       install_requires=installation_requirements,
+-      packages=find_packages(),
++      packages=find_packages(exclude=['test']),
+       package_data={__pkg_name__: ['vbz_plugin/*.so', 'vbz_plugin/*.dylib', 'vbz_plugin/*.dll']},
+       python_requires='>=3.6',
+       entry_points={'console_scripts': [