From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/libusb/
Date: Fri, 25 Oct 2024 06:31:27 +0000 (UTC) [thread overview]
Message-ID: <1729837873.dbdfca1b6195690ee365042645d2fb267acd077e.graaff@gentoo> (raw)
commit: dbdfca1b6195690ee365042645d2fb267acd077e
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 25 06:27:40 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Oct 25 06:31:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdfca1b
dev-ruby/libusb: add 0.7.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/libusb/Manifest | 1 +
dev-ruby/libusb/libusb-0.7.2.ebuild | 47 +++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-ruby/libusb/Manifest b/dev-ruby/libusb/Manifest
index bb34cbccd709..e58e6a223d9a 100644
--- a/dev-ruby/libusb/Manifest
+++ b/dev-ruby/libusb/Manifest
@@ -1,3 +1,4 @@
DIST libusb-0.6.4.gem 762368 BLAKE2B daca8049b82cb56fb8cac350f6953ce292c74370bf468497773b34b6017eef9c0252daf2a0213e660db99120a53193ea67943bb1d851ae1ee723ea84dbe289e0 SHA512 433425f9cc2600615a3e4baec962ff0901e9c0eae7a77c410d099f22742995b23bf9c143797b393843b3de26b8336263cd5b3d3d1cdcd8f91266d90201a6a6de
DIST libusb-0.7.0.gem 819712 BLAKE2B a8d85731b3cff2a5ddf9391a01c54250f11b9933e7ea429031cf8879e22ee79c8c3c8669735b73b7e32ca56c77245588511df1d486a17da67215af2d052082aa SHA512 cd17e40b34bf5015e43435f8f510ce63bc2434c77680dcc8079f123ec4bb12b22b92ae59a7c8646747e5be7f6d14bf3f3a1302549e686ab3735966987311481a
DIST libusb-0.7.1.gem 815104 BLAKE2B c72bac1f43b9cc70e9d6e2c6e48b9e4fc95f62117d26e0925f5bc5d49fca88f6610254dd0c5ed11368397e2149706f78f9919c26f01c23fa84b97fc07edcd14d SHA512 eed881ea9658911aba93dfd5c72d74ad7e9fc333d890dff872ec5ee3e8262ccbdf0e19f8f4c918d6b67438a72cde51397c652d2b9215dce4f0725cd5c8031ff6
+DIST libusb-0.7.2.gem 815104 BLAKE2B d9fa4a8d78c7cab0f386e3624a515b2b6011edcaf1ec18b522d3695fe2a94ef684f0f0bbe609b0a1f2fa6a09999e4064195b7859776018df19a31f5ae4ebc53f SHA512 e1e70bf4cc98cc9e0fda6e98d1e8cf567be2c62e2110e10fd6ac08250e00d6808089da134d0af649ff31bafdb2826076a7aa866cec380776c3c2accbf7260b1e
diff --git a/dev-ruby/libusb/libusb-0.7.2.ebuild b/dev-ruby/libusb/libusb-0.7.2.ebuild
new file mode 100644
index 000000000000..f14719a8f8ba
--- /dev/null
+++ b/dev-ruby/libusb/libusb-0.7.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="binding that gives Ruby programmers access to arbitrary USB devices"
+HOMEPAGE="https://github.com/larskanis/libusb"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=dev-libs/libusb-1.0.27:1"
+RDEPEND="${DEPEND}"
+
+ruby_add_rdepend "dev-ruby/ffi:0"
+ruby_add_bdepend "test? ( dev-ruby/eventmachine )"
+
+all_ruby_prepare() {
+ sed -e '/mini_portile2/d' \
+ -e 's/git ls-files --/find/' \
+ -e 's/git ls-files/find */' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid tests that try to open devices or depend on specific hardware
+ rm -f test/test_libusb_{bos,bulk_stream_transfer,descriptors}.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I.:lib -e "Dir['test/test_*.rb'].each{|f| require f}" || die
+}
+
+each_ruby_install() {
+ each_fakegem_install
+
+ # This gem includes an extension that does not actually do anything
+ # when using the system libusb, but newer rubygems versions still
+ # require the marker to be present.
+ ruby_fakegem_extensions_installed
+}
next reply other threads:[~2024-10-25 6:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 6:31 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-18 10:26 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/libusb/ Hans de Graaff
2024-10-25 6:31 Hans de Graaff
2024-04-22 5:55 Hans de Graaff
2024-04-19 6:31 Hans de Graaff
2024-03-04 18:33 Rick Farina
2023-08-29 17:19 Hans de Graaff
2023-08-29 17:19 Hans de Graaff
2023-03-18 7:17 Hans de Graaff
2023-03-12 12:09 Hans de Graaff
2022-07-20 6:01 Hans de Graaff
2022-06-18 8:40 Hans de Graaff
2019-04-19 5:46 Hans de Graaff
2019-04-18 20:40 Rick Farina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1729837873.dbdfca1b6195690ee365042645d2fb267acd077e.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox