From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF167158043 for ; Sat, 20 Apr 2024 07:47:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95F87E2A05; Sat, 20 Apr 2024 07:47:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FF18E2A05 for ; Sat, 20 Apr 2024 07:47:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFAEA3433C9 for ; Sat, 20 Apr 2024 07:47:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5375E1744 for ; Sat, 20 Apr 2024 07:47:23 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1713599231.3cfa1bc999b32955e3b64dfffb084cf01c011b95.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-odbc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-odbc/Manifest dev-ruby/ruby-odbc/ruby-odbc-0.999992.ebuild X-VCS-Directories: dev-ruby/ruby-odbc/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3cfa1bc999b32955e3b64dfffb084cf01c011b95 X-VCS-Branch: master Date: Sat, 20 Apr 2024 07:47:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8a12bdd3-adb4-45de-9644-9596f76204ed X-Archives-Hash: 5036f99085c53a534647c94752256feb commit: 3cfa1bc999b32955e3b64dfffb084cf01c011b95 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 20 07:46:12 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 20 07:47:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cfa1bc9 dev-ruby/ruby-odbc: add 0.999992 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ruby-odbc/Manifest | 1 + dev-ruby/ruby-odbc/ruby-odbc-0.999992.ebuild | 46 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) 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 +}