commit: cb3d1de89f6ecbf00c7c34b798b09adab7714098 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Jun 26 05:47:05 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Jun 26 05:59:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb3d1de8
dev-ruby/net-ftp: add 0.3.7 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/net-ftp/Manifest | 1 + dev-ruby/net-ftp/net-ftp-0.3.7.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest index 5c1580cf519d..6b97362c2fae 100644 --- a/dev-ruby/net-ftp/Manifest +++ b/dev-ruby/net-ftp/Manifest @@ -1,3 +1,4 @@ DIST net-ftp-0.3.4.tar.gz 28020 BLAKE2B 2962f61c17b4314a044d3a80c62693948d1241f783b6f948a056ca34b8f076c8357dc150f04e09a245236b402c6e711e02f6a3717b60aa816a6ca419cfa1ed08 SHA512 1f289b8b0481abf66bbe000cfdc08d8f32559d02ccee186159696e1b563aecc1178d975946d969064bdb8abf8f76d50b5d5bde0423e12bf2ba0b757796c9b046 DIST net-ftp-0.3.5.tar.gz 29007 BLAKE2B 4c7c9154f41333151b8249f38cdf1baf3e7cc4cbdb3e5f27cba1f2f97be463b16ede73b6e49b3e43bd591ece6784d102919c4028af636bddc34ac3e03f889b82 SHA512 551aa99200b4ee629a07f1107f1aee0f896bbed8bc88aba49103db244081cc28dbdbcc21cb0df60588b721aec9e22007ac5749d2485bb534c38621df28c04adf DIST net-ftp-0.3.6.tar.gz 29698 BLAKE2B 91b21e2e886a7b5ee103faae8eb34110dd86a491e82f954853020f8a7eea821fabcde4337da082736d9d12cacc3aece6d6d31d709f7c6aa9c5d2661b857a9895 SHA512 97f2158f2213b37d882157faecda669ba0553cea59fe489379fa9be27a5c86fddd112fbef35c77cdb8a852682d43e47d8596a8bea359f5d6c779c82932050559 +DIST net-ftp-0.3.7.tar.gz 29763 BLAKE2B 611a5397f5f77a1698498b031e99f67ad840d168e68d1d7fbdab26114ba7962d444718ac3601c743e602e48447027a2b76550bfd427972311d591b5565316dcc SHA512 5e20a154905cdb3a223da537588b96c4407944896551b1550299be4271a030206f83ba77cc2f4f12bcac713fd800376975541ec90300dd19a03bf4bff0e12338 diff --git a/dev-ruby/net-ftp/net-ftp-0.3.7.ebuild b/dev-ruby/net-ftp/net-ftp-0.3.7.ebuild new file mode 100644 index 000000000000..506af331b8a7 --- /dev/null +++ b/dev-ruby/net-ftp/net-ftp-0.3.7.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 +}