Package: python-systemd
Version: 231-1
Severity: normal
Tags: patch

Hi,

salt 2015.8.3+ds-1 requires python-systemd since it does not yet support
Python 3. So please provide python-systemd. A patch for that is
attached.

PS: The patch also includes a run of wrap-and-sort.

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.dr...@profitbricks.com
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.
diff -Nru python-systemd-231/debian/changelog python-systemd-231/debian/changelog
--- python-systemd-231/debian/changelog	2015-10-29 01:55:04.000000000 +0100
+++ python-systemd-231/debian/changelog	2015-12-09 17:11:19.000000000 +0100
@@ -1,3 +1,10 @@
+python-systemd (231-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Introduce python-systemd (Python 2 version).
+
+ -- Benjamin Drung <benjamin.dr...@profitbricks.com>  Wed, 09 Dec 2015 17:10:51 +0100
+
 python-systemd (231-1) unstable; urgency=medium
 
   [ Martin Pitt ]
diff -Nru python-systemd-231/debian/control python-systemd-231/debian/control
--- python-systemd-231/debian/control	2015-10-29 01:55:04.000000000 +0100
+++ python-systemd-231/debian/control	2015-12-09 17:12:11.000000000 +0100
@@ -2,25 +2,43 @@
 Section: python
 Priority: optional
 Maintainer: Debian systemd Maintainers <pkg-systemd-maintain...@lists.alioth.debian.org>
-Uploaders: Michael Biebl <bi...@debian.org>,
-           Martin Pitt <mp...@debian.org>
+Uploaders: Michael Biebl <bi...@debian.org>, Martin Pitt <mp...@debian.org>
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-systemd/python-systemd.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-systemd/python-systemd.git
 Homepage: http://www.freedesktop.org/wiki/Software/systemd
 X-Python3-Version: >=3.1
 Build-Depends: debhelper (>= 9),
+               dh-python,
                libsystemd-dev,
-               python3-all-dev,
-               pkg-config
+               pkg-config,
+               python-all-dev,
+               python3-all-dev
+
+Package: python-systemd
+Section: python
+Priority: optional
+Architecture: linux-any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Description: Python 2 bindings for systemd
+ This package contains Python 2 bindings for native access to the
+ systemd facilities.
+ .
+ Functionality is separated into a number of modules:
+  * systemd.journal supports sending of structured messages to the
+    journal and reading journal files
+  * systemd.daemon wraps parts of libsystemd useful for writing daemons
+    and socket activation
+  * systemd.id128 provides functions for querying machine and boot
+    identifiers and a list of message identifiers provided by systemd
+  * systemd.login wraps parts of libsystemd used to query logged in
+    users and available seats and machines
 
 Package: python3-systemd
 Section: python
 Priority: optional
 Architecture: linux-any
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${python3:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
 Description: Python 3 bindings for systemd
  This package contains Python 3 bindings for native access to the
  systemd facilities.
diff -Nru python-systemd-231/debian/rules python-systemd-231/debian/rules
--- python-systemd-231/debian/rules	2015-10-29 01:55:04.000000000 +0100
+++ python-systemd-231/debian/rules	2015-12-09 17:11:36.000000000 +0100
@@ -2,8 +2,9 @@
 
 #export DH_VERBOSE=1
 #export DEB_BUILD_OPTIONS="nostrip"
+export PYBUILD_NAME=systemd
 
 # Explicitly tell dh to use pybuild, otherwise it will pick the
 # makefile build system.
 %:
-	dh $@ --with python3 --buildsystem=pybuild --parallel
+	dh $@ --with python2,python3 --buildsystem=pybuild --parallel

Reply via email to