diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-10-03 14:01:33 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-10-03 14:12:25 +0200 |
commit | 8797a16b8133a55944f1aa97775dc1e5637f29c0 (patch) | |
tree | f939d16d7edcb7c79d86496179fa07d1a8f389f7 /dev-perl | |
parent | dev-perl/WWW-RobotRules: EAPI=8 bump (diff) | |
download | gentoo-8797a16b8133a55944f1aa97775dc1e5637f29c0.tar.gz gentoo-8797a16b8133a55944f1aa97775dc1e5637f29c0.tar.bz2 gentoo-8797a16b8133a55944f1aa97775dc1e5637f29c0.zip |
dev-perl/WWW-Shorten: Version bump 3.094
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/WWW-Shorten/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/WWW-Shorten/WWW-Shorten-3.94.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-perl/WWW-Shorten/Manifest b/dev-perl/WWW-Shorten/Manifest index 8b09fe90a0dd..fa6188912cf5 100644 --- a/dev-perl/WWW-Shorten/Manifest +++ b/dev-perl/WWW-Shorten/Manifest @@ -1 +1,2 @@ DIST WWW-Shorten-3.093.tar.gz 22669 BLAKE2B 909f647b7f3e2d1ba77a90aeedea5f8be73292b3c9ac5a9cbb4c76b5a87c2cd2dc29ad958675208bfa261765d99f7950600adfee7a661ebc7f66f007c54836ba SHA512 5c918cb2c27c11e29dbb4fb969f5d8d4468735cdcebbf687003e24d5468e7b291069bf066f922bca1ee46dbda6444335d9106b6284ba48d4ac60ff9956c3e844 +DIST WWW-Shorten-3.094.tar.gz 25651 BLAKE2B f07030cbe902cbd461c7b3b24d0270d97783bd84a1a515604ace15e7273af6cca20ec8bf21da0d41b7db2ddd01944404000beea9ca958348475d1c4384c83be7 SHA512 ef20775f91b23b07b55cd0fb6880311e45e18f5cae67a133f075215ed84f0039339924d611dde8de166b852175fd52e362aaca23982806d1dc7e325b633969c0 diff --git a/dev-perl/WWW-Shorten/WWW-Shorten-3.94.0.ebuild b/dev-perl/WWW-Shorten/WWW-Shorten-3.94.0.ebuild new file mode 100644 index 000000000000..d61a7d3eb5b0 --- /dev/null +++ b/dev-perl/WWW-Shorten/WWW-Shorten-3.94.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=CAPOEIRAB +DIST_VERSION=3.094 +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="Interface to URL shortening sites" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +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 +" +BDEPEND="${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 +} |