diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ruby/actionpack-xml_parser | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/actionpack-xml_parser')
| -rw-r--r-- | dev-ruby/actionpack-xml_parser/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1-r4.ebuild | 41 | ||||
| -rw-r--r-- | dev-ruby/actionpack-xml_parser/metadata.xml | 9 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/actionpack-xml_parser/Manifest b/dev-ruby/actionpack-xml_parser/Manifest new file mode 100644 index 000000000000..2b2144aedb04 --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/Manifest @@ -0,0 +1 @@ +DIST actionpack-xml_parser-2.0.1.tar.gz 6494 BLAKE2B 271e1352085e7c75754253222c9f861f7ece9875102a0bb4c47e20311367fcc040c5680ad0406112f8e312c4a8ae1a3f9b6d33f3736db3614ca1c3584942f800 SHA512 a240e59178722025a0c967cfc2f63ca1ed8a2aff55ad913652f06018b712a7009eecd915f494dc4087de12ad5dbe5a0f3c7290fc530a2e475b39318520809112 diff --git a/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1-r4.ebuild b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1-r4.ebuild new file mode 100644 index 000000000000..74314c4ca733 --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1-r4.ebuild @@ -0,0 +1,41 @@ +# 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_GEMSPEC="actionpack-xml_parser.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="XML parameters parser for Action Pack (removed from core in Rails 4.0)" +HOMEPAGE="https://github.com/rails/actionpack-xml_parser" +SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="2" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + || ( dev-ruby/actionpack:7.2 dev-ruby/actionpack:7.1 dev-ruby/actionpack:7.0 ) + || ( dev-ruby/railties:7.2 dev-ruby/railties:7.1 dev-ruby/railties:7.0 ) +" + +ruby_add_bdepend "test? ( =dev-ruby/railties-7* )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile test/helper.rb || die + sed -e '1igem "actionpack", "~>7.2.0"' \ + -e '3irequire "active_support/core_ext/kernel/reporting.rb"' \ + -i test/helper.rb || die + + # Skip test that is not compatible with Rails 5.2 + sed -i -e '/occurring a parse error if parsing unsuccessful/askip "rails 5.2"' test/xml_params_parsing_test.rb || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -Ilib:.:test -e "Dir['test/*_test.rb'].each{|f| require f}" || die +} diff --git a/dev-ruby/actionpack-xml_parser/metadata.xml b/dev-ruby/actionpack-xml_parser/metadata.xml new file mode 100644 index 000000000000..c685ebad7e3a --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
