[libio-callback-perl] 02/02: Initial packaging.

Jonas Smedegaard dr at jones.dk
Fri May 30 21:39:09 UTC 2014


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

js pushed a commit to branch master
in repository libio-callback-perl.

commit dd909d27ccdb5c4fb4d057088d20d7d7faf3e393
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri May 30 23:32:03 2014 +0200

    Initial packaging.
---
 debian/README.source   | 11 ++++++++
 debian/changelog       |  6 +++++
 debian/compat          |  1 +
 debian/control         | 32 +++++++++++++++++++++++
 debian/control.in      | 23 +++++++++++++++++
 debian/copyright       | 55 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright_hints | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf        |  8 ++++++
 debian/rules           | 41 ++++++++++++++++++++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  4 +++
 11 files changed, 251 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..f88449e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,11 @@
+CDBS+git-buildpackage
+---------------------
+
+This source package uses CDBS and git-buildpackage.  NMUs need not (but
+are encouraged to) make special use of these tools.  In particular, the
+debian/control.in file can be completely ignored.
+
+More info here: http://wiki.debian.org/CDBS+git-buildpackage
+
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1041740
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libio-callback-perl (1.12-1) unstable; urgency=low
+
+  * Initial packaging release.
+    Closes: bug#749948.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 30 May 2014 23:31:54 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a2d7e0c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: libio-callback-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ debhelper,
+ dh-buildinfo,
+ perl (<< 5.19) | libmodule-build-perl (>= 0.40),
+ libio-string-perl,
+ libfile-slurp-perl,
+ libtest-exception-perl,
+ libtest-nowarnings-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libio-callback-perl
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libio-callback-perl.git
+Homepage: https://metacpan.org/release/IO-Callback
+
+Package: libio-callback-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: emulate file interface for a code reference
+ IO::Callback provides an easy way to produce a phoney read-only
+ filehandle that calls back to your own code when it needs data to
+ satisfy a read.  This is useful if you want to use a library module
+ that expects to read data from a filehandle, but you want the data to
+ come from some other source and you don't want to read it all into
+ memory and use IO::String.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..77f6630
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,23 @@
+Source: libio-callback-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libio-callback-perl
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libio-callback-perl.git
+Homepage: https://metacpan.org/release/IO-Callback
+
+Package: libio-callback-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: emulate file interface for a code reference
+ IO::Callback provides an easy way to produce a phoney read-only
+ filehandle that calls back to your own code when it needs data to
+ satisfy a read.  This is useful if you want to use a library module
+ that expects to read data from a filehandle, but you want the data to
+ come from some other source and you don't want to read it all into
+ memory and use IO::String.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..67fb39e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: IO::Callback
+Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=IO-Callback
+Source: http://search.cpan.org/dist/IO-Callback/
+ git://github.com/tobyink/p5-io-callback
+
+Files: *
+Copyright: 1998-2005, Gisle Aas
+  2009-2010 Dave Taylor <dave.taylor.cpan at gmail.com>
+License: Artistic or GPL-1+
+Comment:
+ License:
+ .
+ This program is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+ .
+ Comment:
+ .
+ Perl 5 is licensed under either the 'Artistic license' or the 'GNU
+ General Public License' version 1 or later.
+
+Files: debian/*
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+
+License: Artistic
+ Comment:
+ .
+ On Debian systems the 'Artistic License' is located in
+ '/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 1 is located
+ in '/usr/share/common-licenses/GPL-1'.
+
+License: GPL-3+
+ 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 3, or (at your option) any
+ later version.
+ .
+ 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 the GNU
+ General Public License for more details.
+ .
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 3 is located
+ in '/usr/share/common-licenses/GPL-3'.
+ .
+ You should have received a copy of the 'GNU General Public License'
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..fc0d7f7
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,69 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: Build.PL
+ Changes
+ MANIFEST
+ META.json
+ META.yml
+ Makefile.PL
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/watch
+ t/build-test-scripts
+ t/callback.t
+ t/constructor-args.t
+ t/error-handling.t
+ t/examples-from-pod.t
+ t/file-copy.t
+ t/io-compress-bzip2.t
+ t/io-compress-gzip.t
+ t/io-compress.ttmpl
+ t/iostring-close.t
+ t/iostring-para.t
+ t/iostring-read.t
+ t/iostring-write.t
+ t/misc.t
+ t/pod.t
+ t/read-sha.t
+ t/read-variations.inc
+ t/sysread-params.t
+ t/syswrite-params.t
+ t/write-close.t
+ t/wrongway-ebadf.t
+ t/z5-write-variations.t
+ t/z9-read-variations-1.t
+ t/z9-read-variations-10.t
+ t/z9-read-variations-1_000_000.t
+ t/z9-read-variations-2.t
+ t/z9-read-variations-3.t
+ t/z9-read-variations.ttmpl
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: lib/IO/Callback.pm
+Copyright: & LICENSE
+  1998-2005, Gisle Aas
+  2009-2010, Dave Taylor
+License: Perl
+ FIXME
+
+Files: README
+Copyright: 1998-2005, Gisle Aas
+  2009-2010, Dave Taylor
+License: Perl
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..790a2f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+
+[git-import-orig]
+filter = .gitignore
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c43c207
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright 2014, Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for IO::Callback
+#
+# 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 3, or (at your option)
+# any later version.
+#
+# 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 the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/perl-build.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = IO-Callback
+DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/T/TO/TOBYINK
+
+# Needed by upstream build
+bdeps = perl (>= 5.17.1) | libmodule-build-perl (>= 0.40)
+bdeps = perl (<< 5.19) | libmodule-build-perl (>= 0.40)
+
+# Needed by upstream build and (always) at runtime
+deps = libio-string-perl
+
+# Needed by upstream testsuite
+perl-deps-test = file-slurp test-exception test-nowarnings
+deps-test = $(patsubst %,$(comma) lib%-perl,$(perl-deps-test))
+
+CDBS_BUILD_DEPENDS +=, $(bdeps), $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
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/watch b/debian/watch
new file mode 100644
index 0000000..03b6d47
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+http://www.cpan.org/authors/id/T/TO/TOBYINK/IO-Callback-([\d.]+)\.tar\.gz
+https://metacpan.org/release/IO-Callback/ .*/IO-Callback-([\d.]+)\.tar\.gz

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



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