Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 05:19:31 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461457 - head/converters/py-zfec
Message-ID:  <201802110519.w1B5JVSB075244@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Feb 11 05:19:30 2018
New Revision: 461457
URL: https://svnweb.freebsd.org/changeset/ports/461457

Log:
  converters/py-zfec: Update to 1.5.2
  
  Changelog:
  https://github.com/tahoe-lafs/zfec/blob/master/changelog
  
  Additional port changes:
  * Changed to DISTVERSION
  * Updated dependencies according to setup.py
  * USES=python because it supports all python versions
  * Added library stripping
  * Improved docs installation
  * Replaced pkg-plist with PORTDOCS
  
  Reported by:	portscout
  Approved by:	tcberner (mentor, implicit)

Deleted:
  head/converters/py-zfec/pkg-plist
Modified:
  head/converters/py-zfec/Makefile
  head/converters/py-zfec/distinfo

Modified: head/converters/py-zfec/Makefile
==============================================================================
--- head/converters/py-zfec/Makefile	Sun Feb 11 03:18:01 2018	(r461456)
+++ head/converters/py-zfec/Makefile	Sun Feb 11 05:19:30 2018	(r461457)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	zfec
-PORTVERSION=	1.4.24
-PORTREVISION=	1
+DISTVERSION=	1.5.2
 CATEGORIES=	converters python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,25 +13,25 @@ COMMENT=	Fast erasure codec for Python
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING.GPL
 
-BUILD_DEPENDS=	darcsver:devel/py-darcsver \
-		unsort:devel/py-pyutil
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argparse>=0:devel/py-argparse@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyutil>=0:devel/py-pyutil@${FLAVOR}
 
-USES=		python:2.7
-USE_PYTHON=	distutils autoplist
+USES=		python
+USE_PYTHON=	distutils autoplist concurrent
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|share/doc|${DOCSDIR}|g ; \
-		s#(doc_loc, data_fnames)##g' ${WRKSRC}/setup.py
+PORTDOCS=	COPYING.TGPPL.rst README.rst TODO ChangeLog
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/zfec/_fec.so
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for DOC in COPYING.GPL COPYING.TGPPL.html README.rst TODO changelog
-	${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR}
+.for DOC in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR}/
 .endfor
 
 .include <bsd.port.mk>

Modified: head/converters/py-zfec/distinfo
==============================================================================
--- head/converters/py-zfec/distinfo	Sun Feb 11 03:18:01 2018	(r461456)
+++ head/converters/py-zfec/distinfo	Sun Feb 11 05:19:30 2018	(r461457)
@@ -1,2 +1,3 @@
-SHA256 (zfec-1.4.24.tar.gz) = e3e99e6e67ac9af72c0f918f03d2051e17d41f48ee0134d0d2c81e7fe92749cf
-SIZE (zfec-1.4.24.tar.gz) = 175884
+TIMESTAMP = 1518321385
+SHA256 (zfec-1.5.2.tar.gz) = 3cfb6bc2e9e3455fbe8cb51efb69cf653c2e142bc6bcb1e5ba3dcd597873e17a
+SIZE (zfec-1.5.2.tar.gz) = 70536



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802110519.w1B5JVSB075244>