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 E6F85159C9B for ; Mon, 12 Aug 2024 06:11:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF71B2BC077; Mon, 12 Aug 2024 06:11:35 +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 D7F5E2BC077 for ; Mon, 12 Aug 2024 06:11:35 +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 1101534306D for ; Mon, 12 Aug 2024 06:11:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3814C174C for ; Mon, 12 Aug 2024 06:11:33 +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: <1723443024.3bc55a15af6c26be83e0b6c4afcf3b464d4eea69.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rexml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rexml/Manifest dev-ruby/rexml/rexml-3.3.5.ebuild X-VCS-Directories: dev-ruby/rexml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3bc55a15af6c26be83e0b6c4afcf3b464d4eea69 X-VCS-Branch: master Date: Mon, 12 Aug 2024 06:11:33 +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: f0e5b632-e379-4d55-a046-d2baade7f52e X-Archives-Hash: bfd232f5d509bacd7b6501a91b9a5e75 commit: 3bc55a15af6c26be83e0b6c4afcf3b464d4eea69 Author: Hans de Graaff gentoo org> AuthorDate: Mon Aug 12 06:10:24 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Aug 12 06:10:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bc55a15 dev-ruby/rexml: add 3.3.5 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rexml/Manifest | 1 + dev-ruby/rexml/rexml-3.3.5.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index 97f3752cb14a..2a6bf80f2806 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -4,3 +4,4 @@ DIST rexml-3.3.0.tar.gz 461623 BLAKE2B d741310000bf06276f7e424fc9a01cf20657d857b DIST rexml-3.3.1.tar.gz 462490 BLAKE2B 2332c3233bfdd5bec067c548016dd20e8bd97e82e6c924f418242827503221a5ce01f81d9b747967bb984d9768f0652e6402dff41c358f95a643b3783b18e564 SHA512 df35a2481743ac4f857ba1ba6396c37de26e9a306abe763dba943a464be9d5e063e0618182446b6f51011eb04aa6cf094b17e24d9826dd294e02596d5033ac83 DIST rexml-3.3.2.tar.gz 464607 BLAKE2B 44fc74d6fbdbe213c1bdcb97cb54a5cc74bbc1a74ef2531bb5c3c10c94e5fe061e18c096974e2a94c03918ff5e8d40f5d191d473ae3c49ae0a94a58fd8f641b6 SHA512 fd374b2a2b1751f3762ca95d5d2355e64f8fa0de7fa8c4106f36f700e26dfcb8dad8b239399859fef5268195a3d07a19367afea5f01014ab3122e316d4f2168a DIST rexml-3.3.4.tar.gz 467302 BLAKE2B d8b86d51233ae277eaa25a796a4c895f4cf4d8e49dbc623990596e001c0404fc1cfafbdf5e87773fd773bbd6894511625d26b6ef9f94f75560849006c39a8a37 SHA512 928fbd0df229118c180791e75c7b86d4c9a937c92ba1161db1692ac3cc332bd5c241e4fc1d0d67be9bf97796dfbabe90fb19085a849130dcf7b53274145d784d +DIST rexml-3.3.5.tar.gz 467588 BLAKE2B e32270fa6411f776e2e325f942a235eea6ee6cd72e33bf28cea69eeb6dbd40cc334f84d30c962093dd5644fb6c2cb77589229b415ae23e31d3899ae26f325f12 SHA512 401441a7c54533a0e01607af62c142cd9d767aa46dbadc5d18dc57e7542ff4518eba4c77206ff6c4ed6113eba87f30730b96469f64701efb5cb08cb578cd5a48 diff --git a/dev-ruby/rexml/rexml-3.3.5.ebuild b/dev-ruby/rexml/rexml-3.3.5.ebuild new file mode 100644 index 000000000000..802c814bb1f9 --- /dev/null +++ b/dev-ruby/rexml/rexml-3.3.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An XML toolkit for Ruby" +HOMEPAGE="https://github.com/ruby/rexml" +SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" + +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +ruby_add_rdepend "dev-ruby/strscan" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -i -e 's:require_relative ":require "./:' -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Ensure we use the (new enough) gem version of strscan. The + # versions bundled with ruby up to at least 3.3.1 are all too old. + sed -e '3igem "strscan"' \ + -i test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} test/run.rb || die +}