[libconfig-model-dpkg-perl] 02/03: test comment handling before Description
dod at debian.org
dod at debian.org
Mon Oct 9 12:01:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.
commit ebdb5e8c9a4f2b218c19f78166100f4c8d1aaf84
Author: Dominique Dumont <dod at debian.org>
Date: Mon Oct 9 13:59:33 2017 +0200
test comment handling before Description
---
.../dpkg-control-examples/tricky-comment | 29 ++++++++++++++++++++++
t/model_tests.d/dpkg-control-test-conf.pl | 7 ++++++
2 files changed, 36 insertions(+)
diff --git a/t/model_tests.d/dpkg-control-examples/tricky-comment b/t/model_tests.d/dpkg-control-examples/tricky-comment
new file mode 100644
index 0000000..24bd781
--- /dev/null
+++ b/t/model_tests.d/dpkg-control-examples/tricky-comment
@@ -0,0 +1,29 @@
+Source: libmoosex-types-iso8601-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Genannt <jonas.genannt at capi2name.de>
+Section: perl
+Testsuite: autopkgtest-pkg-perl
+Priority: optional
+Build-Depends: debhelper (>= 9.20140227~),
+ libmodule-build-tiny-perl,
+ perl
+Build-Depends-Indep: libaliased-perl,
+ libdatetime-format-duration-perl,
+ libtry-tiny-perl
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmoosex-types-iso8601-perl.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libmoosex-types-iso8601-perl.git
+Homepage: https://metacpan.org/release/MooseX-Types-ISO8601
+
+Package: libmoosex-types-iso8601-perl
+Architecture: all
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ libaliased-perl,
+ libdatetime-format-duration-perl,
+ libtry-tiny-perl
+# not yet packaged
+# Recommends
+Description: ISO8601 date and duration string type constraints for Moose
+ MooseX::Types::ISO8601 packages several TypeConstraints with coercions for
+ working with ISO8601 date strings and the DateTime suite of objects.
diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index 4b566f0..bf846b4 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -219,6 +219,13 @@ providing the following file:
file_contents_like => {
"debian/control" => qr/# Python/,
}
+ },
+
+ {
+ name => 'tricky-comment',
+ verify_annotation => {
+ 'binary:libmoosex-types-iso8601-perl Synopsis' => "not yet packaged\nRecommends",
+ }
}
);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git
More information about the Pkg-perl-cvs-commits
mailing list