summaryrefslogtreecommitdiff
path: root/dev-perl/Business-ISBN
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/Business-ISBN
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Business-ISBN')
-rw-r--r--dev-perl/Business-ISBN/Business-ISBN-2.90.200_rc.ebuild51
-rw-r--r--dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild35
-rw-r--r--dev-perl/Business-ISBN/Manifest7
-rw-r--r--dev-perl/Business-ISBN/metadata.xml18
4 files changed, 111 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..98033ee586e6
--- /dev/null
+++ b/dev-perl/Business-ISBN/Business-ISBN-2.90.200_rc.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/Business-ISBN-3.4.0.ebuild b/dev-perl/Business-ISBN/Business-ISBN-3.4.0.ebuild
new file mode 100644
index 000000000000..e3b0e61a43ab
--- /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 ~arm ~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
+}
diff --git a/dev-perl/Business-ISBN/Manifest b/dev-perl/Business-ISBN/Manifest
new file mode 100644
index 000000000000..de4a1a745a32
--- /dev/null
+++ b/dev-perl/Business-ISBN/Manifest
@@ -0,0 +1,7 @@
+DIST Business-ISBN-2.09_02.tar.gz 361751 SHA256 9a40e9d12d108b2def6bda4e4910a44aed5ba7c8ee062c464cd04a40d893b007 SHA512 4a74c708e14d178802adbea846127257fc790b6ddba41c5c468e7df9f8ca25e880d2487d12f0474fa69a5c312354e1856f729c4f598536c053d58c41220fef7d WHIRLPOOL 52864908e7c2d8cc236e29efa300389c8463ff6186d8bdf67677e018dd55e64d043dbf716d8787d6a885c0f2962a1d62e4941268d3b48777759f29a950ee3ef9
+DIST Business-ISBN-3.004.tar.gz 363331 SHA256 31754acd57bf0c3d4762003d784bce4a0af6832a725336e219fb2988b6fb831e SHA512 0ffdfac05da6852a0acc4399acb9cb5171cbc46b5d7b11ee3544763d57946282c06a29c2fbf4ef678f4c1f76a6df0f5def3be76224e3f842f66669aabf394121 WHIRLPOOL da257accc227ed30c36ba28c91cd51f5b1c8d6472f9bf18f9f5bff7e4e8e82d104c43d4c8c6b6e641e276eb6191aa79b83d51cf28b05b70815ab5843597f67d3
+EBUILD Business-ISBN-2.90.200_rc.ebuild 1221 SHA256 44c2cd95f4f940807b11004b3ed2dfce5640011b915724f07a751ed410ffe6ce SHA512 25303e3de9086cbb656a873b9c62fd0e019bc7910fe625c0aac8b203d2615fa274a354c93760dd47f353ccf0e731aa3dbe9012114e20db9c002dc4c0f26d37e7 WHIRLPOOL 1ce77dec297479239f65d790b35058e6bdc53b1e2b856864c3b5d76255b4f046b47716e6a4a6c1400061116c4ab6162471c53662810b98c168f0d851fe4ef2a0
+EBUILD Business-ISBN-3.4.0.ebuild 709 SHA256 2de95ab0c76c2e1430cf085d9d3d349981f5011034bc713dd337aa26452e40e7 SHA512 338af09bff7c865f3935093c5fb26d49119bb4441760ea6759d61637dc8d609f102dcd248a36ff0cb9b29f3a93caa21ed39cf17d0e0c674bfe5523e0f2b29b2f WHIRLPOOL c08f67a6540a98830bd760baf1a2872c1e4810d3539d3ad589217023f0cb2303bdb67f39e8bc99e126fa2cb3b79b4b39be759c881aee0282659ae9ccf8c5a120
+MISC ChangeLog 3494 SHA256 87bc33e67542b20f33dde77a5e386ea1d612bd84d5837f473fb7541e26e030ad SHA512 4375f0bec41c0198728886ad491bccb477fa30c835079133c1af353dd42845824da47477b9ef39a989d39be6428190f9647317f51d280c90c02ca5055736315e WHIRLPOOL e6ce7387e4211eeb2b906bdc1d2c9a9bc657e28114220daba4145434d78bde6b420adc26a5ba5f6fd61cf9651823bee77f5efa671dd9137f59b16ab27695e4a1
+MISC ChangeLog-2015 600 SHA256 99b95b27f1e25314c533792f130cf9922f64ec137bfe631c6711fb724927ca40 SHA512 ad023e072bd4e59005ff932487de02e8600632f5c90e1592c2232ccc80cd125d81a2c411403e7b69f614f7f458801c48d3f5080da627aa56229713e997f45ed5 WHIRLPOOL 2595990e56ea67648585702982f4a8d36f34f25329a677384302d78718b1f28d515140e5814732b355ed614f62908764c6bb8e727972752e393a5c2ef2fbe42d
+MISC metadata.xml 731 SHA256 32c0668fae7e1adcc9f62fd51a46c697b3b0f008e79b0b7f7587c3ed2dfe3ca4 SHA512 3210f5f250589d8e03da23162035760652612e84e104d53ad8383a56a32e62a7a1930d42d70215785c32ca793c46d2434257beff28fcff503ca4986bbde00943 WHIRLPOOL 913597564d8fc8345366adea2e041baa72a04091e5071c03f947e24e3244bde0b52f0ecdff9b559c46846c019f10ca68586f8b3de046fe4be1fb93c819c0d3c5
diff --git a/dev-perl/Business-ISBN/metadata.xml b/dev-perl/Business-ISBN/metadata.xml
new file mode 100644
index 000000000000..910c5c3098b2
--- /dev/null
+++ b/dev-perl/Business-ISBN/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Business-ISBN</remote-id>
+ <remote-id type="cpan-module">Business::ISBN</remote-id>
+ <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>