Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2021 07:58:35 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 256e9bc3b5b9 - main - biology/py-crossmap: Fix build with Python 3.8+
Message-ID:  <202104210758.13L7wZ1v019139@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

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

commit 256e9bc3b5b97069231e16e2be057e313e9bb7bc
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-04-21 07:44:44 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-04-21 07:44:44 +0000

    biology/py-crossmap: Fix build with Python 3.8+
    
    * Add missing dependency devel/py-nose that is required to build.  With
      Python 3.6/3.7 there are no build issues because the sdist contains
      Python Eggs of "nose" for these versions.
    
    While I'm here:
    
    * Set NO_ARCH because the port has no architecture specific files.
    * Make it concurrent safe, package installs a script and bump
      PORTREVISION due package change.
    
    PR:             253815
    Approved by:    portmgr (build fix)
    MFH:            No (The port was added after the 2021Q1 branch)
---
 biology/py-crossmap/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/biology/py-crossmap/Makefile b/biology/py-crossmap/Makefile
index 7946de949b5e..30b8bee8f5af 100644
--- a/biology/py-crossmap/Makefile
+++ b/biology/py-crossmap/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	crossmap
 DISTVERSION=	0.5.2
+PORTREVISION=	1
 CATEGORIES=	biology python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,14 @@ COMMENT=	Lift over genomics coordinates between assemblies
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0.10.4:devel/py-nose@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pysam>0:biology/py-pysam@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}bx-python>0:biology/py-bx-python@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyBigWig>0:biology/py-bigwig@${PY_FLAVOR}
 
 USES=		python:3.5+
-USE_PYTHON=	autoplist cython distutils
+USE_PYTHON=	autoplist concurrent cython distutils
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104210758.13L7wZ1v019139>