tags 547814 + patch thanks Dear maintainer,
I've prepared an NMU for clientcookie (versioned as 1.3.0-1.2) and uploaded it to unstable. Regards.
diff -u clientcookie-1.3.0/debian/control clientcookie-1.3.0/debian/control --- clientcookie-1.3.0/debian/control +++ clientcookie-1.3.0/debian/control @@ -1,7 +1,8 @@ Source: clientcookie section: python Priority: optional -Build-Depends-Indep: python-all-dev (>= 2.3.5-10), python-central (>= 0.4.17), debhelper (>= 5.0.37.1), python-setuptools (>= 0.6b3) +Build-Depends: debhelper (>= 5.0.37.1) +Build-Depends-Indep: python-all-dev (>= 2.5.4-1~), python-central (>= 0.4.17), python-setuptools (>= 0.6b3) XS-Python-Version: all Maintainer: Ganesan Rajagopal <rgane...@debian.org> Standards-Version: 3.6.2 diff -u clientcookie-1.3.0/debian/rules clientcookie-1.3.0/debian/rules --- clientcookie-1.3.0/debian/rules +++ clientcookie-1.3.0/debian/rules @@ -6,6 +6,8 @@ # This is the debhelper compatibility version to use. export DH_COMPAT=4 +include /usr/share/python/python.mk + PYVERS := $(shell pyversions -vr debian/control) DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog \ | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) @@ -37,11 +39,11 @@ install-python%: python$* setup.py install \ - --no-compile --root=$(d) --single-version-externally-managed + --no-compile --root=$(d) --single-version-externally-managed $(py_setup_install_args) # Remove python and module version from .egg-info - mv $(d)/usr/lib/python$*/site-packages/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \ - $(d)/usr/lib/python$*/site-packages/$(PYMOD).egg-info + mv $(d)/usr/lib/python$*/$(call py_sitename,$*)/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \ + $(d)/usr/lib/python$*/$(call py_sitename,$*)/$(PYMOD).egg-info # Build architecture-independent files here. binary-indep: build install diff -u clientcookie-1.3.0/debian/changelog clientcookie-1.3.0/debian/changelog --- clientcookie-1.3.0/debian/changelog +++ clientcookie-1.3.0/debian/changelog @@ -1,3 +1,19 @@ +clientcookie (1.3.0-1.2) unstable; urgency=low + + * Non-maintainer upload. + * debian/control + - moved debhelper to Build-Depends (needed for 'clean' target) + * Make the package ready for Python 2.6; thanks to Josselin Mouette + for the report; Closes: #547814 + - debian/control + + bump versioned b-d-i of python-all-dev to '>= 2.5.4-1~' + - debian/rules + + include python.mk + + use $(py_setup_install_args) when installing + + use $(call py_sitename,$*) instead of site-packages + + -- Sandro Tosi <mo...@debian.org> Sun, 11 Oct 2009 23:59:05 +0200 + clientcookie (1.3.0-1.1) unstable; urgency=low * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490453.