diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-07-15 19:34:47 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-07-15 19:40:00 +0200 |
commit | c9340b244d3657706c8fdbea146a90d8efeadfd2 (patch) | |
tree | ff94fc523e2312824eefbf9dc728bb120b108b01 /dev-ruby | |
parent | sys-libs/zlib: alpha/arm/m68k/sh stable wrt bug #659416 (diff) | |
download | gentoo-c9340b244d3657706c8fdbea146a90d8efeadfd2.tar.gz gentoo-c9340b244d3657706c8fdbea146a90d8efeadfd2.tar.bz2 gentoo-c9340b244d3657706c8fdbea146a90d8efeadfd2.zip |
dev-ruby/ruby-odbc: cleanup
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-odbc/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-odbc/ruby-odbc-0.99997-r1.ebuild | 61 |
2 files changed, 0 insertions, 62 deletions
diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest index b3fd4b0da776..559be4b719fa 100644 --- a/dev-ruby/ruby-odbc/Manifest +++ b/dev-ruby/ruby-odbc/Manifest @@ -1,2 +1 @@ -DIST ruby-odbc-0.99997.tar.gz 76708 BLAKE2B d122e7f2cccd305731ba598ca684761daab288903e0f3866735b2672f20a9c6b55ed74d768bd4f79a03e0d743b4dff4704f465e58ed331ce37762ba9f7c1e871 SHA512 15ea850efa9f65467ea829c93f7dc9ecbef9409876b19d0a309d085b20e711da2888b918f77fcd26e6a40096358eab836d6bc3000c534da88f4f3c2b60a8662a DIST ruby-odbc-0.99999.tar.gz 76934 BLAKE2B 59de5a544b7eefe8e181f2c6a9a61915361743ef5f7554f778667b50ca0dc57fd0c4f71e406ad6f1d00fb2c6a6509030e61ad34dddecff61896f7bfe383d0a9b SHA512 05e3e67a895406e1a57fbea6f8ecd1c087d836794ea3245bd9eec888eb3c46fa2bf2607cc1b8fdc416d7bc531d783d621c03c9fde004db8c2e431fe838c531af diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.99997-r1.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.99997-r1.ebuild deleted file mode 100644 index c8b261c8b74c..000000000000 --- a/dev-ruby/ruby-odbc/ruby-odbc-0.99997-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -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 ppc 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 V=1 -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 -} |