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, 19 Apr 2019 05:46:21 +0000 (UTC) [thread overview]
Message-ID: <1555652236.23da239ba9212fa487136291377c784fe2eae7aa.graaff@gentoo> (raw)
commit: 23da239ba9212fa487136291377c784fe2eae7aa
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 19 05:37:16 2019 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 05:37:16 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23da239b
dev-ruby/libusb: fix many issues
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-ruby/libusb/libusb-0.6.4.ebuild | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/dev-ruby/libusb/libusb-0.6.4.ebuild b/dev-ruby/libusb/libusb-0.6.4.ebuild
index 9d94b56b38a..92f4a629ea7 100644
--- a/dev-ruby/libusb/libusb-0.6.4.ebuild
+++ b/dev-ruby/libusb/libusb-0.6.4.ebuild
@@ -4,6 +4,10 @@
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
@@ -16,15 +20,18 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-PDEPEND="virtual/ruby-ffi
- virtual/libusb"
+DEPEND+="virtual/libusb:1"
+RDEPEND+="${DEPEND}"
+
+ruby_add_rdepend "dev-ruby/ffi:0"
all_ruby_prepare() {
sed -i '/mini_portile2/d' ${PN}.gemspec || die
- sed -i '/mini_portile2/d' lib/libusb/libusb_recipe.rb || die
- sed -i '/mini_portile2/d' lib/libusb/gem_helper.rb || die
- sed -i '/mini_portile2/d' lib/libusb/dependencies.rb || die
+
+ # Avoid tests that try to open devices
+ rm -f test/test_libusb_bos.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I.:lib -e "Dir['test/test_*.rb'].each{|f| require f}" || die
}
next reply other threads:[~2019-04-20 23:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-19 5:46 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-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-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=1555652236.23da239ba9212fa487136291377c784fe2eae7aa.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