public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
Date: Sun, 11 Jun 2017 05:40:53 +0000 (UTC)	[thread overview]
Message-ID: <1497159591.180b9ff3bcc33f1491abaa4495391a5a45d79c12.graaff@gentoo> (raw)

commit:     180b9ff3bcc33f1491abaa4495391a5a45d79c12
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 11 05:24:28 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 05:39:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=180b9ff3

dev-ruby/json: add 1.8.6

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-ruby/json/Manifest          |  1 +
 dev-ruby/json/json-1.8.6.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest
index 887c6b9c99b..277f565110b 100644
--- a/dev-ruby/json/Manifest
+++ b/dev-ruby/json/Manifest
@@ -1,4 +1,5 @@
 DIST json-1.8.2.gem 152064 SHA256 256f73d107635f54e3dd84daba65da7b08f9d6a6e6aeb046db6a46b98bd8fb7f SHA512 5c94ec2c5378f7f54cd87a2e265b058e80031d2dd29daf14639c80ba0ac285a527ab7961f5a2cd1e483f455fd8f8c88575950822b7b2d431aa7b2b9c8be819c1 WHIRLPOOL dc17e0c011523434ed29e428a2658ebe58d08df8252e7ee8990882b6d17c19354b3e4ba6985a2a45e4b94932ad265698197ba64ef891f38d3be154da4edde8cb
 DIST json-1.8.3.gem 152064 SHA256 8ca2091e26678fb989d66cdb9f0104f1307bc584b429c2fd783d51e4b3f14bdb SHA512 313f6016aca5eba4d4a14a72b60b3e9c5e863a6681eb9e499cacedb63969694be563990af0a44dae52963f07b6e6c7aa7e0876ab1348b214f53d925bdc5e83ea WHIRLPOOL 8c6dc26a578aedcd4bbc1e6ea95f2a72debe6bdaca5a4c2a4e70b81d9947048c6648b62d5546fa572084d37ba99ce199a177b87838be5cc3f11d8d0fa0f62a63
+DIST json-1.8.6.gem 144384 SHA256 65af27ca985f70eb0d083aab0f75712c771871222af021ce533bad77bd3bb262 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b WHIRLPOOL 0d55a8086f54eafa8e2d9e49e71436750b63c4bb7164fe06e5fa298f112f5612c428e3d4377e1ca824577d01eb21a6862b42236a147c85e9faa8a3f623184bf8
 DIST json-2.0.4.gem 138752 SHA256 ee1361f37fbd9f06d0de3976cd4320a84119aa41fa7f321eb67244404add3114 SHA512 24105aa06c205b6fe1cd835822d71b81299fdc47a45f48dd8f513f68f7fd12cdb51df476bcaef640916737d22be3156848ee4c9922c4a61aed5ca2d4d0d21c86 WHIRLPOOL 179f95dbfe21fbb8c3a8f97281b93892c167c7e3325d6ff182c0d0e4cc9e3a17bcea118311001756937c1e0e4be09ed7f117ffc824c24df18fc5cc5a31db93ce
 DIST json-2.1.0.gem 140800 SHA256 b76fd09b881088c6c64a12721a1528f2f747a1c2ee52fab4c1f60db8af946607 SHA512 bffbe462e952bca321d4325ecb9c5e9f61e51cad13758581ecfaa6a038bac4e30dc7db50bd897086a5592f6fc437d0e0909f91e279aaf4dd71cf127100c3550b WHIRLPOOL 94140475051d90e9b207c6d0224483b5ee0c371a27b7a4aafc612bc2e828cffb350afd4001ba20a3b5ddb124561da960cdb0d757bfbfbba031942d6bbb9cc641

diff --git a/dev-ruby/json/json-1.8.6.ebuild b/dev-ruby/json/json-1.8.6.ebuild
new file mode 100644
index 00000000000..b8d1448475d
--- /dev/null
+++ b/dev-ruby/json/json-1.8.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.md README-json-jruby.markdown"
+
+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	other threads:[~2017-06-11  5:40 UTC|newest]

Thread overview: 145+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-11  5:40 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-12 18:49 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/ Hans de Graaff
2025-04-25 18:25 Hans de Graaff
2025-04-25 10:11 Arthur Zamarin
2025-04-25  0:33 Sam James
2025-04-24 19:55 Sam James
2025-04-24 19:08 Sam James
2025-04-24 19:08 Sam James
2025-04-24 19:08 Sam James
2025-04-24 18:27 Hans de Graaff
2025-03-16  8:52 Hans de Graaff
2024-12-19  6:26 Hans de Graaff
2024-12-19  6:26 Hans de Graaff
2024-12-06 13:59 Hans de Graaff
2024-12-05 10:08 Hans de Graaff
2024-11-16  8:12 Hans de Graaff
2024-11-08  7:12 Hans de Graaff
2024-11-08  7:12 Hans de Graaff
2024-11-05  6:51 Hans de Graaff
2024-10-31  6:34 Hans de Graaff
2024-10-29  6:42 Hans de Graaff
2024-10-26  6:59 Hans de Graaff
2024-10-25  6:31 Hans de Graaff
2024-10-25  6:31 Hans de Graaff
2024-10-25  6:31 Hans de Graaff
2024-09-12 13:45 Sam James
2024-09-11 18:22 Arthur Zamarin
2024-09-05  0:06 Sam James
2024-09-03  9:55 Sam James
2024-09-03  9:55 Sam James
2024-09-03  8:59 Sam James
2024-09-03  8:59 Sam James
2024-07-12  9:06 Hans de Graaff
2024-06-19  5:24 Arthur Zamarin
2024-06-04  4:39 Hans de Graaff
2024-06-02  5:43 Hans de Graaff
2024-05-30 19:10 Arthur Zamarin
2024-05-30 19:10 Arthur Zamarin
2024-05-30 19:10 Arthur Zamarin
2024-05-30 18:41 Arthur Zamarin
2024-05-30 18:41 Arthur Zamarin
2024-05-30 18:41 Arthur Zamarin
2024-05-30 16:23 Arthur Zamarin
2024-05-20 10:11 Hans de Graaff
2024-04-04  6:06 Hans de Graaff
2024-03-29  9:24 Hans de Graaff
2023-12-27  7:16 Hans de Graaff
2023-12-27  7:16 Hans de Graaff
2023-12-25  9:48 Hans de Graaff
2023-04-25 22:41 Sam James
2023-03-29  0:11 Sam James
2023-03-28 22:26 Sam James
2023-03-28 21:53 Sam James
2023-03-28 21:51 Sam James
2023-03-04 10:25 Hans de Graaff
2022-12-11  6:27 Hans de Graaff
2022-07-30  6:32 Hans de Graaff
2022-05-18  5:03 Hans de Graaff
2022-03-12  7:21 Hans de Graaff
2021-11-19  6:54 Hans de Graaff
2021-11-17  8:19 Sam James
2021-10-25  5:58 Hans de Graaff
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 23:31 Sam James
2021-10-11 15:02 Hans de Graaff
2021-07-21 10:27 Marek Szuba
2021-02-07 16:18 Hans de Graaff
2020-12-28  7:46 Hans de Graaff
2020-07-01  5:40 Hans de Graaff
2020-04-05  9:46 Hans de Graaff
2020-04-03 13:12 Agostino Sarubbo
2020-04-03 12:13 Agostino Sarubbo
2020-04-03 12:06 Agostino Sarubbo
2020-04-03 12:05 Agostino Sarubbo
2020-03-29  9:40 Sergei Trofimovich
2020-03-29  9:34 Sergei Trofimovich
2020-03-29  8:53 Mart Raudsepp
2020-03-23 18:07 Sergei Trofimovich
2020-03-21 11:25 Sergei Trofimovich
2019-12-26 11:06 Hans de Graaff
2019-12-12  6:39 Hans de Graaff
2019-12-03 10:24 Hans de Graaff
2019-11-30 21:45 Sergei Trofimovich
2019-11-27 13:03 Mikle Kolyada
2019-11-26 19:35 Sergei Trofimovich
2019-11-23 16:53 Agostino Sarubbo
2019-11-23 15:46 Agostino Sarubbo
2019-11-23 15:40 Agostino Sarubbo
2019-11-23 15:33 Agostino Sarubbo
2019-11-23 12:46 Agostino Sarubbo
2019-11-23  0:13 Aaron Bauman
2019-11-22 16:23 Matt Turner
2019-11-03  7:46 Hans de Graaff
2019-04-27 19:48 Aaron Bauman
2019-04-21 17:09 Hans de Graaff
2019-02-22  6:19 Hans de Graaff
2018-12-30  3:43 Matt Turner
2018-12-27  2:57 Matt Turner
2018-12-25 11:11 Sergei Trofimovich
2018-12-15 14:25 Mikle Kolyada
2018-12-11 16:42 Thomas Deutschmann
2018-11-18  8:11 Hans de Graaff
2018-11-17 21:34 Thomas Deutschmann
2018-05-31  4:44 Hans de Graaff
2018-01-24  7:02 Hans de Graaff
2017-12-25 17:02 Hans de Graaff
2017-12-22  5:38 Hans de Graaff
2017-12-06 22:44 Sergei Trofimovich
2017-10-22 21:34 Thomas Deutschmann
2017-10-14 22:00 Sergei Trofimovich
2017-09-24 18:50 Sergei Trofimovich
2017-09-24 16:16 Sergei Trofimovich
2017-09-17 16:51 Sergei Trofimovich
2017-09-13  6:49 Hans de Graaff
2017-09-11  7:46 Sergei Trofimovich
2017-09-07 18:44 Markus Meier
2017-09-04 10:47 Tobias Klausmann
2017-09-02 13:29 Sergei Trofimovich
2017-09-01  7:14 Hans de Graaff
2017-08-23 21:43 Sergei Trofimovich
2017-08-14 19:42 Hans de Graaff
2017-07-11  4:58 Markus Meier
2017-06-11  5:40 Hans de Graaff
2017-06-05 21:53 Sergei Trofimovich
2017-05-01  4:35 Hans de Graaff
2017-04-30 19:26 Hans de Graaff
2017-04-30  8:10 Jeroen Roovers
2017-04-25  7:08 Tobias Klausmann
2017-04-12  4:56 Hans de Graaff
2017-03-08 23:39 Michael Weber
2017-03-01 13:05 Michael Weber
2017-01-13  6:49 Hans de Graaff
2016-12-26 19:17 Hans de Graaff
2016-07-27  5:25 Hans de Graaff
2016-07-08  5:09 Hans de Graaff
2016-05-16 13:50 Hans de Graaff
2016-05-16 13:50 Hans de Graaff
2015-12-27  9:22 Hans de Graaff
2015-12-12  7:35 Hans de Graaff
2015-08-09 16:03 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1497159591.180b9ff3bcc33f1491abaa4495391a5a45d79c12.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox