summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-01-02 16:34:56 +0000
committerHans de Graaff <graaff@gentoo.org>2011-01-02 16:34:56 +0000
commit6cd9ab0204d59b060e5038e284baf4ecd8fe824b (patch)
tree462f0342c6cb619fa7f4859aa29545316ee2ee69 /dev-ruby/ruby-odbc
parentversion bump (diff)
downloadhistorical-6cd9ab0204d59b060e5038e284baf4ecd8fe824b.tar.gz
historical-6cd9ab0204d59b060e5038e284baf4ecd8fe824b.tar.bz2
historical-6cd9ab0204d59b060e5038e284baf4ecd8fe824b.zip
Version bump.
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-odbc')
-rw-r--r--dev-ruby/ruby-odbc/ChangeLog7
-rw-r--r--dev-ruby/ruby-odbc/Manifest10
-rw-r--r--dev-ruby/ruby-odbc/ruby-odbc-0.99993.ebuild64
3 files changed, 76 insertions, 5 deletions
diff --git a/dev-ruby/ruby-odbc/ChangeLog b/dev-ruby/ruby-odbc/ChangeLog
index 945027d552a6..a924260d6710 100644
--- a/dev-ruby/ruby-odbc/ChangeLog
+++ b/dev-ruby/ruby-odbc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/ruby-odbc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog,v 1.26 2011/01/02 16:27:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog,v 1.27 2011/01/02 16:34:56 graaff Exp $
+
+*ruby-odbc-0.99993 (02 Jan 2011)
+
+ 02 Jan 2011; Hans de Graaff <graaff@gentoo.org> +ruby-odbc-0.99993.ebuild:
+ Version bump.
02 Jan 2011; Hans de Graaff <graaff@gentoo.org> -ruby-odbc-0.9995.ebuild:
Remove old version.
diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest
index beb6ef5c3dd1..cda6a5672406 100644
--- a/dev-ruby/ruby-odbc/Manifest
+++ b/dev-ruby/ruby-odbc/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST ruby-odbc-0.99991.tar.gz 69908 RMD160 99d768e8e3c78279eda67e1d4f158f03200d513b SHA1 6aa3cc454d16a0666b1721600f7864bd873b83c9 SHA256 f4e0b215af6cec4c98f5b9cc75ebb2d952417a79c93db9f1a7e4b3efb6f8cfa7
DIST ruby-odbc-0.99992.tar.gz 72676 RMD160 dadb92f441ad731ad47f81c60096f0237dd73e89 SHA1 15bbd81f5108d62e79e6e2c23ac0640280bbef02 SHA256 38cb486689494bf82e3b8366e2e88bc8d3854150953284df949d68fe7485c9dd
+DIST ruby-odbc-0.99993.tar.gz 72736 RMD160 dd6eedc2468f19ae2a40b4b44d3ccfa3cd731e46 SHA1 d71500d5d7130d226f89e78bc2d1041fd8096f45 SHA256 99f7e061db2bfd27e8bb8f7e2b415250ad96ed2c15e1fcc3f61fb8b6ebc630f6
EBUILD ruby-odbc-0.99991-r1.ebuild 1617 RMD160 96f3efc052646f03abdb775409206528c87c8a6a SHA1 d9ddc6cbe8550bb5a5858e7b72add02ffc3c6429 SHA256 0bb9b360d358437664d4f6e9534a2acc8170d5db6c6cfafa678c33a7dc5c7d7a
EBUILD ruby-odbc-0.99992.ebuild 1616 RMD160 aad5cc72466740f7ec4703a3294e325edeecb686 SHA1 e3bb9cb5cc18be79b343f3c1fe1ac72d319fc99b SHA256 a877191faec9faeea52c455afdadfa060ae11e14a48356523f9d174eab6a282a
-MISC ChangeLog 3587 RMD160 d77d9c2ccc801628e0887b1152ed9973cc5218d2 SHA1 902a19b072433d5a392787e43357e394981d1a0f SHA256 9b37a058643b0e8ffc55a307b906a74b8a3a02c7aa3e9c7bea516bd5ce49077a
+EBUILD ruby-odbc-0.99993.ebuild 1616 RMD160 8df8092b1679ff3e6ecb578992f826fb780ccb80 SHA1 61c6b745cf821651554efa40b2a2af4e132c3fe8 SHA256 4972dec9c65e19de15e4d2205625f1b470efac123f00e3c666921dbdad53f2dd
+MISC ChangeLog 3715 RMD160 59f49ee7f05a79a83d41a7fa7251c70dc88c4e9b SHA1 342e09258027bb5197be36488524c33ea873289c SHA256 168f073e974d22b3041660a3aeb7a4ba8ffe40d1ed655031eebf287b3af0174c
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iF4EAREIAAYFAk0gp4YACgkQrnu0mw69JkpBgAEAjBH8E12c1wr2zjPKvyWwbqQt
-qYoDCJLQfL5E1qSP+50A/j0IxTB5q8wg+tcSg0hSXlWhVpwc0UNxYOsxukjbd5np
-=4PgD
+iF4EAREIAAYFAk0gqTYACgkQrnu0mw69JkoYAwEAjuGpA7g98isa8T1Khn5HMOKE
+KSWhP/11WreK6Rd0+9YA/iw0tu7thGBNWv7uOaQl6ek60GczevAE0rDukfE3MDKh
+=5CrH
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.99993.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.99993.ebuild
new file mode 100644
index 000000000000..2066e56b534c
--- /dev/null
+++ b/dev-ruby/ruby-odbc/ruby-odbc-0.99993.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.99993.ebuild,v 1.1 2011/01/02 16:34:56 graaff Exp $
+
+EAPI=2
+
+# ruby19 → fails to build
+# jruby → uses C extensions
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README ChangeLog"
+
+inherit ruby-fakegem
+
+DESCRIPTION="RubyODBC - For accessing ODBC data sources from the Ruby language"
+HOMEPAGE="http://www.ch-werner.de/rubyodbc/"
+SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-db/unixODBC-2.0.6"
+RDEPEND="${DEPEND}"
+
+# tests require to have an ODBC service enabled, so we can't run them
+# for now :(
+RESTRICT=test
+
+all_ruby_prepare() {
+ # Make sure that it doesn't try to use the absolute-local path for
+ # the extension as we'd be unable to run it properly otherwise.
+ sed -i -e 's:\./odbc:odbc:' test/{,utf8/}test.rb || die
+
+ # Since lib should not get installed avoid it entirely…
+ mv lib contrib || die
+}
+
+each_ruby_configure() {
+ for dir in ext ext/utf8; do
+ ${RUBY} -C${dir} extconf.rb --disable-dlopen || die "extconf (${dir}) failed"
+ done
+}
+
+each_ruby_compile() {
+ for dir in ext ext/utf8; do
+ emake -C${dir} || die "emake (${dir}) failed"
+ done
+}
+
+each_ruby_install() {
+ each_fakegem_install
+
+ ruby_fakegem_newins ext/odbc.so lib/odbc.so
+ ruby_fakegem_newins ext/utf8/odbc_utf8.so lib/odbc_utf8.so
+}
+
+all_ruby_install() {
+ all_fakegem_install
+ dohtml doc/*.html || die
+}