pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/converters/py-zfec



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 29 15:55:53 UTC 2020

Modified Files:
        pkgsrc/converters/py-zfec: Makefile PLIST distinfo
Added Files:
        pkgsrc/converters/py-zfec: ALTERNATIVES
Removed Files:
        pkgsrc/converters/py-zfec/patches: patch-aa

Log Message:
py-zfec: updated to 1.5.3

Release 1.5.3:

** Fix setup.py problem that broke builds on slackware (or other systems with
   setuptools-22.0.5, which is too old to know that "name" might come from
   the setup.cfg metadata section)

Release 1.5.2:
** Add Appveyor (CI for Windows)
** Use older C syntax to appease the Windows compilers we use on Appveyor.
   The previous release just didn't compile there, which broke Tahoe builds.

Release 1.5.1:
** stop using PBR, it interacts badly with Versioneer, causing bad version
   strings like "0+unknown" after pip install

Release 1.5.0:
** Add support for python3.5/3.6/3.7
** switch to PBR for packagine
** fix unclosed-file and illegal-seek errors
** fix memory leak in fec.c
** remove unused stdeb.cfg


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/py-zfec/ALTERNATIVES
cvs rdiff -u -r1.24 -r1.25 pkgsrc/converters/py-zfec/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/converters/py-zfec/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/converters/py-zfec/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/converters/py-zfec/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/py-zfec/Makefile
diff -u pkgsrc/converters/py-zfec/Makefile:1.24 pkgsrc/converters/py-zfec/Makefile:1.25
--- pkgsrc/converters/py-zfec/Makefile:1.24     Sun Nov  3 17:14:25 2019
+++ pkgsrc/converters/py-zfec/Makefile  Mon Jun 29 15:55:52 2020
@@ -1,31 +1,35 @@
-# $NetBSD: Makefile,v 1.24 2019/11/03 17:14:25 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2020/06/29 15:55:52 adam Exp $
 
-DISTNAME=      zfec-1.4.24
+DISTNAME=      zfec-1.5.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
-CATEGORIES=    converters
+CATEGORIES=    converters python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zfec/}
 
 MAINTAINER=    gdt%ir.bbn.com@localhost
-HOMEPAGE=      https://pypi.python.org/pypi/zfec/
-COMMENT=       Fast erasure codec
+HOMEPAGE=      https://github.com/tahoe-lafs/zfec
+COMMENT=       Efficient, portable erasure coding tool
 LICENSE=       gnu-gpl-v2
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-darcsver-[0-9]*:../../devel/py-darcsver
-
-DEPENDS+=      ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
-DEPENDS+=      ${PYPKGPREFIX}-setuptools_trial-[0-9]*:../../devel/py-setuptools_trial
-DEPENDS+=      ${PYPKGPREFIX}-pyutil>=1.3.19:../../devel/py-pyutil
 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
 
-CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
-
-REPLACE_INTERPRETER+=  python
-REPLACE.python.old=    /usr/bin/env python
-REPLACE.python.new=    ${PYTHONBIN}
-REPLACE_FILES.python=  zfec/cmdline_zfec.py zfec/cmdline_zunfec.py zfec/test/test_zfec.py
-
-PYTHON_VERSIONS_ACCEPTED=      27 # py-darcsver
-
+.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/converters/py-zfec/PLIST
diff -u pkgsrc/converters/py-zfec/PLIST:1.2 pkgsrc/converters/py-zfec/PLIST:1.3
--- pkgsrc/converters/py-zfec/PLIST:1.2 Sun Feb 12 19:55:09 2012
+++ pkgsrc/converters/py-zfec/PLIST     Mon Jun 29 15:55:52 2020
@@ -1,13 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2012/02/12 19:55:09 gls Exp $
-bin/zfec
-bin/zunfec
+@comment $NetBSD: PLIST,v 1.3 2020/06/29 15:55:52 adam Exp $
+bin/zfec-${PYVERSSUFFIX}
+bin/zunfec-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/stdeb.cfg
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/zfec/__init__.py
 ${PYSITELIB}/zfec/__init__.pyc
@@ -37,8 +35,3 @@ ${PYSITELIB}/zfec/test/__init__.pyo
 ${PYSITELIB}/zfec/test/test_zfec.py
 ${PYSITELIB}/zfec/test/test_zfec.pyc
 ${PYSITELIB}/zfec/test/test_zfec.pyo
-share/doc/zfec/COPYING.GPL
-share/doc/zfec/COPYING.TGPPL.html
-share/doc/zfec/README.rst
-share/doc/zfec/TODO
-share/doc/zfec/changelog

Index: pkgsrc/converters/py-zfec/distinfo
diff -u pkgsrc/converters/py-zfec/distinfo:1.5 pkgsrc/converters/py-zfec/distinfo:1.6
--- pkgsrc/converters/py-zfec/distinfo:1.5      Tue Nov  3 01:43:53 2015
+++ pkgsrc/converters/py-zfec/distinfo  Mon Jun 29 15:55:52 2020
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 01:43:53 agc Exp $
+$NetBSD: distinfo,v 1.6 2020/06/29 15:55:52 adam Exp $
 
-SHA1 (zfec-1.4.24.tar.gz) = 99b334431209332a14f0531de252aee3de18c948
-RMD160 (zfec-1.4.24.tar.gz) = 98d51af0c4af8d33f558e4e60f14773dc21fd178
-SHA512 (zfec-1.4.24.tar.gz) = ec213912eea054c954ddda67a401b1538fb2f02c2b56cdfb610df5f4852b79305ef72e9919c578d46a268ea4c5912a60422117326f633c7e9b8a7977561fa1f5
-Size (zfec-1.4.24.tar.gz) = 175884 bytes
-SHA1 (patch-aa) = 0df981871a8fb22656a53a1934c1153d1a65c442
+SHA1 (zfec-1.5.3.tar.gz) = 113df9685c667c844c8224121741f4a5386e9207
+RMD160 (zfec-1.5.3.tar.gz) = df7b9d7ad21f3d9c4fdb34dea0acb1fe00d90dd3
+SHA512 (zfec-1.5.3.tar.gz) = 1aee0740b370025cf5c24dca0decd9d87b83311d408198f97aa7b2361a2ebc1e5f1c34015ee72456144667842f20dcbc12e5f788c54942e4489d5e355c2706bd
+Size (zfec-1.5.3.tar.gz) = 79402 bytes

Added files:

Index: pkgsrc/converters/py-zfec/ALTERNATIVES
diff -u /dev/null pkgsrc/converters/py-zfec/ALTERNATIVES:1.1
--- /dev/null   Mon Jun 29 15:55:53 2020
+++ pkgsrc/converters/py-zfec/ALTERNATIVES      Mon Jun 29 15:55:52 2020
@@ -0,0 +1,2 @@
+bin/zfec @PREFIX@/bin/zfec-@PYVERSSUFFIX@
+bin/zunfec @PREFIX@/bin/zunfec-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index