diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-08-24 09:35:17 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-08-24 09:35:17 +0200 |
commit | 56a951a6f05e1c54f66073af8fc87e7fb13b69b0 (patch) | |
tree | 98409c8ea59ad5ddb2e7b5fadf0d0001604c37f1 /dev-ruby | |
parent | dev-ruby/rails: add 7.1.4 (diff) | |
download | gentoo-56a951a6f05e1c54f66073af8fc87e7fb13b69b0.tar.gz gentoo-56a951a6f05e1c54f66073af8fc87e7fb13b69b0.tar.bz2 gentoo-56a951a6f05e1c54f66073af8fc87e7fb13b69b0.zip |
dev-ruby/css_parser: add 1.19.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/css_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/css_parser/css_parser-1.19.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 01817cec391d..572c35417098 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,3 +1,4 @@ DIST css_parser-1.16.0.tar.gz 39719 BLAKE2B 19c6e741bdfac308ea2b2edc557fbbe79580cb44f7a8e8538a3fbb55dcc02a76a56ec151d26ee2af887624fbe348a29c1acfbca30f17e0f2c73850ed7d3808af SHA512 d21f07da73ec3d164f766a392d88053fb156eb15645c4dbf3e4b70b73fdfad6c0b715368d9b000e668cf40dc338611be946064d586f4efcf7e13f261df74b6fa DIST css_parser-1.17.0.tar.gz 39746 BLAKE2B c94f0b03d3e5e54ff390f83bc87c2bc9cd1aa0426898361d3f61fc36263fbb19251cccf346767e8d844b49471186051ffcadb3b87ad3092aa403ef02764a5e5a SHA512 9097b13c578727a7ab918be9b54f846d3f85bb666a54416f54bf509efebfbaf64dd22ec827adef61ba2fd8b46abc81cc302ba3bba35e7d87dee181d21f4cf578 DIST css_parser-1.17.1.tar.gz 39809 BLAKE2B c8d0a05d4264432a6614cf834aeef7685710d50f44b99c2989a0e431b6894b8c1ac7ddc4f9617632f3da4a0d479acb02ef4bdb1b0ede6f098cdfbeb37c0db624 SHA512 bc22ff1be8daf72b76f611c5be27ee52a197b8e7810c61321ae7e994db771dec01b5c4725b656119d3b610214bc06d08e79bbacc1d2c4294d8ad2cd915edb2fb +DIST css_parser-1.19.0.tar.gz 41264 BLAKE2B e1ebc2c1f56354b50cbc1f89552e7c5fda3b10a719379b355743e4310e85f37159b59a79cb847a9633da6b9eea4b1dc7224eb8e78987211b584e6912af242441 SHA512 a8405a30ef6b399b381478d39711949031316532e43583e69b60f25dca39da822bcdf1e3de3f0fceebbf07a79046e5771a4fe4b2b6db69582616559f0a0294b1 diff --git a/dev-ruby/css_parser/css_parser-1.19.0.ebuild b/dev-ruby/css_parser/css_parser-1.19.0.ebuild new file mode 100644 index 000000000000..81a02ea3e988 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.19.0.ebuild @@ -0,0 +1,43 @@ +# 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_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md " +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="premailer" +GITHUB_PROJECT="${PN}" +inherit ruby-fakegem + +DESCRIPTION="Sass-based Stylesheet Framework" +HOMEPAGE="https://github.com/premailer/css_parser/" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest dev-ruby/webrick )" + +all_ruby_prepare() { + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die + sed -i -e '/bundler/d' test/test_helper.rb || die + # Avoid tests using the network. + sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die + +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -Ilib test/*.rb || die +} |