From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 224DC158176 for ; Sat, 11 Oct 2025 07:27:27 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0A0A63417FE for ; Sat, 11 Oct 2025 07:27:27 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 406E41103B8; Sat, 11 Oct 2025 07:27:22 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 37DC31103B8 for ; Sat, 11 Oct 2025 07:27:22 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D442D3415C9 for ; Sat, 11 Oct 2025 07:27:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56A823A97 for ; Sat, 11 Oct 2025 07:27:20 +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: <1760167625.2696506f7d3eac2c6b3e7be329c6e337839dfad5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sinatra/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sinatra/Manifest dev-ruby/sinatra/sinatra-4.2.1.ebuild X-VCS-Directories: dev-ruby/sinatra/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2696506f7d3eac2c6b3e7be329c6e337839dfad5 X-VCS-Branch: master Date: Sat, 11 Oct 2025 07:27:20 +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: 54bd6fc3-51f4-4d46-be17-36d8b286c625 X-Archives-Hash: 6ee2c3340721902e8e045d295f8b3a4c commit: 2696506f7d3eac2c6b3e7be329c6e337839dfad5 Author: Hans de Graaff gentoo org> AuthorDate: Sat Oct 11 07:22:46 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Oct 11 07:27:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2696506f dev-ruby/sinatra: add 4.2.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sinatra/Manifest | 1 + dev-ruby/sinatra/sinatra-4.2.1.ebuild | 51 +++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest index c01388412a8c..6a4f48e4d150 100644 --- a/dev-ruby/sinatra/Manifest +++ b/dev-ruby/sinatra/Manifest @@ -1,3 +1,4 @@ DIST sinatra-3.2.0.tar.gz 273145 BLAKE2B 5d995e3deec3ff9dfe577a7ee816b69321dbc6848e69688c2b0781fbe6440f72eb7a589e0a5609f0f747200bf634e8472006587867e47d30779eb9bdbd4e4cde SHA512 7fa684a1f7f39ad764ae1c6ad304df9020187817d9e6982c1670cb23e7ff03df1968608cfedac13442b59e13032b567e5b46ea7168015f9ff1b40d3b3d3ebd68 DIST sinatra-4.1.1.tar.gz 271795 BLAKE2B 6d42ccbc40a3c4df6902a5be78749136ac4dd84149d3d4a748fbe71f8cf882785645a98b735cb899833145f967282b57f0e295e4f35c516daa212175e3f31325 SHA512 d9022acc28048f6424f077216bfc620000887afdc5fb34152610d3f0a5139cea367a165cb6caa1e0b1f02fb8328b563d6993f16419d798bde50e45450b558f2d DIST sinatra-4.2.0.tar.gz 272591 BLAKE2B 1991ec2ac1d0d65adbc5d179e2e5ddcf51351f080311c2813eee5a1df803710a86ca527cb5156d02b7f699f7bd74a663623785b4efce435fc52d78018b0abee2 SHA512 468a7f963240edda9f405fc31e524af91788e55138e3d07707953427b30cc21c12a879dcca2b5c159f7cf4482827367c506c56c8ce7f8015b1b9b3fa09b58b55 +DIST sinatra-4.2.1.tar.gz 272817 BLAKE2B 1dcfdca0edb8ad598f00e3057aeb875b6abb71c43a090e9b207fcb5e46511ad91d24f226ed029d84793fda002ba0e7ef8a28ba3c9eaf4226eab5546677836453 SHA512 fa3283635f4d66f9c12f315d7c9e9e04e25c65afa4ab4e7a42de4a73b1f17a97aba305335e7c6b6a1522979140936d681a569b24286d656c9a30ac2e4e5fc83a diff --git a/dev-ruby/sinatra/sinatra-4.2.1.ebuild b/dev-ruby/sinatra/sinatra-4.2.1.ebuild new file mode 100644 index 000000000000..6f4ea879f3d2 --- /dev/null +++ b/dev-ruby/sinatra/sinatra-4.2.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test:core" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" +HOMEPAGE="https://sinatrarb.com/" +SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test" + +ruby_add_rdepend " + >=dev-ruby/logger-1.6.0 + dev-ruby/mustermann:3 + || ( dev-ruby/rack:3.2 dev-ruby/rack:3.1 dev-ruby/rack:3.0 ) + ~dev-ruby/rack-protection-${PV} + dev-ruby/rack-session:2 + dev-ruby/tilt:2" + +# dev-ruby/haml is an optional test dependency, but it will lead to +# circular dependencies so we don't require it for tests. +ruby_add_bdepend " + test? ( + dev-ruby/builder + dev-ruby/erubi + >=dev-ruby/rack-test-0.5.6 + dev-ruby/rackup + dev-ruby/activesupport + www-servers/puma + ) +" +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i \ + -e "/require 'rack'/igem 'rack', '~> 3.0.0'" \ + test/test_helper.rb || die +}