diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
commit | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch) | |
tree | 8d58c1f4b049da677b33209b072f2b3057268fe0 /dev-ruby/ruby-odbc | |
parent | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff) |
gentoo resync : 02.03.2018
Diffstat (limited to 'dev-ruby/ruby-odbc')
-rw-r--r-- | dev-ruby/ruby-odbc/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest index b8c2b3e97987..6fcbb8f0deeb 100644 --- a/dev-ruby/ruby-odbc/Manifest +++ b/dev-ruby/ruby-odbc/Manifest @@ -1,5 +1,7 @@ DIST ruby-odbc-0.99997.tar.gz 76708 BLAKE2B d122e7f2cccd305731ba598ca684761daab288903e0f3866735b2672f20a9c6b55ed74d768bd4f79a03e0d743b4dff4704f465e58ed331ce37762ba9f7c1e871 SHA512 15ea850efa9f65467ea829c93f7dc9ecbef9409876b19d0a309d085b20e711da2888b918f77fcd26e6a40096358eab836d6bc3000c534da88f4f3c2b60a8662a DIST ruby-odbc-0.99998.tar.gz 76810 BLAKE2B 97422dcd52bafad196fe9ccc7005c1ceae31649231fb62ccb00e45ccecbf46e9c679ff4ef905364b1fa05062aba9054d8c1b89025323b220a0c9893c22fd5fd0 SHA512 c983ca10cd21255d2a927deaac9c4689251f1149cc3c5b0b2a5578d5abdf2eb030a0bd726761eeb07abfb470e611316239de899d4739f4a380a598f4e0881f57 +DIST ruby-odbc-0.99999.tar.gz 76934 BLAKE2B 59de5a544b7eefe8e181f2c6a9a61915361743ef5f7554f778667b50ca0dc57fd0c4f71e406ad6f1d00fb2c6a6509030e61ad34dddecff61896f7bfe383d0a9b SHA512 05e3e67a895406e1a57fbea6f8ecd1c087d836794ea3245bd9eec888eb3c46fa2bf2607cc1b8fdc416d7bc531d783d621c03c9fde004db8c2e431fe838c531af EBUILD ruby-odbc-0.99997-r1.ebuild 1484 BLAKE2B 18d2e05bd4cc0eb7ad034edcf24439d35d08963e43f1c77869ae80adfa27485859dd48184e7d69fb58280263b101f133eaaee19d7f362f335da4931b9c8d2771 SHA512 7a36ff449684777faa4bd5ae3aee430f49c7c24619e494220a3c8c456bf01f9be3a35b9e74cb123acb1c5c615078aacd3bb1632e48870026f743d53229e9d568 EBUILD ruby-odbc-0.99998.ebuild 1487 BLAKE2B ce0ed60d8ac931ea607c18dcd11219a407ea07e054049f9ab31c1ab75ccaf81c36b65f58f0d465bae22fcb840f1290057a622864e5cec77a1cd4d312fb19d28d SHA512 eca1f40cea78aa25a115073211f447cce5c3bb51145e6354679559d3a205d298c4ba230348258b1e56400a04978bcd5525a52cf6d52d31e647f05dbed260de84 +EBUILD ruby-odbc-0.99999.ebuild 1487 BLAKE2B 43317bed28ec3aeaa499b3cec92ef34ec3924925e56a489a84d9b8ce289f7a7cadbe62f7e493e1a1dcf70baf9d0d0d86695f9b28176f73cc1119011d13acd78f SHA512 a0f5727ff0056b9adeabf4431d6854df1ea052f021a43295f6e72ce14d49218be65c8470e85db3acac8b7e01580424de57099fc94b437771bbbcfafa74f3655b MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild new file mode 100644 index 000000000000..85f714bda62e --- /dev/null +++ b/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +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 +} |