summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2024-01-18 17:38:29 +0100
committerJakov Smolić <jsmolic@gentoo.org>2024-01-18 17:46:11 +0100
commit525cf98ee56732d322ec2426ceb2c37c7594acd0 (patch)
tree3660be69ce8806f9cef88bedc453060da05d372c /dev-ruby
parentdev-ruby/http: drop 4.4.1-r1 (diff)
downloadgentoo-525cf98ee56732d322ec2426ceb2c37c7594acd0.tar.gz
gentoo-525cf98ee56732d322ec2426ceb2c37c7594acd0.tar.bz2
gentoo-525cf98ee56732d322ec2426ceb2c37c7594acd0.zip
dev-ruby/gh: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/gh/Manifest1
-rw-r--r--dev-ruby/gh/files/gh-0.18.0-ruby30.patch20
-rw-r--r--dev-ruby/gh/gh-0.18.0-r1.ebuild46
-rw-r--r--dev-ruby/gh/metadata.xml11
4 files changed, 0 insertions, 78 deletions
diff --git a/dev-ruby/gh/Manifest b/dev-ruby/gh/Manifest
deleted file mode 100644
index 4d4d97594d08..000000000000
--- a/dev-ruby/gh/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST gh-0.18.0.tar.gz 129730 BLAKE2B e4e9a3b158daf83f8a0f0a809eff87e169c7a0a23120b9ae002d0fee4be166d3e6a09ef85ed61b35148d4285dc358a8d616e09c71403b85293574f3bfbbf922c SHA512 a265d25984d4c40340d4e80ce615f2f291f5636725e7dcdc181e3351d00fe8c3355148f206807180041f20db7f09bf94f5d279ceb25ea12ec19215640fff7839
diff --git a/dev-ruby/gh/files/gh-0.18.0-ruby30.patch b/dev-ruby/gh/files/gh-0.18.0-ruby30.patch
deleted file mode 100644
index cdd4aba84d59..000000000000
--- a/dev-ruby/gh/files/gh-0.18.0-ruby30.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/spec/token_check_spec.rb 2020-06-25 16:44:11.000000000 +0200
-+++ b/spec/token_check_spec.rb 2023-03-27 16:20:56.781510771 +0200
-@@ -8,7 +8,7 @@
- end
-
- it 'adds client_id and client_secret to a request' do
-- expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==") do
-+ expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", { :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==" }) do
- error = GH::Error.new
- error.info[:response_status] = 404
- raise error
-@@ -17,7 +17,7 @@
- end
-
- it 'does not swallow other status codes' do
-- expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==") do
-+ expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", { :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==" }) do
- error = GH::Error.new
- error.info[:response_status] = 500
- raise error
diff --git a/dev-ruby/gh/gh-0.18.0-r1.ebuild b/dev-ruby/gh/gh-0.18.0-r1.ebuild
deleted file mode 100644
index b0fb14016be7..000000000000
--- a/dev-ruby/gh/gh-0.18.0-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-USE_RUBY="ruby27 ruby30 ruby31"
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_GEMSPEC="gh.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="multi-layer client for the github api v3"
-HOMEPAGE="https://github.com/travis-ci/gh"
-SRC_URI="https://github.com/travis-ci/gh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-PATCHES=( "${FILESDIR}/${P}-ruby30.patch" )
-
-ruby_add_bdepend "
- dev-ruby/webmock
-"
-
-ruby_add_rdepend "
- dev-ruby/activesupport:6.1
- >=dev-ruby/addressable-2.4.0:0
- dev-ruby/faraday:1
- dev-ruby/faraday_middleware:1
- >dev-ruby/multi_json-1.0
- dev-ruby/net-http-pipeline
- >=dev-ruby/net-http-persistent-2.9:*
-"
-
-all_ruby_prepare() {
- sed -i \
- -e '/net-http-persistent/ s/~> 2.9/>= 2.9/' \
- -e "/activesupport/ s/'~> 5.0'/'>= 5', '< 6.2'/" \
- -e 's/git ls-files/find/' \
- "${RUBY_FAKEGEM_GEMSPEC}" || die
-
- sed -i -e '1igem "faraday", "~> 1.0"' spec/spec_helper.rb || die
-}
diff --git a/dev-ruby/gh/metadata.xml b/dev-ruby/gh/metadata.xml
deleted file mode 100644
index 9d18cc15b04f..000000000000
--- a/dev-ruby/gh/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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">travis-ci/gh</remote-id>
- </upstream>
-</pkgmetadata>