Attending to Michael Biebl's suggestion, attached is the patch to comply with the new python policy. It also closes 389633 by adding a dependency for python-rpm.
-- Rodrigo Gallardo GPG-Fingerprint: 7C81 E60C 442E 8FBC D975 2F49 0199 8318 ADC9 BC28
diff -u smart-0.41+svn727/debian/changelog smart-0.41+svn727/debian/changelog --- smart-0.41+svn727/debian/changelog +++ smart-0.41+svn727/debian/changelog @@ -1,3 +1,12 @@ +smart (0.41+svn727-1.1) unstable; urgency=low + + * NMU. Based on patch by Mario Iseli <[EMAIL PROTECTED]> + * Added a debian/pycompat file, build-depend now on debhelper 5. + * Upgraded to new python policy (Closes: #389630) + * Added python-rpm dependency (Closes: #389633) + + -- Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> Fri, 13 Oct 2006 21:46:20 -0500 + smart (0.41+svn727-1) unstable; urgency=low * new svn snapshot diff -u smart-0.41+svn727/debian/control smart-0.41+svn727/debian/control --- smart-0.41+svn727/debian/control +++ smart-0.41+svn727/debian/control @@ -2,12 +2,14 @@ Section: admin Priority: optional Maintainer: Michael Vogt <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.0.0), python, python-dev, dpatch +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python-support, dpatch Standards-Version: 3.7.2 +XS-Python-Version: all Package: smartpm Architecture: any -Depends: python, ${shlibs:Depends}, python2.3-pycurl, python2.3-gtk2, python2.3-pexpect +Depends: ${python:Depends}, ${shlibs:Depends}, python-pycurl, python-gtk2, python-pexpect, python-rpm +XB-Python-Version: all Description: An alternative package manager that works with dpkg/rpm The Smart Package Manager project has the ambitious objective of creating smart and portable algorithms for solving adequately the diff -u smart-0.41+svn727/debian/rules smart-0.41+svn727/debian/rules --- smart-0.41+svn727/debian/rules +++ smart-0.41+svn727/debian/rules @@ -6,7 +6,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 - +PYVERS=$(shell pyversions -r) CFLAGS = -Wall -g @@ -35,7 +35,10 @@ # Add here commands to compile the package. #$(MAKE) - ./setup.py build + set -e; \ + for python in $(PYVERS); do \ + $$python setup.py build; \ + done #/usr/bin/docbook-to-man debian/smart.sgml > smart.1 touch build-stamp @@ -47,7 +50,11 @@ # Add here commands to clean up after the build process. #-$(MAKE) clean - ./setup.py clean --all + set -e; \ + for python in $(PYVERS); do \ + $$python setup.py clean --all; \ + done + find . -name "*.so" -exec rm {} \; find . -name "*.o" -exec rm {} \; find . -name "*.pyc" -exec rm {} \; @@ -61,7 +68,11 @@ dh_installdirs # Add here commands to install the package into debian/smart. - ./setup.py install --prefix=$(CURDIR)/debian/smartpm/usr + set -e; \ + for python in $(PYVERS); do \ + $$python setup.py install --prefix=$(CURDIR)/debian/smartpm/usr; \ + done + install -p -m644 debian/distro.py $(CURDIR)/debian/smartpm/usr/lib/smart/distro.py @@ -91,7 +102,8 @@ dh_strip dh_compress dh_fixperms - dh_python + dh_pysupport -d + rm -rf $(CURDIR)/debian/smartpm/usr/lib/python* dh_installdeb dh_shlibdeps dh_gencontrol
signature.asc
Description: Digital signature