freebsd-ports/devel/py-reedsolo/Makefile
Dmitry Marakasov cc31bbb4d1 devel/py-reedsolo: limit supported python version
creedsolo.c:32027:5: error: expression is not assignable
    ++Py_REFCNT(o);
    ^ ~~~~~~~~~~~~

Approved by:	portmgr blanket
2021-10-28 14:46:08 +03:00

28 lines
708 B
Makefile

PORTNAME= reedsolo
DISTVERSIONPREFIX= v
DISTVERSION= 1.5.4
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= loader@FreeBSD.org
COMMENT= Pure-Python Reed Solomon encoder/decoder
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
USES= python:3.6-3.9
USE_GITHUB= yes
USE_PYTHON= autoplist cython distutils
GH_ACCOUNT= tomerfiliba
GH_PROJECT= reedsolomon
TEST_ENV+= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
do-test:
@cd ${TEST_WRKSRC} && \
${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} --with-coverage -d -v
.include <bsd.port.mk>