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 78B06158094 for ; Tue, 26 Jul 2022 06:50:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5ED0E0E91; Tue, 26 Jul 2022 06:50:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F7D3E0E91 for ; Tue, 26 Jul 2022 06:50:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1A84340FC1 for ; Tue, 26 Jul 2022 06:50:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18D87510 for ; Tue, 26 Jul 2022 06:50:34 +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: <1658818218.b5be68281e76b21391feb3469b8a05e64fbbb558.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gettext_i18n_rails/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.1-r1.ebuild X-VCS-Directories: dev-ruby/gettext_i18n_rails/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b5be68281e76b21391feb3469b8a05e64fbbb558 X-VCS-Branch: master Date: Tue, 26 Jul 2022 06:50:34 +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: 7e113aa0-49d9-48df-b874-6b9225acb90a X-Archives-Hash: 36918dc90cbb8369786fe9cbc73d418c commit: b5be68281e76b21391feb3469b8a05e64fbbb558 Author: Hans de Graaff gentoo org> AuthorDate: Tue Jul 26 06:50:11 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Jul 26 06:50:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5be6828 dev-ruby/gettext_i18n_rails: EAPI 7 -> 8, add ruby30 Signed-off-by: Hans de Graaff gentoo.org> .../gettext_i18n_rails-1.8.1-r1.ebuild | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.1-r1.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.1-r1.ebuild new file mode 100644 index 000000000000..ac9b5a278191 --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.8.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="gettext_i18n_rails.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="FastGettext / Rails integration" +HOMEPAGE="https://github.com/grosser/gettext_i18n_rails" +SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rails:6.0 dev-ruby/activerecord:6.0[sqlite] dev-ruby/temple )" +ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0:*" + +all_ruby_prepare() { + rm Gemfile Gemfile.lock || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove specs for slim and hamlet, template engines we don't package. + rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/haml_parser_spec.rb || die + + # Test against Rails 4.2.0 + sed -e '1igem "rails", "~>6.0.0"' -i spec/spec_helper.rb || die +}