[libtry-tiny-smartcatch-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Wed Oct 22 15:39:21 UTC 2014


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

js pushed a commit to branch master
in repository libtry-tiny-smartcatch-perl.

commit 4597331c0973843fc3c939f4ff8e901859bd0db4
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Oct 22 17:23:52 2014 +0200

    Initial packaging.
---
 .gitignore             |  1 +
 debian/README.source   | 11 +++++++++
 debian/changelog       |  6 +++++
 debian/compat          |  1 +
 debian/control         | 34 +++++++++++++++++++++++++++
 debian/control.in      | 30 ++++++++++++++++++++++++
 debian/copyright       | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright_hints | 38 ++++++++++++++++++++++++++++++
 debian/gbp.conf        |  8 +++++++
 debian/rules           | 28 ++++++++++++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  4 ++++
 12 files changed, 225 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b408e6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/.pc
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..94910b5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libtry-tiny-smartcatch-perl (0.5-1) unstable; urgency=low
+
+  * Initial Release.
+    Closes: bug#766371.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 22 Oct 2014 17:23:13 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..301160a
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
\ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3629545
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: libtry-tiny-smartcatch-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ debhelper,
+ dh-buildinfo,
+ devscripts,
+ perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.6
+Homepage: https://github.com/mysz/try-tiny-smartcatch
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtry-tiny-smartcatch-perl.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtry-tiny-smartcatch-perl.git
+
+Package: libtry-tiny-smartcatch-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: lightweight Perl module for powerful exceptions handling
+ Try::Tiny::SmartCatch's goals are mostly the same as Try::Tiny module,
+ but there are few changes to it's specification.  Main difference is
+ possibility to catch just some kinds of exceptions in place of catching
+ everything.  Another one is slightly changed syntax.
+ .
+ When raised exception is an object, Try::Tiny::SmartCatch will test for
+ exception type (using UNIVERSAL::isa).  When raised exception is just a
+ text message (like "die ('message')"), there can be specified part of
+ message to test for.
+ .
+ There are also explicit sub blocks.  In opposite to Try::Tiny, every
+ block in Try::Tiny::SmartCatch's "try", "catch_when", "catch_default",
+ "then" and "finally" must have explicit subroutines specified.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..f50ab0d
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,30 @@
+Source: libtry-tiny-smartcatch-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.6
+Homepage: https://github.com/mysz/try-tiny-smartcatch
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtry-tiny-smartcatch-perl.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtry-tiny-smartcatch-perl.git
+
+Package: libtry-tiny-smartcatch-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: lightweight Perl module for powerful exceptions handling
+ Try::Tiny::SmartCatch's goals are mostly the same as Try::Tiny module,
+ but there are few changes to it's specification.  Main difference is
+ possibility to catch just some kinds of exceptions in place of catching
+ everything.  Another one is slightly changed syntax.
+ .
+ When raised exception is an object, Try::Tiny::SmartCatch will test for
+ exception type (using UNIVERSAL::isa).  When raised exception is just a
+ text message (like "die ('message')"), there can be specified part of
+ message to test for.
+ .
+ There are also explicit sub blocks.  In opposite to Try::Tiny, every
+ block in Try::Tiny::SmartCatch's "try", "catch_when", "catch_default",
+ "then" and "finally" must have explicit subroutines specified.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1757189
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,63 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Try::Tiny::SmartCatch
+Upstream-Contact: http://github.com/mysz/try-tiny-smartcatch/issues
+Source: https://github.com/mysz/try-tiny-smartcatch
+ git://github.com/mysz/try-tiny-smartcatch
+
+Files: *
+Copyright: 2012-2013, Marcin Sztolcman <marcin at urzenia.net>
+License: Expat
+Comment:
+ .
+ License:
+ .
+ Base code is borrowed from Yuval Kogman L<Try::Tiny> module, released
+ under MIT License.
+ .
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the MIT license.
+ .
+ Comment:
+ .
+ Project includes no actual license, but the LICENSE file included with
+ Try::Tiny 0.22 is the "Expat" license, ambiguously labeled as "MIT".
+
+Files: debian/*
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+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 of the License, 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'.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..86c2742
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,38 @@
+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: 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/00-load.t
+ t/manifest.t
+ t/pod-coverage.t
+ t/pod.t
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: README
+ lib/Try/Tiny/SmartCatch.pm
+Copyright: 2012, Marcin Sztolcman.
+  2012-2013, Marcin Sztolcman.
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ 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..3bc4276
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright 2014, Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for Try::Tiny::SmartCatch
+#
+# 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/debhelper.mk
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+include /usr/share/cdbs/1/class/perl-makemaker.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = Try-Tiny-SmartCatch
+DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/M/MY/MYSZ
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3995236
--- /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/M/MY/MYSZ/Try-Tiny-SmartCatch-([\d.]+)\.tar\.gz
+https://metacpan.org/release/Try-Tiny-SmartCatch .*/Try-Tiny-SmartCatch-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtry-tiny-smartcatch-perl.git



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