summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-07-06 06:27:26 +0200
committerHans de Graaff <graaff@gentoo.org>2023-07-06 06:35:17 +0200
commite70573be95c3f0723f8e8a7719c6c398bd18143d (patch)
tree723eaacda50434a8bdaf3f8a5a740f4d9e1994e0 /dev-ruby/faraday-multipart
parentdev-perl/Test-Output: add 1.34.0 (diff)
downloadgentoo-e70573be95c3f0723f8e8a7719c6c398bd18143d.tar.gz
gentoo-e70573be95c3f0723f8e8a7719c6c398bd18143d.tar.bz2
gentoo-e70573be95c3f0723f8e8a7719c6c398bd18143d.zip
dev-ruby/faraday-multipart: new package, add 1.0.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faraday-multipart')
-rw-r--r--dev-ruby/faraday-multipart/Manifest1
-rw-r--r--dev-ruby/faraday-multipart/faraday-multipart-1.0.4.ebuild30
-rw-r--r--dev-ruby/faraday-multipart/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/faraday-multipart/Manifest b/dev-ruby/faraday-multipart/Manifest
new file mode 100644
index 000000000000..9bb03d97a53e
--- /dev/null
+++ b/dev-ruby/faraday-multipart/Manifest
@@ -0,0 +1 @@
+DIST faraday-multipart-1.0.4.tar.gz 11558 BLAKE2B 3e68fa1c7d28b25a6b6b3a1a3a8c64081bfbff619eb59e2235d0853d1853e34063c96d3a450e89ef6ec383acd05b34abd0b472527f66d76528cbc65521aac64b SHA512 a155cc1cd572157c33df75f342bc9c1d8971ee3c92a3b184098b19b3bee56f1ee79e68983ccbc6df4f8e97f8ab877dca9d28b3ed22fea1d49197c07a81d8092a
diff --git a/dev-ruby/faraday-multipart/faraday-multipart-1.0.4.ebuild b/dev-ruby/faraday-multipart/faraday-multipart-1.0.4.ebuild
new file mode 100644
index 000000000000..99dc3f7448f4
--- /dev/null
+++ b/dev-ruby/faraday-multipart/faraday-multipart-1.0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Perform multipart-post requests using Faraday"
+HOMEPAGE="https://github.com/lostisland/faraday-multipart"
+SRC_URI="https://github.com/lostisland/faraday-multipart/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/multipart-post:0"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}
diff --git a/dev-ruby/faraday-multipart/metadata.xml b/dev-ruby/faraday-multipart/metadata.xml
new file mode 100644
index 000000000000..6ee43a5aeb2e
--- /dev/null
+++ b/dev-ruby/faraday-multipart/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lostisland/faraday-multipart</remote-id>
+ </upstream>
+</pkgmetadata>