summaryrefslogtreecommitdiff
path: root/dev-ruby/multipart-post
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-09 00:01:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-09 00:01:03 +0100
commita0ce545d52f231499bf9f3644493113d8af58ec9 (patch)
tree4d67c09eed0c2ae28d1317f72d7f7b08b4f6aeea /dev-ruby/multipart-post
parent5181ced3f3566a9610b85922b083c8f84f20d78f (diff)
gentoo auto-resync : 09:05:2024 - 00:01:03
Diffstat (limited to 'dev-ruby/multipart-post')
-rw-r--r--dev-ruby/multipart-post/Manifest2
-rw-r--r--dev-ruby/multipart-post/multipart-post-2.4.1.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/multipart-post/Manifest b/dev-ruby/multipart-post/Manifest
index 7d1844d1d1f7..17c3f45aa1a0 100644
--- a/dev-ruby/multipart-post/Manifest
+++ b/dev-ruby/multipart-post/Manifest
@@ -1,5 +1,7 @@
DIST multipart-post-2.3.0.tar.gz 13151 BLAKE2B 59ac6cfc743a6aaa285dd14a81fedfb123aa09720dc96a7243de94d45b3b23295d5a7de1cfb61c40c64881ad213fbf2debca49d3b1f6de7e1772c60b7d3c4d78 SHA512 ac15090cbf6dc629d57efe4810406571aec8782d021891f1f2764d4f00b735a2282162b06ee140c5b2ad21fd83f3d25028f386768166cef668bb508c235f04b2
DIST multipart-post-2.4.0.tar.gz 13693 BLAKE2B 2340aed254d98dd6f2444eaa90009893fc6430aa8f9c1c000522afb7656de2545a734246316adf97d40b87078517005e9dd3f281532a1f966d371cff4875bc1d SHA512 9a96dc66424d8a0575f982c58bc016eda93c17195b968821b342873b4b6b02d8f53ae210fb9eea5adedfa0d9bdd70f78b37a0196782bddcd01bbbfd0e757ac38
+DIST multipart-post-2.4.1.tar.gz 13732 BLAKE2B 9a5b606109148a5e2679aa454286b2a8481cc8e90253bb22b13053cfaa45fd1882c6d6b2b7fecc17d49f4d3ced8667aa483a4e5023fc675a5d86f310ab20b40e SHA512 f21500a05428cbcc567be7b1bfdd8c38cfbc4b67cd646f96927478b768f45db996fc3868324c81e4adff5eb4013f0c5bede19802437f4539a334604c4736f8be
EBUILD multipart-post-2.3.0.ebuild 961 BLAKE2B 47728c29e32f8f14e6e3d526fbd7c996f2816899b47d12349d05906c1f5f251a824c3207f6a3325108e9715e01cdd633c74509c2996da00b881492e7d05a8fc2 SHA512 db382b2d21c6f5e7ed75f00413ba6ce5f273760ee4b0f654d1f0f875ae051165c1db2f15547cebbcbb6297cfbf9ec987bba83574026785fe8abbfcd7a21ff765
EBUILD multipart-post-2.4.0.ebuild 962 BLAKE2B a52443d39a9617f3a70a2dff2774535554c6743280b754d4fcecb406dca0f780112c60afed64f328974fc14ed60ed52e1c16542a23ecea2d73a9c7ca2874cada SHA512 817d7686c108d3c322a8684ddb2664c23941602a1b447dfb3013354c032a4e00c88a80246ca5c915a3d171499a0cd5117c762f559b762a17dcd13ad0497ee51e
+EBUILD multipart-post-2.4.1.ebuild 950 BLAKE2B 52f534f7c739887761d354f16aa18bec5112eb111acaa29b7fea21faec1ea649cbd86ca3c68c9801ec07de2141b844fd8a3926cca08132b506a756a122a1ea01 SHA512 6a4e9ee462b19f876e7fd29fdba4e029ad501f121b0cd16c291d57b56c72b570ce61d9a65ee624c342f9bea4acfaf1a4a73993a9abcfd92c22ef66dd416d3d30
MISC metadata.xml 350 BLAKE2B 9dc7252682b2302ab74d5ad216ed4d3d3c6dfd68808474a5c681682dd81b4e5e6508a9695bc0bb6987cf876594cd17f086fecb5f1e5a459371a05eb89ea85f40 SHA512 72b64e784ddbec1bc243443e96302bdbe3ab78b0aa3d097eb7a8c9e98bcffa7dbac65f0611eb3e2c72ccf702f32a388d18c1a5e86fc1de96fe62e1b4c3279e23
diff --git a/dev-ruby/multipart-post/multipart-post-2.4.1.ebuild b/dev-ruby/multipart-post/multipart-post-2.4.1.ebuild
new file mode 100644
index 000000000000..15834224ce07
--- /dev/null
+++ b/dev-ruby/multipart-post/multipart-post-2.4.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+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
+}