[Python-modules-commits] r20056 - in packages/flufl.enum/trunk/debian (4 files)
warsaw-guest at users.alioth.debian.org
warsaw-guest at users.alioth.debian.org
Thu Jan 19 19:48:00 UTC 2012
Date: Thursday, January 19, 2012 @ 19:47:59
Author: warsaw-guest
Revision: 20056
* New upstream release.
* Also build for Python 3.
* compat level 8
Modified:
packages/flufl.enum/trunk/debian/changelog
packages/flufl.enum/trunk/debian/compat
packages/flufl.enum/trunk/debian/control
packages/flufl.enum/trunk/debian/rules
Modified: packages/flufl.enum/trunk/debian/changelog
===================================================================
--- packages/flufl.enum/trunk/debian/changelog 2012-01-19 16:43:19 UTC (rev 20055)
+++ packages/flufl.enum/trunk/debian/changelog 2012-01-19 19:47:59 UTC (rev 20056)
@@ -1,3 +1,11 @@
+flufl.enum (3.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Also build for Python 3.
+ * compat level 8
+
+ -- Barry Warsaw <barry at python.org> Thu, 19 Jan 2012 14:14:56 -0500
+
flufl.enum (3.2-2) unstable; urgency=low
[ Jakub Wilk ]
@@ -3,5 +11,5 @@
* debian/control:
- Add Vcs-* fields.
-
+
[ Barry Warsaw ]
* debian/control:
Modified: packages/flufl.enum/trunk/debian/compat
===================================================================
--- packages/flufl.enum/trunk/debian/compat 2012-01-19 16:43:19 UTC (rev 20055)
+++ packages/flufl.enum/trunk/debian/compat 2012-01-19 19:47:59 UTC (rev 20056)
@@ -1 +1 @@
-7
+8
Modified: packages/flufl.enum/trunk/debian/control
===================================================================
--- packages/flufl.enum/trunk/debian/control 2012-01-19 16:43:19 UTC (rev 20055)
+++ packages/flufl.enum/trunk/debian/control 2012-01-19 19:47:59 UTC (rev 20056)
@@ -4,11 +4,14 @@
Homepage: http://launchpad.net/flufl.enum
Section: python
X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
Priority: optional
Build-Depends: python-all (>= 2.6.6-3~),
python-setuptools,
python-sphinx (>= 1.0.7+dfsg-1~),
- debhelper (>= 7.0.50)
+ debhelper (>= 8),
+ python3-all,
+ python3-setuptools
Standards-Version: 3.9.2
Vcs-Svn: svn://svn.debian.org/python-modules/packages/flufl.enum/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/flufl.enum/trunk/
@@ -21,3 +24,14 @@
specific, concise semantics in an easy to read and write syntax.
``flufl.enum`` has just enough of the features needed to make enumerations
useful, but without a lot of extra baggage to weigh them down.
+
+Package: python3-flufl.enum
+Architecture: all
+Depends: ${python3:Depends}, ${sphinxdoc:Depends}, ${misc:Depends}
+Description: yet another Python enumeration package
+ This package provides a Python enumeration, with an emphasis on simple,
+ specific, concise semantics in an easy to read and write syntax.
+ ``flufl.enum`` has just enough of the features needed to make enumerations
+ useful, but without a lot of extra baggage to weigh them down.
+ .
+ This is the Python 3 version of the package.
Modified: packages/flufl.enum/trunk/debian/rules
===================================================================
--- packages/flufl.enum/trunk/debian/rules 2012-01-19 16:43:19 UTC (rev 20055)
+++ packages/flufl.enum/trunk/debian/rules 2012-01-19 19:47:59 UTC (rev 20056)
@@ -1,17 +1,31 @@
#!/usr/bin/make -f
PYTHON2=$(shell pyversions -vr)
+PYTHON3=$(shell py3versions -vr)
%:
- dh $@ --with python2,sphinxdoc
+ dh $@ --with python2,python3,sphinxdoc
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
test-python%:
python$* setup.py test -vv
-override_dh_auto_test: $(PYTHON2:%=test-python%)
+override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
+else
+ @echo "nocheck set, skipping tests"
+endif
+override_dh_auto_build:
+ dh_auto_build
+ set -ex; for python in $PYTHON3 ; do \
+ $$python setup.py build; \
+ done;
+
override_dh_auto_install:
dh_auto_install
+ set -ex; for python in $PYTHON3 ; do \
+ $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
+ done;
# Debian bug #618367
rm -rf debian/*/usr/lib/python*/*-packages/flufl.enum.egg-info
More information about the Python-modules-commits
mailing list