summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@debian.org>2022-06-13 21:45:36 +0100
committerJelmer Vernooij <jelmer@debian.org>2022-06-13 21:45:36 +0100
commit8f42b0e4bc9b3deb9f9d171a95dc94ccdee3b506 (patch)
tree3d364836a87a4be4d204bfedfad9ee9efec2e22b
parent8d410df94e0ee606eacdba53be01a4d2de3881f0 (diff)
parentba72cb8a601c33b828c754de22ee38fb02ca4694 (diff)
libex-monkeypatched-perl (0.03-2) unstable; urgency=medium
[ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ gregor herrmann ] * debian/*: update URLs from {search,www}.cpan.org to MetaCPAN. [ Debian Janitor ] * Use secure copyright file specification URI. * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse. * Bump debhelper dependency to >= 8, since that's what is used in debian/compat. * Bump debhelper from deprecated 8 to 10. * Set Testsuite header for perl package. [dgit import unpatched libex-monkeypatched-perl 0.03-2]
-rw-r--r--debian/README.source11
-rw-r--r--debian/changelog32
-rw-r--r--debian/compat1
-rw-r--r--debian/control40
-rw-r--r--debian/control.in34
-rw-r--r--debian/copyright46
-rw-r--r--debian/copyright_hints42
-rw-r--r--debian/gbp.conf8
-rwxr-xr-xdebian/rules37
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch4
12 files changed, 261 insertions, 0 deletions
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@jones.dk> Mon, 18 Feb 2013 12:55:37 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..202ee45
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,32 @@
+libex-monkeypatched-perl (0.03-2) unstable; urgency=medium
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-* headers for switch to salsa.debian.org
+
+ [ gregor herrmann ]
+ * debian/*: update URLs from {search,www}.cpan.org to MetaCPAN.
+
+ [ Debian Janitor ]
+ * Use secure copyright file specification URI.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+ Repository-Browse.
+ * Bump debhelper dependency to >= 8, since that's what is used in
+ debian/compat.
+ * Bump debhelper from deprecated 8 to 10.
+ * Set Testsuite header for perl package.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 13 Jun 2022 21:45:36 +0100
+
+libex-monkeypatched-perl (0.03-1.1) unstable; urgency=medium
+
+ * Non maintainer upload by the Reproducible Builds team.
+ * No source change upload to rebuild on buildd with .buildinfo files.
+
+ -- Holger Levsen <holger@debian.org> Mon, 04 Jan 2021 15:18:48 +0100
+
+libex-monkeypatched-perl (0.03-1) unstable; urgency=low
+
+ * Initial Release.
+ Closes: bug#766229.
+
+ -- Jonas Smedegaard <dr@jones.dk> Tue, 21 Oct 2014 19:00:03 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..64b4d18
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: libex-monkeypatched-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ debhelper (>= 10~),
+ dh-buildinfo,
+ libsub-name-perl,
+ libtest-exception-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr@jones.dk>
+Standards-Version: 3.9.6
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libex-monkeypatched-perl.git
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libex-monkeypatched-perl
+Homepage: https://metacpan.org/release/ex-monkeypatched
+Testsuite: autopkgtest-pkg-perl
+
+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..9e9b1b7
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,34 @@
+Source: libex-monkeypatched-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@, debhelper (>= 10~)
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr@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
+Testsuite: autopkgtest-pkg-perl
+
+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..b9226c1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: https://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: https://cpan.metacpan.org/authors/id/A/AR/ARC
+ https://github.com/arc/p5-ex-monkeypatched
+
+Files: *
+Copyright: Aaron Crane <arc@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@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@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@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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d210777
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/arc/p5-ex-monkeypatched/issues
+Bug-Submit: https://github.com/arc/p5-ex-monkeypatched/issues/new
+Repository: https://github.com/arc/p5-ex-monkeypatched.git
+Repository-Browse: https://github.com/arc/p5-ex-monkeypatched
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..39eba31
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+https://cpan.metacpan.org/authors/id/A/AR/ARC/ex-monkeypatched-([\d.]+)\.tar\.gz
+https://metacpan.org/release/ex-monkeypatched .*/ex-monkeypatched-([\d.]+)\.tar\.gz