git: 2fc2654fd19f - main - misc/py-pyEDFlib: Update 0.1.25 -> 0.1.28

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 22 Feb 2022 08:28:23 UTC
The branch main has been updated by yuri:

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

commit 2fc2654fd19f2f4613121fec3d58fa96ca6b2c45
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-22 08:00:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-22 08:28:21 +0000

    misc/py-pyEDFlib: Update 0.1.25 -> 0.1.28
    
    Reported by:    portscout
---
 misc/py-pyEDFlib/Makefile                                     |  2 +-
 misc/py-pyEDFlib/distinfo                                     |  6 +++---
 misc/py-pyEDFlib/files/patch-pyedflib___extensions_c_edflib.c | 11 +++++++++++
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/misc/py-pyEDFlib/Makefile b/misc/py-pyEDFlib/Makefile
index c5177655c6a9..07c1ea51f701 100644
--- a/misc/py-pyEDFlib/Makefile
+++ b/misc/py-pyEDFlib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pyEDFlib
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.25
+DISTVERSION=	0.1.28
 CATEGORIES=	misc
 #MASTER_SITES=	CHEESESHOP # PyPI version fails: https://github.com/holgern/pyedflib/issues/168
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/misc/py-pyEDFlib/distinfo b/misc/py-pyEDFlib/distinfo
index ad4104127472..caf6f4f85e1b 100644
--- a/misc/py-pyEDFlib/distinfo
+++ b/misc/py-pyEDFlib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644095548
-SHA256 (holgern-pyedflib-v0.1.25_GH0.tar.gz) = 84c4a5cd403f374a4ca750fab0bd5380d761f5d4ef6e30b52440823bd6f9a0d1
-SIZE (holgern-pyedflib-v0.1.25_GH0.tar.gz) = 1735780
+TIMESTAMP = 1645516561
+SHA256 (holgern-pyedflib-v0.1.28_GH0.tar.gz) = 3a035e3bf224e1ae115dcd55f120b164d9a50afd0f5cd071ff375ae3e1718a5a
+SIZE (holgern-pyedflib-v0.1.28_GH0.tar.gz) = 1736583
diff --git a/misc/py-pyEDFlib/files/patch-pyedflib___extensions_c_edflib.c b/misc/py-pyEDFlib/files/patch-pyedflib___extensions_c_edflib.c
new file mode 100644
index 000000000000..3e310f799e7d
--- /dev/null
+++ b/misc/py-pyEDFlib/files/patch-pyedflib___extensions_c_edflib.c
@@ -0,0 +1,11 @@
+--- pyedflib/_extensions/c/edflib.c.orig	2022-02-22 07:57:42 UTC
++++ pyedflib/_extensions/c/edflib.c
+@@ -46,7 +46,7 @@
+ #define EDFLIB_MAXFILES  (64)
+ 
+ 
+-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__)
++#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__FreeBSD__)
+ 
+ #define fopeno fopen
+