summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-16 21:19:34 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-16 21:20:18 +0200
commitfbd08de4df99f2344f9c585dd7687235f8bd5440 (patch)
tree3113e9eb9c0ee2f8e4f572bdfa8226488d754062 /dev-ruby
parentdev-ruby/logger: new package, add 1.5.3 (diff)
downloadgentoo-fbd08de4df99f2344f9c585dd7687235f8bd5440.tar.gz
gentoo-fbd08de4df99f2344f9c585dd7687235f8bd5440.tar.bz2
gentoo-fbd08de4df99f2344f9c585dd7687235f8bd5440.zip
dev-ruby/fileutils: new package, add 1.7.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/fileutils/Manifest1
-rw-r--r--dev-ruby/fileutils/fileutils-1.7.1.ebuild27
-rw-r--r--dev-ruby/fileutils/metadata.xml11
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/fileutils/Manifest b/dev-ruby/fileutils/Manifest
new file mode 100644
index 000000000000..1530b338313b
--- /dev/null
+++ b/dev-ruby/fileutils/Manifest
@@ -0,0 +1 @@
+DIST fileutils-1.7.1.tar.gz 40841 BLAKE2B a93a9a3357302ac420a4eec3349207d38e2b9e88cf2eb839c769c9219b3b1afa1b106dbc83e55ca907971909ae678189bc25eb7615243bebd20cab4c611a29d6 SHA512 d4aa814959a8c609aa0cf39755172db8c6efcd320cce41ac861a075c960a1dc35a1a3e5a4bea00d7051196e7f69043b4f7ef8f30ef31b8e943f4f10f926a0036
diff --git a/dev-ruby/fileutils/fileutils-1.7.1.ebuild b/dev-ruby/fileutils/fileutils-1.7.1.ebuild
new file mode 100644
index 000000000000..b9b8b43c76c6
--- /dev/null
+++ b/dev-ruby/fileutils/fileutils-1.7.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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=""
+
+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
+}
diff --git a/dev-ruby/fileutils/metadata.xml b/dev-ruby/fileutils/metadata.xml
new file mode 100644
index 000000000000..24eed223ef4f
--- /dev/null
+++ b/dev-ruby/fileutils/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ruby/fileutils</remote-id>
+ </upstream>
+</pkgmetadata>