diff -Nru xmlmarshaller-1.0.1/debian/changelog xmlmarshaller-1.0.1/debian/changelog --- xmlmarshaller-1.0.1/debian/changelog 2019-01-24 03:30:09.000000000 +0000 +++ xmlmarshaller-1.0.1/debian/changelog 2019-01-24 05:52:56.000000000 +0000 @@ -1,3 +1,10 @@ +xmlmarshaller (1.0.1-2) unstable; urgency=medium + + * d/{rules,control}: Add Python 3 package (available upstream since 0.10). + + d/docs: Use dh override instead to have README.txt in both packages. + + -- Arnaud Fontaine Thu, 24 Jan 2019 14:52:56 +0900 + xmlmarshaller (1.0.1-1) unstable; urgency=medium [ Arnaud Fontaine ] diff -Nru xmlmarshaller-1.0.1/debian/control xmlmarshaller-1.0.1/debian/control --- xmlmarshaller-1.0.1/debian/control 2019-01-24 03:30:09.000000000 +0000 +++ xmlmarshaller-1.0.1/debian/control 2019-01-24 05:36:39.000000000 +0000 @@ -3,13 +3,18 @@ Priority: optional Maintainer: Arnaud Fontaine Uploaders: Debian Python Modules Team -Build-Depends: python-setuptools (>= 0.6b3), - python-all (>= 2.6.6-3), +Build-Depends: debhelper (>= 12~), + dh-python, + python-setuptools, + python-all, python-lxml, python-six, - debhelper (>= 12~), - dh-python -Build-Depends-Indep: python-pkg-resources + python3-setuptools, + python3-all, + python3-lxml, + python3-six +Build-Depends-Indep: python-pkg-resources, + python3-pkg-resources Standards-Version: 4.3.0 Homepage: https://pypi.python.org/pypi/xml_marshaller Vcs-Git: https://salsa.debian.org/python-team/modules/xmlmarshaller.git @@ -17,9 +22,23 @@ Package: python-xmlmarshaller Architecture: all -Depends: ${misc:Depends}, ${python:Depends} +Depends: ${misc:Depends}, + ${python:Depends} Suggests: python-pkg-resources -Description: Converting Python objects to XML and back again +Description: Converting Python objects to XML and back again (Python 2) + This module allows one to marshal simple Python data types into a custom + XML format. The Marshaller and Unmarshaller classes can be subclassed + in order to implement marshalling into a different XML DTD. + . + Fully compatible with PyXML implementation, enables namespace support + for XML Input/Output. + +Package: python3-xmlmarshaller +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends} +Suggests: python3-pkg-resources +Description: Converting Python objects to XML and back again (Python 3) This module allows one to marshal simple Python data types into a custom XML format. The Marshaller and Unmarshaller classes can be subclassed in order to implement marshalling into a different XML DTD. diff -Nru xmlmarshaller-1.0.1/debian/docs xmlmarshaller-1.0.1/debian/docs --- xmlmarshaller-1.0.1/debian/docs 2019-01-24 02:12:19.000000000 +0000 +++ xmlmarshaller-1.0.1/debian/docs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -README.txt \ No newline at end of file diff -Nru xmlmarshaller-1.0.1/debian/rules xmlmarshaller-1.0.1/debian/rules --- xmlmarshaller-1.0.1/debian/rules 2019-01-24 03:30:09.000000000 +0000 +++ xmlmarshaller-1.0.1/debian/rules 2019-01-24 05:47:17.000000000 +0000 @@ -1,4 +1,9 @@ #!/usr/bin/make -f +export PYBUILD_NAME = xmlmarshaller + %: - dh $@ --with python2 --buildsystem=pybuild + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_installdocs: + dh_installdocs -A README.txt