summaryrefslogtreecommitdiff
path: root/dev-ruby/docile
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/docile')
-rw-r--r--dev-ruby/docile/Manifest3
-rw-r--r--dev-ruby/docile/docile-1.4.0-r1.ebuild30
-rw-r--r--dev-ruby/docile/metadata.xml12
3 files changed, 40 insertions, 5 deletions
diff --git a/dev-ruby/docile/Manifest b/dev-ruby/docile/Manifest
index 3710bd255f78..62a37d2c683f 100644
--- a/dev-ruby/docile/Manifest
+++ b/dev-ruby/docile/Manifest
@@ -1,3 +1,4 @@
DIST docile-1.4.0.tar.gz 16932 BLAKE2B 7e2472a64bcf27899d537444f77cb1fce587400d04c64abe17e2c39b1a50af027941f6ae72d6423817dc7ddfed8e15aa113cc4d32c30b97f166ff37fb7663000 SHA512 78350144a9b0d84d6025770d05b1e9999f34ce431691c08e73232f8b10537bc265f9f06409ff6feabf2e6f20d018dbb83aaf8c0f66e7dcec3e195475820481cd
+EBUILD docile-1.4.0-r1.ebuild 779 BLAKE2B b8e71d686afdae5cd1cf55f33c94da557027c6bb08df558b6f8d0f81dccf529a489b23510299e9425750bd414df9398adebf403fa04a9400fdd5e46236a87af0 SHA512 f3ed374c99b6dc8bd8101c6aea2ba627763589185da81c828fc12a87b389fc8ac3a4883c1d3fa992f924d56fa4188ef46dd7da739c4f2af431b2ed6f08578294
EBUILD docile-1.4.0.ebuild 779 BLAKE2B 2cb14dafe60cb6d130d8c4e46a17af9247cc7f90e596b6d245610049fe143b3577743b7fef733747882c994adcc0d81ee3bba751e4721dfb3bc0fc2bd760bf0d SHA512 f50324048f3bd84b9f7958ba7b4a7987338470cd4502a10cd88368a28be8232d2228222ded2f04d9448fac9fb1fde620c715801d4728557e0a0ec9fc2d0bf2df
-MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14
+MISC metadata.xml 390 BLAKE2B 9b4e2713f6675296757eb252f89916ce61b6f51686bb97eb58bf8ac9cf0657b15742d922efa3b306fefc6e9dd61b3878d452582be29867cd918450328653eba3 SHA512 2f2a004f9add54337e28cf7a152c4ba4f505204dfb14769cca6f757146267f01c3a84d3af56c9986621acce0d215be59abd6e568a0ec88c5ddde1a387b8dbd75
diff --git a/dev-ruby/docile/docile-1.4.0-r1.ebuild b/dev-ruby/docile/docile-1.4.0-r1.ebuild
new file mode 100644
index 000000000000..994b53ba6f46
--- /dev/null
+++ b/dev-ruby/docile/docile-1.4.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
+
+RUBY_FAKEGEM_GEMSPEC="docile.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Turns any Ruby object into a DSL"
+HOMEPAGE="https://ms-ati.github.io/docile/"
+SRC_URI="https://github.com/ms-ati/docile/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/require \"github\/markup\"/d' Rakefile || die
+ sed -i -e '/simplecov/,/unshift/ s:^:#:' spec/spec_helper.rb || die
+
+ sed -i -e 's:_relative ": "./:' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
diff --git a/dev-ruby/docile/metadata.xml b/dev-ruby/docile/metadata.xml
index 658c72b1920d..e09f8897589e 100644
--- a/dev-ruby/docile/metadata.xml
+++ b/dev-ruby/docile/metadata.xml
@@ -1,8 +1,12 @@
<?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>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ms-ati/docile</remote-id>
+ <remote-id type="rubygems">docile</remote-id>
+ </upstream>
</pkgmetadata>