diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-06-05 07:01:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-06-05 07:17:53 +0200 |
commit | 8ccbc719fe8fa4e728a964e0acf3b3c74a1fa7ce (patch) | |
tree | 05c543fd863a04a8ecf99423c0bd98b84ae8d2d7 /dev-ruby/multipart-post | |
parent | profiles/arch/loong: drop perl-5.36 unmask (diff) | |
download | gentoo-8ccbc719fe8fa4e728a964e0acf3b3c74a1fa7ce.tar.gz gentoo-8ccbc719fe8fa4e728a964e0acf3b3c74a1fa7ce.tar.bz2 gentoo-8ccbc719fe8fa4e728a964e0acf3b3c74a1fa7ce.zip |
dev-ruby/multipart-post: add 2.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/multipart-post')
-rw-r--r-- | dev-ruby/multipart-post/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/multipart-post/metadata.xml | 2 | ||||
-rw-r--r-- | dev-ruby/multipart-post/multipart-post-2.2.0.ebuild | 29 |
3 files changed, 31 insertions, 1 deletions
diff --git a/dev-ruby/multipart-post/Manifest b/dev-ruby/multipart-post/Manifest index 3d5be3c65a64..89f29bf2f17b 100644 --- a/dev-ruby/multipart-post/Manifest +++ b/dev-ruby/multipart-post/Manifest @@ -1 +1,2 @@ DIST multipart-post-2.1.1.gem 13824 BLAKE2B 70a706714d14d284e2fa69aa56a69682e16eece75eb1508c1707b0b7f03b0d1fb11d1a187c7b7681dc0654a280c59bc20a0754d30e80807a4dfe5e56976b4ccc SHA512 afa16717ee136f0bbbc20fe243252831604740bb61fa7288a2437a4a67638f660a4bd491b5326b034173e9e8352f2659f27dc8aaa761721f7111b7e9e704582f +DIST multipart-post-2.2.0.tar.gz 12922 BLAKE2B fba8f4ed0e1ce691b9b7c8951c75507e0f8ddaa64f83404ae9b5550bcf6bda947ecae91cf826b7ba1602587e86c2eabe6cbccb4a38d5b6f8f1098b0757bb0168 SHA512 14ede50a2edf5b6344107d190f4985ad12267da57792dd04d448b5b7d53e01585751fdeed2680779b5152053e03cd6808c5bd84ac45a719ac6ec84ff76dc94bb diff --git a/dev-ruby/multipart-post/metadata.xml b/dev-ruby/multipart-post/metadata.xml index 6805130490ea..7ec44ce8eeb0 100644 --- a/dev-ruby/multipart-post/metadata.xml +++ b/dev-ruby/multipart-post/metadata.xml @@ -6,6 +6,6 @@ <name>Gentoo Ruby Project</name> </maintainer> <upstream> - <remote-id type="github">nicksieger/multipart-post</remote-id> + <remote-id type="github">socketry/multipart-post</remote-id> </upstream> </pkgmetadata> diff --git a/dev-ruby/multipart-post/multipart-post-2.2.0.ebuild b/dev-ruby/multipart-post/multipart-post-2.2.0.ebuild new file mode 100644 index 000000000000..2b3f4f702426 --- /dev/null +++ b/dev-ruby/multipart-post/multipart-post-2.2.0.ebuild @@ -0,0 +1,29 @@ +# 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_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="multipart-post.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP" +HOMEPAGE="https://github.com/socketry/multipart-post" +SRC_URI="https://github.com/socketry/multipart-post/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's:_relative ":"./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |