summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-09-09 19:27:23 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-09-09 19:29:52 -0700
commit22b10ed5605b211ffedd13272d6e93d07961e0df (patch)
tree8d89aff160e74d9a6db125bdb2ce8e9e8b026a9e /dev-ruby/sys-filesystem
parentdev-ruby/mkmf-lite: indirect dep for dev-ruby/facter (diff)
downloadgentoo-22b10ed5605b211ffedd13272d6e93d07961e0df.tar.gz
gentoo-22b10ed5605b211ffedd13272d6e93d07961e0df.tar.bz2
gentoo-22b10ed5605b211ffedd13272d6e93d07961e0df.zip
dev-ruby/sys-filesystem: dep for dev-ruby/facter
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-ruby/sys-filesystem')
-rw-r--r--dev-ruby/sys-filesystem/Manifest1
-rw-r--r--dev-ruby/sys-filesystem/metadata.xml15
-rw-r--r--dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild32
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/sys-filesystem/Manifest b/dev-ruby/sys-filesystem/Manifest
new file mode 100644
index 000000000000..c97768a4476f
--- /dev/null
+++ b/dev-ruby/sys-filesystem/Manifest
@@ -0,0 +1 @@
+DIST sys-filesystem-1.4.3.gem 33280 BLAKE2B 8274e362850cb45b17b18208e449cae525995f83bf34bb7ca7d00af5c2c65c5e822140079998d89e78c62db9b1b756510556b9f3f7ae29f6e55cd39991e89be6 SHA512 0a98eccacbae3baad3fb3e13c5dee1abb4a07c9e47a2b583fdd999daff4e39f2077a5a08a1a9432cbffe84d706dd5ed3963746172471bcaf95cb1fba404da813
diff --git a/dev-ruby/sys-filesystem/metadata.xml b/dev-ruby/sys-filesystem/metadata.xml
new file mode 100644
index 000000000000..6434d5f2c105
--- /dev/null
+++ b/dev-ruby/sys-filesystem/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">djberg96/sys-filesystem</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild b/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild
new file mode 100644
index 000000000000..ba0b8f230bc1
--- /dev/null
+++ b/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Cross-platform interface for filesystem information"
+HOMEPAGE="https://github.com/djberg96/sys-filesystem"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/ffi-1.15.0"
+
+#ruby_add_bdepend "test? ( dev-ruby/mkmf-lite )"
+
+all_ruby_prepare() {
+ :
+ #sed -e 's/__dir__/"."/' \
+ # -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+ # -i "${RUBY_FAKEGEM_GEMSPEC}" || die
+}