svn commit: r443034 - in head/news: . py-sabyenc

Tim Bishop tdb at FreeBSD.org
Fri Jun 9 18:47:57 UTC 2017


Author: tdb
Date: Fri Jun  9 18:47:56 2017
New Revision: 443034
URL: https://svnweb.freebsd.org/changeset/ports/443034

Log:
  New port: news/py-sabyenc
  
  Modified the original yenc module by Alessandro Duca alessandro.duca at gmail.com
  for use within SABnzbd.
  
  The module was extended to do header parsing and full yEnc decoding from a
  Python list of chunks, the way in which data is retrieved from usenet. This is
  particularly beneficial when SSL is enabled, which limits the size of each
  chunk to 16K. Parsing these chunks in Python is much more costly. Additionally,
  this module releases Python's GIL during decoding, greatly increasing
  performance of the overall download process.
  
  WWW: https://github.com/sabnzbd/sabyenc
  
  PR:		218722
  Submitted by:	Ralf van der Enden <tremere at cainites.net>

Added:
  head/news/py-sabyenc/
     - copied from r443027, head/news/py-yenc/
Deleted:
  head/news/py-sabyenc/pkg-plist
Modified:
  head/news/Makefile
  head/news/py-sabyenc/Makefile
  head/news/py-sabyenc/distinfo
  head/news/py-sabyenc/pkg-descr

Modified: head/news/Makefile
==============================================================================
--- head/news/Makefile	Fri Jun  9 18:44:37 2017	(r443033)
+++ head/news/Makefile	Fri Jun  9 18:47:56 2017	(r443034)
@@ -59,6 +59,7 @@
     SUBDIR += pgpmoose
     SUBDIR += plor
     SUBDIR += py-pynzb
+    SUBDIR += py-sabyenc
     SUBDIR += py-twistedNews
     SUBDIR += py-yenc
     SUBDIR += rawdog

Modified: head/news/py-sabyenc/Makefile
==============================================================================
--- head/news/py-yenc/Makefile	Fri Jun  9 18:23:18 2017	(r443027)
+++ head/news/py-sabyenc/Makefile	Fri Jun  9 18:47:56 2017	(r443034)
@@ -1,17 +1,20 @@
-# Created by: Alexander Botero-Lowry <alex at foxybanana.com>
+# Created by: Ralf van der Enden <tremere at cainites.net>
 # $FreeBSD$
 
-PORTNAME=	yenc
-PORTVERSION=	0.3
+PORTNAME=	sabyenc
+PORTVERSION=	3.0.2
+DISTVERSIONPREFIX=	v
 CATEGORIES=	news python
-MASTER_SITES=	http://sabnzbd.sourceforge.net/
-
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	jlaffaye at FreeBSD.org
-COMMENT=	yenc decoding module for Python in C
+MAINTAINER=	tremere at cainites.net
+COMMENT=	Python yEnc package optimized for use within SABnzbd
 
+LICENSE=	GPLv3
+
 USES=		python
-USE_PYTHON=	distutils
+USE_GITHUB=	yes
+GH_ACCOUNT=	sabnzbd
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>

Modified: head/news/py-sabyenc/distinfo
==============================================================================
--- head/news/py-yenc/distinfo	Fri Jun  9 18:23:18 2017	(r443027)
+++ head/news/py-sabyenc/distinfo	Fri Jun  9 18:47:56 2017	(r443034)
@@ -1,2 +1,3 @@
-SHA256 (yenc-0.3.tar.gz) = fb04fea7c5821345608fa01728ce5356b6dfb2d3e469e59e3fd31b88f45fb313
-SIZE (yenc-0.3.tar.gz) = 42740
+TIMESTAMP = 1496981772
+SHA256 (sabnzbd-sabyenc-v3.0.2_GH0.tar.gz) = 72305bdacfb4f82764e7f3e33a7001983f9af5c8d633cbf57e950b570a56e55d
+SIZE (sabnzbd-sabyenc-v3.0.2_GH0.tar.gz) = 16080819

Modified: head/news/py-sabyenc/pkg-descr
==============================================================================
--- head/news/py-yenc/pkg-descr	Fri Jun  9 18:23:18 2017	(r443027)
+++ head/news/py-sabyenc/pkg-descr	Fri Jun  9 18:47:56 2017	(r443034)
@@ -1,2 +1,11 @@
-This a fairly simple Python module, it provides only raw yEnc
-encoding/decoding with built-in crc32 calculation.
+Modified the original yenc module by Alessandro Duca alessandro.duca at gmail.com
+for use within SABnzbd.
+
+The module was extended to do header parsing and full yEnc decoding from a
+Python list of chunks, the way in which data is retrieved from usenet. This is
+particularly beneficial when SSL is enabled, which limits the size of each
+chunk to 16K. Parsing these chunks in Python is much more costly. Additionally,
+this module releases Python's GIL during decoding, greatly increasing
+performance of the overall download process.
+
+WWW: https://github.com/sabnzbd/sabyenc


More information about the svn-ports-head mailing list