[SCM] libtype-tiny-perl Debian packaging branch, master, updated. debian/0.016-1-48-ga7f6748

Toby Inkster mail at tobyinkster.co.uk
Mon Jul 29 12:55:01 UTC 2013


The following commit has been merged in the master branch:
commit a21e52425410a643dae0f98d6b1dcfacfb4c5663
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date:   Fri Jul 19 11:21:14 2013 +0100

    document dependencies

diff --git a/lib/Type/Tiny/Manual.pod b/lib/Type/Tiny/Manual.pod
index d203ed7..185779d 100644
--- a/lib/Type/Tiny/Manual.pod
+++ b/lib/Type/Tiny/Manual.pod
@@ -63,6 +63,36 @@ Other modules using Type::Tiny in interesting ways: L<Type::Tie>, L<Scalar::Does
 
 =back
 
+=head1 DEPENDENCIES
+
+Type::Tiny requires at least Perl 5.6.1, though certain Unicode-related
+features (e.g. non-ASCII type constraint names) may work better in newer
+versions of Perl.
+
+At run-time, Type::Tiny requires the following modules: L<B>,
+L<B::Deparse>, L<Data::Dumper>, L<Scalar::Util>, L<Text::Balanced>,
+L<base>, L<overload>, L<strict> and L<warnings>. All of these come
+bundled with Perl itself. (Prior to Perl 5.8, L<Scalar::Util> and
+L<Text::Balanced> do not come bundled with Perl and will need installing
+separately from the CPAN.)
+
+Certain features require additional modules. Tying a variable to a
+type constraint (e.g. C<< tie my $count, Int >>) requires L<Type::Tie>;
+stack traces on exceptions require L<Devel::StackTrace>. The
+L<Reply::Plugin::TypeTiny> plugin for L<Reply> requires L<Term::ANSIColor>
+and (obviously) requires L<Reply> too.
+
+The test suite additionally requires L<Test::More>, L<Test::Fatal>
+and L<Test::Requires>. Test::More comes bundled with Perl, but if
+you are using a version of Perl older than 5.14, you will need to
+upgrade to at least Test::More version 0.96. Test::Requires and
+Test::Fatal (plus Try::Tiny which Test::Fatal depends on) are bundled
+with Type::Tiny in the C<inc> directory, so you do not need to
+install them separately.
+
+Perl 5.6.x support is not well tested; if it proves too burdensome
+to maintain, it may be dropped in a future release. 
+
 =head1 TYPE::TINY VERSUS X
 
 =head2 Specio 
diff --git a/meta/makefile.pret b/meta/makefile.pret
index 7a1dfc4..deb3bc5 100644
--- a/meta/makefile.pret
+++ b/meta/makefile.pret
@@ -5,5 +5,7 @@
 	version_from      m`Type::Tiny`;
 	readme_from       f`lib/Type/Tiny/Manual.pod`;
 	test_requires     p`Test::More 0.96`;
+	recommends        p`Type::Tie`;
+	recommends        p`Devel::StackTrace`;
 .
 

-- 
libtype-tiny-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list