summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-04-19 07:45:03 +0200
committerHans de Graaff <graaff@gentoo.org>2019-04-19 07:45:03 +0200
commit6175bb45866337281039f71c1e96afcdfb4ccdd7 (patch)
treefba1c9ba8c21050579e7d14d6eb021ff7eee18b8 /dev-ruby
parentdev-ruby/libusb: fix many issues (diff)
downloadgentoo-6175bb45866337281039f71c1e96afcdfb4ccdd7.tar.gz
gentoo-6175bb45866337281039f71c1e96afcdfb4ccdd7.tar.bz2
gentoo-6175bb45866337281039f71c1e96afcdfb4ccdd7.zip
dev-ruby/blinkstick: fix test and doc failures
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild
index 7a072b1d004d..c31e21734f2a 100644
--- a/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild
+++ b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild
@@ -4,28 +4,32 @@
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
RUBY_FAKEGEM_VERSION="1.0.1.1"
+COMMIT="89e3f621132c2571d5f7c636b3962ff1b0a64564"
+
inherit ruby-fakegem
DESCRIPTION="ruby interface for blinkstick via libusb"
HOMEPAGE="https://github.com/arvydas/blinkstick-ruby"
-COMMIT="89e3f621132c2571d5f7c636b3962ff1b0a64564"
-SRC_URI="https://github.com/arvydas/blinkstick-ruby/archive/89e3f621132c2571d5f7c636b3962ff1b0a64564.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/arvydas/blinkstick-ruby/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+RUBY_S="${PN}-ruby-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-PDEPEND="dev-ruby/color
- virtual/libusb"
+ruby_add_rdepend "
+ >=dev-ruby/color-1.4.2
+ >=dev-ruby/libusb-0.4.0
+"
all_ruby_install() {
- cd ${PN}-ruby-${COMMIT} || die
if use examples; then
insinto /usr/share/${PN}
doins example-*.rb
@@ -34,7 +38,6 @@ all_ruby_install() {
}
each_ruby_install() {
- cd ${PN}-ruby-${COMMIT} || die
mkdir -p lib/${PN}
mv ${PN}.rb lib
cat <<EOF >> lib/${PN}/version.rb