summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-10-09 00:47:52 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-10-09 00:47:52 +0000
commita9faeb06c6e7e897c6b3288b61890377a5001b1e (patch)
treea48c363be5096cc44929581e1f6aed9c1444758c /dev-ruby/slop
parentAdd ruby20 target. (diff)
downloadgentoo-2-a9faeb06c6e7e897c6b3288b61890377a5001b1e.tar.gz
gentoo-2-a9faeb06c6e7e897c6b3288b61890377a5001b1e.tar.bz2
gentoo-2-a9faeb06c6e7e897c6b3288b61890377a5001b1e.zip
Add ruby20 target. Original commit by Peter Wilmott in ruby-overlay.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/slop')
-rw-r--r--dev-ruby/slop/ChangeLog9
-rw-r--r--dev-ruby/slop/slop-2.4.4-r1.ebuild24
-rw-r--r--dev-ruby/slop/slop-3.4.6-r1.ebuild27
3 files changed, 59 insertions, 1 deletions
diff --git a/dev-ruby/slop/ChangeLog b/dev-ruby/slop/ChangeLog
index 806f0a95a83c..5c94b9820485 100644
--- a/dev-ruby/slop/ChangeLog
+++ b/dev-ruby/slop/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/slop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/slop/ChangeLog,v 1.21 2013/09/10 16:25:00 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/slop/ChangeLog,v 1.22 2013/10/09 00:47:52 mrueg Exp $
+
+*slop-3.4.6-r1 (09 Oct 2013)
+*slop-2.4.4-r1 (09 Oct 2013)
+
+ 09 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +slop-2.4.4-r1.ebuild,
+ +slop-3.4.6-r1.ebuild:
+ Add ruby20 target. Original commit by Peter Wilmott in ruby-overlay.
10 Sep 2013; Manuel Rüger <mrueg@gentoo.org> -slop-3.4.3.ebuild,
-slop-3.4.4.ebuild, -slop-3.4.5.ebuild:
diff --git a/dev-ruby/slop/slop-2.4.4-r1.ebuild b/dev-ruby/slop/slop-2.4.4-r1.ebuild
new file mode 100644
index 000000000000..be1a3b87c6eb
--- /dev/null
+++ b/dev-ruby/slop/slop-2.4.4-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/slop/slop-2.4.4-r1.ebuild,v 1.1 2013/10/09 00:47:52 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple option parser with an easy to remember syntax and friendly API."
+HOMEPAGE="https://github.com/injekt/slop"
+SRC_URI="https://github.com/injekt/slop/tarball/v${PV} -> ${P}.tgz"
+RUBY_S="injekt-slop-*"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
diff --git a/dev-ruby/slop/slop-3.4.6-r1.ebuild b/dev-ruby/slop/slop-3.4.6-r1.ebuild
new file mode 100644
index 000000000000..19ae55632d15
--- /dev/null
+++ b/dev-ruby/slop/slop-3.4.6-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/slop/slop-3.4.6-r1.ebuild,v 1.1 2013/10/09 00:47:52 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple option parser with an easy to remember syntax and friendly API."
+HOMEPAGE="https://github.com/injekt/slop"
+SRC_URI="https://github.com/injekt/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ sed -i -e '/git ls-files/d' slop.gemspec || die
+}