summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-05-25 15:04:46 +0000
committerHans de Graaff <graaff@gentoo.org>2014-05-25 15:04:46 +0000
commit2cc67d08ca6f4908f99004e51677d40691770e93 (patch)
tree672cdab00a80e2c49ad160eb04d1dfc8f530301f /dev-ruby/rubyforge
parentfix file collision with systemd (diff)
downloadgentoo-2-2cc67d08ca6f4908f99004e51677d40691770e93.tar.gz
gentoo-2-2cc67d08ca6f4908f99004e51677d40691770e93.tar.bz2
gentoo-2-2cc67d08ca6f4908f99004e51677d40691770e93.zip
Add new revision for ruby21.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rubyforge')
-rw-r--r--dev-ruby/rubyforge/ChangeLog7
-rw-r--r--dev-ruby/rubyforge/rubyforge-2.0.4-r4.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/rubyforge/ChangeLog b/dev-ruby/rubyforge/ChangeLog
index 4a8776dc342c..39a016dbd8b8 100644
--- a/dev-ruby/rubyforge/ChangeLog
+++ b/dev-ruby/rubyforge/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rubyforge
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyforge/ChangeLog,v 1.104 2014/04/05 14:40:38 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyforge/ChangeLog,v 1.105 2014/05/25 15:04:45 graaff Exp $
+
+*rubyforge-2.0.4-r4 (16 May 2014)
+
+ 16 May 2014; Hans de Graaff <graaff@gentoo.org> +rubyforge-2.0.4-r4.ebuild:
+ Add new revision for ruby21.
05 Apr 2014; Manuel Rüger <mrueg@gentoo.org> rubyforge-2.0.4-r2.ebuild,
rubyforge-2.0.4-r3.ebuild:
diff --git a/dev-ruby/rubyforge/rubyforge-2.0.4-r4.ebuild b/dev-ruby/rubyforge/rubyforge-2.0.4-r4.ebuild
new file mode 100644
index 000000000000..7bb7b300b09a
--- /dev/null
+++ b/dev-ruby/rubyforge/rubyforge-2.0.4-r4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyforge/rubyforge-2.0.4-r4.ebuild,v 1.1 2014/05/25 15:04:46 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simplistic script which automates a limited set of rubyforge operations"
+HOMEPAGE="http://codeforpeople.rubyforge.org/rubyforge/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend '>=dev-ruby/json-1.1.7'
+
+ruby_add_bdepend "
+ doc? ( dev-ruby/hoe )
+ test? (
+ virtual/ruby-ssl
+ dev-ruby/hoe
+ dev-ruby/test-unit:2
+ )"
+
+all_ruby_prepare() {
+ sed -i 's/json_pure/json/' "${WORKDIR}"/all/metadata || die "Unable to fix metadata."
+
+ # Remove specifications incompatible with newer hoe versions.
+ sed -i -e '/rubyforge_name/ s:^:#:' Rakefile || die
+
+ # Require new enough test-unit for newer minitest
+ sed -i -e '1igem "test-unit"' test/test_*.rb || die
+}