r2052 - packages/libstatistics-descriptive-perl/trunk/debian
Russ Allbery
rra at costa.debian.org
Mon Jan 23 02:41:59 UTC 2006
Author: rra
Date: 2006-01-23 02:41:58 +0000 (Mon, 23 Jan 2006)
New Revision: 2052
Added:
packages/libstatistics-descriptive-perl/trunk/debian/compat
Modified:
packages/libstatistics-descriptive-perl/trunk/debian/changelog
packages/libstatistics-descriptive-perl/trunk/debian/control
packages/libstatistics-descriptive-perl/trunk/debian/copyright
packages/libstatistics-descriptive-perl/trunk/debian/rules
Log:
* Remove unnecessary commenting-out of the module's require statement.
* Move debhelper to Build-Depends since it's required for clean.
* Build-Depends-Indep on perl.
* Put the full copyright information in debian/copyright.
* General debian/rules cleanup:
- Check the exit status of make test and make distclean.
- Run dh_md5sums.
- Remove the empty /usr/lib/perl5 directory.
- Add build-arch and build-indep targets just in case.
* Update to debhelper compatibility level V5.
Modified: packages/libstatistics-descriptive-perl/trunk/debian/changelog
===================================================================
--- packages/libstatistics-descriptive-perl/trunk/debian/changelog 2006-01-23 02:41:30 UTC (rev 2051)
+++ packages/libstatistics-descriptive-perl/trunk/debian/changelog 2006-01-23 02:41:58 UTC (rev 2052)
@@ -4,8 +4,20 @@
* Fix Uploaders field.
* Update standards version to 3.6.2 (no changes required).
- -- Russ Allbery <rra at debian.org> Sun, 22 Jan 2006 18:22:14 -0800
+ [ Russ Allbery ]
+ * Remove unnecessary commenting-out of the module's require statement.
+ * Move debhelper to Build-Depends since it's required for clean.
+ * Build-Depends-Indep on perl.
+ * Put the full copyright information in debian/copyright.
+ * General debian/rules cleanup:
+ - Check the exit status of make test and make distclean.
+ - Run dh_md5sums.
+ - Remove the empty /usr/lib/perl5 directory.
+ - Add build-arch and build-indep targets just in case.
+ * Update to debhelper compatibility level V5.
+ -- Russ Allbery <rra at debian.org> Sun, 22 Jan 2006 18:41:32 -0800
+
libstatistics-descriptive-perl (2.6-2) unstable; urgency=low
* Modified source package name to libstatistics-descriptive-perl to be
Added: packages/libstatistics-descriptive-perl/trunk/debian/compat
===================================================================
--- packages/libstatistics-descriptive-perl/trunk/debian/compat 2006-01-23 02:41:30 UTC (rev 2051)
+++ packages/libstatistics-descriptive-perl/trunk/debian/compat 2006-01-23 02:41:58 UTC (rev 2052)
@@ -0,0 +1 @@
+5
Modified: packages/libstatistics-descriptive-perl/trunk/debian/control
===================================================================
--- packages/libstatistics-descriptive-perl/trunk/debian/control 2006-01-23 02:41:30 UTC (rev 2051)
+++ packages/libstatistics-descriptive-perl/trunk/debian/control 2006-01-23 02:41:58 UTC (rev 2052)
@@ -2,9 +2,10 @@
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Carlo Segre <segre at iit.edu>, Joachim Breitner <nomeata at debian.org>
+Uploaders: Carlo Segre <segre at iit.edu>, Joachim Breitner <nomeata at debian.org>, Russ Allbery <rra at debian.org>
Standards-Version: 3.6.2
-Build-Depends-Indep: debhelper (>= 3.0)
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl
Package: libstatistics-descriptive-perl
Architecture: all
Modified: packages/libstatistics-descriptive-perl/trunk/debian/copyright
===================================================================
--- packages/libstatistics-descriptive-perl/trunk/debian/copyright 2006-01-23 02:41:30 UTC (rev 2051)
+++ packages/libstatistics-descriptive-perl/trunk/debian/copyright 2006-01-23 02:41:58 UTC (rev 2052)
@@ -1,7 +1,7 @@
-This is the Debian GNU/Linux libio-stringy-perl version of the
-Statistics-Descriptive package by Colin Kuskie. Previous authors of this Perl
-modules are Andrea Spinelli and Jason Kastner. Statistics-Descriptive
-provides basic descriptive statistical functions.
+This is the Debian GNU/Linux version of the Statistics-Descriptive package
+by Colin Kuskie. Previous authors of this Perl modules are Andrea Spinelli
+and Jason Kastner. Statistics-Descriptive provides basic descriptive
+statistical functions.
This package was put together by Dirk Eddelbuettel <edd at debian.org>
from sources obtained from
@@ -14,10 +14,21 @@
files. The package was renamed to match the Debian Policy which aims
at consistent names for Perl Module packages.
-Statistics-Descriptive is free software; you can redistribute it and/or
-modify it under the same terms as Perl itself.
+Copyright:
-On Debian GNU/Linux systems, the complete text of these licenses can be found
-in /usr/share/common-licenses/GPL and /usr/share/common-licenses/Artistic.
+ Copyright (c) 1997,1998 Colin Kuskie. All rights reserved. This
+ program is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+ Copyright (c) 1998 Andrea Spinelli. All rights reserved. This program
+ is free software; you can redistribute it and/or modify it under the
+ same terms as Perl itself.
+ Copyright (c) 1994,1995 Jason Kastner. All rights reserved. This
+ program is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
+Perl is distributed under either the Artistic License or the GPL. The
+full text of the GPL is available in Debian systems in
+/usr/share/common-licenses/GPL. The full text of the Artistic License is
+available on Debian systems in /usr/share/common-licenses/Artistic.
Modified: packages/libstatistics-descriptive-perl/trunk/debian/rules
===================================================================
--- packages/libstatistics-descriptive-perl/trunk/debian/rules 2006-01-23 02:41:30 UTC (rev 2051)
+++ packages/libstatistics-descriptive-perl/trunk/debian/rules 2006-01-23 02:41:58 UTC (rev 2052)
@@ -3,75 +3,50 @@
# debian/rules file for the Debian Linux libstatistics-descriptive-perl package
# Copyright (C) 1999 - 2002 by Dirk Eddelbuettel <edd at debian.org>
-package := $(shell grep Package debian/control | sed 's/^Package: //')
-version := $(shell head -1 debian/changelog | \
- perl -nle 'm/\S+\s+\((\S+)\)/ && print $$1')
+package := $(shell dh_listpackages)
debtmp := $(CURDIR)/debian/$(package)
#export DH_VERBOSE=1
-export DH_COMPAT=4
-upstream: get-orig-source
-get-orig-source:
- lynx http://cpan.org/authors/id/C/CO/COLINK
-
-build: build-stamp
+build: build-arch build-indep
+build-arch:
+build-indep: build-stamp
build-stamp:
dh_testdir
perl Makefile.PL INSTALLDIRS=vendor
- # Comment out a `require' statement which, in light of the comment
- # in the code, does not apply for Debian as we have either version
- # 5.004 or version 5.005 of Perl
- perl -p -i -e 's|^require 5\.00404;|#require 5\.00404; ## ** Not needed under Debian as we have at least 5.6 --edd\n\t\t|' Descriptive.pm
- $(MAKE)
+ $(MAKE)
+ $(MAKE) test
touch build-stamp
-test: test-stamp
-test-stamp: build-stamp
- -$(MAKE) test
- touch test-stamp
-
clean:
dh_testdir
dh_testroot
- rm -f build-stamp install-stamp test-stamp
- -test -f Makefile && $(MAKE) realclean
- dh_clean
+ [ ! -f Makefile ] || $(MAKE) distclean
+ dh_clean build-stamp install-stamp
install: install-stamp
-install-stamp:
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
$(MAKE) install PREFIX=$(debtmp)/usr
+ rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
touch install-stamp
-binary-indep: build test install
+binary: binary-arch binary-indep
+binary-arch:
+binary-indep: install-stamp
dh_testdir
dh_testroot
dh_installdocs README
- #dh_installexamples
- #dh_installmenu
- #dh_installinit
- #dh_installcron
- #dh_installmanpages
- #dh_undocumented
dh_installchangelogs Changes
dh_perl
dh_compress
dh_fixperms
- #dh_suidregister
dh_installdeb
dh_gencontrol
- #dh_md5sums
+ dh_md5sums
dh_builddeb
-binary-arch: build
-
-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
-
+.PHONY: build build-arch build-indep binary binary-arch binary-indep clean
+.PHONY: install
More information about the Pkg-perl-cvs-commits
mailing list