commit:     68349e27281980be6e9e7a24c3592f80e0e2b3a2
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 24 06:06:42 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jan 24 07:01:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68349e27

dev-ruby/json: cleanup

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/json/Manifest             |  1 -
 dev-ruby/json/json-1.8.2-r1.ebuild | 69 --------------------------------------
 2 files changed, 70 deletions(-)

diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest
index f4957896eb3..bb9477f7047 100644
--- a/dev-ruby/json/Manifest
+++ b/dev-ruby/json/Manifest
@@ -1,3 +1,2 @@
-DIST json-1.8.2.gem 152064 BLAKE2B 
5d819cf6ca1811ff6b7cb171ecda005192c9c06955641251f4066436e9746071d04ac37dedb7b3f7938d3c910d5d894f040388b8887b2d08918b344673d1624f
 SHA512 
5c94ec2c5378f7f54cd87a2e265b058e80031d2dd29daf14639c80ba0ac285a527ab7961f5a2cd1e483f455fd8f8c88575950822b7b2d431aa7b2b9c8be819c1
 DIST json-1.8.6.gem 144384 BLAKE2B 
db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345
 SHA512 
8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b
 DIST json-2.1.0.gem 140800 BLAKE2B 
28bb5334358369351ec9f13f5fb609ce34eb429cfeffb8dfde70864541516a0c2abd00a640b4647f76dcef198f967456bae0a858a2f213e5a30272c1be1878c7
 SHA512 
bffbe462e952bca321d4325ecb9c5e9f61e51cad13758581ecfaa6a038bac4e30dc7db50bd897086a5592f6fc437d0e0909f91e279aaf4dd71cf127100c3550b

diff --git a/dev-ruby/json/json-1.8.2-r1.ebuild 
b/dev-ruby/json/json-1.8.2-r1.ebuild
deleted file mode 100644
index e15a6827e7d..00000000000
--- a/dev-ruby/json/json-1.8.2-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby21 ruby22"
-
-RUBY_FAKEGEM_TASK_DOC="doc"
-RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.rdoc README-json-jruby.markdown"
-RUBY_FAKEGEM_DOCDIR="doc"
-
-RUBY_FAKEGEM_GEMSPEC="json.gemspec"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="A JSON implementation as a Ruby extension"
-HOMEPAGE="https://github.com/flori/json";
-LICENSE="|| ( Ruby GPL-2 )"
-
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-SLOT="0"
-IUSE=""
-
-RDEPEND="${RDEPEND}"
-DEPEND="${DEPEND}
-       dev-util/ragel"
-
-ruby_add_bdepend "dev-ruby/rake
-       doc? ( dev-ruby/rdoc )"
-
-all_ruby_prepare() {
-       # Avoid building the extension twice!
-       # And use rdoc instead of sdoc which we don't have packaged
-       # And don't call git to list files. We're using the pregenerated spec 
anyway.
-       sed -i \
-               -e 's| => :compile||' \
-               -e 's| => :clean||' \
-               -e 's|sdoc|rdoc|' \
-               -e 's|`git ls-files`|""|' \
-               Rakefile || die "rakefile fix failed"
-
-       # Remove hardcoded and broken -O setting.
-       sed -i -e '/^  \(if\|unless\)/,/^  end/ s:^:#:' \
-               -e '/^unless/,/^end/ s:^:#:' ext/json/ext/*/extconf.rb || die
-}
-
-each_ruby_compile() {
-       # Since 1.5.0 a Java extension is provided but it does not compile.
-       if [[ $(basename ${RUBY}) != "jruby" ]]; then
-               ${RUBY} -S rake compile || die "extension compile failed"
-       fi
-}
-
-each_ruby_test() {
-       JSON=pure \
-       ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "pure ruby tests 
failed"
-
-       if [[ $(basename ${RUBY}) != "jruby" ]]; then
-               JSON=ext \
-               ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "ext ruby 
tests failed"
-       fi
-}
-
-each_ruby_install() {
-       each_fakegem_install
-       if [[ $(basename ${RUBY}) != "jruby" ]]; then
-               ruby_fakegem_newins ext/json/ext/generator$(get_modname) 
lib/json/ext/generator$(get_modname)
-               ruby_fakegem_newins ext/json/ext/parser$(get_modname) 
lib/json/ext/parser$(get_modname)
-       fi
-}

Reply via email to