git: db3783aa5833 - main - biology/py-pysam: Update 0.19.1 -> 0.20.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 10 Nov 2022 17:36:47 UTC
The branch main has been updated by yuri:

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

commit db3783aa5833f88f17addb0981560d6af670316e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-11-10 05:20:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-11-10 17:36:45 +0000

    biology/py-pysam: Update 0.19.1 -> 0.20.0
    
    Reported by:    portscout
---
 biology/py-pysam/Makefile | 15 +++++++++------
 biology/py-pysam/distinfo |  8 +++-----
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/biology/py-pysam/Makefile b/biology/py-pysam/Makefile
index e91f94f5d1fd..8e12dd618f5b 100644
--- a/biology/py-pysam/Makefile
+++ b/biology/py-pysam/Makefile
@@ -1,13 +1,9 @@
 PORTNAME=	pysam
-DISTVERSION=	0.19.1
-PORTREVISION=	1
+DISTVERSION=	0.20.0
 CATEGORIES=	biology python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-PATCH_SITES=	https://github.com/pysam-developers/pysam/commit/
-PATCHFILES=	064c8024395a15024fd590bd90f55f918e15545f.patch:-p1 # backport of symbols failure fix for arm and risc
-
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Python module for reading, manipulating and writing genomic data sets
 WWW=		https://github.com/pysam-developers/pysam
@@ -16,6 +12,13 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake python:3.6-3.9
-USE_PYTHON=	autoplist distutils cython cython_run
+USE_PYTHON=	autoplist distutils cython cython_run pytest
+
+CFLAGS+=	-fPIC # workaround for https://github.com/pysam-developers/pysam/issues/1146
+
+BINARY_ALIAS=	make=${GMAKE}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pysam/lib*${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>
diff --git a/biology/py-pysam/distinfo b/biology/py-pysam/distinfo
index e92952ac8d70..ff34934adf54 100644
--- a/biology/py-pysam/distinfo
+++ b/biology/py-pysam/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1658245018
-SHA256 (pysam-0.19.1.tar.gz) = dee403cbdf232170c1e11cc24c76e7dd748fc672ad38eb0414f3b9d569b1448f
-SIZE (pysam-0.19.1.tar.gz) = 3857553
-SHA256 (064c8024395a15024fd590bd90f55f918e15545f.patch) = e4655d70d0debe00f7937b9b3f18318acbcb8ae832165542c1531233320c6df7
-SIZE (064c8024395a15024fd590bd90f55f918e15545f.patch) = 1237
+TIMESTAMP = 1668031193
+SHA256 (pysam-0.20.0.tar.gz) = 7cc250148ba0ffc9bdc38db6988b91e13b75db0d11c18cf1336467d1c97dd312
+SIZE (pysam-0.20.0.tar.gz) = 3958505