r1938 - in zope.hookable/trunk/debian (4 files)
Gediminas Paulauskas
menesis at pov.lt
Tue Feb 9 12:53:48 UTC 2010
2010/1/5 <kobold at users.alioth.debian.org>:
> Date: Tuesday, January 5, 2010 @ 20:08:45
> Author: kobold
> Revision: 1938
>
> Convert to debhelper 7 and the pydeb dh7 extension.
>
> Modified:
> zope.hookable/trunk/debian/changelog
> zope.hookable/trunk/debian/control
> zope.hookable/trunk/debian/rules
> zope.hookable/trunk/debian/tests/all
>
> Modified: zope.hookable/trunk/debian/changelog
> ===================================================================
> --- zope.hookable/trunk/debian/changelog 2010-01-05 20:06:03 UTC (rev 1937)
> +++ zope.hookable/trunk/debian/changelog 2010-01-05 20:08:45 UTC (rev 1938)
> @@ -1,3 +1,9 @@
> +zope.hookable (3.4.1-5) unstable; urgency=low
> +
> + * Convert to debhelper 7 and the pydeb dh7 extension.
> +
> + -- Fabio Tranchitella <kobold at debian.org> Tue, 05 Jan 2010 21:10:50 +0100
> +
> zope.hookable (3.4.1-4) unstable; urgency=low
>
> * debian/control: build-depend on pyton-vab.pydeb >= 1.3.0-2.
>
> Modified: zope.hookable/trunk/debian/control
> ===================================================================
> --- zope.hookable/trunk/debian/control 2010-01-05 20:06:03 UTC (rev 1937)
> +++ zope.hookable/trunk/debian/control 2010-01-05 20:08:45 UTC (rev 1938)
> @@ -3,16 +3,17 @@
> Priority: extra
> Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
> Uploaders: Brian Sutherland <brian at vanguardistas.net>, Fabio Tranchitella <kobold at debian.org>
> -Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-2)
> +Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4)
> Standards-Version: 3.8.3
> XS-Python-Version: all
> XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.hookable/trunk
>
> Package: python-zope.hookable
> Architecture: any
> -Depends: ${setuptools:Depends}, ${python:Depends}, ${shlibs:Depends}
> -Provides: ${setuptools:Provides}, ${python:Provides}
> -Suggests: ${setuptools:Suggests}
> +Depends: ${pydeb:Depends}, ${python:Depends}, ${misc:Depends}
> +Recommends: ${pydeb:Recommends}
> +Provides: ${pydeb:Provides}, ${python:Provides}
> +Suggests: ${pydeb:Suggests}
> Conflicts: zope3
> XB-Python-Version: ${python:Versions}
> Description: Hookable object support
>
> Modified: zope.hookable/trunk/debian/rules
> ===================================================================
> --- zope.hookable/trunk/debian/rules 2010-01-05 20:06:03 UTC (rev 1937)
> +++ zope.hookable/trunk/debian/rules 2010-01-05 20:08:45 UTC (rev 1938)
> @@ -1,7 +1,4 @@
> #!/usr/bin/make -f
>
> -include /usr/share/python-van.pydeb/rules_templates/rules.1.mk
> -
> -post-install-python%:
> - find debian/$(package) -name '*.c' | xargs -r rm -f
> -
> +%:
> + dh --with pydeb --with python-central $@
>
Converting is all good, but removing of *.c files was lost.
An override should be added like this
override_dh_install:
find debian/*/usr/lib -name '*.c' | xargs -r rm -f
And also bump Build-Depends: debhelper (>= 7.0.50) for overrides to work.
> Modified: zope.hookable/trunk/debian/tests/all
> ===================================================================
> --- zope.hookable/trunk/debian/tests/all 2010-01-05 20:06:03 UTC (rev 1937)
> +++ zope.hookable/trunk/debian/tests/all 2010-01-05 20:08:45 UTC (rev 1938)
> @@ -1,29 +1,2 @@
> #!/bin/bash
> -
> -set -e
> -
> -PYVERS=$(pyversions -vr debian/control)
> -TMPFILE=$(mktemp)
> -
> -cat > $TMPFILE << EOF
> -import sys
> -from zope.testing import testrunner
> -
> -subs = (sys.version_info[0], sys.version_info[1])
> -test_path = '/usr/lib/python%s.%s/site-packages/' % subs
> -
> -
> -
> -exitcode = testrunner.run([
> - '--tests-pattern', '^f?tests$',
> - '-s', 'zope.hookable',
> - '--test-path', test_path
> - ])
> -sys.exit(exitcode)
> -EOF
> -
> -for version in ${PYVERS}; do
> - python${version} ${TMPFILE}
> -done
> -
> -rm $TMPFILE
> +. /usr/share/python-zope.testing/test_helper
>
>
> _______________________________________________
> pkg-zope-developers mailing list
> pkg-zope-developers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-zope-developers
>
More information about the pkg-zope-developers
mailing list