summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-15 08:08:00 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-15 08:08:16 +0100
commit737e3ab7b046e7f03df9f4bbf87ec54aa344dff9 (patch)
tree1d09abc8b465dd1734d312dd281aeddb2e31ef48
parentdev-ruby/hashdiff: add 1.1.0 (diff)
downloadgentoo-737e3ab7b046e7f03df9f4bbf87ec54aa344dff9.tar.gz
gentoo-737e3ab7b046e7f03df9f4bbf87ec54aa344dff9.tar.bz2
gentoo-737e3ab7b046e7f03df9f4bbf87ec54aa344dff9.zip
dev-ruby/net-ftp: add 0.3.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/net-ftp/Manifest1
-rw-r--r--dev-ruby/net-ftp/net-ftp-0.3.3.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest
index a70bb2353f92..7511cd47407b 100644
--- a/dev-ruby/net-ftp/Manifest
+++ b/dev-ruby/net-ftp/Manifest
@@ -1,2 +1,3 @@
DIST net-ftp-0.2.0.tar.gz 29845 BLAKE2B 710ad47552242dfc30fd971cff683d67e0e1cda73086e3504b0e45ab650ad4666c19c46d221bb5b64fab2d507a9063c64fc8da17de9221de4fd487acb0cb3514 SHA512 a6b2f30bde4c39568690db7f57e917e0fab046d456acfe68eb22a0ee81ad71b4be4a6c7752dc556bb2481f3e0fe5fc81193e194e2b5056087abce633e0d2f7e9
DIST net-ftp-0.3.0.tar.gz 29793 BLAKE2B 392182d7942b4c983816be1933a5b1ce0e35fb4d55adbd768e3b3306f680a20f0fcc43ef76cad6f0dcca49ac20d6539ce237cccedbe7290dee4b230c06042d10 SHA512 b6fcfd013e91c31752e44179a0cc2a115e261fcba12a0656654d52cdd216ec5d0b115108cba15b795c106d257bb34277c6dbed9153362a061510efddc7bc2494
+DIST net-ftp-0.3.3.tar.gz 29810 BLAKE2B 8677e55b4159ea072d90b1c12f992bbe66e8164bc866e80c0a216024c004a5a6971ae5a39c5eba5de35f9a85bab4b53da962ccb40e1049bf4df24377fb1ee874 SHA512 ace1a56de83f1369842e62a5164367281e7d10072a684ab0ad37591429623dd75de6ab672aa893651705ac62f74c12404b124a982b920142d3a5ff1296c24ec6
diff --git a/dev-ruby/net-ftp/net-ftp-0.3.3.ebuild b/dev-ruby/net-ftp/net-ftp-0.3.3.ebuild
new file mode 100644
index 000000000000..74b0e783b4dc
--- /dev/null
+++ b/dev-ruby/net-ftp/net-ftp-0.3.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="ruby31 ruby32"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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
+}