diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-03-10 07:37:50 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-03-10 07:43:55 +0100 |
commit | 4584eaffee9d9d443ae145f73781138e082a8853 (patch) | |
tree | 23a74f936f292e956dc25128432cdf5e3b8b2fc1 /dev-ruby/css_parser | |
parent | dev-ruby/css_parser: cleanup (diff) | |
download | gentoo-4584eaffee9d9d443ae145f73781138e082a8853.tar.gz gentoo-4584eaffee9d9d443ae145f73781138e082a8853.tar.bz2 gentoo-4584eaffee9d9d443ae145f73781138e082a8853.zip |
dev-ruby/css_parser: add 1.4.10
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/css_parser')
-rw-r--r-- | dev-ruby/css_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/css_parser/css_parser-1.4.10.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 3b6fd59023ea..731eb1f16dff 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,2 +1,3 @@ +DIST css_parser-1.4.10.tar.gz 26718 SHA256 97e3939c705354a99041b4a741e0e91ed6ac85898fb31bc03ac9e9fb22297fec SHA512 ad48200cd9f6fd36d1b13e8699098380c7d74e5349ed1a6aa294615800689a2959f7a91acff9679a630f525d0141f40aaade498570de4f296333c9525b0f1c22 WHIRLPOOL 736b4d43835e7bd12cb7f987a20dee33cc33907239d58e3bab0615e47d36bc6acfb9a086f2126626af7aad4c0b800a04d9c7b1c9723261d5433a30ee7c198754 DIST css_parser-1.4.8.tar.gz 26267 SHA256 62d11ff2b6f27c3658df56da4e98bbc60b4b8cea085b50ef0c6b47046e63c743 SHA512 b311ecbaef5fe4939bd9a947477597a60edb9ac184a36d67bc8d008ac085bd74acbe82e28a4d92b043d855c5881e85245d0a1a2d322ab2a82ca9ea651555b3ef WHIRLPOOL cbf4fb580a8be0922b48cee3b36abb6e0b2eee25aee5e470db223cb31f5da1fc90d937bd5f7930c9a3af9d1f4eb9cd6a5005a9aadd24d1e200425c181352dd8d DIST css_parser-1.4.9.tar.gz 26405 SHA256 2b90c7b4caedc8b15f05e90ed032ff0fa8c1a172ed5c270a04b2206980d06920 SHA512 bf5d053767d56253151786db7915feb1a2c7daf08702ff8d4d431d65f8b3e16ead59055866dd6bf239dfb68e37f35f1578ed4c850bf37e6ba395ea5e53a2f51a WHIRLPOOL 8e958c83eb7f79560c4b31558806d83b7394d9a2ae6eabf7f04f6d5587d3d59a6ab8c4212e46384b78bb6116a572ed6a9860c32a33b9c1357c94630f5caeace5 diff --git a/dev-ruby/css_parser/css_parser-1.4.10.ebuild b/dev-ruby/css_parser/css_parser-1.4.10.ebuild new file mode 100644 index 000000000000..d2a4e58e3de2 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.4.10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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="http://compass-style.org/ https://github.com/premailer/css_parser/" +LICENSE="MIT" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest )" + +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() { + ${RUBY} -Ilib test/*.rb || die +} |