From 176e391e4b91c59e71715bf29f9188e741be9662 Mon Sep 17 00:00:00 2001 From: "Jason W. Bacon" Date: Fri, 29 May 2020 02:03:29 +0000 Subject: [PATCH] biology/py-biopython: Upgrade to 1.77 Upstream support for python 3 PR: ports/246763 Submitted by: Mauricio Herrera Cuadra --- biology/py-biopython/Makefile | 14 ++++++++------ biology/py-biopython/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/biology/py-biopython/Makefile b/biology/py-biopython/Makefile index 371c06f47d2f..0e7c53d49be2 100644 --- a/biology/py-biopython/Makefile +++ b/biology/py-biopython/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= biopython -PORTVERSION= 1.73 -PORTREVISION= 1 +DISTVERSION= 1.77 CATEGORIES= biology python MASTER_SITES= http://www.biopython.org/DIST/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,13 +19,16 @@ RUN_DEPENDS= ${PYNUMPY} USES= python USE_PYTHON= distutils autoplist -OPTIONS_DEFINE= REPORTLAB +OPTIONS_DEFINE= REPORTLAB OPTIONS_DEFAULT= REPORTLAB -REPORTLAB_DESC= PDF support in Bio.Graphics module +REPORTLAB_DESC= PDF support in Bio.Graphics module REPORTLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} -pre-configure: # unbreak for python3: README.rst can't be decoded with the ascii codec: https://github.com/biopython/biopython/issues/1649 - @truncate -s 0 ${WRKSRC}/README.rst +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Bio/*.so \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Bio/*/*.so \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Bio/*/*/*.so \ .include diff --git a/biology/py-biopython/distinfo b/biology/py-biopython/distinfo index c25dd5605639..9738f96f2c8b 100644 --- a/biology/py-biopython/distinfo +++ b/biology/py-biopython/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1545454134 -SHA256 (biopython-1.73.tar.gz) = 70c5cc27dc61c23d18bb33b6d38d70edc4b926033aea3b7434737c731c94a5e0 -SIZE (biopython-1.73.tar.gz) = 15715102 +TIMESTAMP = 1590688894 +SHA256 (biopython-1.77.tar.gz) = fb1936e9ca9e7af8de1050e84375f23328e04b801063edf0ad73733494d8ec42 +SIZE (biopython-1.77.tar.gz) = 16837021