From ba72cb8a601c33b828c754de22ee38fb02ca4694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Mon, 13 Jun 2022 21:45:36 +0100 Subject: Import libex-monkeypatched-perl_0.03-2.debian.tar.xz [dgit import tarball libex-monkeypatched-perl 0.03-2 libex-monkeypatched-perl_0.03-2.debian.tar.xz] --- README.source | 11 +++++++++++ changelog | 32 ++++++++++++++++++++++++++++++++ compat | 1 + control | 40 ++++++++++++++++++++++++++++++++++++++++ control.in | 34 ++++++++++++++++++++++++++++++++++ copyright | 46 ++++++++++++++++++++++++++++++++++++++++++++++ copyright_hints | 42 ++++++++++++++++++++++++++++++++++++++++++ gbp.conf | 8 ++++++++ rules | 37 +++++++++++++++++++++++++++++++++++++ source/format | 1 + upstream/metadata | 5 +++++ watch | 4 ++++ 12 files changed, 261 insertions(+) create mode 100644 README.source create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 control.in create mode 100644 copyright create mode 100644 copyright_hints create mode 100644 gbp.conf create mode 100755 rules create mode 100644 source/format create mode 100644 upstream/metadata create mode 100644 watch diff --git a/README.source b/README.source new file mode 100644 index 0000000..f88449e --- /dev/null +++ b/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 Mon, 18 Feb 2013 12:55:37 +0100 diff --git a/changelog b/changelog new file mode 100644 index 0000000..202ee45 --- /dev/null +++ b/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 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 Mon, 04 Jan 2021 15:18:48 +0100 + +libex-monkeypatched-perl (0.03-1) unstable; urgency=low + + * Initial Release. + Closes: bug#766229. + + -- Jonas Smedegaard Tue, 21 Oct 2014 19:00:03 +0200 diff --git a/compat b/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +10 diff --git a/control b/control new file mode 100644 index 0000000..64b4d18 --- /dev/null +++ b/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 +Uploaders: Jonas Smedegaard +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 for + more details. diff --git a/control.in b/control.in new file mode 100644 index 0000000..9e9b1b7 --- /dev/null +++ b/control.in @@ -0,0 +1,34 @@ +Source: libex-monkeypatched-perl +Section: perl +Priority: optional +Build-Depends: @cdbs@, debhelper (>= 10~) +Maintainer: Debian Perl Group +Uploaders: Jonas Smedegaard +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 for + more details. diff --git a/copyright b/copyright new file mode 100644 index 0000000..b9226c1 --- /dev/null +++ b/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 +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 +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/copyright_hints b/copyright_hints new file mode 100644 index 0000000..dcf6898 --- /dev/null +++ b/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 +License: GPL-3+ + FIXME + diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..790a2f9 --- /dev/null +++ b/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/rules b/rules new file mode 100755 index 0000000..ac3a103 --- /dev/null +++ b/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2014 Jonas Smedegaard +# 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 . + +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/source/format b/source/format new file mode 100644 index 0000000..46ebe02 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) \ No newline at end of file diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..d210777 --- /dev/null +++ b/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/watch b/watch new file mode 100644 index 0000000..39eba31 --- /dev/null +++ b/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 -- cgit v1.2.3