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 D7FF6159C96 for ; Tue, 30 Jul 2024 05:26:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E6DCE2A9C; Tue, 30 Jul 2024 05:26:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 049CFE2A99 for ; Tue, 30 Jul 2024 05:26:33 +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 6A91033BDFF for ; Tue, 30 Jul 2024 05:26:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E87991D87 for ; Tue, 30 Jul 2024 05:26:26 +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: <1722317173.338cf0075e790222a8b85a4e2155548503fb0b5a.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/Manifest dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild X-VCS-Directories: dev-ruby/gettext_i18n_rails/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 338cf0075e790222a8b85a4e2155548503fb0b5a X-VCS-Branch: master Date: Tue, 30 Jul 2024 05:26:26 +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: 1c12aad6-ffb2-4900-90bd-6d4777b1b082 X-Archives-Hash: bb288e89074d7f5664c41e2d6091d080 commit: 338cf0075e790222a8b85a4e2155548503fb0b5a Author: Hans de Graaff gentoo org> AuthorDate: Tue Jul 30 05:23:12 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Jul 30 05:26:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=338cf007 dev-ruby/gettext_i18n_rails: add 1.13.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/gettext_i18n_rails/Manifest | 1 + .../gettext_i18n_rails-1.13.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest index a90cabf7b5fe..f72f705ef114 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1 +1,2 @@ DIST gettext_i18n_rails-1.12.0.tar.gz 21003 BLAKE2B 7bd7d290296ebc789fed23cb8c278a734273f5cae1e6958b29d825a1a088a845483d838e59148154c17e3dd25ba7696ed6b88e395d04057315b3953c716c293c SHA512 2934bb458df164881d3d8dbad44d98b34a6f4346331084dc03e47c0db79e2b4378b6f22d31686c6f4800805691ad95af9eac9773f7cb3b8abba2b665d3078670 +DIST gettext_i18n_rails-1.13.0.tar.gz 21147 BLAKE2B 43ba0e408a274283280634a775bddef0bdc4b203e683db3f926c02fed24b413b052dddf08876f81b0b7976b934b1f8845c5278f9c9d10da8013f9062da68ac2f SHA512 58ae4b12ee75e7892d451fedd89375393341e258cf3a859534998dc2582eb6ed6eaeb579e001325e775e639caddc52f9e71ed7f5b7023dce4cdbbfa8f653f3eb diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild new file mode 100644 index 000000000000..3313f5a05ccd --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.13.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +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="test" + +ruby_add_bdepend "test? ( + dev-ruby/rails:7.1 + dev-ruby/activerecord:7.1[sqlite] + dev-ruby/temple + dev-ruby/ruby-gettext + dev-ruby/haml + dev-ruby/slim +)" + +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 specific Rails version + sed -e '1igem "rails", "~>7.0.0"' -i spec/spec_helper.rb || die +}