From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4477D158086 for ; Mon, 11 Oct 2021 15:02:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75209E083E; Mon, 11 Oct 2021 15:02:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46B73E083E for ; Mon, 11 Oct 2021 15:02:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 295A3342B41 for ; Mon, 11 Oct 2021 15:02:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0868CA for ; Mon, 11 Oct 2021 15:02:08 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1633964516.048e91e5c957d66155b48ecb315d6a04b2e24ae3.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/json/Manifest dev-ruby/json/json-2.3.1.ebuild dev-ruby/json/json-2.5.1.ebuild X-VCS-Directories: dev-ruby/json/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 048e91e5c957d66155b48ecb315d6a04b2e24ae3 X-VCS-Branch: master Date: Mon, 11 Oct 2021 15:02:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6cb1f29-e0e4-4b34-af11-cbd18a44322d X-Archives-Hash: 0f94bc362c2c8a5f5332ab2c89e4baed commit: 048e91e5c957d66155b48ecb315d6a04b2e24ae3 Author: Hans de Graaff gentoo org> AuthorDate: Mon Oct 11 05:59:36 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Oct 11 15:01:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048e91e5 dev-ruby/json: cleanup Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 - dev-ruby/json/json-2.3.1.ebuild | 73 ----------------------------------------- dev-ruby/json/json-2.5.1.ebuild | 68 -------------------------------------- 3 files changed, 142 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index f1761ddf79a..a5e364879cc 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,3 +1,2 @@ DIST json-2.3.0.gem 114176 BLAKE2B 329f1305a0cae3d44c74cc7475c7340e86b8447d5e4ffdd5854620669ee4ef5bba0ed7dbc617b0beffb7bfd8b3d79d46ce26feef37685413a4a5a9c230d0ce0c SHA512 9086a64b664f2d774439c0c9f10c2c1cd897684050eb60f8e3ad9256e0b9541deec3bd22fab0bdcf66e3d5bc795720c6923d514b6edb824c9962fc22f162b332 -DIST json-2.3.1.gem 118784 BLAKE2B 6852f5d1733fd5d596b44d095c37d11a129b02fc61dc81afa90aef3623eefdb5515f6755dce42f055954baf2ac45e87620940ccd7c2c839501945923dbe62d18 SHA512 a9a0c54ac1faacc412ad708b630c8bad8c6f99db6862e8fc80c46207f0f0972433fbfe51d0c93a5d91b91c59b1fef5ad8e64e36cc49e32b3e51ff390a380a2a9 DIST json-2.5.1.tar.gz 131183 BLAKE2B 2ccdf5921ef476b66cb1dbf72cc01763636c82b0eb5d0a5cfc029e14177c7c6766464e7852b11c2424db401f5b931cb64c01d3952929236c9979378a7928ea59 SHA512 4df7ec9b86692376e89c2019c2c1ab3ae9af28fb4742864acc6f985c0551fc10795742cc1124d6435e820617c00d4c5f4aa6c83b21d2fff43ed05cd9d0a89087 diff --git a/dev-ruby/json/json-2.3.1.ebuild b/dev-ruby/json/json-2.3.1.ebuild deleted file mode 100644 index a71902f0775..00000000000 --- a/dev-ruby/json/json-2.3.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" -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" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -SLOT="2" -IUSE="" - -RDEPEND="${RDEPEND}" -DEPEND="${DEPEND} - dev-util/ragel" - -ruby_add_bdepend "dev-ruby/rake - doc? ( dev-ruby/rdoc ) - test? ( dev-ruby/test-unit:2 )" - -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 '/task :test/ 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 - - # Avoid setting gem since it will not be available yet when installing - sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die -} - -each_ruby_configure() { - for ext in parser generator ; do - ${RUBY} -Cext/json/ext/${ext} extconf.rb || die - done -} - -each_ruby_compile() { - for ext in parser generator ; do - emake V=1 -Cext/json/ext/${ext} - cp ext/json/ext/${ext}/${ext}$(get_modname) ext/json/ext/ || die - done -} - -each_ruby_test() { - for t in pure ext ; do - JSON=${T} ${RUBY} -S rake do_test_${t} || die - done -} - -each_ruby_install() { - each_fakegem_install - - 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) -} diff --git a/dev-ruby/json/json-2.5.1.ebuild b/dev-ruby/json/json-2.5.1.ebuild deleted file mode 100644 index ad69f8dec5d..00000000000 --- a/dev-ruby/json/json-2.5.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" -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" -SRC_URI="https://github.com/flori/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Ruby" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -SLOT="2" -IUSE="" - -RDEPEND="${RDEPEND}" -DEPEND="${DEPEND} - dev-util/ragel" - -ruby_add_bdepend "dev-ruby/rake - doc? ( dev-ruby/rdoc ) - test? ( dev-ruby/test-unit:2 )" - -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 '/task :test/ 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 - - # Avoid setting gem since it will not be available yet when installing - sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die -} - -each_ruby_configure() { - for ext in parser generator ; do - ${RUBY} -Cext/json/ext/${ext} extconf.rb || die - done -} - -each_ruby_compile() { - for ext in parser generator ; do - emake V=1 -Cext/json/ext/${ext} - cp ext/json/ext/${ext}/${ext}$(get_modname) ext/json/ext/ || die - done -} - -each_ruby_install() { - each_fakegem_install - - 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) -}