diff options
author | Kent Fredric <kentfredric@gmail.com> | 2016-05-10 21:11:07 +1200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-05-21 02:11:45 +0200 |
commit | 5e784b27a3dd0be6f22c23032b42a4711fa05eff (patch) | |
tree | 858a67e038b41292eb8a7d3cf045d203e011fbb7 /dev-perl/Business-ISBN | |
parent | dev-perl/Mojolicious: Added to tree at version 6.610.0 (diff) | |
download | gentoo-5e784b27a3dd0be6f22c23032b42a4711fa05eff.tar.gz gentoo-5e784b27a3dd0be6f22c23032b42a4711fa05eff.tar.bz2 gentoo-5e784b27a3dd0be6f22c23032b42a4711fa05eff.zip |
dev-perl/Business-ISBN: Bump to version 2.90.200_rc
- EAPI6
- Exposed USE="xisbn" and USE="barcode" features
- Ideally should have bumped to 2.100.0, but upstream broke versioning
in ways we cant fix: https://github.com/briandfoy/business-isbn/issues/7
Upstream:
- xisbn query URL fixed.
- Mojo based xisbn parse/query added.
- Added "increment" and "decrement" functions for ISBN iteration.
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
Diffstat (limited to 'dev-perl/Business-ISBN')
-rw-r--r-- | dev-perl/Business-ISBN/Business-ISBN-2.90.200_rc.ebuild | 52 | ||||
-rw-r--r-- | dev-perl/Business-ISBN/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Business-ISBN/metadata.xml | 4 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-perl/Business-ISBN/Business-ISBN-2.90.200_rc.ebuild b/dev-perl/Business-ISBN/Business-ISBN-2.90.200_rc.ebuild new file mode 100644 index 000000000000..bccedd88012f --- /dev/null +++ b/dev-perl/Business-ISBN/Business-ISBN-2.90.200_rc.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=BDFOY +DIST_VERSION=2.09_02 +inherit perl-module + +DESCRIPTION="Work with ISBN as objects" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test xisbn barcode" + +RDEPEND=" + xisbn? ( dev-perl/Mojolicious ) + 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 + ) +" + +# NOTE: This version is shipped because upstream has broken everything +# by shipping an unmappable 2.010 which == 2.01 in both upstream versioning +# and perl->gentoo mapping rules. +# +# Dependencies taken from 2.010 because 2.09_02 lacks all dependencies. + +src_prepare() { + perl-module_src_prepare + sed -i '/URI/d' Makefile.PL || die # unused dependency +} + +src_test() { + local my_test_control="${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}" + local bad_tests=( t/pod{,_coverage}.t ) + if ! has network ${my_test_control}; then + einfo "Disabling network tests without DIST_TEST_OVERRIDE =~ network" + bad_tests+=( t/xisbn10.t ) + fi + perl_rm_files "${bad_tests[@]}" + perl-module_src_test +} diff --git a/dev-perl/Business-ISBN/Manifest b/dev-perl/Business-ISBN/Manifest index 69ed31fadf02..ec6544c61021 100644 --- a/dev-perl/Business-ISBN/Manifest +++ b/dev-perl/Business-ISBN/Manifest @@ -1 +1,2 @@ DIST Business-ISBN-2.05.tar.gz 355413 SHA256 d9816bfb7aa6d87843f8484c9aac23e4c5ec1173ebfec458843e89ea5cf375ee SHA512 b5179f891a401f11f1355137e90e14a9f3602c14b181b30da3237bd4ba49b40df41c9c1396242084211a09dfcde8927d1dfe0965602982cb0d50a3b0bbfad694 WHIRLPOOL 7b5b073010e739891b357fb568300452f49e87a3b33ebacdb0205d62ab079117252c6ed112bc3a4a8c1eabc531a9a50125deddd8732a2ce740304f7d576e1568 +DIST Business-ISBN-2.09_02.tar.gz 361751 SHA256 9a40e9d12d108b2def6bda4e4910a44aed5ba7c8ee062c464cd04a40d893b007 SHA512 4a74c708e14d178802adbea846127257fc790b6ddba41c5c468e7df9f8ca25e880d2487d12f0474fa69a5c312354e1856f729c4f598536c053d58c41220fef7d WHIRLPOOL 52864908e7c2d8cc236e29efa300389c8463ff6186d8bdf67677e018dd55e64d043dbf716d8787d6a885c0f2962a1d62e4941268d3b48777759f29a950ee3ef9 diff --git a/dev-perl/Business-ISBN/metadata.xml b/dev-perl/Business-ISBN/metadata.xml index 6a7a1aecf86d..910c5c3098b2 100644 --- a/dev-perl/Business-ISBN/metadata.xml +++ b/dev-perl/Business-ISBN/metadata.xml @@ -11,4 +11,8 @@ <remote-id type="cpan-module">Business::ISBN10</remote-id> <remote-id type="cpan-module">Business::ISBN13</remote-id> </upstream> + <use> + <flag name="xisbn">Install <pkg>dev-perl/Mojolicious</pkg> for querying xisbn.worldcat.org</flag> + <flag name="barcode">Install <pkg>dev-perl/GD-Barcode</pkg> for rendering ISBN numbers as barcodes</flag> + </use> </pkgmetadata> |