diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/shorturl | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/shorturl')
-rw-r--r-- | dev-ruby/shorturl/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/shorturl/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/shorturl/shorturl-1.0.0-r2.ebuild | 40 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/shorturl/Manifest b/dev-ruby/shorturl/Manifest new file mode 100644 index 000000000000..61efb4474392 --- /dev/null +++ b/dev-ruby/shorturl/Manifest @@ -0,0 +1,3 @@ +DIST shorturl-1.0.0.gem 10752 BLAKE2B 6d6605dded6584510abaf09168cdb2fbe7bfeac804b2da9e1c80a9a17fcfdd7d594948394838a8490e6d1c186fb166aeebc81ade40bf352db44073816dfc4625 SHA512 d2323107449a5a66065dc225fbec101a653cf4bc1c719f18e7e5d78c89aafc8c4863aace08ed2a007e33c72f6986ea56a0307e856fb4bbf4c213206155d22312 +EBUILD shorturl-1.0.0-r2.ebuild 909 BLAKE2B a4d1a7b36660bdd4d2b052c4a971a15559927aa4744598645f0c281d17b27171f56713741a7ea8d770fd2afe356255d2e45b7798335522f61e972ebe0cdae1b9 SHA512 6324bbfac319c5fd9f650c115eeb060e2066ad0a0c95a6248b9eaa8f908af5b415bb627211759e44c69e9761ce7276d5691fc46b2f8965801b12b0c46183b82a +MISC metadata.xml 251 BLAKE2B e8bf2b70161d425791d65052583fd8be03b19ef3bb2a2cde34605bc93224fea9d8c6a91f0f2d630a00094ef54c0871e210da0e0134f52401bc80cb6b2358c13d SHA512 17d4dbd64468a524311a24ca065537a5b21560388efd282f3fa873e6722f70db6f83e3e5615556450905c29d5df2cf0a0855f9c0b38bf23f0f8112501456d4ea diff --git a/dev-ruby/shorturl/metadata.xml b/dev-ruby/shorturl/metadata.xml new file mode 100644 index 000000000000..eb1e47f2edfb --- /dev/null +++ b/dev-ruby/shorturl/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-ruby/shorturl/shorturl-1.0.0-r2.ebuild b/dev-ruby/shorturl/shorturl-1.0.0-r2.ebuild new file mode 100644 index 000000000000..e6184c8dc2c1 --- /dev/null +++ b/dev-ruby/shorturl/shorturl-1.0.0-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_DOC="doc" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.txt README.rdoc TODO.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="A very simple library to use URL shortening services such as TinyURL or RubyURL" +HOMEPAGE="https://github.com/robbyrussell/shorturl/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~x86-macos" +IUSE="" + +# All tests require network connectivity. +RESTRICT="test" + +each_ruby_test() { + ${RUBY} -Ilib:test test/ts_all.rb || die "tests failed" +} + +all_ruby_install() { + all_fakegem_install + + if use doc; then + # If the doc build fails, the doc directory might not exist + pushd doc &>/dev/null || die "pushd doc failed" + dohtml -r . + popd &>/dev/null + fi +} |