py-sabyenc3: added (for updated sabnzbd)

This commit is contained in:
Olaf Seibert 2020-09-08 21:40:33 +02:00
parent 756480764a
commit 82c94726f7
4 changed files with 44 additions and 0 deletions

8
py-sabyenc3/DESCR Normal file
View File

@ -0,0 +1,8 @@
SABYenc - yEnc Decoding for Python 3
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.

23
py-sabyenc3/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $NetBSD$
DISTNAME= sabyenc3-${DISTVERSION}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
#DISTVERSION= 3.3.5
DISTVERSION= 4.0.2
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_GITHUB:=sabnzbd/}
GITHUB_PROJECT= sabyenc
GITHUB_TAG= v${DISTVERSION}
MAINTAINER= rhialto@NetBSD.org
HOMEPAGE= https://sabnzbd.org/
COMMENT= yEnc decoding library
LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND modified-bsd AND mit
USE_LANGUAGES+= c
PYTHON_VERSIONS_ACCEPTED= 38 37 36
.include "../../lang/python/egg.mk"
#.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

7
py-sabyenc3/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $NetBSD$
${PYSITELIB}/sabyenc3-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
${PYSITELIB}/sabyenc3-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
${PYSITELIB}/sabyenc3-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
${PYSITELIB}/sabyenc3-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
${PYSITELIB}/sabyenc3.so

6
py-sabyenc3/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (sabyenc3-4.0.2.tar.gz) = ac71d541c98449dc501cac1681832b7dda074921
RMD160 (sabyenc3-4.0.2.tar.gz) = 4d6880797f438c0bc355175ef76e2c2dd0ace8b4
SHA512 (sabyenc3-4.0.2.tar.gz) = 88e8b47b1438ca55b51dbf8a407c33ec335f0604abf8a3dcbc45853b6dadadf9932d97cf3f0adabd71a9405e2deaeff2777483d9ea692c9d3cbab99dfbfbc901
Size (sabyenc3-4.0.2.tar.gz) = 19579235 bytes