diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-23 07:41:32 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-23 07:41:32 +0100 |
commit | 613144be5fd446a6fbd2970d0042ab90fcc98b02 (patch) | |
tree | 10732957a74867476ae20d628a34f081d3c7ea11 /dev-ruby/css_parser | |
parent | dev-python/pluggy: remove old (diff) | |
download | gentoo-613144be5fd446a6fbd2970d0042ab90fcc98b02.tar.gz gentoo-613144be5fd446a6fbd2970d0042ab90fcc98b02.tar.bz2 gentoo-613144be5fd446a6fbd2970d0042ab90fcc98b02.zip |
dev-ruby/css_parser: add 1.4.9
Package-Manager: portage-2.3.3
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.9.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 264ca6e7d18c..833f119650cb 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,3 +1,4 @@ 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 +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.9.ebuild b/dev-ruby/css_parser/css_parser-1.4.9.ebuild new file mode 100644 index 000000000000..0a9a0aec4fb1 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.4.9.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 +} |