summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-01-13 07:15:31 +0100
committerHans de Graaff <graaff@gentoo.org>2020-01-13 07:29:27 +0100
commitd7efcb24b2dd87eae262d34423126ae493efae3d (patch)
tree353bfcd87558cc1ed1c2f38088f701396194e2e3 /dev-ruby/crass
parentnet-analyzer/mk-livestatus: Version 1.5.0_p22 (diff)
downloadgentoo-d7efcb24b2dd87eae262d34423126ae493efae3d.tar.gz
gentoo-d7efcb24b2dd87eae262d34423126ae493efae3d.tar.bz2
gentoo-d7efcb24b2dd87eae262d34423126ae493efae3d.zip
dev-ruby/crass: add 1.0.6
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/crass')
-rw-r--r--dev-ruby/crass/Manifest1
-rw-r--r--dev-ruby/crass/crass-1.0.6.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/crass/Manifest b/dev-ruby/crass/Manifest
index f6a71bd916ed..0fb2800a7378 100644
--- a/dev-ruby/crass/Manifest
+++ b/dev-ruby/crass/Manifest
@@ -1,2 +1,3 @@
DIST crass-1.0.4.gem 92160 BLAKE2B f0ee65e3fd6bde1b87bb47347c8afbc1c4b5e98331a82e64d0b96ef4ef7db91a0903d6961074713cf68ad68363d1c9c678e62f4b3d8e7f9b4491ad2bb70a1596 SHA512 44ef5393530b38c35035833ecc140bc324d39309e18d4bb81847f415c0092230483172fd92fe2acacab238bbb771cedd44d6031f7c985a59d0ab4d2373119967
DIST crass-1.0.5.tar.gz 88665 BLAKE2B cf7cb01516a9d7ef21839b8b0cb2d7ce8a8f6fbcac32e6572eea2483546dbe5dd7afc3c9164590c565429b2390ffe823948e6da6fb4f09b53bacb63fdb190e68 SHA512 d56244d33d5c43a09268a81f57328757f505531633cfd56fff7a44d68a9f29c6ad49f5ae7a0e6c9ee93543fae9083f0d3ed290e32cb3565c37d7b31a01abaaea
+DIST crass-1.0.6.tar.gz 89443 BLAKE2B 2721cc6f5419a36c122c63c59804da84791e70d522ee01ff2ff06fed67a74ab187d0b601cd85e031fd33a84315fbc4cd092c14de110053c94ff0e50d4feab5fc SHA512 de98dea48d0cff148b3000d7388256552d1bf5a014ecbc074efc909473bc6edf2cf1db36179aaa4284eb810618dafc346757ac61708c9659045e013e6c6d4e36
diff --git a/dev-ruby/crass/crass-1.0.6.ebuild b/dev-ruby/crass/crass-1.0.6.ebuild
new file mode 100644
index 000000000000..41f36469af25
--- /dev/null
+++ b/dev-ruby/crass/crass-1.0.6.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="crass.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification"
+HOMEPAGE="https://github.com/rgrove/crass/"
+SRC_URI="https://github.com/rgrove/crass/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend ">=dev-ruby/minitest-5.0.8:5"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/I s:^:#:' Rakefile || die
+ sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}