From: Hans de Graaff Date: Tue, 7 Apr 2020 18:22:52 +0000 (+0200) Subject: dev-ruby/sync: initial import of 0.5.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12116cd411eac85f604e4e517c0a76ab2bf42b66;p=gentoo.git dev-ruby/sync: initial import of 0.5.0 New dependency for dev-ruby/tins Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/sync/Manifest b/dev-ruby/sync/Manifest new file mode 100644 index 000000000000..05f6e166adc9 --- /dev/null +++ b/dev-ruby/sync/Manifest @@ -0,0 +1 @@ +DIST sync-0.5.0.tar.gz 4957 BLAKE2B 9b4b1710d2468068387d782109199dd45c783b6d7bb0357851f800df2ac4961a72143cfc2b42f522524cf7148694545ae8eab47ee6629062d8ea1505d9095ba0 SHA512 5f887d9169e0be834c7fa17ae42b71078f25ce3d83e695490cd136adc1799d6b92e4aed41ce3f3d57b3ad193a1ac4de940b37212c2864bbf6331ba3582128166 diff --git a/dev-ruby/sync/metadata.xml b/dev-ruby/sync/metadata.xml new file mode 100644 index 000000000000..ffffb57e873b --- /dev/null +++ b/dev-ruby/sync/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + ruby/sync + + diff --git a/dev-ruby/sync/sync-0.5.0.ebuild b/dev-ruby/sync/sync-0.5.0.ebuild new file mode 100644 index 000000000000..750cc826b25c --- /dev/null +++ b/dev-ruby/sync/sync-0.5.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A module that provides a two-phase lock with a counter" +HOMEPAGE="https://github.com/ruby/sync" +SRC_URI="https://github.com/ruby/sync/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +}