summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-11-04 03:51:30 +0100
committerJonas Smedegaard <dr@jones.dk>2018-11-04 03:53:33 +0100
commit62aa4679751038c7fc56a8df6902fd4e3d82c9cc (patch)
treea2b5f681d8c24a2bccc3bf799dc04d6526a1759e
parent09595c230734eb9ccfc0e700179c8ce33173ffda (diff)
Initial packaging.
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control32
-rw-r--r--debian/copyright34
-rwxr-xr-xdebian/copyright-check24
-rw-r--r--debian/copyright_hints71
-rw-r--r--debian/gbp.conf6
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides7
-rw-r--r--debian/watch4
11 files changed, 189 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..80a8f87
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libtest-regexp-pattern-perl (0.004-1) unstable; urgency=low
+
+ * Initial packaging release.
+
+ -- Jonas Smedegaard <dr@jones.dk> Sun, 04 Nov 2018 03:51:19 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9deba46
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: libtest-regexp-pattern-perl
+Section: perl
+Priority: optional
+Build-Depends:
+ debhelper,
+ libregexp-pattern-perl (>= 0.2.7) <!nocheck>,
+ perl,
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders:
+ Jonas Smedegaard <dr@jones.dk>,
+Standards-Version: 4.2.1
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtest-regexp-pattern-perl.git
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtest-regexp-pattern-perl
+Homepage: https://metacpan.org/pod/Test::Regexp::Pattern
+Rules-Requires-Root: no
+
+Package: libtest-regexp-pattern-perl
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${perl:Depends},
+Description: test Regexp::Pattern patterns
+ Test::Regexp::Pattern performs various checks
+ on a module's Regexp::Pattern patterns.
+ It is recommended that you include
+ something like release-regexp-pattern.t in your distribution
+ if you add regexp patterns to your code.
+ If you use Dist::Zilla to build your distribution,
+ there is Test::Regexp::Pattern to make it easy to do so.
+ .
+ Regexp::Pattern is a convention
+ for organizing reusable regexp patterns in modules.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1dceec5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Test::Regexp::Pattern
+Upstream-Contact: https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Regexp-Rattern
+Source: https://metacpan.org/release/Test-Regexp-Pattern
+ https://github.com/perlancar/perl-Test-Regexp-Pattern.git
+ git://github.com/perlancar/perl-Test-Regexp-Pattern.git
+
+Files: *
+Copyright: 2018, perlancar <perlancar@cpan.org>
+License-Grant:
+ This is free software; you can redistribute it and/or modify it under
+ the same terms as the Perl 5 programming language system itself.
+License: Artistic or GPL-1+
+Comment:
+ Perl 5 is licensed under either the Artistic license or the GNU
+ General Public License version 1 or later.
+
+Files: debian/*
+Copyright: 2016-2018, Jonas Smedegaard <dr@jones.dk>
+License-Grant:
+ 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.
+License: GPL-3+
+
+License: Artistic
+License-Reference: /usr/share/common-licenses/Artistic
+
+License: GPL-1+
+License-Reference: /usr/share/common-licenses/GPL-1
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000..129b94d
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Copyright © 2016-2017 Jonas Smedegaard <dr@jones.dk>
+# Description: helper script to update copyright_hints
+#
+# 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/>.
+
+set -eu
+
+make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
+make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
+
+# unconditionally merge changes - safe to do with git-tracked package
+[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..7297c60
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,71 @@
+Format: https://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
+ Makefile.PL
+ debian/compat
+ debian/control
+ debian/gbp.conf
+ debian/rules
+ debian/source/format
+ debian/watch
+ dist.ini
+ t/00-compile.t
+ t/author-critic.t
+ t/author-pod-coverage.t
+ t/author-pod-syntax.t
+ weaver.ini
+Copyright: NONE
+License: UNKNOWN
+ FIXME
+
+Files: README
+ lib/Test/Regexp/Pattern.pm
+ script/test-regexp-pattern
+Copyright: 2018, perlancar@cpan.org.
+License: Artistic or GPL-1+
+ FIXME
+
+Files: LICENSE
+Copyright: 1989, Free Software Foundation, Inc.
+ 19xx name of author
+ 19yy <name of author>
+ 2018, perlancar@cpan.org.
+ disclaimer" for the program, if
+ ed by the Free
+ interest in the
+ of this Package, but belong to whomever generated them, and may be sold
+ the software, and
+License: Artistic or GPL-1+
+ FIXME
+
+Files: debian/copyright-check
+Copyright: 2016-2017, Jonas Smedegaard <dr@jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: debian/source/lintian-overrides
+Copyright: Artistic
+ GPL-1+
+ GPL-3+
+ artistic
+ gpl-1+
+ gpl-3+
+License: UNKNOWN
+ FIXME
+
+Files: META.yml
+Copyright: YearFromGit
+ YearFromGit'
+License: UNKNOWN
+ FIXME
+
+Files: META.json
+Copyright: YearFromGit",
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..2a594ca
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+filter = */.git*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..cd31f27
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,7 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright artistic *
+missing-license-paragraph-in-dep5-copyright gpl-1\+ *
+missing-license-paragraph-in-dep5-copyright gpl-3\+ *
+missing-license-text-in-dep5-copyright Artistic *
+missing-license-text-in-dep5-copyright GPL-1\+ *
+missing-license-text-in-dep5-copyright GPL-3\+ *
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a30a791
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# run "uscan --report" to check or "gbp import-orig --uscan" to update
+version=4
+https://metacpan.org/release/Test-Regexp-Pattern \
+ .*/Test-Regexp-Pattern-v?@ANY_VERSION@@ARCHIVE_EXT@