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 A401715808B for ; Sat, 2 Apr 2022 08:58:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54F74E08A8; Sat, 2 Apr 2022 08:57:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2E575E089A for ; Sat, 2 Apr 2022 08:57:58 +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 59BFE34179A for ; Sat, 2 Apr 2022 08:57:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04C85392 for ; Sat, 2 Apr 2022 08:57:54 +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: <1648889867.1a8ddf427823a4f05080492280b68076ec240143.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/memo_wise/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/memo_wise/Manifest dev-ruby/memo_wise/memo_wise-1.6.0.ebuild dev-ruby/memo_wise/metadata.xml X-VCS-Directories: dev-ruby/memo_wise/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1a8ddf427823a4f05080492280b68076ec240143 X-VCS-Branch: master Date: Sat, 2 Apr 2022 08:57:54 +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: c085be2b-1488-4383-9204-24f096127021 X-Archives-Hash: 02121437bdb066e2c69378bb7da80d89 commit: 1a8ddf427823a4f05080492280b68076ec240143 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 2 08:52:55 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 2 08:57:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a8ddf42 dev-ruby/memo_wise: initial import of 1.6.0 New dependency for www-apps/nanoc. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/memo_wise/Manifest | 1 + dev-ruby/memo_wise/memo_wise-1.6.0.ebuild | 35 +++++++++++++++++++++++++++++++ dev-ruby/memo_wise/metadata.xml | 11 ++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-ruby/memo_wise/Manifest b/dev-ruby/memo_wise/Manifest new file mode 100644 index 000000000000..dfe88f6b6ca9 --- /dev/null +++ b/dev-ruby/memo_wise/Manifest @@ -0,0 +1 @@ +DIST memo_wise-1.6.0.tar.gz 184843 BLAKE2B 84b9cd5a2f757dc82cfb38359b39d26d60018fabc425c018b5537e61a5620dcdf0caf2863a8165fdf5f7ed5bc85400cae43b6ebbb3911ab7ce47160d7295240e SHA512 8a8a3a3a6c3a7dd9e518efed3b990917ad266e42266d30c80dbed90b279ad793ec795c080a1d080c7a23e2caec7e31e55388df802795ac1e5f7fb5e3ced93c03 diff --git a/dev-ruby/memo_wise/memo_wise-1.6.0.ebuild b/dev-ruby/memo_wise/memo_wise-1.6.0.ebuild new file mode 100644 index 000000000000..90f908079563 --- /dev/null +++ b/dev-ruby/memo_wise/memo_wise-1.6.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="memo_wise.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="The wise choice for Ruby memoization" +HOMEPAGE="https://github.com/panorama-ed/memo_wise" +SRC_URI="https://github.com/panorama-ed/memo_wise/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + + # Avoid specs for an unmaintained package with old dependencies that is optional. + sed -e '/require.*values/ s:^:#:' \ + -e '/when the class is a Value class/,/^ end/ s:^:#:' \ + -i spec/memo_wise_spec.rb || die + + sed -e 's:_relative ": "./:' \ + -e 's/__dir__/"."/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/memo_wise/metadata.xml b/dev-ruby/memo_wise/metadata.xml new file mode 100644 index 000000000000..81df83f8cd67 --- /dev/null +++ b/dev-ruby/memo_wise/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + panorama-ed/memo_wise + +