diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-30 11:17:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-30 11:17:10 +0100 |
commit | 200338d9ebd0cd0599af59f208eb58f48f5ae168 (patch) | |
tree | 03aa7ba96612219b7aeb018639ba95924c0f1d81 /dev-ruby/snaky_hash | |
parent | a9a8100d7a659b808e3a112a113b65e16f0070c3 (diff) |
gentoo auto-resync : 30:04:2023 - 11:17:09
Diffstat (limited to 'dev-ruby/snaky_hash')
-rw-r--r-- | dev-ruby/snaky_hash/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/snaky_hash/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild | 35 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/snaky_hash/Manifest b/dev-ruby/snaky_hash/Manifest new file mode 100644 index 000000000000..c31d27d5e801 --- /dev/null +++ b/dev-ruby/snaky_hash/Manifest @@ -0,0 +1,3 @@ +DIST snaky_hash-2.0.1.tar.bz2 15275 BLAKE2B 77a7ee4bb4194b991a54e359c53a5a6ab45134026185e976c197737746e20842cff6ecf526d773711ed403cb80a50593429038a6194cd4360cbc7907336335a3 SHA512 8d618410106fcab5b986de5047db8bd6e4192b3ee27926107428e82aba905a66203c0cb1dd83de50b89aeffe0e29e93ae0c36b175d7751b8f68249c8014061d5 +EBUILD snaky_hash-2.0.1.ebuild 885 BLAKE2B 5c0b1b88208c412f2413eb6e6be7206d87e391281dfc85c3f98377da0c1d27e0b924a44cf8dc95e38462bf316688f5d97fbb18077d558217824d0a05295331c5 SHA512 c5e9f5a46aed582de2fa4019be50e9decc2032434d5f4512597ee9dded88ad12382a88af69abdcdfc17befc8d4893c8ca733fde2e8cfbf1becb31ca7459f4f01 +MISC metadata.xml 346 BLAKE2B 303bbd4380d125fb7e651059fe84e244b380a899c8a2b0b25266c3319048e28f136032c9a35dbc0e0674dfa2683d659fa5e30fdfcf8cb5d4526125bf3f7c3862 SHA512 c0c7f5ae3566ed4b982b3bda86436900df48ed93350f1482c03dc1e6bdd80e46f0699dbebdaf56808002f2391fe546d55b8d03ad44add829f0f84fb0ab2a52fe diff --git a/dev-ruby/snaky_hash/metadata.xml b/dev-ruby/snaky_hash/metadata.xml new file mode 100644 index 000000000000..69f62d1504e8 --- /dev/null +++ b/dev-ruby/snaky_hash/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="gitlab">oauth-xx/snaky_hash</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild b/dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild new file mode 100644 index 000000000000..98090a1bfc83 --- /dev/null +++ b/dev-ruby/snaky_hash/snaky_hash-2.0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="snaky_hash.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A Hashie::Mash joint to make #snakelife better" +HOMEPAGE="https://gitlab.com/oauth-xx/snaky_hash" +SRC_URI="https://gitlab.com/oauth-xx/snaky_hash/-/archive/v${PV}/snaky_hash-v${PV}.tar.bz2 -> ${P}.tar.bz2" +RUBY_S="snaky_hash-v${PV}" +IUSE="" +SLOT="1" + +LICENSE="MIT" +KEYWORDS="~amd64" + +ruby_add_rdepend " + dev-ruby/hashie:* + >=dev-ruby/version_gem-1.1.1:1 +" + +ruby_add_depend "test? ( >=dev-ruby/rspec-pending_for-0.1:0 )" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's/if RUN_COVERAGE/if false/' spec/spec_helper.rb || die +} |