From 369c4ac42fa98557756117fe768f085f316bb9f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Michel=20Nirgal=20Vourg=C3=A8re?= Date: Tue, 16 Jul 2013 18:50:56 +0000 Subject: [PATCH] Update packaging for squeeze * Added debian/source/format * Change debian/rules to use trival dh $@ * Added Depends: ${misc:Depends} * Bumped standards to 3.9.1 (no change requiered) * Changed compat level to 8 (squeeze minimum), adjusted debhelper version requiered. --- debian/changelog | 11 ++++++ debian/compat | 2 +- debian/control | 12 +++---- debian/rules | 82 +++----------------------------------------- debian/source/format | 1 + 5 files changed, 23 insertions(+), 85 deletions(-) create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog index 205e466..7e5d8a7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +python-htmlentities (0.2) UNRELEASED; urgency=low + + * Added debian/source/format + * Change debian/rules to use trival dh $@ + * Added Depends: ${misc:Depends} + * Bumped standards to 3.9.1 (no change requiered) + * Changed compat level to 8 (squeeze minimum), adjusted debhelper version + requiered. + + -- Jean-Michel Vourgère Tue, 16 Jul 2013 18:08:55 +0000 + python-htmlentities (0.1) UNRELEASED; urgency=low * Initial release. diff --git a/debian/compat b/debian/compat index 7ed6ff8..45a4fb7 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +8 diff --git a/debian/control b/debian/control index 9c7532a..81bb091 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,14 @@ Source: python-htmlentities Section: python Priority: optional Maintainer: Jean-Michel Vourgère -Build-Depends: debhelper (>> 3.0.0) -Build-Depends-Indep: python-support (>= 0.5.3) -Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 8), python-all +Standards-Version: 3.9.1 Package: python-htmlentities -Section: python Architecture: all -Depends: python +Depends: ${misc:Depends}, ${python:Depends} +XB-Python-Version: ${python:Versions} Description: Python library for XML character entities Provide functions for resolving characters entities such as &   - It emulates Internet Explorer resolution and supports buggy input. + It emulates Internet Explorer resolution and supports buggy input, such as + missing ; at the end of &entities. diff --git a/debian/rules b/debian/rules index 6962cc6..980f976 100755 --- a/debian/rules +++ b/debian/rules @@ -1,80 +1,6 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. +DH_VERBOSE=1 +export DH_ALWAYS_EXCLUDE=.svn -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -#CFLAGS = -g -#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) -# CFLAGS += -O0 -#else -# CFLAGS += -O2 -#endif - -build: build-stamp -build-stamp: - dh_testdir - - # Add here commands to compile the package. - #-$(MAKE) - #docbook-to-man debian/gentoo.sgml > gentoo.1 - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - #$(MAKE) clean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/curcy. - #$(MAKE) install DESTDIR=$(CURDIR)/debian/curcy - -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_install -X.svn -# dh_installdebconf - dh_installdocs entities.txt - dh_installexamples - dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installman man/* - dh_installinfo - dh_installchangelogs - dh_link - dh_strip - dh_compress - dh_fixperms - dh_pysupport -# dh_makeshlibs - dh_installdeb -# dh_perl - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- 2.30.2