diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-10-21 06:46:02 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-10-21 06:46:02 +0200 |
commit | 9ec20f7feb7dd9b1bb7e21bd67a8844cce326cff (patch) | |
tree | 320db7ab045d05ff9b96eca9542d964dd159596e /dev-ruby | |
parent | dev-ruby/css_parser: cleanup (diff) | |
download | gentoo-9ec20f7feb7dd9b1bb7e21bd67a8844cce326cff.tar.gz gentoo-9ec20f7feb7dd9b1bb7e21bd67a8844cce326cff.tar.bz2 gentoo-9ec20f7feb7dd9b1bb7e21bd67a8844cce326cff.zip |
dev-ruby/css_parser: add 1.4.6
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/css_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/css_parser/css_parser-1.4.6.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 4eac7f02a6b4..023da7cc7c40 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,2 +1,3 @@ DIST css_parser-1.4.4.tar.gz 25711 SHA256 70845925bbc12c12303ec8ccddec7b7fe484810131c1918bed8445fd80b4999b SHA512 9e0a00540a3ee7cda3feb6bcd51a7a4d73c46e741f0c689492cb0e133209ed3119b2d29b3adfd2433fab4d337bb622aa1199ee05abaea15409a66112f1278295 WHIRLPOOL 66f155f76524b07f90d9c048c52f4afb26f5a35ee05f317baac258a65aec1900f4df7db3866f711d3523bfb5fd09599834824876dd64006d2bac1f7ed48f5c2d DIST css_parser-1.4.5.tar.gz 25748 SHA256 ed2090e5a6aaf05abb0681c721b65fa893ba4ef3a33a7763d981bb64cee3fa0b SHA512 cd59798f48faf4eb15c3851ce4fb76a4e194bbf27344c131925661de938c8434e58584b1531ea543ae6abb167a5e02b054bc84c0f0e01946b8e2e73f3e121812 WHIRLPOOL a7aae165f4819b170055db6b8ca8c1c27d07189fee488bc7bf93d14f5ebdec08587f2ca6f6578b7e8c27e9db84c6a72381994fe10de317e360951eb4a76a203b +DIST css_parser-1.4.6.tar.gz 25922 SHA256 d00522d5a5e116253586e9c45411ea72ed495589cf14254930c67a03dda5012b SHA512 300147893671948603ebd696449235997088cce588b57b6fb59acc2e190bf1c8ddd98c6e59cd41b157807b2cca3cc8edd3aa1c352e1865d3f5f6238a4d13cd01 WHIRLPOOL a912f1b4d9277c436b37aa2aae66f1f7e9c724373239ad7d0e7a357e917afe5ab42bb06e335871f744049611c3966b53b3f098a457ef84694f975a86ab37aaee diff --git a/dev-ruby/css_parser/css_parser-1.4.6.ebuild b/dev-ruby/css_parser/css_parser-1.4.6.ebuild new file mode 100644 index 000000000000..48c0b9431310 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.4.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 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 +} |