diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-19 03:05:46 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-19 03:05:46 -0500 |
| commit | 2b878031702361370da8f648ac080b3fe38f34d3 (patch) | |
| tree | b589026a2cdd86f9f0d7478fc94d4631076ef26c /dev-ruby/libusb | |
| parent | 08bfa3f8ec685ab603d0c1995d79d00a1a0fbe1a (diff) | |
| download | baldeagleos-repo-2b878031702361370da8f648ac080b3fe38f34d3.tar.gz baldeagleos-repo-2b878031702361370da8f648ac080b3fe38f34d3.tar.xz baldeagleos-repo-2b878031702361370da8f648ac080b3fe38f34d3.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/libusb')
| -rw-r--r-- | dev-ruby/libusb/libusb-0.7.2.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-ruby/libusb/libusb-0.7.2.ebuild b/dev-ruby/libusb/libusb-0.7.2.ebuild index f14719a8f8ba..a8d507215654 100644 --- a/dev-ruby/libusb/libusb-0.7.2.ebuild +++ b/dev-ruby/libusb/libusb-0.7.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31 ruby32" +USE_RUBY="ruby32 ruby33 ruby34 ruby40" RUBY_FAKEGEM_EXTRADOC="History.md README.md" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" @@ -28,13 +28,13 @@ all_ruby_prepare() { -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 + # https://github.com/larskanis/libusb/tree/master#testing-libusb-gem + # See ci task in the rakefile + ${RUBY} -I.:lib -e "Dir['test/test_libusb(_structs)?.rb'].each{|f| require f}" -- --verbose || die + } each_ruby_install() { |
