diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-03-10 10:08:36 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-03-10 10:08:36 +0100 |
commit | a54c54dfd3f8a09cc1fc5702643b27f8ef6b18e0 (patch) | |
tree | 4045a1be474451f8816849f847c78205d912e871 /dev-ruby | |
parent | dev-ruby/rspec: enable ruby32 (diff) | |
download | gentoo-a54c54dfd3f8a09cc1fc5702643b27f8ef6b18e0.tar.gz gentoo-a54c54dfd3f8a09cc1fc5702643b27f8ef6b18e0.tar.bz2 gentoo-a54c54dfd3f8a09cc1fc5702643b27f8ef6b18e0.zip |
dev-ruby/multipart-post: add 2.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/multipart-post/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/multipart-post/multipart-post-2.3.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/multipart-post/Manifest b/dev-ruby/multipart-post/Manifest index 3d6724e36adb..139311d7bcce 100644 --- a/dev-ruby/multipart-post/Manifest +++ b/dev-ruby/multipart-post/Manifest @@ -2,3 +2,4 @@ DIST multipart-post-2.1.1.gem 13824 BLAKE2B 70a706714d14d284e2fa69aa56a69682e16e DIST multipart-post-2.2.0.tar.gz 12922 BLAKE2B fba8f4ed0e1ce691b9b7c8951c75507e0f8ddaa64f83404ae9b5550bcf6bda947ecae91cf826b7ba1602587e86c2eabe6cbccb4a38d5b6f8f1098b0757bb0168 SHA512 14ede50a2edf5b6344107d190f4985ad12267da57792dd04d448b5b7d53e01585751fdeed2680779b5152053e03cd6808c5bd84ac45a719ac6ec84ff76dc94bb DIST multipart-post-2.2.2.tar.gz 12943 BLAKE2B 8d5c085d5f59fbbee7028e857e129b9c0b87f0ff1d325d52efef9849e6fbeaae919b1fad37a81901c8b05c3f4563f62cfffd608ad7904a1d3adaa6f47c28653b SHA512 f1599f861aa9876b3a8e567a80f6fc3a9ef870aba549cf7eb5f988f2085a6cc3bedfa4cf833d48d392cbe34bca223118df201f003a0be2140b9a087b74e43454 DIST multipart-post-2.2.3.tar.gz 13044 BLAKE2B fa63ad1957a515425c1b89556e07657304ce029668f67928e3dfe700c81218af40e9069860b96e429aba895d0d377194562a0db588aa042774105d6f1b5e81fd SHA512 7732146d8807f55443674697edd93950cf3205a8aaf4de7a43ba0b052b10621fe0f8847165b3cf9bdcdeadd0418bde7d3829396367c4f906ec41709bd8e31d26 +DIST multipart-post-2.3.0.tar.gz 13151 BLAKE2B 59ac6cfc743a6aaa285dd14a81fedfb123aa09720dc96a7243de94d45b3b23295d5a7de1cfb61c40c64881ad213fbf2debca49d3b1f6de7e1772c60b7d3c4d78 SHA512 ac15090cbf6dc629d57efe4810406571aec8782d021891f1f2764d4f00b735a2282162b06ee140c5b2ad21fd83f3d25028f386768166cef668bb508c235f04b2 diff --git a/dev-ruby/multipart-post/multipart-post-2.3.0.ebuild b/dev-ruby/multipart-post/multipart-post-2.3.0.ebuild new file mode 100644 index 000000000000..57603d2a4fe4 --- /dev/null +++ b/dev-ruby/multipart-post/multipart-post-2.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +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\|covered\)/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's:_relative ":"./:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove warnings since these are only actionable for developers, + # not for people consuming this package as part of other tools. + sed -i -e '/Top level/ s/warn/# warn/' lib/*.rb || die +} |