Files
ports/biology/py-bx-python/Makefile
T
Po-Chuan Hsieh 150c0018fd Mk/Uses/python.mk: Introduce USE_PYTHON=cython3{,_run,_test}
- Update USE_PYTHON=cython{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython3*
- While I'm here, fix incorrect usage of combining cython3 in BUILD_DEPENDS and USE_PYTHON=cython

It is added to simplify the future transition from Cython 0.29 to 3.

The minimal version is set to 3.0.12 because it is required by devel/py-propcache.
The upper bound of version is set to 3.1 because it is limited by multiple ports.
2025-04-09 22:55:11 +08:00

27 lines
652 B
Makefile

PORTNAME= bx-python
DISTVERSION= 0.13.0
PORTREVISION= 1
CATEGORIES= biology python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python module for reading, manipulating and writing genomic data sets
WWW= https://github.com/bxlab/bx-python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYNUMPY}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= compiler python
USE_PYTHON= autoplist cython3 distutils
post-install:
@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bx -name "*.so" | ${XARGS} ${STRIP_CMD}
.include <bsd.port.mk>