[Python-modules-commits] r22254 - in packages/python-netaddr/trunk/debian (7 files)
bernat at users.alioth.debian.org
bernat at users.alioth.debian.org
Sat Jun 23 15:23:21 UTC 2012
Date: Saturday, June 23, 2012 @ 15:23:17
Author: bernat
Revision: 22254
Add support for Python 3.
Added:
packages/python-netaddr/trunk/debian/python3-netaddr.install
Modified:
packages/python-netaddr/trunk/debian/changelog
packages/python-netaddr/trunk/debian/compat
packages/python-netaddr/trunk/debian/control
packages/python-netaddr/trunk/debian/python-netaddr.install
packages/python-netaddr/trunk/debian/rules
Deleted:
packages/python-netaddr/trunk/debian/python-netaddr.docs
Modified: packages/python-netaddr/trunk/debian/changelog
===================================================================
--- packages/python-netaddr/trunk/debian/changelog 2012-06-23 15:07:20 UTC (rev 22253)
+++ packages/python-netaddr/trunk/debian/changelog 2012-06-23 15:23:17 UTC (rev 22254)
@@ -3,6 +3,7 @@
* New upstream release.
* Generate documentation with Sphinx instead of epydoc. Also, ship the
documentation in a separate package.
+ * Add Python 3 package. Update compatibility level to 8.
-- Vincent Bernat <bernat at debian.org> Sat, 23 Jun 2012 16:21:19 +0200
Modified: packages/python-netaddr/trunk/debian/compat
===================================================================
--- packages/python-netaddr/trunk/debian/compat 2012-06-23 15:07:20 UTC (rev 22253)
+++ packages/python-netaddr/trunk/debian/compat 2012-06-23 15:23:17 UTC (rev 22254)
@@ -1 +1 @@
-5
+8
Modified: packages/python-netaddr/trunk/debian/control
===================================================================
--- packages/python-netaddr/trunk/debian/control 2012-06-23 15:07:20 UTC (rev 22253)
+++ packages/python-netaddr/trunk/debian/control 2012-06-23 15:23:17 UTC (rev 22254)
@@ -6,18 +6,20 @@
Standards-Version: 3.9.3
Build-Depends: debhelper (>= 5.0.37.2),
cdbs (>= 0.4.90~),
- python (>= 2.6.5),
+ python (>= 2.6.5), python3 (>= 3.2)
python-setuptools (>= 0.6b3),
python-sphinx (>= 1.0.7+dfsg) | python3-sphinx
Homepage: https://github.com/drkjam/netaddr/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-netaddr/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-netaddr/trunk/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
Package: python-netaddr
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Suggests: ipython, python-netaddr-docs
-Description: manipulation of various common network address notations
+Description: manipulation of various common network address notations (Python 2)
netaddr is a Python library for the manipulation of various common
network address notations and representations.
.
@@ -32,7 +34,31 @@
- IP version 4
- IP version 6
- CIDR (Classless Inter-Domain Routing)
+ .
+ This is the Python 2 version of the package.
+Package: python3-netaddr
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: ipython, python-netaddr-docs
+Description: manipulation of various common network address notations (Python 3)
+ netaddr is a Python library for the manipulation of various common
+ network address notations and representations.
+ .
+ It takes the hassle out of fiddling with enumerable variations of
+ network addresses presenting a consistent, extensible, easy-to-use
+ and (above all) Pythonic API.
+ .
+ With it you can validate, convert, categorise, iterate, generate,
+ slice (and dice):
+ - MAC (Media Access Control)
+ - IEEE EUI-48 and EUI-64
+ - IP version 4
+ - IP version 6
+ - CIDR (Classless Inter-Domain Routing)
+ .
+ This is the Python 3 version of the package.
+
Package: python-netaddr-docs
Architecture: all
Section: doc
Deleted: packages/python-netaddr/trunk/debian/python-netaddr.docs
===================================================================
--- packages/python-netaddr/trunk/debian/python-netaddr.docs 2012-06-23 15:07:20 UTC (rev 22253)
+++ packages/python-netaddr/trunk/debian/python-netaddr.docs 2012-06-23 15:23:17 UTC (rev 22254)
@@ -1,2 +0,0 @@
-README
-PKG-INFO
Modified: packages/python-netaddr/trunk/debian/python-netaddr.install
===================================================================
--- packages/python-netaddr/trunk/debian/python-netaddr.install 2012-06-23 15:07:20 UTC (rev 22253)
+++ packages/python-netaddr/trunk/debian/python-netaddr.install 2012-06-23 15:23:17 UTC (rev 22254)
@@ -1 +1,2 @@
-debian/tmp/usr
+usr/lib/python2*
+usr/bin
Added: packages/python-netaddr/trunk/debian/python3-netaddr.install
===================================================================
--- packages/python-netaddr/trunk/debian/python3-netaddr.install (rev 0)
+++ packages/python-netaddr/trunk/debian/python3-netaddr.install 2012-06-23 15:23:17 UTC (rev 22254)
@@ -0,0 +1 @@
+usr/lib/python3*
Modified: packages/python-netaddr/trunk/debian/rules
===================================================================
--- packages/python-netaddr/trunk/debian/rules 2012-06-23 15:07:20 UTC (rev 22253)
+++ packages/python-netaddr/trunk/debian/rules 2012-06-23 15:23:17 UTC (rev 22254)
@@ -1,9 +1,6 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
-#Now uses dh_python2
-#DEB_PYTHON_SYSTEM = pysupport
-
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
@@ -15,7 +12,7 @@
# Tests
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-install/python-netaddr::
+install/python-netaddr install/python3-netaddr::
$(call cdbs_python_binary,python$(cdbs_python_compile_version)) \
debian/runtests.py .
endif
More information about the Python-modules-commits
mailing list