tags 617071 + patch
thanks

On Mon, 2011-03-07 at 00:52 +0000, Matthias Klose wrote:
> The package build-depends on python-central, which should be
> removed in time for the wheezy release.  dh_python2 should be used instead.

Attached is a patch against the git version of the package that
implements the switch to dh_python2. I couldn't really test the patch
because the git version currently has missing build dependencies in
unstable.

Thanks,

-- 
-- arthur - adej...@debian.org - http://people.debian.org/~adejong --
diff --git a/debian/control b/debian/control
index bb01688..1f0d4d8 100644
--- a/debian/control
+++ b/debian/control
@@ -26,8 +26,7 @@ Build-Depends: debhelper (>= 8.1.3~), quilt, dh-autoreconf, autopoint, lsb-relea
  krb5-config,
  libkrb5-dev,
  libc-ares-dev,
- python-dev (>= 2.3.5-11),
- python-central (>= 0.6),
+ python-dev (>= 2.6.6-3~),
  libsemanage1-dev,
  libunistring-dev,
  libdhash-dev,
@@ -35,7 +34,7 @@ Build-Depends: debhelper (>= 8.1.3~), quilt, dh-autoreconf, autopoint, lsb-relea
  libini-config-dev,
  check,
 Standards-Version: 3.9.1
-XS-Python-Version: current
+X-Python-Version: 2.7
 Vcs-Git: git://git.debian.org/git/collab-maint/pkg-sssd
 Vcs-Browser: http://git.debian.org/?p=collab-maint/pkg-sssd.git
 Homepage: https://fedorahosted.org/sssd/
@@ -130,7 +129,6 @@ Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
 Provides: ${python:Provides}
 Recommends: sssd
-XB-Python-Version: ${python:Versions}
 Description: Python module for the System Security Services Daemon
  Provides a set of daemons to manage access to remote directories and
  authentication mechanisms. It provides an NSS and PAM interface toward
diff --git a/debian/rules b/debian/rules
index 3783f66..abc9815 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,8 +43,8 @@ override_dh_install:
 
 	dh_install
 
-	dh_pycentral -ppython-sss
-	dh_pycentral -ppython-libipa-hbac
+	dh_python2 -ppython-sss
+	dh_python2 -ppython-libipa-hbac
 
 override_dh_installinit:
 	dh_installinit --error-handler=invoke_failure

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to