r13976 - in /trunk/libclass-accessor-lvalue-perl/debian: changelog control dirs docs rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Feb 1 14:29:24 UTC 2008


Author: dmn
Date: Fri Feb  1 14:29:24 2008
New Revision: 13976

URL: http://svn.debian.org/wsvn/?sc=1&rev=13976
Log:
* re-make debian/rules from dh-make-perl templates
  + use Module::Build for building
* remove cdbs from Build-Depends
* add libmodule-build-perl to B-D, move perl from B-D-I to B-D
* drop debian/docs, README is redundant
* install Changes as changelog
* drop redundan debian/dirs
* add myself to Uploaders

Removed:
    trunk/libclass-accessor-lvalue-perl/debian/dirs
    trunk/libclass-accessor-lvalue-perl/debian/docs
Modified:
    trunk/libclass-accessor-lvalue-perl/debian/changelog
    trunk/libclass-accessor-lvalue-perl/debian/control
    trunk/libclass-accessor-lvalue-perl/debian/rules

Modified: trunk/libclass-accessor-lvalue-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-accessor-lvalue-perl/debian/changelog?rev=13976&op=diff
==============================================================================
--- trunk/libclass-accessor-lvalue-perl/debian/changelog (original)
+++ trunk/libclass-accessor-lvalue-perl/debian/changelog Fri Feb  1 14:29:24 2008
@@ -1,9 +1,16 @@
 libclass-accessor-lvalue-perl (0.11-2) UNRELEASED; urgency=low
 
   [ Damyan Ivanov ]
-  * NEEDS WORK - Maintainer, watch, etc
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza).
+  * re-make debian/rules from dh-make-perl templates
+    + use Module::Build for building
+  * remove cdbs from Build-Depends
+  * add libmodule-build-perl to B-D, move perl from B-D-I to B-D
+  * drop debian/docs, README is redundant
+  * install Changes as changelog
+  * drop redundan debian/dirs
+  * add myself to Uploaders
 
   [ Martín Ferrari ]
   * debian/watch:

Modified: trunk/libclass-accessor-lvalue-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libclass-accessor-lvalue-perl/debian/control?rev=13976&op=diff
==============================================================================
--- trunk/libclass-accessor-lvalue-perl/debian/control (original)
+++ trunk/libclass-accessor-lvalue-perl/debian/control Fri Feb  1 14:29:24 2008
@@ -2,10 +2,11 @@
 Section: perl
 Priority: extra
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jose Luis Rivas <ghostbar38 at gmail.com>
-Build-Depends-Indep: perl, libscalar-list-utils-perl, libwant-perl,
- libclass-accessor-perl
-Build-Depends: cdbs, debhelper (>= 5)
+Uploaders: Jose Luis Rivas <ghostbar38 at gmail.com>,
+ Damyan Ivanov <dmn at debian.org>
+Build-Depends-Indep: libscalar-list-utils-perl,
+ libwant-perl, libclass-accessor-perl
+Build-Depends: perl, libmodule-build-perl, debhelper (>= 5)
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Class-Accessor-Lvalue/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-accessor-lvalue-perl/

Modified: trunk/libclass-accessor-lvalue-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-accessor-lvalue-perl/debian/rules?rev=13976&op=diff
==============================================================================
--- trunk/libclass-accessor-lvalue-perl/debian/rules (original)
+++ trunk/libclass-accessor-lvalue-perl/debian/rules Fri Feb  1 14:29:24 2008
@@ -1,7 +1,76 @@
 #!/usr/bin/make -f
-  
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# 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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
 
-install/libclass-accessor-lvalue-perl::
-	[ ! -d debian/libclass-accessor-lvalue-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose debian/libclass-accessor-lvalue-perl/usr/lib/perl5
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# 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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Build.PL installdirs=vendor
+	$(PERL) Build
+	$(PERL) Build test
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build distclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into $(TMP) here
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install




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