[libproc-syncexec-perl] 14/16: Modernize packaging

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Sun Aug 6 01:14:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

cbiedl-guest pushed a commit to branch master
in repository libproc-syncexec-perl.

commit b3c7f3f802d3b6b09db54dc71c6e6bbb7ca92f72
Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
Date:   Fri Aug 4 17:08:39 2017 -0400

    Modernize packaging
    
    * Declare compliance with Standards-Version: 4.0.0
    * Add Vcs-* URLs
    * Add test suite declaration and metadata
    * Update package description
    * Add missing install dependencies
    * Rewrite debian/copyright
    * Use dh7-style debian/rules
    * Declare source format
    * Update watch file
---
 debian/control                 | 19 +++++++----
 debian/copyright               | 65 +++++++++++++++++--------------------
 debian/rules                   | 73 ++----------------------------------------
 debian/source/format           |  1 +
 debian/tests/pkg-perl/use-name |  1 +
 debian/watch                   |  7 ++--
 6 files changed, 49 insertions(+), 117 deletions(-)

diff --git a/debian/control b/debian/control
index 1320497..0f336bd 100644
--- a/debian/control
+++ b/debian/control
@@ -1,16 +1,21 @@
 Source: libproc-syncexec-perl
-Section: perl
-Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders:
     Christoph Biedl <debian.axhn at manchmal.in-ulm.de>,
-Standards-Version: 3.5.2
-Build-Depends: debhelper (>= 10~), perl (>= 5.6.0-16)
+Homepage: https://metacpan.org/pod/Proc::SyncExec
+Standards-Version: 4.0.0
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libproc-syncexec-perl.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libproc-syncexec-perl.git
+Testsuite: autopkgtest-pkg-perl
+Build-Depends: debhelper (>= 10~),
+    perl,
+Priority: optional
+Section: perl
 
 Package: libproc-syncexec-perl
 Architecture: all
-Depends: ${perl:Depends}
+Depends: ${misc:Depends}, ${perl:Depends},
 Description: spawn processes but report exec() errors properly
- This Perl module contains functions for synchronized process spawning
- with full error return.  If the child's exec() call fails the reason
+ Proc::SyncExec contains functions for synchronized process spawning
+ with full error return. If the child's exec() call fails the reason
  for the failure is reported back to the parent.
diff --git a/debian/copyright b/debian/copyright
index f01a9a8..38c8c75 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,30 @@
-$Id: copyright,v 1.3 2006-04-19 13:33:51 roderick Exp $
-
-This is a Debian prepackaged version of the Proc::SyncExec Perl module.
-It was put together by Roderick Schertler <roderick at argon.org> with
-sources obtained from <URL:http://www.perl.com/CPAN/authors/id/ROSCH/>.
-
-The source has not been modified.
-
-The module is Copyright (c) 1997 Roderick Schertler.  All rights reserved.
-It may be distributed under the same terms as Perl.  These are:
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of either:
-
-        a) the GNU General Public License as published by the Free
-        Software Foundation; either version 1, or (at your option) any
-        later version, or
-
-        b) the "Artistic License" which comes with this Kit.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
-    the GNU General Public License or the Artistic License for more details.
-
-    You should have received a copy of the Artistic License with this
-    Kit, in the file named "Artistic".  If not, I'll be glad to provide one.
-
-    You should also have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software Foundation,
-    Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
-
-On Debian systems, the complete text of the GNU General Public License can
-be found in `/usr/share/common-licenses/GPL', and the complete text of the
-Artistic License can be found in `/usr/share/common-licenses/Artistic'.
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Proc-SyncExec
+Source: https://metacpan.org/release/Proc-SyncExec
+
+Files: *
+Copyright: 1997 Roderick Schertler
+License: Artistic or GPL-1+
+
+Files:
+ debian/*
+Copyright:
+ 1997 Roderick Schertler
+ 2017 Christoph Biedl
+License: Artistic or GPL-1+
+
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the
+ General Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --git a/debian/rules b/debian/rules
index a55789a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,73 +1,4 @@
 #!/usr/bin/make -f
 
-# $Id: rules,v 1.4 2001-07-31 14:27:19 roderick Exp $
-
-dt		:= debian/libproc-syncexec-perl
-prefix		 = `pwd`/$(dt)
-stamp_build	:= debian/stamp.build
-stamp_install	:= debian/stamp.install
-clean		:= $(stamp_build) $(stamp_install)
-
-ifneq "" "$(findstring debug,$(DEB_BUILD_OPTIONS))"
-    CFLAGS		+= -g
-endif
-#export DH_COMPAT	:= 3
-PERL			?= perl
-
-build: $(stamp_build)
-$(stamp_build):
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-O2 -Wall $(CFLAGS)"
-	$(MAKE) test
-	touch $@
-
-install: $(stamp_install)
-$(stamp_install): $(stamp_build)
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(prefix)
-	find $(prefix) -depth -type d -print0 | \
-	    xargs -0r rmdir --ignore-fail-on-non-empty
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean $(clean)
-
-binary: binary-indep binary-arch
-binary-arch:
-binary-indep: $(stamp_install)
-	dh_testdir
-	dh_testroot
-#	dh_installdebconf
-	dh_installdocs README
-	dh_installexamples
-	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs Changes
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol -u -isp
-	dh_md5sums
-	dh_builddeb
-
-.PHONY: build install clean binary-indep binary-arch binary
+%:
+	dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/pkg-perl/use-name b/debian/tests/pkg-perl/use-name
new file mode 100644
index 0000000..b5655d2
--- /dev/null
+++ b/debian/tests/pkg-perl/use-name
@@ -0,0 +1 @@
+Proc::SyncExec
diff --git a/debian/watch b/debian/watch
index 99043b7..ee4895d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,4 @@
-# $Id: watch,v 1.1 2006-04-19 13:20:56 roderick Exp $
 
-version=2
-
-http://www.cpan.org/modules/by-module/Proc/Proc-SyncExec-(\d.*)\.tar\.gz
+version=3
+https://metacpan.org/release/Proc-SyncExec \
+     .*/Proc-SyncExec-(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libproc-syncexec-perl.git



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