pkgsrc/converters/py-zfec/Makefile
adam 032012512f py-zfec: updated to 1.5.5
* Release 1.5.5 (2020-11-12)

** Upload wheel packages to the Python Package Index.
   Wheel packages for Python 2.7/Windows turned out to be broken
   (issue 34).  Version 1.5.5 is simply an update to address this.
   No changes to zfec itself.
2021-02-18 12:33:31 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2021/02/18 12:33:31 adam Exp $
DISTNAME= zfec-1.5.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zfec/}
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= https://github.com/tahoe-lafs/zfec
COMMENT= Efficient, portable erasure coding tool
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
DEPENDS+= ${PYPKGPREFIX}-pyutil>=3.0.0:../../devel/py-pyutil
TEST_DEPENDS+= ${PYPKGPREFIX}-setuptools_trial-[0-9]*:../../devel/py-setuptools_trial
TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-argparse>=0.8:../../devel/py-argparse
.endif
REPLACE_PYTHON+= zfec/cmdline_zfec.py
REPLACE_PYTHON+= zfec/cmdline_zunfec.py
REPLACE_PYTHON+= zfec/test/test_zfec.py
post-install:
.for bin in zfec zunfec
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"