Control: tags 719525 + patch

Hi Robert,

please consider one of attached patches. It adds python3-msgpack
and renames msgpack-python to python-msgpack.

I also attached one with new upstream version but I didn't check it that
carefully - it builds, it installs and it works for me, but you probably
want to test it more carefully than I did.
diff -Nru msgpack-python-0.2.0/debian/changelog msgpack-python-0.2.0/debian/changelog
--- msgpack-python-0.2.0/debian/changelog	2012-07-28 23:36:24.000000000 +0200
+++ msgpack-python-0.2.0/debian/changelog	2013-10-06 22:53:43.000000000 +0200
@@ -1,3 +1,13 @@
+msgpack-python (0.2.0-2) UNRELEASED; urgency=low
+
+  * Rename msgpack-python binary package to python-msgpack (following Debian
+    Python Policy)
+  * Add python3-msgpack binary package; closes: #719525
+    - add python3-all-dev and python3-setuptools to Build-Depends
+  * Switch to pybuild buildsystem, add dh-python to Build-Depends
+
+ -- Piotr Ożarowski <[email protected]>  Sun, 06 Oct 2013 22:50:38 +0200
+
 msgpack-python (0.2.0-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru msgpack-python-0.2.0/debian/control msgpack-python-0.2.0/debian/control
--- msgpack-python-0.2.0/debian/control	2012-07-28 23:36:24.000000000 +0200
+++ msgpack-python-0.2.0/debian/control	2013-10-06 23:01:53.000000000 +0200
@@ -4,13 +4,19 @@
 Maintainer: Robert S. Edmonds <[email protected]>
 Build-Depends:
  debhelper (>= 9~),
+ dh-python,
  cython (>= 0.15~),
  python-all-dev (>= 2.6.6-3~),
- python-setuptools
+ python3-all-dev,
+ python-setuptools,
+ python3-setuptools
 Standards-Version: 3.9.3
 Homepage: http://pypi.python.org/pypi/msgpack-python/
 
-Package: msgpack-python
+Package: python-msgpack
+Replaces: msgpack-python (<< 0.2.0-2)
+Conflicts: msgpack-python (<< 0.2.0-2)
+Provides: msgpack-python
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
 Description: Python implementation of MessagePack format
@@ -20,3 +26,14 @@
  .
  This package contains a Python extension module implementing the
  MessagePack format.
+
+Package: python3-msgpack
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: Python 3 implementation of MessagePack format
+ MessagePack is a binary-based efficient object serialization format.
+ It enables the exchange of structured objects between many languages
+ like JSON. But unlike JSON, it is very fast and small.
+ .
+ This package contains a Python 3 extension module implementing the
+ MessagePack format.
diff -Nru msgpack-python-0.2.0/debian/rules msgpack-python-0.2.0/debian/rules
--- msgpack-python-0.2.0/debian/rules	2012-07-28 23:36:24.000000000 +0200
+++ msgpack-python-0.2.0/debian/rules	2013-10-06 22:51:52.000000000 +0200
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
+export PYBUILD_NAME=msgpack
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff -Nru msgpack-python-0.2.0/debian/changelog msgpack-python-0.3.0/debian/changelog
--- msgpack-python-0.2.0/debian/changelog	2012-07-28 23:36:24.000000000 +0200
+++ msgpack-python-0.3.0/debian/changelog	2013-10-06 23:06:39.000000000 +0200
@@ -1,3 +1,15 @@
+msgpack-python (0.3.0-1) UNRELEASED; urgency=low
+
+  * New upstream release; closes: #719524
+  * Rename msgpack-python binary package to python-msgpack (following Debian
+    Python Policy)
+  * Add python3-msgpack binary package; closes: #719525
+    - add python3-all-dev and python3-setuptools to Build-Depends
+  * Switch to pybuild buildsystem, add dh-python to Build-Depends
+
+ -- Piotr Ożarowski <[email protected]>  Sun, 06 Oct 2013 23:03:47 +0200
+
 msgpack-python (0.2.0-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru msgpack-python-0.2.0/debian/control msgpack-python-0.3.0/debian/control
--- msgpack-python-0.2.0/debian/control	2012-07-28 23:36:24.000000000 +0200
+++ msgpack-python-0.3.0/debian/control	2013-10-06 23:04:15.000000000 +0200
@@ -4,13 +4,19 @@
 Maintainer: Robert S. Edmonds <[email protected]>
 Build-Depends:
  debhelper (>= 9~),
+ dh-python,
  cython (>= 0.15~),
  python-all-dev (>= 2.6.6-3~),
- python-setuptools
+ python3-all-dev,
+ python-setuptools,
+ python3-setuptools
 Standards-Version: 3.9.3
 Homepage: http://pypi.python.org/pypi/msgpack-python/
 
-Package: msgpack-python
+Package: python-msgpack
+Replaces: msgpack-python (<< 0.3.0-1)
+Conflicts: msgpack-python (<< 0.3.0-1)
+Provides: msgpack-python
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
 Description: Python implementation of MessagePack format
@@ -20,3 +26,14 @@
  .
  This package contains a Python extension module implementing the
  MessagePack format.
+
+Package: python3-msgpack
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: Python 3 implementation of MessagePack format
+ MessagePack is a binary-based efficient object serialization format.
+ It enables the exchange of structured objects between many languages
+ like JSON. But unlike JSON, it is very fast and small.
+ .
+ This package contains a Python 3 extension module implementing the
+ MessagePack format.
diff -Nru msgpack-python-0.2.0/debian/rules msgpack-python-0.3.0/debian/rules
--- msgpack-python-0.2.0/debian/rules	2012-07-28 23:36:24.000000000 +0200
+++ msgpack-python-0.3.0/debian/rules	2013-10-06 22:51:52.000000000 +0200
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
+export PYBUILD_NAME=msgpack
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild

Attachment: signature.asc
Description: Digital signature

Reply via email to