summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-05 09:24:31 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-05 13:15:24 +0100
commit8c41ed4797b9412bc844fe8404d4aeaeea218647 (patch)
tree45a0d04129af2d17339e2dcf4e867a00141ecbe7 /dev-ruby
parentdev-ruby/bundler-audit: enable ruby33 (diff)
downloadgentoo-8c41ed4797b9412bc844fe8404d4aeaeea218647.tar.gz
gentoo-8c41ed4797b9412bc844fe8404d4aeaeea218647.tar.bz2
gentoo-8c41ed4797b9412bc844fe8404d4aeaeea218647.zip
dev-ruby/net-ftp: add 0.3.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/net-ftp/Manifest1
-rw-r--r--dev-ruby/net-ftp/net-ftp-0.3.4.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest
index 7511cd47407b..ca4d33dab28d 100644
--- a/dev-ruby/net-ftp/Manifest
+++ b/dev-ruby/net-ftp/Manifest
@@ -1,3 +1,4 @@
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
+DIST net-ftp-0.3.4.tar.gz 28020 BLAKE2B 2962f61c17b4314a044d3a80c62693948d1241f783b6f948a056ca34b8f076c8357dc150f04e09a245236b402c6e711e02f6a3717b60aa816a6ca419cfa1ed08 SHA512 1f289b8b0481abf66bbe000cfdc08d8f32559d02ccee186159696e1b563aecc1178d975946d969064bdb8abf8f76d50b5d5bde0423e12bf2ba0b757796c9b046
diff --git a/dev-ruby/net-ftp/net-ftp-0.3.4.ebuild b/dev-ruby/net-ftp/net-ftp-0.3.4.ebuild
new file mode 100644
index 000000000000..506af331b8a7
--- /dev/null
+++ b/dev-ruby/net-ftp/net-ftp-0.3.4.ebuild
@@ -0,0 +1,31 @@
+# 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="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"
+
+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
+}