diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-ruby/actionpack-xml_parser | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
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.ebuild | 33 | ||||
| -rw-r--r-- | dev-ruby/actionpack-xml_parser/metadata.xml | 12 |
3 files changed, 46 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.ebuild b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1.ebuild new file mode 100644 index 000000000000..48e5bf081edc --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +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" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="" + +ruby_add_rdepend "=dev-ruby/actionpack-5*:* =dev-ruby/railties-5*:*" + +all_ruby_prepare() { + sed -i -e "/bundler/d" Rakefile test/helper.rb || die + sed -i -e '1igem "actionpack", "~>5.2"' 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..25387dc55dd9 --- /dev/null +++ b/dev-ruby/actionpack-xml_parser/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">rails/actionpack-xml_parser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
