1 |
commit: 5e07bca0da8651af569eaffddc524614901d1c35 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 06:16:38 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 07:13:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e07bca0 |
7 |
|
8 |
dev-ruby/net-ftp: initial import of 0.1.3 |
9 |
|
10 |
Extracted from dev-lang/ruby, keywords set accordingly |
11 |
|
12 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
13 |
|
14 |
dev-ruby/net-ftp/Manifest | 1 + |
15 |
dev-ruby/net-ftp/metadata.xml | 11 +++++++++++ |
16 |
dev-ruby/net-ftp/net-ftp-0.1.3.ebuild | 32 ++++++++++++++++++++++++++++++++ |
17 |
3 files changed, 44 insertions(+) |
18 |
|
19 |
diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..f164c6fa904a |
22 |
--- /dev/null |
23 |
+++ b/dev-ruby/net-ftp/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST net-ftp-0.1.3.tar.gz 29719 BLAKE2B 27d6dbe8b75ceeba49ae9c1b041f1b3196c7e938a1a5cd10b68a8130cde09bb974a2900cff93d2d1aced6b69d1fa4749eec58650a2d4b1583fdc7fd86f001b03 SHA512 73159513947e1574d15b4d73c87c6b7506e1ee8defc01fd5dfbd4dc7e9f4aa9e8a2a62ae397b3471d0276707d806c6f3252540e60d9b224d30a8cc23fe60b4d3 |
26 |
|
27 |
diff --git a/dev-ruby/net-ftp/metadata.xml b/dev-ruby/net-ftp/metadata.xml |
28 |
new file mode 100644 |
29 |
index 000000000000..0d14d070cf6a |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/net-ftp/metadata.xml |
32 |
@@ -0,0 +1,11 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="project"> |
37 |
+ <email>ruby@g.o</email> |
38 |
+ <name>Gentoo Ruby Project</name> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="github">ruby/net-ftp</remote-id> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/dev-ruby/net-ftp/net-ftp-0.1.3.ebuild b/dev-ruby/net-ftp/net-ftp-0.1.3.ebuild |
46 |
new file mode 100644 |
47 |
index 000000000000..73db2cdf3890 |
48 |
--- /dev/null |
49 |
+++ b/dev-ruby/net-ftp/net-ftp-0.1.3.ebuild |
50 |
@@ -0,0 +1,32 @@ |
51 |
+# Copyright 1999-2022 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=8 |
55 |
+USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
56 |
+ |
57 |
+RUBY_FAKEGEM_BINWRAP="" |
58 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
59 |
+RUBY_FAKEGEM_GEMSPEC="net-ftp.gemspec" |
60 |
+ |
61 |
+inherit ruby-fakegem |
62 |
+ |
63 |
+DESCRIPTION="Support for the File Transfer Protocol" |
64 |
+HOMEPAGE="https://github.com/ruby/net-ftp" |
65 |
+SRC_URI="https://github.com/ruby/net-ftp/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
66 |
+ |
67 |
+LICENSE="BSD-2" |
68 |
+SLOT="0" |
69 |
+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" |
70 |
+IUSE="" |
71 |
+ |
72 |
+ruby_add_rdepend " |
73 |
+ dev-ruby/net-protocol |
74 |
+ dev-ruby/time |
75 |
+" |
76 |
+ |
77 |
+all_ruby_prepare() { |
78 |
+ sed -e 's/__dir__/"."/' \ |
79 |
+ -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ |
80 |
+ -e 's/git ls-files -z/find * -print0/' \ |
81 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die |
82 |
+} |