summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-02 08:19:17 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-02 08:27:39 +0100
commitbc71493cab806a1d35efb61664fba9ee0120a508 (patch)
tree87dd1370bd1139717ccf313aafdd180a36a7e9b0
parentd045941494345c003c21dc7676c6398a4fd1e34d (diff)
downloadgentoo-bc71493cab806a1d35efb61664fba9ee0120a508.tar.gz
gentoo-bc71493cab806a1d35efb61664fba9ee0120a508.tar.bz2
gentoo-bc71493cab806a1d35efb61664fba9ee0120a508.zip
dev-ruby/fileutils: add 1.7.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/fileutils/Manifest1
-rw-r--r--dev-ruby/fileutils/fileutils-1.7.3.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/fileutils/Manifest b/dev-ruby/fileutils/Manifest
index 76b5b8ff9d11..a447bdb1de38 100644
--- a/dev-ruby/fileutils/Manifest
+++ b/dev-ruby/fileutils/Manifest
@@ -1,2 +1,3 @@
DIST fileutils-1.7.1.tar.gz 40841 BLAKE2B a93a9a3357302ac420a4eec3349207d38e2b9e88cf2eb839c769c9219b3b1afa1b106dbc83e55ca907971909ae678189bc25eb7615243bebd20cab4c611a29d6 SHA512 d4aa814959a8c609aa0cf39755172db8c6efcd320cce41ac861a075c960a1dc35a1a3e5a4bea00d7051196e7f69043b4f7ef8f30ef31b8e943f4f10f926a0036
DIST fileutils-1.7.2.tar.gz 30020 BLAKE2B 6b50a1cbeb725fbe423f602aa024169fd480dabb937a8479421a4ea86bedf90b45fdae01b4ffc46480d93e3b73805eed1bab482c41d5de69fec9ebcd7348c38e SHA512 85732efe0dfb53bbf273030f2389c82a81eca38d3f5aa77bc8bde56c0b082a247573d2adf56320c7a680ef7630c88f525baaf7b52ba3a2b0adab899d1b242f46
+DIST fileutils-1.7.3.tar.gz 31442 BLAKE2B 2d3c4545a67662b11c414c543374f78fa52ff8252be9e84bd599a7295528d43422d91f425baf5b78fde324024314cf97f0d368c894bb5da47473e4d4ab906cb6 SHA512 61f2114456cccd19c436931a018233cd116b1e460630e6a8dbfa7dd23fca260400b456805933728f7a8f59553e3c4ebebf903b5eda9da1a479dc89d19b03ec99
diff --git a/dev-ruby/fileutils/fileutils-1.7.3.ebuild b/dev-ruby/fileutils/fileutils-1.7.3.ebuild
new file mode 100644
index 000000000000..dfac3c3a6c19
--- /dev/null
+++ b/dev-ruby/fileutils/fileutils-1.7.3.ebuild
@@ -0,0 +1,29 @@
+# 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_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
+}