diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 48e7e0613c558..264ca6e7d18c3 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,2 +1,3 @@ DIST css_parser-1.4.6.tar.gz 25922 SHA256 d00522d5a5e116253586e9c45411ea72ed495589cf14254930c67a03dda5012b SHA512 300147893671948603ebd696449235997088cce588b57b6fb59acc2e190bf1c8ddd98c6e59cd41b157807b2cca3cc8edd3aa1c352e1865d3f5f6238a4d13cd01 WHIRLPOOL a912f1b4d9277c436b37aa2aae66f1f7e9c724373239ad7d0e7a357e917afe5ab42bb06e335871f744049611c3966b53b3f098a457ef84694f975a86ab37aaee DIST css_parser-1.4.7.tar.gz 25916 SHA256 2a0a502c80e76784e7d5b162a64d8d4da04653a4491aba39f5f2f548fab27c87 SHA512 f45ae04af3d78ae956392fc478cea3ccfece378acb9e169ffd29a24e3f1ed208cddf1d6d2cb5e0ce12780bd5e0dda12032d920b4cc11e2b3f25b08b3aeb92af8 WHIRLPOOL c9fd1d175d0db7135e814cf0b7205d965fa6a292d47ec4390a581ecde9ac14c6bd6cf0e87e554f8207cdd158d7250ea09fca1380a9fb6d978e86c7fb1255b1be +DIST css_parser-1.4.8.tar.gz 26267 SHA256 62d11ff2b6f27c3658df56da4e98bbc60b4b8cea085b50ef0c6b47046e63c743 SHA512 b311ecbaef5fe4939bd9a947477597a60edb9ac184a36d67bc8d008ac085bd74acbe82e28a4d92b043d855c5881e85245d0a1a2d322ab2a82ca9ea651555b3ef WHIRLPOOL cbf4fb580a8be0922b48cee3b36abb6e0b2eee25aee5e470db223cb31f5da1fc90d937bd5f7930c9a3af9d1f4eb9cd6a5005a9aadd24d1e200425c181352dd8d diff --git a/dev-ruby/css_parser/css_parser-1.4.8.ebuild b/dev-ruby/css_parser/css_parser-1.4.8.ebuild new file mode 100644 index 0000000000000..0a9a0aec4fb19 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.4.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +}