summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-06-20 10:21:15 +0000
committerHans de Graaff <graaff@gentoo.org>2010-06-20 10:21:15 +0000
commit940d627203fcd9d3160fe6530e857600d80542b5 (patch)
tree560c0067e5985c7e5cc1d8daa2a9b18570d033e0 /dev-ruby
parentStable on amd64 wrt bug #323703 (diff)
downloadhistorical-940d627203fcd9d3160fe6530e857600d80542b5.tar.gz
historical-940d627203fcd9d3160fe6530e857600d80542b5.tar.bz2
historical-940d627203fcd9d3160fe6530e857600d80542b5.zip
Convert to ruby-ng.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/dbd-odbc/ChangeLog9
-rw-r--r--dev-ruby/dbd-odbc/Manifest13
-rw-r--r--dev-ruby/dbd-odbc/dbd-odbc-0.2.5-r1.ebuild42
3 files changed, 56 insertions, 8 deletions
diff --git a/dev-ruby/dbd-odbc/ChangeLog b/dev-ruby/dbd-odbc/ChangeLog
index dad18813ad85..7e65039bdb7e 100644
--- a/dev-ruby/dbd-odbc/ChangeLog
+++ b/dev-ruby/dbd-odbc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/dbd-odbc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbd-odbc/ChangeLog,v 1.4 2009/12/20 12:11:32 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbd-odbc/ChangeLog,v 1.5 2010/06/20 10:21:15 graaff Exp $
+
+*dbd-odbc-0.2.5-r1 (20 Jun 2010)
+
+ 20 Jun 2010; Hans de Graaff <graaff@gentoo.org> +dbd-odbc-0.2.5-r1.ebuild:
+ Convert to ruby-ng.
20 Dec 2009; Hans de Graaff <graaff@gentoo.org> dbd-odbc-0.2.5.ebuild:
Remove obsolete virtual/ruby dependency.
diff --git a/dev-ruby/dbd-odbc/Manifest b/dev-ruby/dbd-odbc/Manifest
index 87d1e5c25232..10bc865595ef 100644
--- a/dev-ruby/dbd-odbc/Manifest
+++ b/dev-ruby/dbd-odbc/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST dbd-odbc-0.2.5.tar.gz 51584 RMD160 92d96e2ff65eba7ac9543bde82d55ea0f057f3b2 SHA1 9259e31b9870cbf0aeb18a2aeeb707ed51ece865 SHA256 c5fe441b4b8fcaa6858dac346a25984f80941807c6a2a538e11f76a9ebe86404
+EBUILD dbd-odbc-0.2.5-r1.ebuild 1042 RMD160 f5f3d717bcad32d2ffe5363b1480e5211ec5b4b2 SHA1 5c46a49ec995bf82f2c3dbd0e3aa34744f555736 SHA256 b768fb9f7beccdce94cc3b5c8bfd27f12297a55608062aeff413f94368fa0ff4
EBUILD dbd-odbc-0.2.5.ebuild 925 RMD160 3bc4e195229270e6f1e8ddc9981076386757fc50 SHA1 7272595491b1c5d5522adc0796ddd7d299cf943b SHA256 2dc31208dcb278484acd53c9e07a9628628575b5a6f969f9d56eb3bd2a0b393a
-MISC ChangeLog 687 RMD160 d4a0a1f0793ce52ccfdbcead814e9ef354bb0d47 SHA1 b47e0a2475362d13b73305808aac2d2e92c0dfb9 SHA256 e3f0a633d3532ed29ed4a028a1421077cf3faf44e4f376fbe54e8ea21f85f41a
+MISC ChangeLog 821 RMD160 1638eaa58b634e309aa9011634ce1760bde447d6 SHA1 4863e79e428c39798d9f67c4b12a1bd9b7b25332 SHA256 3db6d5404c8d41614b06137d3c6e40441b511f9f1fec940f9649c7f6df0bbf5e
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAksuFHkACgkQeM7EJeUH71Ny2gCfajaCA+gdfYper0kZ24Uwp8BF
-XtEAn0fbyxZ2DgSV++N7GvnyN3TdhOwR
-=oXSf
+iF4EAREIAAYFAkwd66YACgkQZihJkut28SsczAD9EE3r0EacrU8v/czoY3G1oLK+
+7lIwcBdfbzjl08vmTDwBALUuElFzMrByFYlzd8Y1Cd52tpXZmlSspM1lfK0wYbaY
+=JieI
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/dbd-odbc/dbd-odbc-0.2.5-r1.ebuild b/dev-ruby/dbd-odbc/dbd-odbc-0.2.5-r1.ebuild
new file mode 100644
index 000000000000..99ff00d0c915
--- /dev/null
+++ b/dev-ruby/dbd-odbc/dbd-odbc-0.2.5-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dbd-odbc/dbd-odbc-0.2.5-r1.ebuild,v 1.1 2010/06/20 10:21:15 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="The ODBC database driver (DBD) for Ruby/DBI"
+HOMEPAGE="http://ruby-dbi.rubyforge.org"
+SRC_URI="mirror://rubyforge/ruby-dbi/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/ruby-dbi-0.4.2
+ dev-ruby/ruby-odbc"
+
+src_test() {
+ elog "The tests require additional configuration."
+ elog "You will find them in /usr/share/${PN}/test/"
+ elog "Be sure to read the file called DBD_TESTS."
+}
+
+each_ruby_configure() {
+ ${RUBY} setup.rb config --prefix=/usr || die
+}
+
+each_ruby_install() {
+ ${RUBY} setup.rb install --prefix="${D}" || die "Installation failed"
+}
+
+all_ruby_install() {
+ if use test; then
+ dodir /usr/share/${PN}
+ cp -pPR test "${D}/usr/share/${PN}" || die "couldn't copy tests"
+ fi
+}