freebsd-ports/devel/py-reedsolo/Makefile
Fukang Chen c0b8a1a40a devel/py-reedsolo: [NEW PORT] Pure-Python Reed Solomon encoder/decoder
A pure-python universal errors-and-erasures Reed-Solomon Codec, based on
the wonderful tutorial at wikiversity, written by "Bobmath" and "LRQ3000".

WWW: https://github.com/tomerfiliba/reedsolomon

Reviewed by:	koobs
Approved by:	koobs (ports, mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D30551
MFH:		No (Port does not exist in quarterly)
2021-05-31 03:13:02 +00:00

28 lines
705 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+
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>