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 D32C31581C1 for ; Tue, 16 Jul 2024 04:16:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FF3C2BC045; Tue, 16 Jul 2024 04:16:07 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 2F95A2BC045 for ; Tue, 16 Jul 2024 04:16:07 +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 3CB3C335D6D for ; Tue, 16 Jul 2024 04:16:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C63301E32 for ; Tue, 16 Jul 2024 04:16:04 +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: <1721103347.d3a5d544965987cbe350279c2a5398308c518610.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.2.ebuild X-VCS-Directories: dev-ruby/rexml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d3a5d544965987cbe350279c2a5398308c518610 X-VCS-Branch: master Date: Tue, 16 Jul 2024 04:16:04 +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: 533062be-7723-46b2-94de-1cf67be4e9ed X-Archives-Hash: 518872316a28536eb38d56b3dea1faba commit: d3a5d544965987cbe350279c2a5398308c518610 Author: Hans de Graaff gentoo org> AuthorDate: Tue Jul 16 04:15:20 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Jul 16 04:15:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3a5d544 dev-ruby/rexml: add 3.3.2 Bug: https://bugs.gentoo.org/936133 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rexml/Manifest | 1 + dev-ruby/rexml/rexml-3.3.2.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index 25422d989c60..acc0bf9168f3 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -2,3 +2,4 @@ DIST rexml-3.2.8.tar.gz 460176 BLAKE2B 25b7563c1bc6eacf1b39106fde09c20d34040e5b9 DIST rexml-3.2.9.tar.gz 461496 BLAKE2B 9e379b7ad3808461bc738c66c84c0654c256d790bc2d9ad6b23f3da71b4d12bb198349b93c580fd7f44384fbabe3604d041db96c8a94181abc7fb153f0ff1099 SHA512 9feba575fb9c8f7bb9f2d2d03fa67a011c0d52604630ab3b9f6acd99a86d2f520647d58134ae5cf2068e1f87e9c4ba9b98814e437c158bab0f7a4f368e4be486 DIST rexml-3.3.0.tar.gz 461623 BLAKE2B d741310000bf06276f7e424fc9a01cf20657d857b79ab80937537f5853cdfd59de86d81547dbc5298de48b63a683a1c09f617923ce123872610641ad08a6aa09 SHA512 b5edd8d06cd404dcd3d39c124ad1ed96a30d1185c9cf045bfcce73d1f71424b05986dc66f8b4701c20b940f78bae640ee46601334f1cbb304537c549ce099afc DIST rexml-3.3.1.tar.gz 462490 BLAKE2B 2332c3233bfdd5bec067c548016dd20e8bd97e82e6c924f418242827503221a5ce01f81d9b747967bb984d9768f0652e6402dff41c358f95a643b3783b18e564 SHA512 df35a2481743ac4f857ba1ba6396c37de26e9a306abe763dba943a464be9d5e063e0618182446b6f51011eb04aa6cf094b17e24d9826dd294e02596d5033ac83 +DIST rexml-3.3.2.tar.gz 464607 BLAKE2B 44fc74d6fbdbe213c1bdcb97cb54a5cc74bbc1a74ef2531bb5c3c10c94e5fe061e18c096974e2a94c03918ff5e8d40f5d191d473ae3c49ae0a94a58fd8f641b6 SHA512 fd374b2a2b1751f3762ca95d5d2355e64f8fa0de7fa8c4106f36f700e26dfcb8dad8b239399859fef5268195a3d07a19367afea5f01014ab3122e316d4f2168a diff --git a/dev-ruby/rexml/rexml-3.3.2.ebuild b/dev-ruby/rexml/rexml-3.3.2.ebuild new file mode 100644 index 000000000000..802c814bb1f9 --- /dev/null +++ b/dev-ruby/rexml/rexml-3.3.2.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 +}