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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50CEC158046 for ; Tue, 15 Oct 2024 05:48:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EFE0E07E6; Tue, 15 Oct 2024 05:48:44 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68B3DE07E6 for ; Tue, 15 Oct 2024 05:48:44 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A008F343028 for ; Tue, 15 Oct 2024 05:48:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A551AE7 for ; Tue, 15 Oct 2024 05:48:42 +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: <1728971045.e64d02b65940a5ac590c4ffccfe37b2ae5b604bc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/acts_as_list/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/acts_as_list/Manifest dev-ruby/acts_as_list/acts_as_list-1.2.3.ebuild X-VCS-Directories: dev-ruby/acts_as_list/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e64d02b65940a5ac590c4ffccfe37b2ae5b604bc X-VCS-Branch: master Date: Tue, 15 Oct 2024 05:48:42 +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: d26af305-8ba5-4d7a-ae6c-e2bd3af6053b X-Archives-Hash: 96a8660d3b1bbe5d698a041b646b1424 commit: e64d02b65940a5ac590c4ffccfe37b2ae5b604bc Author: Hans de Graaff gentoo org> AuthorDate: Tue Oct 15 05:44:05 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Oct 15 05:44:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64d02b6 dev-ruby/acts_as_list: add 1.2.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/acts_as_list/Manifest | 1 + dev-ruby/acts_as_list/acts_as_list-1.2.3.ebuild | 47 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-ruby/acts_as_list/Manifest b/dev-ruby/acts_as_list/Manifest index 2e053b8a4265..4ba67505c0cf 100644 --- a/dev-ruby/acts_as_list/Manifest +++ b/dev-ruby/acts_as_list/Manifest @@ -1 +1,2 @@ DIST acts_as_list-1.2.2.tar.gz 38316 BLAKE2B 8fca217bab42ec45f8860323347e0d5282c99b494588f84f623cbb395bbf1cbeaa8cd8c7fd5344a7c1900a65a3a5f263ffd11fc340e2a0533dc8cbddc297d2a8 SHA512 1e985593b849cb4da5749bce72d09354454b06e40eeefbba161b0e8ceeccf08702761793692213bce013848151de373f0407d7794e7d1745e60646070e4946d7 +DIST acts_as_list-1.2.3.tar.gz 38545 BLAKE2B d154f52d45ba5eb2d11351a28e9173eb2d32bac54e88de304240395834aa058fd283e27947fa220b2f92bd02c2bbf75166acf8d37735532da67bb09eab0cf98e SHA512 5f099d7018d608b10c35f790497bf2a4f4c9f86765cfa7b9e340e54db7eb15b91b67afcc9b3d633e6e3373e2265c5860750eaebc082b7e1734e74ef415cdf31f diff --git a/dev-ruby/acts_as_list/acts_as_list-1.2.3.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.2.3.ebuild new file mode 100644 index 000000000000..e31722ad807a --- /dev/null +++ b/dev-ruby/acts_as_list/acts_as_list-1.2.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list" +HOMEPAGE="https://github.com/brendon/acts_as_list" +SRC_URI="https://github.com/brendon/acts_as_list/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/activerecord-6.1:* >=dev-ruby/activesupport-6.1:*" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-hooks-1.5.1:1 + >=dev-ruby/mocha-2.1.0:2 + dev-ruby/test-unit:2 + >=dev-ruby/timecop-0.9.8 + dev-ruby/activerecord[sqlite] + )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die + sed -e 's/git ls-files -z/find lib CHANGELOG.md README.md init.rb -print0/' \ + -e '/executables/ s:^:#:' \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die +} + +each_ruby_test() { + DB=sqlite each_fakegem_test +}