diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-03-27 08:16:38 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-03-27 09:13:12 +0200 |
commit | 5e07bca0da8651af569eaffddc524614901d1c35 (patch) | |
tree | 433907d09ec68cf5066f035f4a9fb81463ef668d | |
parent | dev-ruby/time: initial import of 0.2.0 (diff) | |
download | gentoo-5e07bca0da8651af569eaffddc524614901d1c35.tar.gz gentoo-5e07bca0da8651af569eaffddc524614901d1c35.tar.bz2 gentoo-5e07bca0da8651af569eaffddc524614901d1c35.zip |
dev-ruby/net-ftp: initial import of 0.1.3
Extracted from dev-lang/ruby, keywords set accordingly
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/net-ftp/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/net-ftp/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/net-ftp/net-ftp-0.1.3.ebuild | 32 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest new file mode 100644 index 000000000000..f164c6fa904a --- /dev/null +++ b/dev-ruby/net-ftp/Manifest @@ -0,0 +1 @@ +DIST net-ftp-0.1.3.tar.gz 29719 BLAKE2B 27d6dbe8b75ceeba49ae9c1b041f1b3196c7e938a1a5cd10b68a8130cde09bb974a2900cff93d2d1aced6b69d1fa4749eec58650a2d4b1583fdc7fd86f001b03 SHA512 73159513947e1574d15b4d73c87c6b7506e1ee8defc01fd5dfbd4dc7e9f4aa9e8a2a62ae397b3471d0276707d806c6f3252540e60d9b224d30a8cc23fe60b4d3 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 +} |