diff options
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/WWW-Shorten/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/WWW-Shorten/WWW-Shorten-3.93.0.ebuild | 43 | ||||
-rw-r--r-- | dev-perl/WWW-Shorten/metadata.xml | 3 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-perl/WWW-Shorten/Manifest b/dev-perl/WWW-Shorten/Manifest index f02913ae982..5f2eda489f9 100644 --- a/dev-perl/WWW-Shorten/Manifest +++ b/dev-perl/WWW-Shorten/Manifest @@ -1 +1,2 @@ DIST WWW-Shorten-3.03.tar.gz 27936 SHA256 62241a1f584f50edfa6d2cfd796f90f2c9054f9ff9f7e6f6e25315c5485e4bc2 SHA512 8afe6c311c59565544fb9ea4d31660ddf83ff5d5c57c3ea01eed1a2551ac67eb7788413a94d7031a8170341c8021d0321766fe0c6fd38ca565d26bd416860d9e WHIRLPOOL 857d0bdaebca2745f8cdb500e3e60316744273373fdaa03d178a57915bfdbdbd771059546f8f0502180cc149b73782c85d9944ce460b735ed13008783a389eca +DIST WWW-Shorten-3.093.tar.gz 22669 SHA256 cbf28d079bfc1a96f789e84b3e1eabb77b1665131eb1f2dc73fb24c1b9502c3b SHA512 5c918cb2c27c11e29dbb4fb969f5d8d4468735cdcebbf687003e24d5468e7b291069bf066f922bca1ee46dbda6444335d9106b6284ba48d4ac60ff9956c3e844 WHIRLPOOL 295a71cdad65bd243eb69233c82a70b1cf03b79f0294d73ebf8a706cf5de12820ca95637e773218e44303a16cfd5cacbeca79e8bdadb57e6702656df9a869766 diff --git a/dev-perl/WWW-Shorten/WWW-Shorten-3.93.0.ebuild b/dev-perl/WWW-Shorten/WWW-Shorten-3.93.0.ebuild new file mode 100644 index 00000000000..c539c734b9e --- /dev/null +++ b/dev-perl/WWW-Shorten/WWW-Shorten-3.93.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=CAPOEIRAB +DIST_VERSION=3.093 +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="Interface to URL shortening sites" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test examples" + +RDEPEND=" + examples? ( + dev-perl/Config-Auto + >=virtual/perl-Getopt-Long-2.400.0 + >=dev-perl/Try-Tiny-0.240.0 + ) + virtual/perl-Carp + >=dev-perl/libwww-perl-5.835.0 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + >=virtual/perl-Test-Simple-0.880.0 + >=dev-perl/Try-Tiny-0.240.0 + ) +" + +src_prepare() { + einfo "Downgrading 'shorten' to an example" + mkdir -p "${S}/examples" || die + mv "${S}/bin/shorten" "${S}/examples/" || die + sed -i -e '/bin\/shorten/d' "${S}/Makefile.PL" || die + sed -i -e 's/^bin\/shorten$/examples\/shorten/' "${S}/MANIFEST" || die + perl-module_src_prepare +} diff --git a/dev-perl/WWW-Shorten/metadata.xml b/dev-perl/WWW-Shorten/metadata.xml index 4300ddc8c5d..a24ae91c0e7 100644 --- a/dev-perl/WWW-Shorten/metadata.xml +++ b/dev-perl/WWW-Shorten/metadata.xml @@ -12,8 +12,11 @@ <remote-id type="cpan-module">WWW::Shorten::Linkz</remote-id> <remote-id type="cpan-module">WWW::Shorten::MakeAShorterLink</remote-id> <remote-id type="cpan-module">WWW::Shorten::Metamark</remote-id> + <remote-id type="cpan-module">WWW::Shorten::Qurl</remote-id> + <remote-id type="cpan-module">WWW::Shorten::Qwer</remote-id> <remote-id type="cpan-module">WWW::Shorten::TinyClick</remote-id> <remote-id type="cpan-module">WWW::Shorten::TinyURL</remote-id> + <remote-id type="cpan-module">WWW::Shorten::Tinylink</remote-id> <remote-id type="cpan-module">WWW::Shorten::UserAgent</remote-id> <remote-id type="cpan-module">WWW::Shorten::generic</remote-id> </upstream> |