r25222 - in /trunk/libdevel-repl-perl/debian: changelog compat control libdevel-repl-perl.examples rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Sep 16 16:10:54 UTC 2008
Author: gregoa
Date: Tue Sep 16 16:10:51 2008
New Revision: 25222
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25222
Log:
Set debhelper compatibility level to 7; adapt
debian/{control,compat,rules}.
Added:
trunk/libdevel-repl-perl/debian/libdevel-repl-perl.examples
Modified:
trunk/libdevel-repl-perl/debian/changelog
trunk/libdevel-repl-perl/debian/compat
trunk/libdevel-repl-perl/debian/control
trunk/libdevel-repl-perl/debian/rules
Modified: trunk/libdevel-repl-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-repl-perl/debian/changelog?rev=25222&op=diff
==============================================================================
--- trunk/libdevel-repl-perl/debian/changelog (original)
+++ trunk/libdevel-repl-perl/debian/changelog Tue Sep 16 16:10:51 2008
@@ -8,6 +8,8 @@
* Remove patch that was needed for older libmoose-perl versions and breaks
re.pl with newer ones; make the (build) dependency on libmoose-perl
versioned instead. Remove quilt framework. Closes: #499150
+ * Set debhelper compatibility level to 7; adapt
+ debian/{control,compat,rules}.
-- gregor herrmann <gregoa at debian.org> Mon, 04 Aug 2008 18:29:25 -0300
Modified: trunk/libdevel-repl-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-repl-perl/debian/compat?rev=25222&op=diff
==============================================================================
--- trunk/libdevel-repl-perl/debian/compat (original)
+++ trunk/libdevel-repl-perl/debian/compat Tue Sep 16 16:10:51 2008
@@ -1,1 +1,1 @@
-5
+7
Modified: trunk/libdevel-repl-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-repl-perl/debian/control?rev=25222&op=diff
==============================================================================
--- trunk/libdevel-repl-perl/debian/control (original)
+++ trunk/libdevel-repl-perl/debian/control Tue Sep 16 16:10:51 2008
@@ -1,7 +1,7 @@
Source: libdevel-repl-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl (>= 5.8.8-7), libdata-dump-streamer-perl,
liblexical-persistence-perl, libmoosex-getopt-perl,
libmoosex-object-pluggable-perl, libnamespace-clean-perl,
Added: trunk/libdevel-repl-perl/debian/libdevel-repl-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-repl-perl/debian/libdevel-repl-perl.examples?rev=25222&op=file
==============================================================================
--- trunk/libdevel-repl-perl/debian/libdevel-repl-perl.examples (added)
+++ trunk/libdevel-repl-perl/debian/libdevel-repl-perl.examples Tue Sep 16 16:10:51 2008
@@ -1,0 +1,1 @@
+script/*
Modified: trunk/libdevel-repl-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-repl-perl/debian/rules?rev=25222&op=diff
==============================================================================
--- trunk/libdevel-repl-perl/debian/rules (original)
+++ trunk/libdevel-repl-perl/debian/rules Tue Sep 16 16:10:51 2008
@@ -1,84 +1,27 @@
#!/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.
-# 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)
+TMP=$(CURDIR)/debian/libdevel-repl-perl
build: build-stamp
build-stamp:
- dh_testdir
-
- # Add commands to compile the package here
- PERL_AUTOINSTALL=--skip $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- $(MAKE) test
-
+ PERL_AUTOINSTALL=--skip dh build
touch $@
clean:
- dh_testdir
- dh_testroot
-
- dh_clean build-stamp install-stamp
-
- # Add commands to clean up after the build process here
- [ ! -f Makefile ] || $(MAKE) realclean
+ dh $@
install: install-stamp
install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # now move /usr/bin/re.pl to /usr/share/doc/libdevel-repl-perl/examples
- install -d $(TMP)/usr/share/doc/$(PACKAGE)/examples
- mv $(TMP)/usr/bin/re.pl $(TMP)/usr/share/doc/$(PACKAGE)/examples
- # remove the empty directory
- [ ! -d $(TMP)/usr/bin ] || rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/bin
-
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
+ dh install
+ # re.pl is installed as an example
+ [ ! -d $(TMP)/usr/bin ] || $(RM) -rv $(TMP)/usr/bin
touch $@
binary-arch:
-# We have nothing to do by default.
-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
+binary-indep: install
+ dh $@
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build
More information about the Pkg-perl-cvs-commits
mailing list