[Python-modules-commits] [py-radix] 07/12: Add python3 binary package

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Jan 23 11:36:31 UTC 2018


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to tag debian/0.10.0-1
in repository py-radix.

commit 9407d9345aa9e97a112122eb8f285472cd6b591b
Author: Aggelos Avgerinos <evaggelos.avgerinos at gmail.com>
Date:   Mon Jan 22 10:58:24 2018 +0200

    Add python3 binary package
---
 debian/control | 35 ++++++++++++++++++++++++++++++++---
 debian/rules   |  4 +++-
 2 files changed, 35 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 50a8aeb..51097b0 100644
--- a/debian/control
+++ b/debian/control
@@ -2,18 +2,27 @@ Source: py-radix
 Section: python
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 10), python-all-dev (>= 2.6.6-3~)
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all-dev (>= 2.6.6-3~),
+               python3-all-dev,
+               python-setuptools,
+               python3-setuptools,
+               python-coverage,
+               python-nose,
+               python3-coverage,
+               python3-nose,
 Standards-Version: 4.1.3
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/py-radix.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/py-radix.git
 Homepage: http://www.mindrot.org/projects/py-radix/
+Testsuite: autopkgtest-pkg-python
 
 Package: python-radix
-Section: python
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
-Description: radix tree implementation for storage of IPv4 and IPv6 networks
+Description: radix tree implementation for storage of IPv4 and IPv6 networks (Python 2)
  py-radix is an implementation of a radix tree for Python, which supports
  storage and lookups of IPv4 and IPv6 networks. This is a Python equivalent to
  Dave Plonka's Perl Net::Patricia (it even steals the same radix tree code from
@@ -24,3 +33,23 @@ Description: radix tree implementation for storage of IPv4 and IPv6 networks
  lengths and allows fast lookups of containing networks. py-radix's
  implementation is built solely for networks (the data structure itself is more
  general).
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-radix
+Architecture: any
+Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends}
+Provides: ${python3:Provides}
+Description: radix tree implementation for storage of IPv4 and IPv6 networks (Python 3)
+ py-radix is an implementation of a radix tree for Python, which supports
+ storage and lookups of IPv4 and IPv6 networks. This is a Python equivalent to
+ Dave Plonka's Perl Net::Patricia (it even steals the same radix tree code from
+ MRTd).
+ .
+ The radix tree (a.k.a Patricia tree) is the data structure most commonly used
+ for routing table lookups. It efficiently stores network prefixes of varying
+ lengths and allows fast lookups of containing networks. py-radix's
+ implementation is built solely for networks (the data structure itself is more
+ general).
+ .
+ THis package contains the Python 3 version of the library.
diff --git a/debian/rules b/debian/rules
index 4647c9c..f511514 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=radix
+
 %:
-	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/py-radix.git



More information about the Python-modules-commits mailing list