summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-10-16 07:11:25 +0200
committerHans de Graaff <graaff@gentoo.org>2019-10-16 07:23:16 +0200
commitfec4c2630641685998b8cd58d28f0dae550ace85 (patch)
tree3790c899c4b4eed5f1ab3ed9d5b7adf59dc7bd14 /dev-ruby/crass
parentnet-misc/seafile-client: move linguist-tools to BDEPEND (diff)
downloadgentoo-fec4c2630641685998b8cd58d28f0dae550ace85.tar.gz
gentoo-fec4c2630641685998b8cd58d28f0dae550ace85.tar.bz2
gentoo-fec4c2630641685998b8cd58d28f0dae550ace85.zip
dev-ruby/crass: add 1.0.5
Package-Manager: Portage-2.3.76, 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.5.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/crass/Manifest b/dev-ruby/crass/Manifest
index b8da514b3ba1..f6a71bd916ed 100644
--- a/dev-ruby/crass/Manifest
+++ b/dev-ruby/crass/Manifest
@@ -1 +1,2 @@
DIST crass-1.0.4.gem 92160 BLAKE2B f0ee65e3fd6bde1b87bb47347c8afbc1c4b5e98331a82e64d0b96ef4ef7db91a0903d6961074713cf68ad68363d1c9c678e62f4b3d8e7f9b4491ad2bb70a1596 SHA512 44ef5393530b38c35035833ecc140bc324d39309e18d4bb81847f415c0092230483172fd92fe2acacab238bbb771cedd44d6031f7c985a59d0ab4d2373119967
+DIST crass-1.0.5.tar.gz 88665 BLAKE2B cf7cb01516a9d7ef21839b8b0cb2d7ce8a8f6fbcac32e6572eea2483546dbe5dd7afc3c9164590c565429b2390ffe823948e6da6fb4f09b53bacb63fdb190e68 SHA512 d56244d33d5c43a09268a81f57328757f505531633cfd56fff7a44d68a9f29c6ad49f5ae7a0e6c9ee93543fae9083f0d3ed290e32cb3565c37d7b31a01abaaea
diff --git a/dev-ruby/crass/crass-1.0.5.ebuild b/dev-ruby/crass/crass-1.0.5.ebuild
new file mode 100644
index 000000000000..d627baa0b25a
--- /dev/null
+++ b/dev-ruby/crass/crass-1.0.5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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
+}