1 |
commit: 8ccbc719fe8fa4e728a964e0acf3b3c74a1fa7ce |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 5 05:01:01 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 5 05:17:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccbc719 |
7 |
|
8 |
dev-ruby/multipart-post: add 2.2.0 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/multipart-post/Manifest | 1 + |
13 |
dev-ruby/multipart-post/metadata.xml | 2 +- |
14 |
.../multipart-post/multipart-post-2.2.0.ebuild | 29 ++++++++++++++++++++++ |
15 |
3 files changed, 31 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-ruby/multipart-post/Manifest b/dev-ruby/multipart-post/Manifest |
18 |
index 3d5be3c65a64..89f29bf2f17b 100644 |
19 |
--- a/dev-ruby/multipart-post/Manifest |
20 |
+++ b/dev-ruby/multipart-post/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST multipart-post-2.1.1.gem 13824 BLAKE2B 70a706714d14d284e2fa69aa56a69682e16eece75eb1508c1707b0b7f03b0d1fb11d1a187c7b7681dc0654a280c59bc20a0754d30e80807a4dfe5e56976b4ccc SHA512 afa16717ee136f0bbbc20fe243252831604740bb61fa7288a2437a4a67638f660a4bd491b5326b034173e9e8352f2659f27dc8aaa761721f7111b7e9e704582f |
23 |
+DIST multipart-post-2.2.0.tar.gz 12922 BLAKE2B fba8f4ed0e1ce691b9b7c8951c75507e0f8ddaa64f83404ae9b5550bcf6bda947ecae91cf826b7ba1602587e86c2eabe6cbccb4a38d5b6f8f1098b0757bb0168 SHA512 14ede50a2edf5b6344107d190f4985ad12267da57792dd04d448b5b7d53e01585751fdeed2680779b5152053e03cd6808c5bd84ac45a719ac6ec84ff76dc94bb |
24 |
|
25 |
diff --git a/dev-ruby/multipart-post/metadata.xml b/dev-ruby/multipart-post/metadata.xml |
26 |
index 6805130490ea..7ec44ce8eeb0 100644 |
27 |
--- a/dev-ruby/multipart-post/metadata.xml |
28 |
+++ b/dev-ruby/multipart-post/metadata.xml |
29 |
@@ -6,6 +6,6 @@ |
30 |
<name>Gentoo Ruby Project</name> |
31 |
</maintainer> |
32 |
<upstream> |
33 |
- <remote-id type="github">nicksieger/multipart-post</remote-id> |
34 |
+ <remote-id type="github">socketry/multipart-post</remote-id> |
35 |
</upstream> |
36 |
</pkgmetadata> |
37 |
|
38 |
diff --git a/dev-ruby/multipart-post/multipart-post-2.2.0.ebuild b/dev-ruby/multipart-post/multipart-post-2.2.0.ebuild |
39 |
new file mode 100644 |
40 |
index 000000000000..2b3f4f702426 |
41 |
--- /dev/null |
42 |
+++ b/dev-ruby/multipart-post/multipart-post-2.2.0.ebuild |
43 |
@@ -0,0 +1,29 @@ |
44 |
+# Copyright 1999-2022 Gentoo Authors |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=8 |
48 |
+ |
49 |
+USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
50 |
+ |
51 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
52 |
+RUBY_FAKEGEM_TASK_DOC="" |
53 |
+ |
54 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
55 |
+RUBY_FAKEGEM_GEMSPEC="multipart-post.gemspec" |
56 |
+ |
57 |
+inherit ruby-fakegem |
58 |
+ |
59 |
+DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP" |
60 |
+HOMEPAGE="https://github.com/socketry/multipart-post" |
61 |
+SRC_URI="https://github.com/socketry/multipart-post/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="MIT" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
66 |
+IUSE="test" |
67 |
+ |
68 |
+all_ruby_prepare() { |
69 |
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die |
70 |
+ |
71 |
+ sed -i -e 's:_relative ":"./:' ${RUBY_FAKEGEM_GEMSPEC} || die |
72 |
+} |