[dizzy] 03/06: Mark package as autopkgtest-able.
gregor herrmann
gregoa at debian.org
Sun May 24 15:38:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository dizzy.
commit d24edd8cb7f7cc2b79e56d8051b1e199b5e89555
Author: gregor herrmann <gregoa at debian.org>
Date: Sun May 24 17:21:51 2015 +0200
Mark package as autopkgtest-able.
---
debian/control | 1 +
debian/patches/series | 1 +
debian/patches/smartmatch.patch | 16 ++++++++++++++++
debian/tests/pkg-perl/module-name | 2 ++
4 files changed, 20 insertions(+)
diff --git a/debian/control b/debian/control
index 0b99861..671f4f8 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Standards-Version: 3.9.5
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/dizzy.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/dizzy.git
Homepage: http://penma.de/code/dizzy
+Testsuite: autopkgtest-pkg-perl
Package: dizzy
Architecture: all
diff --git a/debian/patches/series b/debian/patches/series
index 51ba931..9083484 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
Add-missing-use-SDL-Mouse.patch
ignore-unknown-ops.patch
+smartmatch.patch
diff --git a/debian/patches/smartmatch.patch b/debian/patches/smartmatch.patch
new file mode 100644
index 0000000..ad3b9a9
--- /dev/null
+++ b/debian/patches/smartmatch.patch
@@ -0,0 +1,16 @@
+Description: silence warnings about smartmatch having become experimental again
+Origin: vendor
+Forwarded: no, probably not needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-05-24
+
+--- a/lib/Dizzy/Perl2GLSL.pm
++++ b/lib/Dizzy/Perl2GLSL.pm
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use 5.010;
++no if $] >= 5.017011, warnings => 'experimental::smartmatch';
+
+ use B;
+
diff --git a/debian/tests/pkg-perl/module-name b/debian/tests/pkg-perl/module-name
new file mode 100644
index 0000000..3d77e4f
--- /dev/null
+++ b/debian/tests/pkg-perl/module-name
@@ -0,0 +1,2 @@
+# no module named Dizzy, lots of others, let's take on
+Dizzy::Core
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dizzy.git
More information about the Pkg-perl-cvs-commits
mailing list