summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-08 07:56:08 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-08 07:56:08 +0100
commit7b81339d3dff46539c95a34192e38e5e54df04a9 (patch)
tree812ac3a86958c68eab4f4da0d9c1a27473298efb /dev-ruby/net-ftp
parentdev-ruby/rack-cache: drop 1.13.0-r1 (diff)
downloadgentoo-7b81339d3dff46539c95a34192e38e5e54df04a9.tar.gz
gentoo-7b81339d3dff46539c95a34192e38e5e54df04a9.tar.bz2
gentoo-7b81339d3dff46539c95a34192e38e5e54df04a9.zip
dev-ruby/net-ftp: add 0.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/net-ftp')
-rw-r--r--dev-ruby/net-ftp/Manifest1
-rw-r--r--dev-ruby/net-ftp/net-ftp-0.3.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest
index 5c22f8ebd299..a70bb2353f92 100644
--- a/dev-ruby/net-ftp/Manifest
+++ b/dev-ruby/net-ftp/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/net-ftp/net-ftp-0.3.0.ebuild b/dev-ruby/net-ftp/net-ftp-0.3.0.ebuild
new file mode 100644
index 000000000000..74b0e783b4dc
--- /dev/null
+++ b/dev-ruby/net-ftp/net-ftp-0.3.0.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
+}