Add py-sabyenc3 4.0.1 (copied from py-sabyenc)

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-06-23 19:20:02 +00:00
parent ae2b1722c2
commit 8f1aaa4764
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504965
4 changed files with 36 additions and 0 deletions

View File

@ -60,6 +60,7 @@
SUBDIR += plor
SUBDIR += py-pynzb
SUBDIR += py-sabyenc
SUBDIR += py-sabyenc3
SUBDIR += py-yenc
SUBDIR += rawdog
SUBDIR += s-news

21
news/py-sabyenc3/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Ralf van der Enden <tremere@cainites.net>
# $FreeBSD$
PORTNAME= sabyenc3
PORTVERSION= 4.0.1
CATEGORIES= news python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python yEnc package optimized for use within SABnzbd
LICENSE= LGPL3
USES= python:3.5+
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sabyenc3.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1561314944
SHA256 (sabyenc3-4.0.1.tar.gz) = 74249291e6c5623b8b881cb175990c95d928c9d8d0346aa1cf85018d079869fc
SIZE (sabyenc3-4.0.1.tar.gz) = 10003

View File

@ -0,0 +1,11 @@
Modified the original yenc module by Alessandro Duca alessandro.duca@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