dev-ruby/crass: add 1.0.5
authorHans de Graaff <graaff@gentoo.org>
Wed, 16 Oct 2019 05:11:25 +0000 (07:11 +0200)
committerHans de Graaff <graaff@gentoo.org>
Wed, 16 Oct 2019 05:23:16 +0000 (07:23 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/crass/Manifest
dev-ruby/crass/crass-1.0.5.ebuild [new file with mode: 0644]

index b8da514b3ba1866ce96027b7b0c6f831d0b921de..f6a71bd916ede8a5fe926620ec0961072eb7ceb2 100644 (file)
@@ -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 (file)
index 0000000..d627baa
--- /dev/null
@@ -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
+}