summaryrefslogtreecommitdiff
path: root/dev-ruby/metaclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
commit129160ec854dca4c3fedb5bcfbcb56930371da0f (patch)
tree53bf797418ac5e9b99c41ca0382c87b82421e5de /dev-ruby/metaclass
parent441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff)
gentoo new year resync : 01.01.2021
Diffstat (limited to 'dev-ruby/metaclass')
-rw-r--r--dev-ruby/metaclass/Manifest1
-rw-r--r--dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/metaclass/Manifest b/dev-ruby/metaclass/Manifest
index 656b3da4ae67..a6178300b107 100644
--- a/dev-ruby/metaclass/Manifest
+++ b/dev-ruby/metaclass/Manifest
@@ -1,3 +1,4 @@
DIST metaclass-0.0.4.tar.gz 2482 BLAKE2B f4993bbe61b0f4bd1b060f9e8b5ea0a6f6666e5012b31b1d5913c1bf31aec94f344b88f35e76c9ec9d442604550b7765a20f0683beaae0025ee64f1212237f35 SHA512 5f41fe3db9c682ab6ab01c737c8531d2b4c2fdbc0f35f8fc9f40ce09a84ddf0d442c17caa1c3e87bb2c5e4703556c5d50fd9f72434b89e03d163db375046f0a4
+EBUILD metaclass-0.0.4-r1.ebuild 858 BLAKE2B 037e99f1f1ac40b38717145455e4e25759c5073fbaa93be2b3f24486eebd4a7712164898101f3b62ad5c984647edf5e58d91264fbb82692696d647106743c052 SHA512 38be6f8a555dd3ee908c3f7e96f3143cbe542ecfa445c124f6f2db8823f4edf0ab0057d4f6ead872045081215727397b9d5d707e8516fccfb9fd28b27c45e542
EBUILD metaclass-0.0.4.ebuild 727 BLAKE2B 10e288284abf5611d0cbf5b3b5ba62ccb239ec19547702841e9edad69b23bc247bb581a16603b2dcdc94c9e779dfce3c4adf941a4261d5af5ced53e1e5cb95b4 SHA512 0b0cef9c7e60a5835c483862f63be669f4985fa4576f9c9c98fb173d0b45b4838c1308c2404e5d3b1dc67d6490e19f4c574d99ccdc7ddfa7b3ba89fe8f66434d
MISC metadata.xml 346 BLAKE2B 90c4ea7a6dee6842bf19100dc0394e11bcf36407bc123bbefe176d00c3a4ec0001f453b47a828dc26c4f933b8fc279a29868b8a09026abd27429cbec733a32bc SHA512 4cf92e374453ad5661bea2ed7cc6f23a93dff90542bb349e88717962ad06c48f8d88b3b5489a0f333f9a5f204097309b063cfddea74d6bb09ea13f8f60817b3c
diff --git a/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild b/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild
new file mode 100644
index 000000000000..7f92a7a53e09
--- /dev/null
+++ b/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="metaclass.gemspec"
+
+inherit ruby-fakegem
+SRC_URI="https://github.com/floehopper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+DESCRIPTION="Adds a __metaclass__ method to all Ruby objects"
+HOMEPAGE="https://github.com/floehopper/metaclass"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die
+ sed -i -e 's/git ls-files/find/' -e '/\(test_files\|executables\)/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}