summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-01-12 14:05:02 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-01-12 14:05:02 +0000
commit38ce3f68d27ed244e783b367a3830e320c2711d4 (patch)
tree41a2740f64d4da6aba1c1bf53ba38362bca01393 /dev-ruby
parentBump also stable version to patchset 24 and allow to actually disable xvmc. (diff)
downloadgentoo-2-38ce3f68d27ed244e783b367a3830e320c2711d4.tar.gz
gentoo-2-38ce3f68d27ed244e783b367a3830e320c2711d4.tar.bz2
gentoo-2-38ce3f68d27ed244e783b367a3830e320c2711d4.zip
Initial import
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/zentest/ChangeLog10
-rw-r--r--dev-ruby/zentest/Manifest4
-rw-r--r--dev-ruby/zentest/files/digest-zentest-2.4.01
-rw-r--r--dev-ruby/zentest/files/zentest-dirfix.diff15
-rw-r--r--dev-ruby/zentest/files/zentest-fixrubyloc.diff8
-rw-r--r--dev-ruby/zentest/metadata.xml5
-rw-r--r--dev-ruby/zentest/zentest-2.4.0.ebuild34
7 files changed, 77 insertions, 0 deletions
diff --git a/dev-ruby/zentest/ChangeLog b/dev-ruby/zentest/ChangeLog
new file mode 100644
index 000000000000..23ae9de7f4d8
--- /dev/null
+++ b/dev-ruby/zentest/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/zentest
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/zentest/ChangeLog,v 1.1 2006/01/12 14:05:02 caleb Exp $
+
+*zentest-2.4.0 (12 Jan 2006)
+
+ 12 Jan 2006; Caleb Tennis <caleb@gentoo.org> +files/zentest-dirfix.diff,
+ +files/zentest-fixrubyloc.diff, +metadata.xml, +zentest-2.4.0.ebuild:
+ Inital import
+
diff --git a/dev-ruby/zentest/Manifest b/dev-ruby/zentest/Manifest
new file mode 100644
index 000000000000..dcea9373c777
--- /dev/null
+++ b/dev-ruby/zentest/Manifest
@@ -0,0 +1,4 @@
+MD5 bc4555bf727139c3f7438eaf985ae3e3 files/digest-zentest-2.4.0 64
+MD5 e5c108bddf744de7e90e909de63f5077 files/zentest-dirfix.diff 532
+MD5 c56c2f62ee21f47e83389abe1062f872 files/zentest-fixrubyloc.diff 257
+MD5 f31b8b3b3be7e7eeb8359c7d3241d6f6 zentest-2.4.0.ebuild 887
diff --git a/dev-ruby/zentest/files/digest-zentest-2.4.0 b/dev-ruby/zentest/files/digest-zentest-2.4.0
new file mode 100644
index 000000000000..bcd27d824147
--- /dev/null
+++ b/dev-ruby/zentest/files/digest-zentest-2.4.0
@@ -0,0 +1 @@
+MD5 a18ea25b2e12c8248992048d6d0e982b ZenTest-2.4.0.tar.gz 17060
diff --git a/dev-ruby/zentest/files/zentest-dirfix.diff b/dev-ruby/zentest/files/zentest-dirfix.diff
new file mode 100644
index 000000000000..df3ff990d047
--- /dev/null
+++ b/dev-ruby/zentest/files/zentest-dirfix.diff
@@ -0,0 +1,15 @@
+--- Makefile.orig 2006-01-12 08:51:23.000000000 -0500
++++ Makefile 2006-01-12 08:52:08.000000000 -0500
+@@ -12,9 +12,9 @@
+
+ PREFIX=/usr/local
+ install:
+- cp -f ZenTest.rb $(RUBY_BIN)/ZenTest
+- cp -f unit_diff.rb $(RUBY_BIN)/unit_diff
+- chmod 555 $(RUBY_BIN)/ZenTest $(RUBY_BIN)/unit_diff
++ cp -f ZenTest.rb ${DESTDIR}/$(RUBY_BIN)/ZenTest
++ cp -f unit_diff.rb ${DESTDIR}/$(RUBY_BIN)/unit_diff
++ chmod 555 ${DESTDIR}/$(RUBY_BIN)/ZenTest ${DESTDIR}/$(RUBY_BIN)/unit_diff
+
+ uninstall:
+ rm -f $(RUBY_BIN)/ZenTest $(RUBY_BIN)/unit_diff
diff --git a/dev-ruby/zentest/files/zentest-fixrubyloc.diff b/dev-ruby/zentest/files/zentest-fixrubyloc.diff
new file mode 100644
index 000000000000..cd3dc21b5c83
--- /dev/null
+++ b/dev-ruby/zentest/files/zentest-fixrubyloc.diff
@@ -0,0 +1,8 @@
+--- ZenTest.rb.orig 2006-01-12 09:01:17.000000000 -0500
++++ ZenTest.rb 2006-01-12 09:01:23.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -swI .
++#!/usr/bin/ruby -swI .
+
+ $stdlib = {}
+ ObjectSpace.each_object(Module) { |m| $stdlib[m.name] = true }
diff --git a/dev-ruby/zentest/metadata.xml b/dev-ruby/zentest/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/zentest/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/zentest/zentest-2.4.0.ebuild b/dev-ruby/zentest/zentest-2.4.0.ebuild
new file mode 100644
index 000000000000..0356ed99a3b4
--- /dev/null
+++ b/dev-ruby/zentest/zentest-2.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/zentest/zentest-2.4.0.ebuild,v 1.1 2006/01/12 14:05:02 caleb Exp $
+
+inherit ruby eutils
+
+DESCRIPTION="Centralized Ruby extension management system"
+HOMEPAGE="http://rubyforge.org/projects/zentest/"
+LICENSE="Ruby"
+
+MY_P=${P/zentest/ZenTest}
+S=${WORKDIR}/${MY_P}
+
+# The URL depends implicitly on the version, unfortunately. Even if you
+# change the filename on the end, it still downloads the same file.
+SRC_URI="http://rubyforge.org/frs/download.php/6468/${MY_P}.tar.gz"
+
+KEYWORDS="~x86"
+SLOT="0"
+IUSE=""
+
+USE_RUBY="ruby18"
+DEPEND="virtual/ruby"
+
+src_unpack() {
+ ruby_src_unpack
+ epatch ${FILESDIR}/zentest-dirfix.diff
+ epatch ${FILESDIR}/zentest-fixrubyloc.diff
+}
+
+src_install() {
+ dodir ${ROOT}/usr/bin
+ make DESTDIR=${D} install
+}