[Python-modules-commits] [python-sabyenc] 01/01: add python3 support
JCF Ploemen
jcfp-guest at moszumanska.debian.org
Tue Aug 29 10:56:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
jcfp-guest pushed a commit to branch master
in repository python-sabyenc.
commit 8f08bed0085cd99bd721868f2e11fecf02dcf9e2
Author: JCF Ploemen (jcfp) <linux at jcf.pm>
Date: Tue Aug 29 12:47:31 2017 +0200
add python3 support
---
debian/control | 26 ++++++++++++++++++++++++--
debian/rules | 4 +++-
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index e0bd6b9..f7af112 100644
--- a/debian/control
+++ b/debian/control
@@ -8,9 +8,12 @@ Build-Depends:
debhelper (>= 10),
dh-python,
python-all-dev,
- python-setuptools
+ python-setuptools,
+ python3-all-dev,
+ python3-setuptools
Standards-Version: 4.1.0.0
X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-sabyenc.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-sabyenc.git
@@ -18,7 +21,7 @@ Package: python-sabyenc
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
Provides: ${python:Provides}
-Description: yEnc extension for Python, optimized for Usenet
+Description: yEnc extension for Python, optimized for Usenet (Python 2)
Modified version of the original python-yenc module by Alessandro Duca,
optimized 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
@@ -28,3 +31,22 @@ Description: yEnc extension for Python, optimized for Usenet
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.
+ .
+ This package contains the Python 2 version of SAByenc.
+
+Package: python3-sabyenc
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Description: yEnc extension for Python, optimized for Usenet (Python 3)
+ Modified version of the original python-yenc module by Alessandro Duca,
+ optimized 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.
+ .
+ This package contains the Python 3 version of SAByenc.
diff --git a/debian/rules b/debian/rules
index 4addaf3..f3e010d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,5 +5,7 @@
# enable all hardening except pie (ftbfs)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+export PYBUILD_NAME=sabyenc
+
%:
- dh $@ --with python2
+ dh $@ --with python2,python3 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-sabyenc.git
More information about the Python-modules-commits
mailing list