Package: python-wadllib Version: 1.2.0+ds-2 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Dear Maintainer, This patch updates the python-wadllib package in several ways: * Updates to 1.3.0, the latest available upstream. * Adds packaging support for Python 3 since upstream now supports it * Enable the test suite during build. * Switch to dh_python2 and dh_python3. * Simplify debian/rules This is the version I am uploading to Ubuntu, so you'll have to season the changelog to taste. :) - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-wadllib depends on: ii python 2.7.2-9 ii python-lazr.uri 1.0.2-5 ii python-pkg-resources 0.6.24-1 ii python-simplejson 2.3.2-1 ii python2.6 2.6.7-4 ii python2.7 2.7.2-8 python-wadllib recommends no packages. python-wadllib suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPJyicAAoJEBJutWOnSwa/BA0P/iMATr9epAeHkeBNPXi6XTo1 1vVHOJPkKpVq095gnS8icD6woDXKB/o+7Fnd3ccvvPiZEBgDyidvNcs50eQ2pYgc 9Nt48tgCOhD+juzFCjZh9U3fLNWzqe2pn3ifvOjGdm+Y4GUKkswrApbLaWSRTdtO Ezkwp6wgNX6q1x/EwZ/1T+t5vhcsDDK5L3+lx1DVBdin11m9ndAs5c205LVo5n7A h/n2pMpmIkkMAErjOOJ+kWfVIPrYbN51c09bBAK+vVplnEr/bc4EwtF1yF8w05KC FMwMu04MrAGqyq5xg+2atVrgcQ7uFPCtT0zkWUeR/sNIbWPxPedf1k2QfDi5ARA8 Gz82f7xMtwCkZ4JyFzA4duTVcL7GTAkk3OZ4P5Q3B7ExTUWv367OtCuBxphua2TI DGp/DStzXK+w/SEdMCCb8a3hZ0DQPVdndbZ0YshbibYmpOWSnN3MmRw9WBQNoe7Y TfZkz3ToDVU3z1oTQzeZXUCUSSeSqTJSrlVw0nnUOgKDdMl6gwPtShUhUSCwMCh5 67IV9BwR1bxIgnptT3HmDRHsG/NAs5nfiKuir9BHr4K+/MAdIgGzi04J2keBf0PY ay6M21hpl0Rv63a5iJ6J4VBs7SkXLy1YDqJERXgcGWSGX+/m8lefeag9xLZ2zSR9 8ksN46cV3dqNUZ5vRvcD =I6L+ -----END PGP SIGNATURE-----
diff -Nru python-wadllib-1.2.0+ds/debian/changelog python-wadllib-1.3.0/debian/changelog --- python-wadllib-1.2.0+ds/debian/changelog 2012-01-30 15:35:34.000000000 -0500 +++ python-wadllib-1.3.0/debian/changelog 2012-01-30 18:17:33.000000000 -0500 @@ -1,3 +1,17 @@ +python-wadllib (1.3.0-0ubuntu1) precise; urgency=low + + * New upstream release. + * Add python3-wadllib binary package. + * Enable tests for all supported Python versions. + + -- Barry Warsaw <[email protected]> Mon, 30 Jan 2012 15:36:50 -0500 + +python-wadllib (1.2.0+ds-2build1) precise; urgency=low + + * Rebuild to drop python2.6 dependencies. + + -- Matthias Klose <[email protected]> Sat, 31 Dec 2011 02:12:57 +0000 + python-wadllib (1.2.0+ds-2) unstable; urgency=low * Python transition: diff -Nru python-wadllib-1.2.0+ds/debian/control python-wadllib-1.3.0/debian/control --- python-wadllib-1.2.0+ds/debian/control 2012-01-30 15:35:34.000000000 -0500 +++ python-wadllib-1.3.0/debian/control 2012-01-30 17:08:41.000000000 -0500 @@ -3,18 +3,28 @@ Priority: optional Maintainer: Luca Falavigna <[email protected]> Uploaders: Debian Python Modules Team <[email protected]>, James Westby <[email protected]> -Build-Depends: debhelper (>= 7.3.0), python (>= 2.6.6-3~), python-setuptools +Build-Depends: debhelper (>= 7.3.0), python (>= 2.6.6-3~), python-setuptools, python3, python3-setuptools Standards-Version: 3.9.2 Homepage: https://launchpad.net/wadllib Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-wadllib/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-wadllib/trunk/ X-Python-Version: >= 2.4 +X-Python3-Version: >= 3.2 Package: python-wadllib Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-simplejson, python-lazr.uri Breaks: ${python:Breaks} -Description: Python library for navigating WADL files +Description: Python library for navigating WADL files (Python 2) + The Web Application Description Language (WADL) is an XML vocabulary for + describing the capabilities of HTTP resources. wadllib can be used in + conjunction with an HTTP library to navigate and manipulate those resources. + +Package: python3-wadllib +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python3-lazr.uri +Breaks: ${python:Breaks} +Description: Python library for navigating WADL files (Python 3) The Web Application Description Language (WADL) is an XML vocabulary for describing the capabilities of HTTP resources. wadllib can be used in conjunction with an HTTP library to navigate and manipulate those resources. diff -Nru python-wadllib-1.2.0+ds/debian/python3-wadllib.install python-wadllib-1.3.0/debian/python3-wadllib.install --- python-wadllib-1.2.0+ds/debian/python3-wadllib.install 1969-12-31 19:00:00.000000000 -0500 +++ python-wadllib-1.3.0/debian/python3-wadllib.install 2012-01-26 16:19:18.000000000 -0500 @@ -0,0 +1 @@ +usr/lib/python3 diff -Nru python-wadllib-1.2.0+ds/debian/python-wadllib.install python-wadllib-1.3.0/debian/python-wadllib.install --- python-wadllib-1.2.0+ds/debian/python-wadllib.install 1969-12-31 19:00:00.000000000 -0500 +++ python-wadllib-1.3.0/debian/python-wadllib.install 2012-01-26 16:19:18.000000000 -0500 @@ -0,0 +1 @@ +usr/lib/python2* diff -Nru python-wadllib-1.2.0+ds/debian/rules python-wadllib-1.3.0/debian/rules --- python-wadllib-1.2.0+ds/debian/rules 2012-01-30 15:35:34.000000000 -0500 +++ python-wadllib-1.3.0/debian/rules 2012-01-30 18:05:09.000000000 -0500 @@ -1,12 +1,37 @@ #!/usr/bin/make -f +PYTHON2=$(shell pyversions -vr) +PYTHON3=$(shell py3versions -vr) + %: - dh $@ --with python2 --buildsystem=python_distutils + dh $@ --with python2,python3 + +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) +test-python%: + python$* setup.py test -vv + +override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) +endif + +override_dh_auto_build: + dh_auto_build + set -ex; for py in $(PYTHON3) ; do \ + python$$py setup.py build; \ + done; override_dh_auto_install: dh_auto_install - find $(CURDIR)/debian/python-wadllib -wholename "*python2.*/wadllib" \ + set -ex; for py in $(PYTHON3) ; do \ + python$$py setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \ + done; + # Debian bug #618367 + rm -rf debian/*/usr/lib/python*/*-packages/wadllib.egg-info + find $(CURDIR)/debian/tmp -wholename "*python*/wadllib" \ -exec install -m 0644 $(CURDIR)/src/wadllib/version.txt {} \; override_dh_installchangelogs: - dh_installchangelogs src/wadllib/NEWS.txt + dh_installchangelogs -k src/wadllib/NEWS.txt + +override_dh_auto_clean: + dh_auto_clean + rm -rf *.egg-info

