r18496 - in /trunk/libhtml-tagset-perl/debian: changelog control patches/ patches/isbodyelement.patch patches/series rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Apr 12 13:13:51 UTC 2008


Author: gregoa-guest
Date: Sat Apr 12 13:13:50 2008
New Revision: 18496

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18496
Log:
* Add patch isbodyelement.patch: fixes documentation for isBodyElement()
  (closes: #402272); thanks to Jamey Sharp and Josh Triplett for the bug
  report. Add quilt framework.
* Refresh debian/rules; changes: the package is now parallel buildable;
  README isn't installed any more.

Added:
    trunk/libhtml-tagset-perl/debian/patches/
    trunk/libhtml-tagset-perl/debian/patches/isbodyelement.patch
    trunk/libhtml-tagset-perl/debian/patches/series
Modified:
    trunk/libhtml-tagset-perl/debian/changelog
    trunk/libhtml-tagset-perl/debian/control
    trunk/libhtml-tagset-perl/debian/rules

Modified: trunk/libhtml-tagset-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tagset-perl/debian/changelog?rev=18496&op=diff
==============================================================================
--- trunk/libhtml-tagset-perl/debian/changelog (original)
+++ trunk/libhtml-tagset-perl/debian/changelog Sat Apr 12 13:13:50 2008
@@ -1,3 +1,13 @@
+libhtml-tagset-perl (3.20-2) UNRELEASED; urgency=low
+
+  * Add patch isbodyelement.patch: fixes documentation for isBodyElement()
+    (closes: #402272); thanks to Jamey Sharp and Josh Triplett for the bug
+    report. Add quilt framework.
+  * Refresh debian/rules; changes: the package is now parallel buildable;
+    README isn't installed any more.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 12 Apr 2008 15:10:59 +0200
+
 libhtml-tagset-perl (3.20-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libhtml-tagset-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tagset-perl/debian/control?rev=18496&op=diff
==============================================================================
--- trunk/libhtml-tagset-perl/debian/control (original)
+++ trunk/libhtml-tagset-perl/debian/control Sat Apr 12 13:13:50 2008
@@ -3,7 +3,7 @@
  Kenneth J. Pronovici <pronovic at debian.org>
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 6), quilt (>= 0.40)
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Standards-Version: 3.7.3

Added: trunk/libhtml-tagset-perl/debian/patches/isbodyelement.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tagset-perl/debian/patches/isbodyelement.patch?rev=18496&op=file
==============================================================================
--- trunk/libhtml-tagset-perl/debian/patches/isbodyelement.patch (added)
+++ trunk/libhtml-tagset-perl/debian/patches/isbodyelement.patch Sat Apr 12 13:13:50 2008
@@ -1,0 +1,11 @@
+--- libhtml-tagset-perl.orig/Tagset.pm
++++ libhtml-tagset-perl/Tagset.pm
+@@ -255,7 +255,7 @@
+ %isFormElement  = map {; $_ => 1 }
+  qw(input select option optgroup textarea button label);
+ 
+-=head2 hashset %HTML::Tagset::isBodyMarkup
++=head2 hashset %HTML::Tagset::isBodyElement
+ 
+ This hashset contains all elements that are to be found only in/under
+ the "body" element of an HTML document.

Added: trunk/libhtml-tagset-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tagset-perl/debian/patches/series?rev=18496&op=file
==============================================================================
--- trunk/libhtml-tagset-perl/debian/patches/series (added)
+++ trunk/libhtml-tagset-perl/debian/patches/series Sat Apr 12 13:13:50 2008
@@ -1,0 +1,1 @@
+isbodyelement.patch

Modified: trunk/libhtml-tagset-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tagset-perl/debian/rules?rev=18496&op=diff
==============================================================================
--- trunk/libhtml-tagset-perl/debian/rules (original)
+++ trunk/libhtml-tagset-perl/debian/rules Sat Apr 12 13:13:50 2008
@@ -1,49 +1,62 @@
 #!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
 
-PERL=/usr/bin/perl
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-binary: binary-indep
+include /usr/share/quilt/quilt.make
 
-binary-arch: 
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
 	dh_fixperms
-	dh_compress
 	dh_installdeb
-	dh_perl
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-	$(MAKE) test
-	$(MAKE) install INSTALLDIRS=vendor PREFIX=$(CURDIR)/debian/libhtml-tagset-perl/usr
-	rm -rf debian/libhtml-tagset-perl/usr/lib
-
-build: configure-stamp build-stamp
-build-stamp: 
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	touch configure-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-	rm -f build-stamp configure-stamp
-	dh_clean
-
-.PHONY: binary binary-arch binary-indep install build configure clean
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Pkg-perl-cvs-commits mailing list