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 510B0158042 for ; Sun, 27 Oct 2024 06:56:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AEFEE087F; Sun, 27 Oct 2024 06:56:48 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3198CE087F for ; Sun, 27 Oct 2024 06:56:48 +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 6F165343078 for ; Sun, 27 Oct 2024 06:56:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08EC21D6E for ; Sun, 27 Oct 2024 06:56:46 +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: <1730012192.07ab0e36e9119d2d0f6e4c5de6b368db3709395f.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.9.ebuild X-VCS-Directories: dev-ruby/rexml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 07ab0e36e9119d2d0f6e4c5de6b368db3709395f X-VCS-Branch: master Date: Sun, 27 Oct 2024 06:56:46 +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: d0fecb25-f654-4460-96e8-95394ff9143e X-Archives-Hash: 0a8ab0f6670b6afabbd27a7e8ecc8726 commit: 07ab0e36e9119d2d0f6e4c5de6b368db3709395f Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 27 06:50:49 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 27 06:56:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ab0e36 dev-ruby/rexml: add 3.3.9 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rexml/Manifest | 1 + dev-ruby/rexml/rexml-3.3.9.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index 464e18dd89a2..83384de9b3e7 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -1,3 +1,4 @@ DIST rexml-3.3.6.tar.gz 468635 BLAKE2B ce8e4dfb455fb284fdbd2dd11e452190f4eff94665041aadf0211da339d54ff4978101164a85a108cfa5f4c857f0e4c92629bb5464f38b4110d36bb5b4284173 SHA512 02b4555bd8d1474a123f617d2bd5d23a6769ab97ceb672abfec5244e189a4222ab662e509d064e66d91b5f60443d23b1bdf11c334598f203082617d2cd031fae DIST rexml-3.3.7.tar.gz 468887 BLAKE2B ed13b7ad00dd756e4d3736247101a512503d9c756e772990457db13e1fdc46a21973228f63ee30ab31e8fd684910549fdf3a08670d9cc2b9bf78623f36ba23f0 SHA512 4f54996306869076ef7f2c0a2bd1dfe6f20a28580158236f335a8e9f41a035d864420777042d12379cfa18b460c1b14865924e0718e8042568d1a864da1d6ecb DIST rexml-3.3.8.tar.gz 469446 BLAKE2B d5f49f17f98438c117eb3f1b91b699cb8a93944b4077b1fcfafdf73155556c1aa367178bd336e809b45af78418842b1c127f22e2071f66eb8aeb71bab88ace0d SHA512 13c09c66454d0938855a8a3243f05ffc467b239521320c0adc0aa6bc55dbc48042dfea9bfee25b04b49f54cf13ae7e2532627adbfb3dd7b6aa24d1088e9d80d6 +DIST rexml-3.3.9.tar.gz 469735 BLAKE2B 39c8a1184b839608da0307271b853f26a253b16e1da4e8a56d024750222cca21138681d2445a869aee0c5ace63cd6fc27b7e0df0060dd0e715d3a0d03d217765 SHA512 391a31938b27d821f35fc96f66eacec1bccfb9d2e250245c15ffbdb05f140ce91a28c7f4d8e9989003ce4480270ddb6c32e0b07f73b2677249ef03e615789f46 diff --git a/dev-ruby/rexml/rexml-3.3.9.ebuild b/dev-ruby/rexml/rexml-3.3.9.ebuild new file mode 100644 index 000000000000..802c814bb1f9 --- /dev/null +++ b/dev-ruby/rexml/rexml-3.3.9.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 +}