summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-02 11:37:44 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-03 08:26:31 +0200
commit0d4c76a716a16a69ed9dcac7a4610263ca98cea0 (patch)
tree7be4536f82e7826d5766d614985ee692803dbfd0 /dev-ruby/ultraviolet
parentdev-ruby/unf_ext: cleanup (diff)
downloadgentoo-0d4c76a716a16a69ed9dcac7a4610263ca98cea0.tar.gz
gentoo-0d4c76a716a16a69ed9dcac7a4610263ca98cea0.tar.bz2
gentoo-0d4c76a716a16a69ed9dcac7a4610263ca98cea0.zip
dev-ruby/ultraviolet: add ruby27; EAPI 7
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ultraviolet')
-rw-r--r--dev-ruby/ultraviolet/ultraviolet-1.0.1-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/ultraviolet/ultraviolet-1.0.1-r1.ebuild b/dev-ruby/ultraviolet/ultraviolet-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..1b0344cdae18
--- /dev/null
+++ b/dev-ruby/ultraviolet/ultraviolet-1.0.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_EXTRADOC="Readme.md"
+RUBY_FAKEGEM_EXTRAINSTALL="render"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A syntax highlighting engine based on Textpow"
+HOMEPAGE="https://github.com/grosser/ultraviolet"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/textpow-1.3.0"
+
+all_ruby_prepare() {
+ sed -i -e '/rdoc_patter/d' Rakefile || die
+ sed -i -e '/git ls-files/d' ultraviolet.gemspec || die
+}