dev-ruby/css_parser: add 1.7.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Hans de Graaff
2019-02-12 06:48:55 +01:00
parent ee2abf298e
commit 04952da3c2
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST css_parser-1.6.0.tar.gz 33251 BLAKE2B 1e28e6999675fadc1bc6a98417cc698fb2e5f16e8d8b27e186037112ac9c3cee82161c7530b962209d76d91359d68016210a371c9e8a7f7d631c7aec73bc5c81 SHA512 838baf3cc4249e890f7cf006370f148261b392549e6cc25b11246e15c8347a8877b4cc3bfe70dee18a822a9a8fc496705787262d79e177d62587f41ba6f4c4d6
DIST css_parser-1.7.0.tar.gz 33480 BLAKE2B c9bf7f901f18f09b937d58d791a4550c37ae19b161ee8454eee4e88f55bd3871c9b264e935a00e86c8b918c45a2c4c7cbc7454f665e0a9d9c53621e21df294e5 SHA512 abf1f80577e9874e14e28bdffe9539ff2eb63a5521075e2ec481fc2b4e53c9652bcb60e7806b21a6e0866ec396cbdb495768db212018eb30dbf9e70088f0af4b

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
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 ~ppc ~x86"
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
}