diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-01-15 10:15:16 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-01-15 10:15:16 +0000 |
commit | 2a0119ca20dfe9a258d2ad57e9a0e2363d16f7b8 (patch) | |
tree | 95becc53bbb2796314382adb1d756258f589b17c /dev-ruby/ruby-odbc | |
parent | New pretest version. (diff) | |
download | historical-2a0119ca20dfe9a258d2ad57e9a0e2363d16f7b8.tar.gz historical-2a0119ca20dfe9a258d2ad57e9a0e2363d16f7b8.tar.bz2 historical-2a0119ca20dfe9a258d2ad57e9a0e2363d16f7b8.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/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/ruby-odbc/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/ruby-odbc/ruby-odbc-0.99994.ebuild | 64 |
3 files changed, 76 insertions, 5 deletions
diff --git a/dev-ruby/ruby-odbc/ChangeLog b/dev-ruby/ruby-odbc/ChangeLog index a924260d6710..78d975f50eb5 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.27 2011/01/02 16:34:56 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ChangeLog,v 1.28 2011/01/15 10:15:16 graaff Exp $ + +*ruby-odbc-0.99994 (15 Jan 2011) + + 15 Jan 2011; Hans de Graaff <graaff@gentoo.org> +ruby-odbc-0.99994.ebuild: + Version bump. *ruby-odbc-0.99993 (02 Jan 2011) diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest index cda6a5672406..dae5546c74c8 100644 --- a/dev-ruby/ruby-odbc/Manifest +++ b/dev-ruby/ruby-odbc/Manifest @@ -4,15 +4,17 @@ 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 +DIST ruby-odbc-0.99994.tar.gz 72906 RMD160 63587cc5e0528f0aecb1cd51f726276e5b982fd1 SHA1 ab6e1dffce112e552fdcdf44868fdf09a79904ac SHA256 68dbd1a2e54bbb5f149a5b401f202144efa99ace7c346a271061447825192145 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 EBUILD ruby-odbc-0.99993.ebuild 1616 RMD160 8df8092b1679ff3e6ecb578992f826fb780ccb80 SHA1 61c6b745cf821651554efa40b2a2af4e132c3fe8 SHA256 4972dec9c65e19de15e4d2205625f1b470efac123f00e3c666921dbdad53f2dd -MISC ChangeLog 3715 RMD160 59f49ee7f05a79a83d41a7fa7251c70dc88c4e9b SHA1 342e09258027bb5197be36488524c33ea873289c SHA256 168f073e974d22b3041660a3aeb7a4ba8ffe40d1ed655031eebf287b3af0174c +EBUILD ruby-odbc-0.99994.ebuild 1651 RMD160 dc8cea8394a8c55ac9d75da128753edf9a77760e SHA1 416494ae07a365fe132efcf3c44fb5a29a6ef878 SHA256 33a5b74ab128005cda3676216a5c7c697cc9b6dffc35be1319926d6b4d26d84c +MISC ChangeLog 3843 RMD160 cbd6dac95680c9eda50d23b29580fbf8ce600a21 SHA1 3515046b083a267010da592b8552b2eaeda3fa57 SHA256 68b6e5571dbd26eb86d793369ddc6f7781749edcf6c726ebc981c564482fc2b4 MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) -iF4EAREIAAYFAk0gqTYACgkQrnu0mw69JkoYAwEAjuGpA7g98isa8T1Khn5HMOKE -KSWhP/11WreK6Rd0+9YA/iw0tu7thGBNWv7uOaQl6ek60GczevAE0rDukfE3MDKh -=5CrH +iF4EAREIAAYFAk0xc7kACgkQrnu0mw69JkriFgD/WJ1lcXn9UWyUmTPVOXUfnlUu +wOCcN/OkHd6FOCi1FfwA/1B9WhsEtLsGCfiWE2FiMGMA4noGhqcZMqIpa4yWU4X+ +=mfmC -----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.99994.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.99994.ebuild new file mode 100644 index 000000000000..c5922b338131 --- /dev/null +++ b/dev-ruby/ruby-odbc/ruby-odbc-0.99994.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.99994.ebuild,v 1.1 2011/01/15 10:15:16 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="${DEPEND} >=dev-db/unixODBC-2.0.6" +RDEPEND="${RDEPEND} >=dev-db/unixODBC-2.0.6" + +# 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 +} |