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 66288158091 for ; Sat, 18 Jun 2022 08:41:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62D4BE08CE; Sat, 18 Jun 2022 08:40:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 45EBBE08CE for ; Sat, 18 Jun 2022 08:40:59 +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 14F2434187A for ; Sat, 18 Jun 2022 08:40:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 059CD50C for ; Sat, 18 Jun 2022 08:40:55 +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: <1655541647.1269bab5e80ace5847edccd1f55aa40e3be5a590.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/blinkstick/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/blinkstick/blinkstick-1.0.1_p20150901-r1.ebuild X-VCS-Directories: dev-ruby/blinkstick/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1269bab5e80ace5847edccd1f55aa40e3be5a590 X-VCS-Branch: master Date: Sat, 18 Jun 2022 08:40:55 +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: f3c4a82d-9403-494a-a588-c1ff08daed79 X-Archives-Hash: df694c96b2a3fae2aa9751882e0ca0b3 commit: 1269bab5e80ace5847edccd1f55aa40e3be5a590 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jun 18 07:27:24 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jun 18 08:40:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1269bab5 dev-ruby/blinkstick: update EAPI 6 -> 8 Signed-off-by: Hans de Graaff gentoo.org> .../blinkstick-1.0.1_p20150901-r1.ebuild | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901-r1.ebuild b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901-r1.ebuild new file mode 100644 index 000000000000..784b2808fab9 --- /dev/null +++ b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +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" +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" + +ruby_add_rdepend " + >=dev-ruby/color-1.4.2 + >=dev-ruby/libusb-0.4.0 +" + +all_ruby_install() { + if use examples; then + insinto /usr/share/${PN} + doins example-*.rb + fi + all_fakegem_install +} + +each_ruby_install() { + mkdir -p lib/${PN} + mv ${PN}.rb lib + cat <> lib/${PN}/version.rb +class BlinkStick + VERSION = "1.0.1.1" +end + +EOF + each_fakegem_install +}