diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-04-20 09:46:12 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-04-20 09:47:11 +0200 |
commit | 3cfa1bc999b32955e3b64dfffb084cf01c011b95 (patch) | |
tree | 76ae91f9f36f8588046538d38f1f74fcab9d20a7 /dev-ruby | |
parent | www-servers/adsf: add 1.5.0 (diff) | |
download | gentoo-3cfa1bc999b32955e3b64dfffb084cf01c011b95.tar.gz gentoo-3cfa1bc999b32955e3b64dfffb084cf01c011b95.tar.bz2 gentoo-3cfa1bc999b32955e3b64dfffb084cf01c011b95.zip |
dev-ruby/ruby-odbc: add 0.999992
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-odbc/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-odbc/ruby-odbc-0.999992.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest index 3c3051d5f12e..68c562527d41 100644 --- a/dev-ruby/ruby-odbc/Manifest +++ b/dev-ruby/ruby-odbc/Manifest @@ -1 +1,2 @@ DIST ruby-odbc-0.999991.tar.gz 77110 BLAKE2B dd32698811f14e05f1190ffd73b390fa02924a1dd936db0b2b3c6ac9d8d8663f5d400ff89e03591081b45d558378a76701cf6b8be8502297a141c271dde3c24b SHA512 3f1e2e75e31f10f47392cda1cd28aa54451a499c3bd6e9224466a7b338406835a5d453600e79a3bac040197397c31d9f744567969058969685d6f4e06e72addb +DIST ruby-odbc-0.999992.tar.gz 77614 BLAKE2B 5103a656ab43740682532bfac453e1d98ed50b39bdcb5ebc374498da47d379aa6e808073decdbbf1029c6a8b7ee87f862b790b6b12658b05f66d13699fcfe6fb SHA512 b4eee475ad93d112d51ef7955dc2df60b035e87338d991bc069e59d77918ab08a7e96069d975be156e57d401fea4b2ee57486dc7caf83f9dfac9fe49f935607b diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.999992.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.999992.ebuild new file mode 100644 index 000000000000..93bc4436c676 --- /dev/null +++ b/dev-ruby/ruby-odbc/ruby-odbc-0.999992.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README ChangeLog" + +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb ext/utf8/extconf.rb) + +RUBY_FAKEGEM_GEMSPEC="ruby-odbc.gemspec" + +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-BSD )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" + +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 +} + +all_ruby_install() { + all_fakegem_install + dodoc doc/*.html +} |