summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-03-17 00:18:46 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-03-17 00:20:12 +0100
commit849fd1ff96ff44d7a530492dca4be97b68771a87 (patch)
tree9953494f5558479859e20eaeb2c26d2ae4145ced /dev-ruby/css_parser
parentsys-kernel/gentoo-sources: Linux patch 3.14.65 (diff)
downloadgentoo-849fd1ff96ff44d7a530492dca4be97b68771a87.tar.gz
gentoo-849fd1ff96ff44d7a530492dca4be97b68771a87.tar.bz2
gentoo-849fd1ff96ff44d7a530492dca4be97b68771a87.zip
dev-ruby/css_parser: Version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/css_parser')
-rw-r--r--dev-ruby/css_parser/Manifest1
-rw-r--r--dev-ruby/css_parser/css_parser-1.4.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest
index adf3c3dc654d..01d1b16166fb 100644
--- a/dev-ruby/css_parser/Manifest
+++ b/dev-ruby/css_parser/Manifest
@@ -1,3 +1,4 @@
DIST css_parser-1.3.5.tar.gz 23699 SHA256 d08f0a28e97d2d8e80bebe1253ed68f98a75f6afbc5f453a570170972d3af08e SHA512 92897839387649379f35d9b0368cab9d5c8148c588a421f155f5ff6bdc6e7b9d776ccc267d73a2484c48c4d4d6084f99c86ba84c20f3025952dcb9b84c1a3901 WHIRLPOOL f32766fb8727245db9d9f6b8f764fbbddff865e0378b42904da58a6385ed697df053be6948244278bf231ec8d667c81693c6753840d17a48f4d7c8f03fca51b6
DIST css_parser-1.3.6.tar.gz 24422 SHA256 1931ca0a02d14a0ae7863921a18f3475fa6beee58585e9949af70ceffed8fc80 SHA512 a9d09a95320b3a6853a5f079c17d2913868a3d97ee20d9df8076d9206721bf23442e793a722e67c87d4083d3734ba9eaf98b81d93e6257aaaa43ff32b8e6e65b WHIRLPOOL 13ca571034974d09bf4165f1ca8cc947d66aafdacbd098e25e1f16e312bcbe3bf850b2d1f62d404c0878641f0e9b60c5a00f2b24007295cc0881299f5eb4767f
DIST css_parser-1.3.7.tar.gz 24559 SHA256 4b21cf4ffd2d6bca40e11f350aaf2bfb2970913145771aeff97bcfdec86c31e1 SHA512 98ea3d5c806887ea3a6ddc4a8b3780bac92150db6be1fe9011035bc2a5d72e64002d36b06a80c5d49eb0ed7a5e51bce29d3b07dc83238d8128b580c8ff455ed7 WHIRLPOOL 9192e9b08f5bca2743d3d81d836fdcb16230e4c673760f4a1d8d8deece04c143ffe64d46cc903165459749ce204ebdff1cf1d5a01e3c54616da17fa40cb1487a
+DIST css_parser-1.4.0.tar.gz 25084 SHA256 fa7e44d36ed46fbaaf20b6191e829fd92cdcd4556b6f77678a6bf3e69aeebae2 SHA512 51897a5f0782fcb84926a02f3886d81d449f4c781e4ca26a8c33ed7e76c134e7b433b0de1c846cbb09a0acd3c26798968f12fe7d4901eb88efb3c931cbd8b936 WHIRLPOOL 66e492e2c729fa674fbce1d5322c6a991ccec4cf07416b68136e325d15ceb29fe8f680d91ed28321a6bc6ba41eef74a5c7ffd0633d77154fa1d277c2caf6aaab
diff --git a/dev-ruby/css_parser/css_parser-1.4.0.ebuild b/dev-ruby/css_parser/css_parser-1.4.0.ebuild
new file mode 100644
index 000000000000..3a55f8990b5b
--- /dev/null
+++ b/dev-ruby/css_parser/css_parser-1.4.0.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"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_DOC_DIR="doc"
+RUBY_FAKEGEM_EXTRADOC="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
+}