commit:     525cf98ee56732d322ec2426ceb2c37c7594acd0
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 16:38:29 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 16:46:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525cf98e

dev-ruby/gh: treeclean

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-ruby/gh/Manifest                     |  1 -
 dev-ruby/gh/files/gh-0.18.0-ruby30.patch | 20 --------------
 dev-ruby/gh/gh-0.18.0-r1.ebuild          | 46 --------------------------------
 dev-ruby/gh/metadata.xml                 | 11 --------
 profiles/package.mask                    |  5 ----
 5 files changed, 83 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>[email protected]</email>
-               <name>Gentoo Ruby Project</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="github">travis-ci/gh</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index c585bd91e67b..e547f4b017d0 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -472,11 +472,6 @@ dev-ruby/elasticsearch:8.8.0
 dev-python/pypy3-exe
 dev-python/pypy3-exe-bin
 
-# Hans de Graaff <[email protected]> (2023-12-15)
-# Last release in 2020. Does not work with current activesupport
-# versions. No reverse dependencies. Masked for removal on 2024-01-15.
-dev-ruby/gh
-
 # Sam James <[email protected]> (2023-12-14)
 # Gentoo's kernel maintainers have decided to discontinue gentoo-sources and
 # gentoo-kernel for old kernel LTS branches because of the resources to require

Reply via email to