git: 1e42975b3231 - main - biology/{,py-}biosig: update 2.5.2 → 2.6.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 06 Apr 2024 01:04:55 UTC
The branch main has been updated by yuri:

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

commit 1e42975b3231e504bd71e3870a0648a125431fb0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-06 01:01:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-06 01:04:45 +0000

    biology/{,py-}biosig: update 2.5.2 → 2.6.0
    
    Reported by:    portscout
---
 biology/biosig/Makefile    |  3 +--
 biology/biosig/distinfo    |  6 +++---
 biology/py-biosig/Makefile | 10 +++++++++-
 biology/py-biosig/distinfo |  6 +++---
 4 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/biology/biosig/Makefile b/biology/biosig/Makefile
index 64711e1cd8d7..f34dfee41237 100644
--- a/biology/biosig/Makefile
+++ b/biology/biosig/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	biosig
-DISTVERSION=	2.5.2
-PORTREVISION=	8
+DISTVERSION=	2.6.0
 CATEGORIES=	biology
 MASTER_SITES=	SF/${PORTNAME}/BioSig%20for%20C_C%2B%2B/src/
 DISTNAME=	${PORTNAME}-${PORTVERSION}.src
diff --git a/biology/biosig/distinfo b/biology/biosig/distinfo
index 465bae6578ec..e416fef54ba2 100644
--- a/biology/biosig/distinfo
+++ b/biology/biosig/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689749685
-SHA256 (biosig-2.5.2.src.tar.xz) = 3c87fa4ae6d69e1a75477f85451b6f16480418a0018d59e1586a2e3e8954ec47
-SIZE (biosig-2.5.2.src.tar.xz) = 1882876
+TIMESTAMP = 1712349786
+SHA256 (biosig-2.6.0.src.tar.xz) = c45d076c2113c8a082a9d5775a428b690bb7d972ae2cd22a88d13cda9e9ffaee
+SIZE (biosig-2.6.0.src.tar.xz) = 1883048
diff --git a/biology/py-biosig/Makefile b/biology/py-biosig/Makefile
index 97f7ac8321f6..e2757007f141 100644
--- a/biology/py-biosig/Makefile
+++ b/biology/py-biosig/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	biosig
-DISTVERSION=	2.5.2
+DISTVERSION=	2.6.0
 CATEGORIES=	biology
 MASTER_SITES=	SF/${PORTNAME}/BioSig%20for%20C_C%2B%2B/src/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,4 +21,12 @@ USE_PYTHON=	distutils autoplist
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 WRKSRC_SUBDIR=	biosig4c++/python
 
+post-patch:
+	cd ${WRKSRC} && \
+		${SED} -e 's|@PACKAGE_VERSION@|${DISTVERSION}|' < setup.py.in > setup.py && \
+		${TOUCH} README.md
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/biosig${PYTHON_EXT_SUFFIX}.so
+
 .include <bsd.port.mk>
diff --git a/biology/py-biosig/distinfo b/biology/py-biosig/distinfo
index 959c00a8c6d8..c93f6a846510 100644
--- a/biology/py-biosig/distinfo
+++ b/biology/py-biosig/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689749850
-SHA256 (biosig-2.5.2.src.tar.xz) = 3c87fa4ae6d69e1a75477f85451b6f16480418a0018d59e1586a2e3e8954ec47
-SIZE (biosig-2.5.2.src.tar.xz) = 1882876
+TIMESTAMP = 1712363635
+SHA256 (biosig-2.6.0.src.tar.xz) = c45d076c2113c8a082a9d5775a428b690bb7d972ae2cd22a88d13cda9e9ffaee
+SIZE (biosig-2.6.0.src.tar.xz) = 1883048