[libex-monkeypatched-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Tue Oct 21 17:12:30 UTC 2014


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

js pushed a commit to branch master
in repository libex-monkeypatched-perl.

commit aa94d93296ea309363062d9d68817bb6643c7f40
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Oct 21 19:00:21 2014 +0200

    Initial packaging.
---
 .gitignore             |  1 +
 debian/README.source   | 11 +++++++++++
 debian/changelog       |  6 ++++++
 debian/compat          |  1 +
 debian/control         | 39 +++++++++++++++++++++++++++++++++++++++
 debian/control.in      | 33 +++++++++++++++++++++++++++++++++
 debian/copyright       | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright_hints | 42 ++++++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf        |  8 ++++++++
 debian/rules           | 37 +++++++++++++++++++++++++++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  4 ++++
 12 files changed, 229 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..4614aa8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libex-monkeypatched-perl (0.03-1) unstable; urgency=low
+
+  * Initial Release.
+    Closes: bug#766229.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue, 21 Oct 2014 19:00:03 +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..df1a0e2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: libex-monkeypatched-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ debhelper,
+ dh-buildinfo,
+ libsub-name-perl,
+ libtest-exception-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
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libex-monkeypatched-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libex-monkeypatched-perl.git
+Homepage: https://metacpan.org/release/ex-monkeypatched
+
+Package: libex-monkeypatched-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends}
+Enhances: ${cdbs:Enhances}
+Description: experimental API for safe monkey-patching
+ The term "monkey patching" describes injecting additional methods into
+ a class whose implementation you don't control.  If done without care,
+ this is dangerous; the problematic case arises when:
+  * You add a method to a class;
+  * A newer version of the monkey-patched class adds another method of
+    the same name
+  * And uses that new method in some other part of its own
+    implementation.
+ .
+ ex::monkeypatched lets you do this sort of monkey-patching safely:
+ before it injects a method into the target class, it checks whether the
+ class already has a method of the same name.  If it finds such a
+ method, it throws an exception (at compile-time with respect to the
+ code that does the injection).
+ .
+ See <http://aaroncrane.co.uk/talks/monkey_patching_subclassing/> for
+ more details.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..7e5c14c
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,33 @@
+Source: libex-monkeypatched-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
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libex-monkeypatched-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libex-monkeypatched-perl.git
+Homepage: https://metacpan.org/release/ex-monkeypatched
+
+Package: libex-monkeypatched-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends}
+Enhances: ${cdbs:Enhances}
+Description: experimental API for safe monkey-patching
+ The term "monkey patching" describes injecting additional methods into
+ a class whose implementation you don't control.  If done without care,
+ this is dangerous; the problematic case arises when:
+  * You add a method to a class;
+  * A newer version of the monkey-patched class adds another method of
+    the same name
+  * And uses that new method in some other part of its own
+    implementation.
+ .
+ ex::monkeypatched lets you do this sort of monkey-patching safely:
+ before it injects a method into the target class, it checks whether the
+ class already has a method of the same name.  If it finds such a
+ method, it throws an exception (at compile-time with respect to the
+ code that does the injection).
+ .
+ See <http://aaroncrane.co.uk/talks/monkey_patching_subclassing/> for
+ more details.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..299a458
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ex::monkeypatched
+Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=ex-monkeypatched
+Source: http://www.cpan.org/authors/id/A/AR/ARC
+ https://github.com/arc/p5-ex-monkeypatched
+
+Files: *
+Copyright: Aaron Crane <arc at cpan.org>
+License: Artistic or GPL-2
+ License:
+ .
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of either the GNU General Public License version 2 or,
+ at your option, the Artistic License.
+
+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-2
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 2 is located
+ in '/usr/share/common-licenses/GPL-2'.
+
+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..dcf6898
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,42 @@
+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.yml
+ Makefile.PL
+ README
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/watch
+ lib/ex/monkeypatched.pm
+ t/0_compile.t
+ t/basic.t
+ t/inject.t
+ t/lib/Monkey/A.pm
+ t/lib/Monkey/B.pm
+ t/lib/Monkey/C.pm
+ t/lib/Monkey/D.pm
+ t/lib/Monkey/False.pm
+ t/lib/Monkey/Invalid.pm
+ t/lib/Monkey/PatchA.pm
+ t/lib/Monkey/PatchB.pm
+ t/lib/Monkey/PatchC.pm
+ t/lib/Monkey/PatchD.pm
+ t/lib/Monkey/Sys.pm
+Copyright: *No copyright*
+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..ac3a103
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2014 Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for ex::monkeypatched
+#
+# 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-makemaker.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = ex-monkeypatched
+DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/A/AR/ARC
+DEB_UPSTREAM_TARBALL_MD5 = ace33fd3954f24d3d9b8512626c0ede8
+
+# Needed by upstream build and (always) at runtime
+deps = libsub-name-perl
+
+# Needed by upstream testsuite
+deps-test = libtest-exception-perl
+
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
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..8cbe6e2
--- /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/A/AR/ARC/ex-monkeypatched-([\d.]+)\.tar\.gz
+https://metacpan.org/release/ex-monkeypatched .*/ex-monkeypatched-([\d.]+)\.tar\.gz

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



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