summaryrefslogtreecommitdiff
path: root/dev-ruby/net-ftp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/net-ftp')
-rw-r--r--dev-ruby/net-ftp/Manifest3
-rw-r--r--dev-ruby/net-ftp/metadata.xml11
-rw-r--r--dev-ruby/net-ftp/net-ftp-0.1.3.ebuild32
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest
new file mode 100644
index 000000000000..19fe0508b5e5
--- /dev/null
+++ b/dev-ruby/net-ftp/Manifest
@@ -0,0 +1,3 @@
+DIST net-ftp-0.1.3.tar.gz 29719 BLAKE2B 27d6dbe8b75ceeba49ae9c1b041f1b3196c7e938a1a5cd10b68a8130cde09bb974a2900cff93d2d1aced6b69d1fa4749eec58650a2d4b1583fdc7fd86f001b03 SHA512 73159513947e1574d15b4d73c87c6b7506e1ee8defc01fd5dfbd4dc7e9f4aa9e8a2a62ae397b3471d0276707d806c6f3252540e60d9b224d30a8cc23fe60b4d3
+EBUILD net-ftp-0.1.3.ebuild 910 BLAKE2B 1ba826046021acb2baf241d2ce584b1ea05d13179fda2fd33fc56cc16296c464bb54e7ca9e94188704aa3c43bf736893bf75641742d90eb5fb3df2e6ba6520b4 SHA512 d38220b7f0f0da809ff40674a471186877bed99e2a31dcff4db241def0c2ef58f8c026d1a3d8f623f000117345cd9593b4b711c142bf5821d1479bc1124bcc96
+MISC metadata.xml 339 BLAKE2B 3c2418dd7ddec0598782ad012aa5a33ec70d5179cbe0eaf602a65865f2d516366410f1c5117e2a7f4f7b03003fe77b4ee2cb888dcfaaab08631dd7b1a8d3b99b SHA512 caec07b9c960c4f24e06adb37e4705caa5a13f5a7ff388c11b15953efda289dcddc47e84864e082f26b0b720d299724fd0ffc9d556ea6a7cae1dd3242bfcd1df
diff --git a/dev-ruby/net-ftp/metadata.xml b/dev-ruby/net-ftp/metadata.xml
new file mode 100644
index 000000000000..0d14d070cf6a
--- /dev/null
+++ b/dev-ruby/net-ftp/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/net-ftp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/net-ftp/net-ftp-0.1.3.ebuild b/dev-ruby/net-ftp/net-ftp-0.1.3.ebuild
new file mode 100644
index 000000000000..73db2cdf3890
--- /dev/null
+++ b/dev-ruby/net-ftp/net-ftp-0.1.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="net-ftp.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Support for the File Transfer Protocol"
+HOMEPAGE="https://github.com/ruby/net-ftp"
+SRC_URI="https://github.com/ruby/net-ftp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+ dev-ruby/net-protocol
+ dev-ruby/time
+"
+
+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
+}