summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-10-29 15:49:39 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-10-29 15:49:39 +0000
commitd5f95f54a82ea91dff0c1ed370b7ff6fcba4edd0 (patch)
tree0124d74880c007703881121c37e34b964554a657 /dev-ruby/deprecated
parentAdd ruby20 target. (diff)
downloadgentoo-2-d5f95f54a82ea91dff0c1ed370b7ff6fcba4edd0.tar.gz
gentoo-2-d5f95f54a82ea91dff0c1ed370b7ff6fcba4edd0.tar.bz2
gentoo-2-d5f95f54a82ea91dff0c1ed370b7ff6fcba4edd0.zip
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/deprecated')
-rw-r--r--dev-ruby/deprecated/ChangeLog11
-rw-r--r--dev-ruby/deprecated/deprecated-2.0.1-r4.ebuild27
-rw-r--r--dev-ruby/deprecated/deprecated-3.0.1-r1.ebuild26
3 files changed, 62 insertions, 2 deletions
diff --git a/dev-ruby/deprecated/ChangeLog b/dev-ruby/deprecated/ChangeLog
index e921128d14dc..49209dad7b63 100644
--- a/dev-ruby/deprecated/ChangeLog
+++ b/dev-ruby/deprecated/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/deprecated
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/ChangeLog,v 1.28 2012/10/08 06:12:52 graaff Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/ChangeLog,v 1.29 2013/10/29 15:49:39 mrueg Exp $
+
+*deprecated-2.0.1-r4 (29 Oct 2013)
+*deprecated-3.0.1-r1 (29 Oct 2013)
+
+ 29 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +deprecated-2.0.1-r4.ebuild,
+ +deprecated-3.0.1-r1.ebuild:
+ Add ruby20 target.
*deprecated-3.0.1 (06 Oct 2012)
diff --git a/dev-ruby/deprecated/deprecated-2.0.1-r4.ebuild b/dev-ruby/deprecated/deprecated-2.0.1-r4.ebuild
new file mode 100644
index 000000000000..5ad8a72c80b2
--- /dev/null
+++ b/dev-ruby/deprecated/deprecated-2.0.1-r4.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/deprecated/deprecated-2.0.1-r4.ebuild,v 1.1 2013/10/29 15:49:39 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library for handling deprecated code"
+HOMEPAGE="http://rubyforge.org/projects/deprecated"
+SRC_URI="mirror://rubyforge/deprecated/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib:. test/deprecated.rb
+}
diff --git a/dev-ruby/deprecated/deprecated-3.0.1-r1.ebuild b/dev-ruby/deprecated/deprecated-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..967649d77e57
--- /dev/null
+++ b/dev-ruby/deprecated/deprecated-3.0.1-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/deprecated-3.0.1-r1.ebuild,v 1.1 2013/10/29 15:49:39 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library for handling deprecated code"
+HOMEPAGE="http://rubyforge.org/projects/deprecated"
+
+LICENSE="BSD"
+SLOT="3"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. test/test_deprecated.rb || die "test failed"
+}