dev-ruby/fileutils: add 1.8.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-10-30 08:30:40 +01:00
parent 13db40fae4
commit 618696b5f7
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
2 changed files with 31 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST fileutils-1.7.3.tar.gz 31442 BLAKE2B 2d3c4545a67662b11c414c543374f78fa52ff8252be9e84bd599a7295528d43422d91f425baf5b78fde324024314cf97f0d368c894bb5da47473e4d4ab906cb6 SHA512 61f2114456cccd19c436931a018233cd116b1e460630e6a8dbfa7dd23fca260400b456805933728f7a8f59553e3c4ebebf903b5eda9da1a479dc89d19b03ec99
DIST fileutils-1.8.0.tar.gz 32185 BLAKE2B 0f1c18df1e49c8400bb1e785086c4fc8555f14d2394e558b4648a2eb7ca738eb5a385682c11e2759d837bfe2c3080f005add268041a5815bc10702e35461b09c SHA512 0d65b5bf6c09fd7a08d6b8262d95dd24bc23c6c3c7040b0c2dfabd2f025b1e1464b0f637777213c5bcd98d84bf951784382e279c2ef576d10394497db9da0ad6

View File

@ -0,0 +1,30 @@
# 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_BINWRAP=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="fileutils.gemspec"
inherit ruby-fakegem
DESCRIPTION="Several file utility methods for copying, moving, removing, etc"
HOMEPAGE="https://github.com/ruby/fileutils"
SRC_URI="https://github.com/ruby/fileutils/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
all_ruby_prepare() {
sed -e 's/__dir__/"."/' \
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
-e 's/git ls-files -z/find * -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
}