diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
commit | be8708090362c01c6111c4b76f1e395c14d86e00 (patch) | |
tree | bb61ca73e867522450783849eb63c9e1f0ba1730 /dev-ruby/railties | |
parent | e93a38d535f2c29b55a5756d2de99425986b0bf3 (diff) |
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'dev-ruby/railties')
-rw-r--r-- | dev-ruby/railties/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/railties/railties-7.0.8.4-r1.ebuild | 72 | ||||
-rw-r--r-- | dev-ruby/railties/railties-7.1.3.4-r1.ebuild | 73 |
3 files changed, 147 insertions, 0 deletions
diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest index 996d2ac77abd..06e9f851105c 100644 --- a/dev-ruby/railties/Manifest +++ b/dev-ruby/railties/Manifest @@ -7,7 +7,9 @@ DIST rails-7.1.3.4.tgz 10917333 BLAKE2B 3266de2a86f8b107b18117c06115db14791bb98d EBUILD railties-6.1.7.7.ebuild 1621 BLAKE2B 41feb65dbbf063e23877e53a2120fb8a27d067273b421d3a028f291b203ad26a87eaf1c1bbdad2edc4a446f7757dd5de70b1b46fa0058c017fb048d6cc2087b1 SHA512 335f95140cdce23d3aad52d2baa2730bb553a84513098afa105c2b76713c24e3bb0ee07dedd559e643dfbc246c4ef94b078975614c8bf7282809d48757a9cac9 EBUILD railties-6.1.7.8.ebuild 1622 BLAKE2B 68ad565e10888d480ee7183577484fea138211315c22ab0397d0d338734608a3823b38625fee060775593544f68c7517e8037c8a04cfe0deeb8e4ac81289b135 SHA512 3457aa22dec4d1e68cb833e01bfb2f14e9d9ded3a1069762e565be020c1a2355f688d95258d977a6171d59338aacd1fc230dae12fc1165bd1d68beead4f74fd8 EBUILD railties-7.0.8.3.ebuild 1655 BLAKE2B ea4b088abd6a08560b544354fc1ab5c66f5ab060592e10a0326ccf1c32e8401e2135d4fe9ba057abd8fc6a9eaccea93976d81608cb5f27d6c739c074fc00c872 SHA512 417cddd466ad8b131b37614452025d635d1513446a8f6d41e4b0a528bf005d689b174a2e5af11302622435ab650d1d7e6b58ccc006ae6b9f9e058c8eff07bb8f +EBUILD railties-7.0.8.4-r1.ebuild 1655 BLAKE2B c95a49832842f28e4ded895dadde1f1e4e911be754ae02a01b3526ed79d26309b916e901376b4b3917cf1fc9e8231edaac0a3675701b88f8679273ce6209ff76 SHA512 5d07ec7ccbc452714f83b6ba1be4b10bedecf950f8ba362a3d035d55b7b360f1a16e76fa7955d8ca1686084c567f85cc5b384ec2453ad2a70c5f6cadb5a83837 EBUILD railties-7.0.8.4.ebuild 1655 BLAKE2B ea4b088abd6a08560b544354fc1ab5c66f5ab060592e10a0326ccf1c32e8401e2135d4fe9ba057abd8fc6a9eaccea93976d81608cb5f27d6c739c074fc00c872 SHA512 417cddd466ad8b131b37614452025d635d1513446a8f6d41e4b0a528bf005d689b174a2e5af11302622435ab650d1d7e6b58ccc006ae6b9f9e058c8eff07bb8f EBUILD railties-7.1.3.3.ebuild 1680 BLAKE2B a0c9b67efa3b0922681e65a4ad421806a0cd65ac4ef2f4a89f9b70b3ab2fe06e0691bc93af6ad5d6dd96a8ff13600c5f0592617867bfc33f59ac4159fb1805c9 SHA512 1e017220ba4c4fe6095311349616837242ad8b32d7aa2a359697e66af71d714184270bb297f6a92711462733adf2a1718abc35e4b454a60dbe1a59d430a9f21a +EBUILD railties-7.1.3.4-r1.ebuild 1680 BLAKE2B 147618d4c3015025a3aee5dd5750aee27277c298c2f58941433e7b6bda1e63547cb5a7471b1fb8ba83c66d9a3f29dcf6b7b33d87073f6ce7a888a7700e57814e SHA512 f709e99731c3ca51d6791f5dfbf1b47d9aa3e7fe1aa1e5f60a978531eaf368374274ae0d761f6a52b71da25e760c8ddfd352120e8c1c8606eadbbf3ef7aa11f2 EBUILD railties-7.1.3.4.ebuild 1680 BLAKE2B a0c9b67efa3b0922681e65a4ad421806a0cd65ac4ef2f4a89f9b70b3ab2fe06e0691bc93af6ad5d6dd96a8ff13600c5f0592617867bfc33f59ac4159fb1805c9 SHA512 1e017220ba4c4fe6095311349616837242ad8b32d7aa2a359697e66af71d714184270bb297f6a92711462733adf2a1718abc35e4b454a60dbe1a59d430a9f21a MISC metadata.xml 338 BLAKE2B f32f1ecbd729e4e6162f22cdb9bfe1fbb1284c8b7f021d8207a1a54d2543b0e9866e775d550360dd01ef4f4eb92e96064a8416476c7047853034ea05479eb6e7 SHA512 24fd0d8ea6e3cd5514e5049b7e064b7e3e667ea14978cc7cf620e9c1b020bdc7caf7dbec97ccbf92c2f4c657fff3e9151d6f2af103b3d9c3cc5181cb3a81a295 diff --git a/dev-ruby/railties/railties-7.0.8.4-r1.ebuild b/dev-ruby/railties/railties-7.0.8.4-r1.ebuild new file mode 100644 index 000000000000..40662c9295e3 --- /dev/null +++ b/dev-ruby/railties/railties-7.0.8.4-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.26" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + dev-ruby/thor:1 + >=dev-ruby/rake-12.2 + dev-ruby/method_source + >=dev-ruby/zeitwerk-2.5:2 +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/railties/railties-7.1.3.4-r1.ebuild b/dev-ruby/railties/railties-7.1.3.4-r1.ebuild new file mode 100644 index 000000000000..7b7aab03a013 --- /dev/null +++ b/dev-ruby/railties/railties-7.1.3.4-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.27" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activesupport-${PV} + dev-ruby/irb + >=dev-ruby/rackup-1.0.0 + >=dev-ruby/rake-12.2 + >=dev-ruby/thor-1.2.2:1 + >=dev-ruby/zeitwerk-2.6:2 +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} |