commit:     566cae8b93e44842b212f2b6181beb759ca2bb39
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 04:56:28 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 04:56:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=566cae8b

dev-ruby/propshaft: add 1.2.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/propshaft/Manifest               |  1 +
 dev-ruby/propshaft/propshaft-1.2.0.ebuild | 38 +++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-ruby/propshaft/Manifest b/dev-ruby/propshaft/Manifest
index 3061abbb3227..fb05d0b3aa28 100644
--- a/dev-ruby/propshaft/Manifest
+++ b/dev-ruby/propshaft/Manifest
@@ -1,2 +1,3 @@
 DIST propshaft-0.9.1-git.tgz 250403 BLAKE2B 
194dad0d196421c71220a47e66ebd36d744f8009551c210244a1f7a79a04d095fe4b00497c8dcf4b57358c9454768cae3d6743855b5f0a59a6ead0d282938a55
 SHA512 
5d2d707f00b09c89c01d217695a7bd7a44f2427df091e84883f07e01b821218bd16776196c6f468071fc95a211df785443f12da0f795d433e359e1655f08c4ce
 DIST propshaft-1.1.0-git.tgz 251511 BLAKE2B 
051071e5b54f2b29afc63d7daed83e9a482559c5ec84d59feb0b2974f33f87e9c4284ed9d5a07cce8a3d396d04a99259fd3809238bdf3521e9fcf45cfbb947d5
 SHA512 
474eefc0b78d404983017a513a92a09803feb6ffedaa1d029ca6fcee28c648aabf2ae6df18ffd05c30f4b038af2036b981bff4ead4e149223ede6482820be639
+DIST propshaft-1.2.0-git.tgz 256661 BLAKE2B 
28760c10b90b354eaa502522ed490312384402f584a8ee4640fae5367463387acaad6c8382ef33f593ffef1e8ee0c5bbe58d56ff551d9115712f12830b0a0046
 SHA512 
e4dd2d1ef846b2fd59d060dbf714c7fb0af7e16d1cbd3638ebc0a8d407a09a3a4a8d0615756c9467370465b1f8f49cae34987ac3390959e47fd9ec9e50cc1a59

diff --git a/dev-ruby/propshaft/propshaft-1.2.0.ebuild 
b/dev-ruby/propshaft/propshaft-1.2.0.ebuild
new file mode 100644
index 000000000000..c92fb178fd50
--- /dev/null
+++ b/dev-ruby/propshaft/propshaft-1.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md UPGRADING.md"
+
+RUBY_FAKEGEM_GEMSPEC="propshaft.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Deliver assets for Rails"
+HOMEPAGE="https://github.com/rails/propshaft";
+SRC_URI="https://github.com/rails/propshaft/archive/v${PV}.tar.gz -> 
${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="test"
+
+ruby_add_rdepend "
+       >=dev-ruby/actionpack-7.0.0:*
+       >=dev-ruby/activesupport-7.0.0:*
+       dev-ruby/rack:*
+"
+
+ruby_add_bdepend "test? ( >=dev-ruby/rails-7.0.0 )"
+
+all_ruby_prepare() {
+       rm -f Gemfile.lock || die
+       sed -i -e '/debug/ s:^:#:' Gemfile || die
+
+       sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}

Reply via email to