diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-05-22 10:53:22 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-05-22 10:53:44 +1200 |
commit | cab7c54cd50c2230b774a246d9010b1c3083428c (patch) | |
tree | 5f575177847641463a6ba192e63ed1f718d829a8 /dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild | |
parent | x11-libs/fltk: Add live ebuild for new branch. (diff) | |
download | gentoo-cab7c54cd50c2230b774a246d9010b1c3083428c.tar.gz gentoo-cab7c54cd50c2230b774a246d9010b1c3083428c.tar.bz2 gentoo-cab7c54cd50c2230b774a246d9010b1c3083428c.zip |
dev-perl/Business-ISBN: Bump to version 3.4.0
- Remove USE=isbn
- Add USE=examples
- Fix LICENSE
- Fix tests
Upstream:
- Drop xisbn support
- Change license to Artistic-2
- Add example script
- Add new error APIs
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild')
-rw-r--r-- | dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild b/dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild new file mode 100644 index 000000000000..d3530ecb5f64 --- /dev/null +++ b/dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=BDFOY +DIST_VERSION=3.004 +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="Work with ISBN as objects" +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test barcode" + +RDEPEND=" + barcode? ( + dev-perl/GD-Barcode + dev-perl/GD[png] + ) + >=dev-perl/Business-ISBN-Data-20140910.2.0 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + >=virtual/perl-Test-Simple-0.950.0 + ) +" + +src_test() { + perl_rm_files t/pod{,_coverage.t} + sed -i -e '/^pod\.t/d;/^pod_coverage\.t/d' t/test_manifest || die "Can't fix test_manifest" + perl-module_src_test +} |