summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-12 07:23:59 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-12 07:23:59 +0100
commit2f2a6a854921424d28a61323623550a82d35f5ec (patch)
tree46df1a7a1123d6b4540077d125e88cbed4e0c5ff /dev-ruby/gettext-setup
parentdev-ruby/levenshtein: add ruby23 (diff)
downloadgentoo-2f2a6a854921424d28a61323623550a82d35f5ec.tar.gz
gentoo-2f2a6a854921424d28a61323623550a82d35f5ec.tar.bz2
gentoo-2f2a6a854921424d28a61323623550a82d35f5ec.zip
dev-ruby/gettext-setup: initial import of 0.10.
New dependency for dev-ruby/semantic-puppet Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/gettext-setup')
-rw-r--r--dev-ruby/gettext-setup/Manifest1
-rw-r--r--dev-ruby/gettext-setup/gettext-setup-0.10.ebuild37
-rw-r--r--dev-ruby/gettext-setup/metadata.xml11
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/gettext-setup/Manifest b/dev-ruby/gettext-setup/Manifest
new file mode 100644
index 000000000000..b26f367911f9
--- /dev/null
+++ b/dev-ruby/gettext-setup/Manifest
@@ -0,0 +1 @@
+DIST gettext-setup-0.10.tar.gz 7910 SHA256 a779a041675e7f473f14c60dd465678e8387afbe9ddb7378e4bfb23bae35632a SHA512 206b8494b144d9dd2e226ee053c7ddaf40c332d2675720bb9347269a0d6fcff097d7073c2053d91f220135bfae499108cca012a277bd39a003b9bd2e2d43854c WHIRLPOOL 9726cb748485b2030097cae3b854d96f6940737672abdc5c62bbcf58538846b76d9f3731dfcb03091c63fd73329302b143216c36a2000c565b8cfa2861ab70fb
diff --git a/dev-ruby/gettext-setup/gettext-setup-0.10.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.10.ebuild
new file mode 100644
index 000000000000..8f9acaf4b7b5
--- /dev/null
+++ b/dev-ruby/gettext-setup/gettext-setup-0.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A gem to ease i18n"
+HOMEPAGE="https://github.com/puppetlabs/gettext-setup-gem"
+SRC_URI="https://github.com/puppetlabs/gettext-setup-gem/archive/${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="${PN}-gem-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/fast_gettext-1.1.0
+ >=dev-ruby/ruby-gettext-3.0.2
+ dev-ruby/locale
+"
+
+all_ruby_prepare() {
+ sed -i -e 's/1.1.0/1.1/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/gettext-setup/metadata.xml b/dev-ruby/gettext-setup/metadata.xml
new file mode 100644
index 000000000000..c677e4dcbe35
--- /dev/null
+++ b/dev-ruby/gettext-setup/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">puppetlabs/gettext-setup-gem</remote-id>
+ </upstream>
+</pkgmetadata>