[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: e952df8bdc645c9aef72be1eee31ecebb10ecd3e Author: Hans de Graaff gentoo org> AuthorDate: Mon May 20 10:08:09 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Mon May 20 10:11:40 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e952df8b dev-ruby/json: require ragel 6.x This is the only version that still supports ruby. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.7.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.7.2.ebuild b/dev-ruby/json/json-2.7.2.ebuild index 35048694bea9..f920bc10c14a 100644 --- a/dev-ruby/json/json-2.7.2.ebuild +++ b/dev-ruby/json/json-2.7.2.ebuild @@ -24,7 +24,7 @@ SLOT="$(ver_cut 1)" IUSE="doc test" DEPEND="${DEPEND} - dev-util/ragel" + =dev-util/ragel-6*" ruby_add_bdepend "dev-ruby/rake doc? ( dev-ruby/rdoc )
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: ad96f095158c089ac212a62aeedfe49b814fca19 Author: Hans de Graaff gentoo org> AuthorDate: Thu Apr 4 06:03:32 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Apr 4 06:04:30 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad96f095 dev-ruby/json: add 2.7.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.7.2.ebuild | 52 + 2 files changed, 53 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 42556a953f99..2e3ee93f1f48 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,2 +1,3 @@ DIST json-2.6.3.tar.gz 133077 BLAKE2B f6101f533159fb689b6bf22975137d34a77bd0926c164a9c14f2d5eab982778538ec40551709e8a6470f05e78584a3e5680be740314bb7829b48feb32fb258ae SHA512 1bf9125266d8cdc565deb9e2fe3c884a1fc8d2f3b31caae67a154d0c47e30305074c1c08b49d180dd785c766762b46d3b3ef85919d53388797fcc2f37675317c DIST json-2.7.1.tar.gz 125655 BLAKE2B 9921b8dd26123d27b752d3dd633f788437a1aa2003b09ad6d0f43e946362f48a8e5b8dcc70d08f61cc9affa2578750e40c5a78d3bf88e0417af8890100987c79 SHA512 81e7cf51363095088142a7ac15428765f296e9b8c205946abf9ab98ddf7c57aa732c8111e6b0e239606645dfbc24dd40fbe981a52ab2d9fac97c0e3fb08133a0 +DIST json-2.7.2.tar.gz 125814 BLAKE2B 450c9495053c762446e77997bdc7e0291f8baf160a4da7e56d04ed18aa5629a11f1309e40bab0849692433392cfba8a19dda905fe5044ab363591a49e6e18b60 SHA512 5c432c293eed69b9810b5d0ca782383ba3f206d561641c354515e357c663ed4a4fb5ae35d3336d48605f9e82156d2f14a7ec6fa26642351214f60d91bac84f0e diff --git a/dev-ruby/json/json-2.7.2.ebuild b/dev-ruby/json/json-2.7.2.ebuild new file mode 100644 index ..35048694bea9 --- /dev/null +++ b/dev-ruby/json/json-2.7.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext + +inherit 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="|| ( BSD-2 Ruby )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="$(ver_cut 1)" +IUSE="doc test" + +DEPEND="${DEPEND} + dev-util/ragel" + +ruby_add_bdepend "dev-ruby/rake + doc? ( dev-ruby/rdoc ) + test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-ruby-core + )" + +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" + + sed -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid setting gem since it will not be available yet when installing + sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: dbd71af3c2cdc7ee31a5c6d1c6d7f6230d2b7920 Author: Félix Poisot lhfblc fr> AuthorDate: Mon Mar 4 18:52:18 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Mar 29 09:24:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd71af3 dev-ruby/json: tests depend on test-unit-ruby-core Bug: https://bugs.gentoo.org/923479 Signed-off-by: Félix Poisot lhfblc.fr> Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.7.1-r1.ebuild | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-2.7.1-r1.ebuild b/dev-ruby/json/json-2.7.1-r1.ebuild index 178fac808b33..e35c42b886fe 100644 --- a/dev-ruby/json/json-2.7.1-r1.ebuild +++ b/dev-ruby/json/json-2.7.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -29,7 +29,10 @@ DEPEND="${DEPEND} ruby_add_bdepend "dev-ruby/rake doc? ( dev-ruby/rdoc ) - test? ( dev-ruby/test-unit:2 )" + test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-ruby-core + )" all_ruby_prepare() { # Avoid building the extension twice!
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 84f8861b5a8d439d1bed900feccb55cb6fcf0a58 Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 27 07:16:20 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 27 07:16:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f8861b dev-ruby/json: drop 2.7.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.7.1.ebuild | 50 - 1 file changed, 50 deletions(-) diff --git a/dev-ruby/json/json-2.7.1.ebuild b/dev-ruby/json/json-2.7.1.ebuild deleted file mode 100644 index 178fac808b33.. --- a/dev-ruby/json/json-2.7.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" -RUBY_FAKEGEM_DOCDIR="doc" - -RUBY_FAKEGEM_GEMSPEC="json.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext - -inherit 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="|| ( BSD-2 Ruby )" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="$(ver_cut 1)" -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" - - sed -e 's/__dir__/"."/' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid setting gem since it will not be available yet when installing - sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: e98c3b7a5545fb7a23e63b081c177856e65ee066 Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 27 07:15:34 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 27 07:15:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98c3b7a dev-ruby/json: propagate gemspec fix properly This fix changes installed files, so ensure everyone will update. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.7.1-r1.ebuild | 50 ++ 1 file changed, 50 insertions(+) diff --git a/dev-ruby/json/json-2.7.1-r1.ebuild b/dev-ruby/json/json-2.7.1-r1.ebuild new file mode 100644 index ..178fac808b33 --- /dev/null +++ b/dev-ruby/json/json-2.7.1-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext + +inherit 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="|| ( BSD-2 Ruby )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="$(ver_cut 1)" +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" + + sed -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid setting gem since it will not be available yet when installing + sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 6f4350503e7deb0487f266ae8ceb7bf721b253ff Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 25 09:48:20 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 25 09:48:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f435050 dev-ruby/json: add 2.7.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.7.1.ebuild | 47 + 2 files changed, 48 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index b4f91805013a..42556a953f99 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1 +1,2 @@ DIST json-2.6.3.tar.gz 133077 BLAKE2B f6101f533159fb689b6bf22975137d34a77bd0926c164a9c14f2d5eab982778538ec40551709e8a6470f05e78584a3e5680be740314bb7829b48feb32fb258ae SHA512 1bf9125266d8cdc565deb9e2fe3c884a1fc8d2f3b31caae67a154d0c47e30305074c1c08b49d180dd785c766762b46d3b3ef85919d53388797fcc2f37675317c +DIST json-2.7.1.tar.gz 125655 BLAKE2B 9921b8dd26123d27b752d3dd633f788437a1aa2003b09ad6d0f43e946362f48a8e5b8dcc70d08f61cc9affa2578750e40c5a78d3bf88e0417af8890100987c79 SHA512 81e7cf51363095088142a7ac15428765f296e9b8c205946abf9ab98ddf7c57aa732c8111e6b0e239606645dfbc24dd40fbe981a52ab2d9fac97c0e3fb08133a0 diff --git a/dev-ruby/json/json-2.7.1.ebuild b/dev-ruby/json/json-2.7.1.ebuild new file mode 100644 index ..89d650801018 --- /dev/null +++ b/dev-ruby/json/json-2.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext + +inherit 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="|| ( BSD-2 Ruby )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="$(ver_cut 1)" +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" + + # Avoid setting gem since it will not be available yet when installing + sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 2c35517dc9ca63701230e2a0f16100e135e8da3d Author: Sam James gentoo org> AuthorDate: Tue Apr 25 22:20:05 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 22:20:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c35517d dev-ruby/json: drop obsolete sed See https://github.com/flori/json/commit/18b390d1044425d369a58ebe52f5342b9699 which dropped the relevant -O* stuff this was removing. Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.6.3.ebuild | 4 1 file changed, 4 deletions(-) diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild index e47d024b5a6f..08949a1f9e3b 100644 --- a/dev-ruby/json/json-2.6.3.ebuild +++ b/dev-ruby/json/json-2.6.3.ebuild @@ -41,10 +41,6 @@ all_ruby_prepare() { -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 }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 583ae3fcf7394e9f7f191fe4a89791066a99e06e Author: Sam James gentoo org> AuthorDate: Wed Mar 29 00:09:49 2023 + Commit: Sam James gentoo org> CommitDate: Wed Mar 29 00:09:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=583ae3fc dev-ruby/json: Stabilize 2.6.3 hppa, #903469 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.6.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild index 2629b2ed58bb..e47d024b5a6f 100644 --- a/dev-ruby/json/json-2.6.3.ebuild +++ b/dev-ruby/json/json-2.6.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/flori/json; SRC_URI="https://github.com/flori/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( BSD-2 Ruby )" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 4f14e0c05a63ed38665ab6ccfe0d60f909a748fe Author: Sam James gentoo org> AuthorDate: Tue Mar 28 22:26:03 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 22:26:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f14e0c0 dev-ruby/json: Stabilize 2.6.3 ppc64, #903469 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.6.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild index d1601f637599..2629b2ed58bb 100644 --- a/dev-ruby/json/json-2.6.3.ebuild +++ b/dev-ruby/json/json-2.6.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/flori/json; SRC_URI="https://github.com/flori/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( BSD-2 Ruby )" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: bd60ad4cec9ed82a34093eeb1747dc516a6cd2e5 Author: Sam James gentoo org> AuthorDate: Tue Mar 28 21:53:09 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 21:53:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd60ad4c dev-ruby/json: Stabilize 2.6.3 arm, #903469 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.6.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild index 4b0d0ca40143..d1601f637599 100644 --- a/dev-ruby/json/json-2.6.3.ebuild +++ b/dev-ruby/json/json-2.6.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/flori/json; SRC_URI="https://github.com/flori/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( BSD-2 Ruby )" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: f2a88f73fa2f644cfee1dbc81db9b54fc8795d1b Author: Sam James gentoo org> AuthorDate: Tue Mar 28 21:50:57 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 21:50:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a88f73 dev-ruby/json: Stabilize 2.6.3 sparc, #903469 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.6.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild index d33d36b86a1d..4b0d0ca40143 100644 --- a/dev-ruby/json/json-2.6.3.ebuild +++ b/dev-ruby/json/json-2.6.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/flori/json; SRC_URI="https://github.com/flori/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( BSD-2 Ruby )" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 309bc08e89842294debc2a3bcfb512e367d6ff09 Author: Hans de Graaff gentoo org> AuthorDate: Tue Feb 28 07:50:44 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 4 10:24:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309bc08e dev-ruby/json: enable ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.6.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild index 6fdae306ab6c..3c976f7b844d 100644 --- a/dev-ruby/json/json-2.6.3.ebuild +++ b/dev-ruby/json/json-2.6.3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" RUBY_FAKEGEM_DOCDIR="doc"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: b17b0a22bf70616e1d45e96bb09a4c7345193ba4 Author: Hans de Graaff gentoo org> AuthorDate: Sat Dec 10 08:07:44 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 11 06:27:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17b0a22 dev-ruby/json: add 2.6.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.6.3.ebuild | 50 + 2 files changed, 51 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index d6608f52e84d..08f1aae1e2e1 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,3 +1,4 @@ DIST json-2.5.1.tar.gz 131183 BLAKE2B 2ccdf5921ef476b66cb1dbf72cc01763636c82b0eb5d0a5cfc029e14177c7c6766464e7852b11c2424db401f5b931cb64c01d3952929236c9979378a7928ea59 SHA512 4df7ec9b86692376e89c2019c2c1ab3ae9af28fb4742864acc6f985c0551fc10795742cc1124d6435e820617c00d4c5f4aa6c83b21d2fff43ed05cd9d0a89087 DIST json-2.6.1.tar.gz 132705 BLAKE2B 5a8e83b8d11e360402324427de5d2520f39ee1567e2fbf3c92c738546792bb5dec4a9a3c36f3286a3de63161bb5d9f9e7b059c2560f7a3fa50271ce2aa3dc0fc SHA512 e9d0ef77d77ae54a0300b490e3e5c445d0b5aefbce1b160454916bd4f4f8f943131223047e6a7416347cc40d9e7fb1870101c3cbf3a2663a9053f07bdfbd13cf DIST json-2.6.2.tar.gz 133073 BLAKE2B f81202ee284d3a6afe5c6f3ddccde76655e170b64883e37bc38c47bd63d731f8dca4e8a57da15e275ad64af5e1e967def69590d1105c0069b92f322919782a84 SHA512 9c1c16ef462e7736c0306781573f32b96a0a53368ed24b4d1ae97953df62956b6cd72dcd20ed07708b0e1e3dd71baa61551bde452c87d7efac41267c0ee60b33 +DIST json-2.6.3.tar.gz 133077 BLAKE2B f6101f533159fb689b6bf22975137d34a77bd0926c164a9c14f2d5eab982778538ec40551709e8a6470f05e78584a3e5680be740314bb7829b48feb32fb258ae SHA512 1bf9125266d8cdc565deb9e2fe3c884a1fc8d2f3b31caae67a154d0c47e30305074c1c08b49d180dd785c766762b46d3b3ef85919d53388797fcc2f37675317c diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild new file mode 100644 index ..6fdae306ab6c --- /dev/null +++ b/dev-ruby/json/json-2.6.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) + +inherit 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="|| ( BSD-2 Ruby )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 8a3b41d99b349b0bc6acb9ead306cc505ca5b19d Author: Hans de Graaff gentoo org> AuthorDate: Fri Jul 29 15:50:25 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Jul 30 06:32:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3b41d9 dev-ruby/json: update LICENSE Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 4 ++-- dev-ruby/json/json-2.6.1.ebuild| 2 +- dev-ruby/json/json-2.6.2.ebuild| 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index b60bf87b53cc..ec077cbe9732 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ 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" +LICENSE="|| ( BSD-2 Ruby )" KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" diff --git a/dev-ruby/json/json-2.6.1.ebuild b/dev-ruby/json/json-2.6.1.ebuild index 8645070d8ec3..a90b9af04b1f 100644 --- a/dev-ruby/json/json-2.6.1.ebuild +++ b/dev-ruby/json/json-2.6.1.ebuild @@ -16,7 +16,7 @@ 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" +LICENSE="|| ( BSD-2 Ruby )" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" diff --git a/dev-ruby/json/json-2.6.2.ebuild b/dev-ruby/json/json-2.6.2.ebuild index c92a49456688..1cdeaa8478c9 100644 --- a/dev-ruby/json/json-2.6.2.ebuild +++ b/dev-ruby/json/json-2.6.2.ebuild @@ -16,7 +16,7 @@ inherit 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" +LICENSE="|| ( BSD-2 Ruby )" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 97b8cdfac17a7fd3f36a49248ce7ebd14cdb6560 Author: Hans de Graaff gentoo org> AuthorDate: Wed May 18 05:01:03 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Wed May 18 05:03:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b8cdfa dev-ruby/json: add 2.6.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.6.2.ebuild | 50 + 2 files changed, 51 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index b454b5921bff..d6608f52e84d 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,2 +1,3 @@ DIST json-2.5.1.tar.gz 131183 BLAKE2B 2ccdf5921ef476b66cb1dbf72cc01763636c82b0eb5d0a5cfc029e14177c7c6766464e7852b11c2424db401f5b931cb64c01d3952929236c9979378a7928ea59 SHA512 4df7ec9b86692376e89c2019c2c1ab3ae9af28fb4742864acc6f985c0551fc10795742cc1124d6435e820617c00d4c5f4aa6c83b21d2fff43ed05cd9d0a89087 DIST json-2.6.1.tar.gz 132705 BLAKE2B 5a8e83b8d11e360402324427de5d2520f39ee1567e2fbf3c92c738546792bb5dec4a9a3c36f3286a3de63161bb5d9f9e7b059c2560f7a3fa50271ce2aa3dc0fc SHA512 e9d0ef77d77ae54a0300b490e3e5c445d0b5aefbce1b160454916bd4f4f8f943131223047e6a7416347cc40d9e7fb1870101c3cbf3a2663a9053f07bdfbd13cf +DIST json-2.6.2.tar.gz 133073 BLAKE2B f81202ee284d3a6afe5c6f3ddccde76655e170b64883e37bc38c47bd63d731f8dca4e8a57da15e275ad64af5e1e967def69590d1105c0069b92f322919782a84 SHA512 9c1c16ef462e7736c0306781573f32b96a0a53368ed24b4d1ae97953df62956b6cd72dcd20ed07708b0e1e3dd71baa61551bde452c87d7efac41267c0ee60b33 diff --git a/dev-ruby/json/json-2.6.2.ebuild b/dev-ruby/json/json-2.6.2.ebuild new file mode 100644 index ..c92a49456688 --- /dev/null +++ b/dev-ruby/json/json-2.6.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) + +inherit 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 9bf0faaaf82c338c6adec8e1213f29b7d5225231 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 12 07:16:17 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 12 07:21:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf0faaa dev-ruby/json: add ruby31 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.6.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-2.6.1.ebuild b/dev-ruby/json/json-2.6.1.ebuild index 34e2b84f19d0..c17bebd12cd3 100644 --- a/dev-ruby/json/json-2.6.1.ebuild +++ b/dev-ruby/json/json-2.6.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" RUBY_FAKEGEM_DOCDIR="doc"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: bdddba44c369349ab622215f5f2f12f911e8ed6a Author: Hans de Graaff gentoo org> AuthorDate: Fri Nov 19 06:47:51 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Nov 19 06:54:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdddba44 dev-ruby/json: cleanup Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 - dev-ruby/json/json-2.3.0.ebuild | 73 - 2 files changed, 74 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index d2cb154f1999..b454b5921bff 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.5.1.tar.gz 131183 BLAKE2B 2ccdf5921ef476b66cb1dbf72cc01763636c82b0eb5d0a5cfc029e14177c7c6766464e7852b11c2424db401f5b931cb64c01d3952929236c9979378a7928ea59 SHA512 4df7ec9b86692376e89c2019c2c1ab3ae9af28fb4742864acc6f985c0551fc10795742cc1124d6435e820617c00d4c5f4aa6c83b21d2fff43ed05cd9d0a89087 DIST json-2.6.1.tar.gz 132705 BLAKE2B 5a8e83b8d11e360402324427de5d2520f39ee1567e2fbf3c92c738546792bb5dec4a9a3c36f3286a3de63161bb5d9f9e7b059c2560f7a3fa50271ce2aa3dc0fc SHA512 e9d0ef77d77ae54a0300b490e3e5c445d0b5aefbce1b160454916bd4f4f8f943131223047e6a7416347cc40d9e7fb1870101c3cbf3a2663a9053f07bdfbd13cf diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild deleted file mode 100644 index 815eee4af5c5.. --- a/dev-ruby/json/json-2.3.0.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="ruby24 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) -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 989b955133464f553415830084ceae58b605c187 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Nov 16 20:46:02 2021 + Commit: Sam James gentoo org> CommitDate: Wed Nov 17 08:19:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=989b9551 dev-ruby/json: stable 2.5.1-r1 for hppa, bug #817761 Package-Manager: Portage-3.0.28, Repoman-3.0.3 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index 3efecff8b3ca..b60bf87b53cc 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 7370b30d6b76a6f4bd7dac002a068f191a3d24b2 Author: Hans de Graaff gentoo org> AuthorDate: Mon Oct 25 05:58:22 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Oct 25 05:58:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7370b30d dev-ruby/json: add 2.6.1 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.6.1.ebuild | 63 + 2 files changed, 64 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index a5e364879cc..d2cb154f199 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,2 +1,3 @@ DIST json-2.3.0.gem 114176 BLAKE2B 329f1305a0cae3d44c74cc7475c7340e86b8447d5e4ffdd5854620669ee4ef5bba0ed7dbc617b0beffb7bfd8b3d79d46ce26feef37685413a4a5a9c230d0ce0c SHA512 9086a64b664f2d774439c0c9f10c2c1cd897684050eb60f8e3ad9256e0b9541deec3bd22fab0bdcf66e3d5bc795720c6923d514b6edb824c9962fc22f162b332 DIST json-2.5.1.tar.gz 131183 BLAKE2B 2ccdf5921ef476b66cb1dbf72cc01763636c82b0eb5d0a5cfc029e14177c7c6766464e7852b11c2424db401f5b931cb64c01d3952929236c9979378a7928ea59 SHA512 4df7ec9b86692376e89c2019c2c1ab3ae9af28fb4742864acc6f985c0551fc10795742cc1124d6435e820617c00d4c5f4aa6c83b21d2fff43ed05cd9d0a89087 +DIST json-2.6.1.tar.gz 132705 BLAKE2B 5a8e83b8d11e360402324427de5d2520f39ee1567e2fbf3c92c738546792bb5dec4a9a3c36f3286a3de63161bb5d9f9e7b059c2560f7a3fa50271ce2aa3dc0fc SHA512 e9d0ef77d77ae54a0300b490e3e5c445d0b5aefbce1b160454916bd4f4f8f943131223047e6a7416347cc40d9e7fb1870101c3cbf3a2663a9053f07bdfbd13cf diff --git a/dev-ruby/json/json-2.6.1.ebuild b/dev-ruby/json/json-2.6.1.ebuild new file mode 100644 index 000..34e2b84f19d --- /dev/null +++ b/dev-ruby/json/json-2.6.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) + +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 ~riscv ~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_compile() { +# for ext in parser generator ; do +# 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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 73883104dd3335ba71628e1404ad097d15f863d8 Author: Sam James gentoo org> AuthorDate: Mon Oct 11 23:30:43 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 11 23:30:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73883104 dev-ruby/json: Stabilize 2.5.1-r1 sparc, #817761 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index d745417a630..d55b4bb7917 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: c8a857d6e0a8118824048ee59403adaa01ca85f5 Author: Sam James gentoo org> AuthorDate: Mon Oct 11 23:30:39 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 11 23:30:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8a857d6 dev-ruby/json: Stabilize 2.5.1-r1 ppc, #817761 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index e7ef35f0551..d745417a630 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 6081c67737f877558815c4540bb1089df7010c4d Author: Sam James gentoo org> AuthorDate: Mon Oct 11 23:30:24 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 11 23:30:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6081c677 dev-ruby/json: Stabilize 2.5.1-r1 amd64, #817761 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index 96cfc9286d2..9a0a101460f 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 80c0ef135cd717468f658dec87a5a5b9a80744c1 Author: Sam James gentoo org> AuthorDate: Mon Oct 11 23:30:47 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 11 23:30:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80c0ef13 dev-ruby/json: Stabilize 2.5.1-r1 x86, #817761 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index d55b4bb7917..3efecff8b3c 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: e4dcb15fdfb7da4882f038ef519aa6a69eea8908 Author: Sam James gentoo org> AuthorDate: Mon Oct 11 23:30:32 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 11 23:30:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4dcb15f dev-ruby/json: Stabilize 2.5.1-r1 arm, #817761 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index 2b483ec9c0a..07fca282fb4 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 1d6cf081915f7f22ae4c5eaab08b721bd06aec8d Author: Sam James gentoo org> AuthorDate: Mon Oct 11 23:30:28 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 11 23:30:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6cf081 dev-ruby/json: Stabilize 2.5.1-r1 arm64, #817761 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index 9a0a101460f..2b483ec9c0a 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 10b13461c2a4d4983f1c58a4f7c957d581f01107 Author: Sam James gentoo org> AuthorDate: Mon Oct 11 23:30:35 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 11 23:30:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b13461 dev-ruby/json: Stabilize 2.5.1-r1 ppc64, #817761 Signed-off-by: Sam James gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index 07fca282fb4..e7ef35f0551 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 048e91e5c957d66155b48ecb315d6a04b2e24ae3 Author: Hans de Graaff gentoo org> AuthorDate: Mon Oct 11 05:59:36 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Oct 11 15:01:56 2021 + 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..000 --- 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..000 --- 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
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 639af4b58e55e9906f8bacf7ad5099da8b8b5406 Author: Marek Szuba gentoo org> AuthorDate: Wed Jul 21 10:05:43 2021 + Commit: Marek Szuba gentoo org> CommitDate: Wed Jul 21 10:20:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639af4b5 dev-ruby/json: keyword 2.5.1-r1 for ~riscv Signed-off-by: Marek Szuba gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild index ee4ed3bbb0f..96cfc9286d2 100644 --- a/dev-ruby/json/json-2.5.1-r1.ebuild +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -18,7 +18,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 8ff6c764808cdfd0d93d72b8a401efddb3a78974 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 7 10:53:23 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 7 16:17:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff6c764 dev-ruby/json: fix extension install Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.5.1-r1.ebuild | 63 ++ 1 file changed, 63 insertions(+) diff --git a/dev-ruby/json/json-2.5.1-r1.ebuild b/dev-ruby/json/json-2.5.1-r1.ebuild new file mode 100644 index 000..ee4ed3bbb0f --- /dev/null +++ b/dev-ruby/json/json-2.5.1-r1.ebuild @@ -0,0 +1,63 @@ +# 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" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) + +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_compile() { +# for ext in parser generator ; do +# 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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: d9591e30c5a5afc8908de2cf91d76740ee5c9ab4 Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 28 07:42:17 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 28 07:46:46 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9591e30 dev-ruby/json: add 2.5.1 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.5.1.ebuild | 68 + 2 files changed, 69 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 158c82c17ff..f1761ddf79a 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,2 +1,3 @@ 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.5.1.ebuild b/dev-ruby/json/json-2.5.1.ebuild new file mode 100644 index 000..5fae8444682 --- /dev/null +++ b/dev-ruby/json/json-2.5.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 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 ~x86-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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/files/, dev-ruby/json/, profiles/
commit: 37a7617bdc64e6e7f57180f9a6241d2f63115ca5 Author: Michał Górny gentoo org> AuthorDate: Mon Sep 14 17:19:35 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Sep 14 17:23:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37a7617b dev-ruby/json: Remove masked slot :0 Bug: https://bugs.gentoo.org/713478 Signed-off-by: Michał Górny gentoo.org> dev-ruby/json/Manifest | 1 - dev-ruby/json/files/json-1.8.6-heap-exposure.patch | 82 -- dev-ruby/json/json-1.8.6-r1.ebuild | 70 -- profiles/package.mask | 5 -- 4 files changed, 158 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 1744891ca90..158c82c17ff 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,3 +1,2 @@ -DIST json-1.8.6.gem 144384 BLAKE2B db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b DIST json-2.3.0.gem 114176 BLAKE2B 329f1305a0cae3d44c74cc7475c7340e86b8447d5e4ffdd5854620669ee4ef5bba0ed7dbc617b0beffb7bfd8b3d79d46ce26feef37685413a4a5a9c230d0ce0c SHA512 9086a64b664f2d774439c0c9f10c2c1cd897684050eb60f8e3ad9256e0b9541deec3bd22fab0bdcf66e3d5bc795720c6923d514b6edb824c9962fc22f162b332 DIST json-2.3.1.gem 118784 BLAKE2B 6852f5d1733fd5d596b44d095c37d11a129b02fc61dc81afa90aef3623eefdb5515f6755dce42f055954baf2ac45e87620940ccd7c2c839501945923dbe62d18 SHA512 a9a0c54ac1faacc412ad708b630c8bad8c6f99db6862e8fc80c46207f0f0972433fbfe51d0c93a5d91b91c59b1fef5ad8e64e36cc49e32b3e51ff390a380a2a9 diff --git a/dev-ruby/json/files/json-1.8.6-heap-exposure.patch b/dev-ruby/json/files/json-1.8.6-heap-exposure.patch deleted file mode 100644 index d3da7a0f86f..000 --- a/dev-ruby/json/files/json-1.8.6-heap-exposure.patch +++ /dev/null @@ -1,82 +0,0 @@ -diff --git ext/json/generator/generator.c ext/json/generator/generator.c -index a135e28348..2cdca5685f 100644 a/ext/json/ext/generator/generator.c -+++ b/ext/json/ext/generator/generator.c -@@ -301,7 +301,7 @@ static char *fstrndup(const char *ptr, unsigned long len) { - char *result; - if (len <= 0) return NULL; - result = ALLOC_N(char, len); -- memccpy(result, ptr, 0, len); -+ memcpy(result, ptr, len); - return result; - } - -@@ -1055,7 +1055,7 @@ static VALUE cState_indent_set(VALUE self, VALUE indent) - } - } else { - if (state->indent) ruby_xfree(state->indent); --state->indent = strdup(RSTRING_PTR(indent)); -+state->indent = fstrndup(RSTRING_PTR(indent), len); - state->indent_len = len; - } - return Qnil; -@@ -1093,7 +1093,7 @@ static VALUE cState_space_set(VALUE self, VALUE space) - } - } else { - if (state->space) ruby_xfree(state->space); --state->space = strdup(RSTRING_PTR(space)); -+state->space = fstrndup(RSTRING_PTR(space), len); - state->space_len = len; - } - return Qnil; -@@ -1129,7 +1129,7 @@ static VALUE cState_space_before_set(VALUE self, VALUE space_before) - } - } else { - if (state->space_before) ruby_xfree(state->space_before); --state->space_before = strdup(RSTRING_PTR(space_before)); -+state->space_before = fstrndup(RSTRING_PTR(space_before), len); - state->space_before_len = len; - } - return Qnil; -@@ -1166,7 +1166,7 @@ static VALUE cState_object_nl_set(VALUE self, VALUE object_nl) - } - } else { - if (state->object_nl) ruby_xfree(state->object_nl); --state->object_nl = strdup(RSTRING_PTR(object_nl)); -+state->object_nl = fstrndup(RSTRING_PTR(object_nl), len); - state->object_nl_len = len; - } - return Qnil; -@@ -1201,7 +1201,7 @@ static VALUE cState_array_nl_set(VALUE self, VALUE array_nl) - } - } else { - if (state->array_nl) ruby_xfree(state->array_nl); --state->array_nl = strdup(RSTRING_PTR(array_nl)); -+state->array_nl = fstrndup(RSTRING_PTR(array_nl), len); - state->array_nl_len = len; - } - return Qnil; -diff --git ext/json/generator/generator.h ext/json/generator/generator.h -index 298c0a4965..6bbf817b7d 100644 a/ext/json/ext/generator/generator.h -+++ b/ext/json/ext/generator/generator.h -@@ -1,7 +1,6 @@ - #ifndef _GENERATOR_H_ - #define _GENERATOR_H_ - --#include - #include - #include - -diff --git ext/json/lib/json/version.rb ext/json/lib/json/version.rb -index b5748334b9..cd7ddf8777 100644 a/lib/json/version.rb -+++ b/lib/json/version.rb -@@ -1,7 +1,7 @@ - module JSON - # JSON version -- VERSION = '1.8.6' -+ VERSION = '1.8.6.1' - VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc: - VERSION_MAJOR =
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: e2eabca0c1c53268bd576ab6ea2d3c6ad05cb2fc Author: Hans de Graaff gentoo org> AuthorDate: Wed Jul 1 05:40:31 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jul 1 05:40:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2eabca0 dev-ruby/json: add 2.3.1 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.3.1.ebuild | 73 + 2 files changed, 74 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 6ef49e66810..1744891ca90 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,2 +1,3 @@ DIST json-1.8.6.gem 144384 BLAKE2B db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b DIST json-2.3.0.gem 114176 BLAKE2B 329f1305a0cae3d44c74cc7475c7340e86b8447d5e4ffdd5854620669ee4ef5bba0ed7dbc617b0beffb7bfd8b3d79d46ce26feef37685413a4a5a9c230d0ce0c SHA512 9086a64b664f2d774439c0c9f10c2c1cd897684050eb60f8e3ad9256e0b9541deec3bd22fab0bdcf66e3d5bc795720c6923d514b6edb824c9962fc22f162b332 +DIST json-2.3.1.gem 118784 BLAKE2B 6852f5d1733fd5d596b44d095c37d11a129b02fc61dc81afa90aef3623eefdb5515f6755dce42f055954baf2ac45e87620940ccd7c2c839501945923dbe62d18 SHA512 a9a0c54ac1faacc412ad708b630c8bad8c6f99db6862e8fc80c46207f0f0972433fbfe51d0c93a5d91b91c59b1fef5ad8e64e36cc49e32b3e51ff390a380a2a9 diff --git a/dev-ruby/json/json-2.3.1.ebuild b/dev-ruby/json/json-2.3.1.ebuild new file mode 100644 index 000..c7cfd6fdef9 --- /dev/null +++ b/dev-ruby/json/json-2.3.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 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 ~x86-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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 2a9bd5dd9653980b428970d3d5e431540de9ee91 Author: Hans de Graaff gentoo org> AuthorDate: Sun Apr 5 09:45:14 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Apr 5 09:45:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9bd5dd dev-ruby/json: cleanup Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 - dev-ruby/json/json-2.2.0.ebuild | 74 - 2 files changed, 75 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 3ee1553c5c1..6ef49e66810 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,3 +1,2 @@ DIST json-1.8.6.gem 144384 BLAKE2B db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b -DIST json-2.2.0.gem 112640 BLAKE2B 973fe22979f4e2fa64a1090e44e5e149029881f20ec2749ce040b79a94610003941f6f3471bbc71e581491df74201bc4201419081c04a03790caaed888dfed1c SHA512 855d5cbeb6e62a7deb009ad454944430c0370cc98c53a1126d8ca3cac4b11a191bfb2ded84a957d4caa0f59cc9b6308e320a58569bddba8d6984078ea34703f2 DIST json-2.3.0.gem 114176 BLAKE2B 329f1305a0cae3d44c74cc7475c7340e86b8447d5e4ffdd5854620669ee4ef5bba0ed7dbc617b0beffb7bfd8b3d79d46ce26feef37685413a4a5a9c230d0ce0c SHA512 9086a64b664f2d774439c0c9f10c2c1cd897684050eb60f8e3ad9256e0b9541deec3bd22fab0bdcf66e3d5bc795720c6923d514b6edb824c9962fc22f162b332 diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild deleted file mode 100644 index b531e023010..000 --- a/dev-ruby/json/json-2.2.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -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 ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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) -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 470d8d295a647939dc4e589adcf781610a1da356 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Apr 3 13:12:09 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Apr 3 13:12:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470d8d29 dev-ruby/json: x86 stable wrt bug #713478 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index 47469362632..31f1010c5ae 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 746913ca2d15165f08ee8273a9e3e32703b74b14 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Apr 3 12:13:39 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Apr 3 12:13:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746913ca dev-ruby/json: s390 stable wrt bug #713478 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="s390" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index d2e36fc5071..47469362632 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: aaa829e317b88ac885a4a75323ae53c700316ca6 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Apr 3 12:06:12 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Apr 3 12:06:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa829e3 dev-ruby/json: arm stable wrt bug #713478 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index 23ebed6266b..d2e36fc5071 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: b4ea5f314255ed9b8410a4273aba55297b5dfc1b Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Apr 3 12:03:57 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Apr 3 12:03:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ea5f31 dev-ruby/json: amd64 stable wrt bug #713478 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index 738aa939e3c..23ebed6266b 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: b55223cead201b7558cfcd90a841bbd3b46653ef Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Mar 29 09:38:32 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Mar 29 09:38:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55223ce dev-ruby/json: stable 2.3.0 for ppc64, bug #713478 Package-Manager: Portage-2.3.96, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index 76949b70631..738aa939e3c 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: c54a2f05fecd5d12c81eec16689eb81cd8545419 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Mar 29 09:26:27 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Mar 29 09:26:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c54a2f05 dev-ruby/json: stable 2.3.0 for ppc, bug #713478 Package-Manager: Portage-2.3.96, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index 8baf8d03b2c..76949b70631 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: a3e7037552f4d02cee966fca273c9a4dd8f6e2ec Author: Mart Raudsepp gentoo org> AuthorDate: Sun Mar 29 08:52:43 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sun Mar 29 08:53:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e70375 dev-ruby/json: arm64 stable (bug #713478) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index bc3579ec11d..8baf8d03b2c 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 223eb0700083a27d38063bca5a79bdfb63f743d0 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Mar 23 17:06:08 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Mar 23 18:06:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223eb070 dev-ruby/json: stable 2.3.0 for hppa, bug #713478 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index 7351b045021..fe3e49f02c6 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: ab072b87032edad69a97313045410142a7811681 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Mar 21 11:13:16 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Mar 21 11:25:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab072b87 dev-ruby/json: stable 2.3.0 for sparc, bug #713478 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index ccb0114c806..7351b045021 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: d331bbe60aceea704c262491de7197d4d4e1b49b Author: Hans de Graaff gentoo org> AuthorDate: Thu Dec 26 09:57:10 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Dec 26 11:05:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d331bbe6 dev-ruby/json: add ruby27 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild index 075feb4751a..ccb0114c806 100644 --- a/dev-ruby/json/json-2.3.0.ebuild +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26" +USE_RUBY="ruby24 ruby25 ruby26 ruby27" RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" RUBY_FAKEGEM_DOCDIR="doc"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: d10c3a322d5a126111d77cd85740ef9e4ea86542 Author: Hans de Graaff gentoo org> AuthorDate: Thu Dec 12 06:24:20 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Dec 12 06:24:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10c3a32 dev-ruby/json: add 2.3.0 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.3.0.ebuild | 73 + 2 files changed, 74 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 1e6c485ed71..3ee1553c5c1 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,2 +1,3 @@ DIST json-1.8.6.gem 144384 BLAKE2B db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b DIST json-2.2.0.gem 112640 BLAKE2B 973fe22979f4e2fa64a1090e44e5e149029881f20ec2749ce040b79a94610003941f6f3471bbc71e581491df74201bc4201419081c04a03790caaed888dfed1c SHA512 855d5cbeb6e62a7deb009ad454944430c0370cc98c53a1126d8ca3cac4b11a191bfb2ded84a957d4caa0f59cc9b6308e320a58569bddba8d6984078ea34703f2 +DIST json-2.3.0.gem 114176 BLAKE2B 329f1305a0cae3d44c74cc7475c7340e86b8447d5e4ffdd5854620669ee4ef5bba0ed7dbc617b0beffb7bfd8b3d79d46ce26feef37685413a4a5a9c230d0ce0c SHA512 9086a64b664f2d774439c0c9f10c2c1cd897684050eb60f8e3ad9256e0b9541deec3bd22fab0bdcf66e3d5bc795720c6923d514b6edb824c9962fc22f162b332 diff --git a/dev-ruby/json/json-2.3.0.ebuild b/dev-ruby/json/json-2.3.0.ebuild new file mode 100644 index 000..075feb4751a --- /dev/null +++ b/dev-ruby/json/json-2.3.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +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 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: fc075547cd6c5c9b1c169a63f3ec29ced5f7eefd Author: Hans de Graaff gentoo org> AuthorDate: Tue Dec 3 10:18:25 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Tue Dec 3 10:24:10 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc075547 dev-ruby/json: cleanup Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/Manifest | 1 - dev-ruby/json/json-2.1.0.ebuild | 73 - 2 files changed, 74 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index e112a4db920..1e6c485ed71 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,3 +1,2 @@ DIST json-1.8.6.gem 144384 BLAKE2B db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b -DIST json-2.1.0.gem 140800 BLAKE2B 28bb5334358369351ec9f13f5fb609ce34eb429cfeffb8dfde70864541516a0c2abd00a640b4647f76dcef198f967456bae0a858a2f213e5a30272c1be1878c7 SHA512 bffbe462e952bca321d4325ecb9c5e9f61e51cad13758581ecfaa6a038bac4e30dc7db50bd897086a5592f6fc437d0e0909f91e279aaf4dd71cf127100c3550b DIST json-2.2.0.gem 112640 BLAKE2B 973fe22979f4e2fa64a1090e44e5e149029881f20ec2749ce040b79a94610003941f6f3471bbc71e581491df74201bc4201419081c04a03790caaed888dfed1c SHA512 855d5cbeb6e62a7deb009ad454944430c0370cc98c53a1126d8ca3cac4b11a191bfb2ded84a957d4caa0f59cc9b6308e320a58569bddba8d6984078ea34703f2 diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild deleted file mode 100644 index 5ed953f6b77..000 --- a/dev-ruby/json/json-2.1.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24 ruby25" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -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 ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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 )" - -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) -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 0186edf7fc1dab56a1c9d9944580f5a701e394cc Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 30 21:43:05 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 30 21:43:05 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0186edf7 dev-ruby/json: stable 2.2.0 for hppa, bug #700922 Package-Manager: Portage-2.3.80, Repoman-2.3.19 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index fac497e1844..18a5f502c9d 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: adb3eda444fb71ba72300e7f3b606fb044620a1e Author: Mikle Kolyada gentoo org> AuthorDate: Wed Nov 27 13:02:34 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Nov 27 13:02:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adb3eda4 dev-ruby/json: arm stable wrt bug #700922 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index 9b2105c0e0d..fac497e1844 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: b1c944f2af9819b792d2c37b76a690f9b2945a02 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Nov 26 17:04:58 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 26 19:34:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c944f2 dev-ruby/json: stable 2.2.0 for sparc, bug #700922 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index 43db4941312..9b2105c0e0d 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: c90de4899cdf5f6df255a36487b12ab0f27f8cf2 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Nov 23 16:53:16 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Nov 23 16:53:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90de489 dev-ruby/json: ppc64 stable wrt bug #700922 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index 29b60f5f44b..43db4941312 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ~ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 7fe0acea49f4403aaf63ae3a78e41e3e8ca1c04f Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Nov 23 15:46:19 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Nov 23 15:46:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe0acea dev-ruby/json: ppc stable wrt bug #700922 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index a762c89dbff..29b60f5f44b 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ~ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: b665698c62788b8c4c218a2093e02124e4b24cc1 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Nov 23 15:40:28 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Nov 23 15:40:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b665698c dev-ruby/json: ia64 stable wrt bug #700922 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index 0a5796a23a9..a762c89dbff 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 6b5bee0ad416b974f0b316c0dcaf57550e4c338a Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Nov 23 15:33:15 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Nov 23 15:33:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5bee0a dev-ruby/json: s390 stable wrt bug #700922 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="s390" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index e7910315080..0a5796a23a9 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 846f3fcc5496109dcb6fc723253a0a69b2c7ea67 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Nov 23 12:46:19 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Nov 23 12:46:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846f3fcc dev-ruby/json: amd64 stable wrt bug #700922 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index 681d30c53ac..e7910315080 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 182510cd29eebe76a70d54c794ad81fc9f33a469 Author: Aaron Bauman gentoo org> AuthorDate: Fri Nov 22 22:02:26 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Nov 23 00:13:03 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=182510cd dev-ruby/json: arm64 stable (bug #700922) Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.79, Repoman-2.3.18 dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index 87dbbb20ecb..43ccbb04cca 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 28c71f2f2c77dee5383de3dc45f0d1bbb40873d2 Author: Matt Turner gentoo org> AuthorDate: Fri Nov 22 16:23:38 2019 + Commit: Matt Turner gentoo org> CommitDate: Fri Nov 22 16:23:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c71f2f dev-ruby/json-2.2.0: alpha stable, bug 700922 Signed-off-by: Matt Turner gentoo.org> dev-ruby/json/json-2.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index c7d0735f909..87dbbb20ecb 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/files/
commit: e78ee8ff8d74b7a28f2248a754605a52c6edea80 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Nov 9 18:36:37 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Sun Nov 10 03:59:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78ee8ff dev-ruby/json: remove unused patches Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Aaron Bauman gentoo.org> dev-ruby/json/files/json-2.1.0-ruby26-1.patch | 20 dev-ruby/json/files/json-2.1.0-ruby26-2.patch | 105 --- dev-ruby/json/files/json-2.1.0-ruby26-3.patch | 143 -- 3 files changed, 268 deletions(-) diff --git a/dev-ruby/json/files/json-2.1.0-ruby26-1.patch b/dev-ruby/json/files/json-2.1.0-ruby26-1.patch deleted file mode 100644 index e6f76a4be14..000 --- a/dev-ruby/json/files/json-2.1.0-ruby26-1.patch +++ /dev/null @@ -1,20 +0,0 @@ -commit bf226a9ac40e2296589004be89b4420b2121e000 -Author: eregon -Date: Fri Aug 3 15:11:22 2018 + - -Fix missed update of parser source in r62429 - -git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - -diff --git a/ext/json/parser/parser.rl b/ext/json/parser/parser.rl -index 29900a4a4a..fba01ac0e5 100644 a/ext/json/ext/parser/parser.rl -+++ b/ext/json/ext/parser/parser.rl -@@ -824,6 +824,7 @@ static VALUE cParser_source(VALUE self) - - void Init_parser(void) - { -+#undef rb_intern - rb_require("json/common"); - mJSON = rb_define_module("JSON"); - mExt = rb_define_module_under(mJSON, "Ext"); diff --git a/dev-ruby/json/files/json-2.1.0-ruby26-2.patch b/dev-ruby/json/files/json-2.1.0-ruby26-2.patch deleted file mode 100644 index 9f1bff9b691..000 --- a/dev-ruby/json/files/json-2.1.0-ruby26-2.patch +++ /dev/null @@ -1,105 +0,0 @@ -commit e7da0fc34e8ed7fa250fc38f1109e4944cbad808 -Author: eregon -Date: Fri Aug 3 15:11:36 2018 + - -ext/json/parser/parser.c: do not call rb_str_resize() on Time object - -* See https://github.com/flori/json/issues/342 - -git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - -diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c -index b5ed093c1f..c8012796a4 100644 a/ext/json/ext/parser/parser.c -+++ b/ext/json/ext/parser/parser.c -@@ -1659,7 +1659,9 @@ case 7: - if (json->symbolize_names && json->parsing_name) { - *result = rb_str_intern(*result); - } else { -- rb_str_resize(*result, RSTRING_LEN(*result)); -+ if (RB_TYPE_P(*result, T_STRING)) { -+ rb_str_resize(*result, RSTRING_LEN(*result)); -+ } - } - if (cs >= JSON_string_first_final) { - return p + 1; -@@ -1830,7 +1832,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) - } - - --#line 1834 "parser.c" -+#line 1836 "parser.c" - enum {JSON_start = 1}; - enum {JSON_first_final = 10}; - enum {JSON_error = 0}; -@@ -1838,7 +1840,7 @@ enum {JSON_error = 0}; - enum {JSON_en_main = 1}; - - --#line 742 "parser.rl" -+#line 744 "parser.rl" - - - /* -@@ -1855,16 +1857,16 @@ static VALUE cParser_parse(VALUE self) - GET_PARSER; - - --#line 1859 "parser.c" -+#line 1861 "parser.c" - { - cs = JSON_start; - } - --#line 758 "parser.rl" -+#line 760 "parser.rl" - p = json->source; - pe = p + json->len; - --#line 1868 "parser.c" -+#line 1870 "parser.c" - { - if ( p == pe ) - goto _test_eof; -@@ -1898,7 +1900,7 @@ st0: - cs = 0; - goto _out; - tr2: --#line 734 "parser.rl" -+#line 736 "parser.rl" - { - char *np = JSON_parse_value(json, p, pe, , 0); - if (np == NULL) { p--; {p++; cs = 10; goto _out;} } else {p = (( np))-1;} -@@ -1908,7 +1910,7 @@ st10: - if ( ++p == pe ) - goto _test_eof10; - case 10: --#line 1912 "parser.c" -+#line 1914 "parser.c" - switch( (*p) ) { - case 13: goto st10; - case 32: goto st10; -@@ -1997,7 +1999,7 @@ case 9: - _out: {} - } - --#line 761 "parser.rl" -+#line 763 "parser.rl" - - if (cs >= JSON_first_final && p == pe) { - return result; -diff --git a/ext/json/parser/parser.rl b/ext/json/parser/parser.rl -index fba01ac0e5..edab32b78f 100644 a/ext/json/ext/parser/parser.rl -+++ b/ext/json/ext/parser/parser.rl -@@ -554,7 +554,9 @@ static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *resu - if (json->symbolize_names && json->parsing_name) { - *result = rb_str_intern(*result); - } else { -- rb_str_resize(*result, RSTRING_LEN(*result)); -+ if (RB_TYPE_P(*result, T_STRING)) { -+ rb_str_resize(*result, RSTRING_LEN(*result)); -+ } - } - if (cs >= JSON_string_first_final) { - return p + 1; diff --git a/dev-ruby/json/files/json-2.1.0-ruby26-3.patch b/dev-ruby/json/files/json-2.1.0-ruby26-3.patch deleted file mode
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 824ff4567bea1e7c14ead098354f23defd11 Author: Hans de Graaff gentoo org> AuthorDate: Sun Nov 3 07:06:03 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Nov 3 07:06:03 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824f dev-ruby/json: cleanup Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/json/json-2.1.0-r1.ebuild | 79 -- 1 file changed, 79 deletions(-) diff --git a/dev-ruby/json/json-2.1.0-r1.ebuild b/dev-ruby/json/json-2.1.0-r1.ebuild deleted file mode 100644 index cfac1024c4d..000 --- a/dev-ruby/json/json-2.1.0-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -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 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -SLOT="2" -IUSE="" - -RDEPEND="${RDEPEND}" -DEPEND="${DEPEND} - dev-util/ragel" - -PATCHES=( - "${FILESDIR}/${P}-ruby26-1.patch" - "${FILESDIR}/${P}-ruby26-2.patch" - "${FILESDIR}/${P}-ruby26-3.patch" -) - -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 '/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) -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 368e1a377b6de1694f9dba2d31fd07af264b16da Author: Aaron Bauman gentoo org> AuthorDate: Sat Apr 27 19:37:04 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Apr 27 19:37:04 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368e1a37 dev-ruby/json: arm64 stable Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/json/json-2.1.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index b85cf87e90e..0c96b2f4449 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: eb18952203d719096815a165502660c3e0adc49d Author: Hans de Graaff gentoo org> AuthorDate: Sun Apr 21 17:07:41 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Apr 21 17:08:23 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb189522 dev-ruby/json: add missing test dependency Fixes: https://bugs.gentoo.org/676890 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/json/json-2.2.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild index a1a7b347ee3..23dd9b0de55 100644 --- a/dev-ruby/json/json-2.2.0.ebuild +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -25,7 +25,8 @@ DEPEND="${DEPEND} dev-util/ragel" ruby_add_bdepend "dev-ruby/rake - doc? ( dev-ruby/rdoc )" + doc? ( dev-ruby/rdoc ) + test? ( dev-ruby/test-unit:2 )" all_ruby_prepare() { # Avoid building the extension twice!
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: e413bd52badd53eecccb613e1fc4a5a370a42d22 Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 22 06:19:11 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Feb 22 06:19:11 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e413bd52 dev-ruby/json: add 2.2.0 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.2.0.ebuild | 73 + 2 files changed, 74 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index bb9477f7047..e112a4db920 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,2 +1,3 @@ DIST json-1.8.6.gem 144384 BLAKE2B db9e407be4ac7e0cb2e09369637b88f70cdac7a659c600dc83a5390746dfd21b0a5243af62afaeeff013b5a4116a3b22c65a481cad89f1ca9be8904af87d0345 SHA512 8f393da080293965389df4a606e0604c500b4b267897b3c1b9007b7700dde8156f6598c25790e84fa20a7e03c7ae359a0b267c7b84e52dfe2a1ac83cf652ad9b DIST json-2.1.0.gem 140800 BLAKE2B 28bb5334358369351ec9f13f5fb609ce34eb429cfeffb8dfde70864541516a0c2abd00a640b4647f76dcef198f967456bae0a858a2f213e5a30272c1be1878c7 SHA512 bffbe462e952bca321d4325ecb9c5e9f61e51cad13758581ecfaa6a038bac4e30dc7db50bd897086a5592f6fc437d0e0909f91e279aaf4dd71cf127100c3550b +DIST json-2.2.0.gem 112640 BLAKE2B 973fe22979f4e2fa64a1090e44e5e149029881f20ec2749ce040b79a94610003941f6f3471bbc71e581491df74201bc4201419081c04a03790caaed888dfed1c SHA512 855d5cbeb6e62a7deb009ad454944430c0370cc98c53a1126d8ca3cac4b11a191bfb2ded84a957d4caa0f59cc9b6308e320a58569bddba8d6984078ea34703f2 diff --git a/dev-ruby/json/json-2.2.0.ebuild b/dev-ruby/json/json-2.2.0.ebuild new file mode 100644 index 000..a1a7b347ee3 --- /dev/null +++ b/dev-ruby/json/json-2.2.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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 ~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="2" +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 '/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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 583d70920fd34fb5cd97e7b5f3adea13090d2b4c Author: Matt Turner gentoo org> AuthorDate: Sun Dec 30 03:41:14 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Dec 30 03:43:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=583d7092 dev-ruby/json-2.1.0: hppa stable, bug 661262 Signed-off-by: Matt Turner gentoo.org> dev-ruby/json/json-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index eafc6e9554f..b85cf87e90e 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 623796b4067ead16fd1b622f1d3b83414c0bf691 Author: Matt Turner gentoo org> AuthorDate: Thu Dec 27 02:31:45 2018 + Commit: Matt Turner gentoo org> CommitDate: Thu Dec 27 02:49:43 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623796b4 dev-ruby/json-2.1.0: alpha stable, bug 661262 Signed-off-by: Matt Turner gentoo.org> dev-ruby/json/json-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index 206f9ccad98..eafc6e9554f 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/, dev-ruby/json/files/
commit: 02f081a1a6cf0384887ced3cb40c50dcb07ae57c Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 26 06:43:19 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 26 07:11:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f081a1 dev-ruby/json: add ruby26 Add patches from ruby for compatibility with ruby26. These patches have been applied upstream but no release is currently available. Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/json/files/json-2.1.0-ruby26-1.patch | 20 dev-ruby/json/files/json-2.1.0-ruby26-2.patch | 105 +++ dev-ruby/json/files/json-2.1.0-ruby26-3.patch | 143 ++ dev-ruby/json/json-2.1.0-r1.ebuild| 79 ++ 4 files changed, 347 insertions(+) diff --git a/dev-ruby/json/files/json-2.1.0-ruby26-1.patch b/dev-ruby/json/files/json-2.1.0-ruby26-1.patch new file mode 100644 index 000..e6f76a4be14 --- /dev/null +++ b/dev-ruby/json/files/json-2.1.0-ruby26-1.patch @@ -0,0 +1,20 @@ +commit bf226a9ac40e2296589004be89b4420b2121e000 +Author: eregon +Date: Fri Aug 3 15:11:22 2018 + + +Fix missed update of parser source in r62429 + +git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e + +diff --git a/ext/json/parser/parser.rl b/ext/json/parser/parser.rl +index 29900a4a4a..fba01ac0e5 100644 +--- a/ext/json/ext/parser/parser.rl b/ext/json/ext/parser/parser.rl +@@ -824,6 +824,7 @@ static VALUE cParser_source(VALUE self) + + void Init_parser(void) + { ++#undef rb_intern + rb_require("json/common"); + mJSON = rb_define_module("JSON"); + mExt = rb_define_module_under(mJSON, "Ext"); diff --git a/dev-ruby/json/files/json-2.1.0-ruby26-2.patch b/dev-ruby/json/files/json-2.1.0-ruby26-2.patch new file mode 100644 index 000..9f1bff9b691 --- /dev/null +++ b/dev-ruby/json/files/json-2.1.0-ruby26-2.patch @@ -0,0 +1,105 @@ +commit e7da0fc34e8ed7fa250fc38f1109e4944cbad808 +Author: eregon +Date: Fri Aug 3 15:11:36 2018 + + +ext/json/parser/parser.c: do not call rb_str_resize() on Time object + +* See https://github.com/flori/json/issues/342 + +git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e + +diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c +index b5ed093c1f..c8012796a4 100644 +--- a/ext/json/ext/parser/parser.c b/ext/json/ext/parser/parser.c +@@ -1659,7 +1659,9 @@ case 7: + if (json->symbolize_names && json->parsing_name) { + *result = rb_str_intern(*result); + } else { +- rb_str_resize(*result, RSTRING_LEN(*result)); ++ if (RB_TYPE_P(*result, T_STRING)) { ++ rb_str_resize(*result, RSTRING_LEN(*result)); ++ } + } + if (cs >= JSON_string_first_final) { + return p + 1; +@@ -1830,7 +1832,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) + } + + +-#line 1834 "parser.c" ++#line 1836 "parser.c" + enum {JSON_start = 1}; + enum {JSON_first_final = 10}; + enum {JSON_error = 0}; +@@ -1838,7 +1840,7 @@ enum {JSON_error = 0}; + enum {JSON_en_main = 1}; + + +-#line 742 "parser.rl" ++#line 744 "parser.rl" + + + /* +@@ -1855,16 +1857,16 @@ static VALUE cParser_parse(VALUE self) + GET_PARSER; + + +-#line 1859 "parser.c" ++#line 1861 "parser.c" + { + cs = JSON_start; + } + +-#line 758 "parser.rl" ++#line 760 "parser.rl" + p = json->source; + pe = p + json->len; + +-#line 1868 "parser.c" ++#line 1870 "parser.c" + { + if ( p == pe ) + goto _test_eof; +@@ -1898,7 +1900,7 @@ st0: + cs = 0; + goto _out; + tr2: +-#line 734 "parser.rl" ++#line 736 "parser.rl" + { + char *np = JSON_parse_value(json, p, pe, , 0); + if (np == NULL) { p--; {p++; cs = 10; goto _out;} } else {p = (( np))-1;} +@@ -1908,7 +1910,7 @@ st10: + if ( ++p == pe ) + goto _test_eof10; + case 10: +-#line 1912 "parser.c" ++#line 1914 "parser.c" + switch( (*p) ) { + case 13: goto st10; + case 32: goto st10; +@@ -1997,7 +1999,7 @@ case 9: + _out: {} + } + +-#line 761 "parser.rl" ++#line 763 "parser.rl" + + if (cs >= JSON_first_final && p == pe) { + return result; +diff --git a/ext/json/parser/parser.rl b/ext/json/parser/parser.rl +index fba01ac0e5..edab32b78f 100644 +--- a/ext/json/ext/parser/parser.rl b/ext/json/ext/parser/parser.rl +@@ -554,7 +554,9 @@ static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *resu + if (json->symbolize_names && json->parsing_name) { + *result = rb_str_intern(*result); + } else { +- rb_str_resize(*result, RSTRING_LEN(*result)); ++ if (RB_TYPE_P(*result, T_STRING)) { ++ rb_str_resize(*result, RSTRING_LEN(*result)); ++ } + } + if (cs >=
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 84afc2f989d5260ff2eea91a04baf8c099721c71 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Dec 25 10:48:45 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Dec 25 11:11:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84afc2f9 dev-ruby/json: stable 2.1.0 for sparc, bug #661262 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/json/json-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index 42e724edaee..b8ce686272b 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 41ac470e404e2eac435bfcc54c185c8708cfc079 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Dec 15 14:19:11 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Dec 15 14:25:23 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ac470e dev-ruby/json: arm stable wrt bug #661262 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/json/json-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index ad052fcdb9d..42e724edaee 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 2f06f7c32332fec25878d08fb639774637b76e78 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Dec 11 16:38:17 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Dec 11 16:38:17 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f06f7c3 dev-ruby/json: s390 stable (bug #661262) Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> dev-ruby/json/json-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index cb9f35d02ae..ad052fcdb9d 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 9580b13b94144f5dc974460ef8d627006aedd095 Author: Hans de Graaff gentoo org> AuthorDate: Sun Nov 18 07:46:22 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Nov 18 08:08:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9580b13b dev-ruby/json: amd64 stable Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/json/json-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index ec94e4c8456..c56d1ff9a92 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 406f228200b28948421f4d07a4c5a77e50d251d9 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Nov 17 21:27:19 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Nov 17 21:33:46 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406f2282 dev-ruby/json: x86 stable (bug #661262) Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> dev-ruby/json/json-2.1.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index 4e6c977d3ba..ec94e4c8456 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 53f90f3721189f8b919c1e74ac0a922af9ca622d Author: Hans de Graaff gentoo org> AuthorDate: Thu May 31 04:30:26 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Thu May 31 04:30:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53f90f37 dev-ruby/json: add ruby25 Package-Manager: Portage-2.3.36, Repoman-2.3.9 dev-ruby/json/json-1.8.6-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index ec8980e5fdf..642bdbdac71 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24" +USE_RUBY="ruby22 ruby23 ruby24 ruby25" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.md README-json-jruby.markdown"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 68349e27281980be6e9e7a24c3592f80e0e2b3a2 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jan 24 06:06:42 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jan 24 07:01:49 2018 + 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..000 --- 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 158cf81b66b3ea6737d2c8840c63dec0b278da55 Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 25 16:00:47 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 25 17:02:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158cf81b dev-ruby/json: add ruby25 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-ruby/json/json-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild index ef2c8a1174f..4e6c977d3ba 100644 --- a/dev-ruby/json/json-2.1.0.ebuild +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby21 ruby22 ruby23 ruby24" +USE_RUBY="ruby22 ruby23 ruby24 ruby25" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 949f3a23fed9b3c9d96445449eb9d063874f3207 Author: Hans de Graaff gentoo org> AuthorDate: Fri Dec 22 05:35:31 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Dec 22 05:35:31 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949f3a23 dev-ruby/json: cleanup Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-ruby/json/Manifest | 1 - dev-ruby/json/json-1.8.3.ebuild | 69 - dev-ruby/json/json-1.8.6.ebuild | 68 3 files changed, 138 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 6f39cd6e42a..f4957896eb3 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,4 +1,3 @@ DIST json-1.8.2.gem 152064 BLAKE2B 5d819cf6ca1811ff6b7cb171ecda005192c9c06955641251f4066436e9746071d04ac37dedb7b3f7938d3c910d5d894f040388b8887b2d08918b344673d1624f SHA512 5c94ec2c5378f7f54cd87a2e265b058e80031d2dd29daf14639c80ba0ac285a527ab7961f5a2cd1e483f455fd8f8c88575950822b7b2d431aa7b2b9c8be819c1 -DIST json-1.8.3.gem 152064 BLAKE2B bbc043e3cdcd06d20cd31fd2c23e583917c8886919527a30072aeb141d2808e924b27069adc19d38409e81189aa16584cc13ab449bd4e54d241f738ef9d26a30 SHA512 313f6016aca5eba4d4a14a72b60b3e9c5e863a6681eb9e499cacedb63969694be563990af0a44dae52963f07b6e6c7aa7e0876ab1348b214f53d925bdc5e83ea 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.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild deleted file mode 100644 index 73c77483200..000 --- a/dev-ruby/json/json-1.8.3.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="ruby20 ruby21 ruby22 ruby23" - -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 -} diff --git a/dev-ruby/json/json-1.8.6.ebuild b/dev-ruby/json/json-1.8.6.ebuild deleted file mode 100644 index 9d07714ac4c..000 --- a/dev-ruby/json/json-1.8.6.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby21 ruby22 ruby23 ruby24" -
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 4d507dca752dfd76ce0267bacb35ac0d74ddbbef Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Dec 6 22:42:37 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Dec 6 22:44:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d507dca dev-ruby/json: stable 1.8.6-r1 for sparc, bug #628674 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" dev-ruby/json/Manifest | 8 dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 0e2a3295498..6f39cd6e42a 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,4 +1,4 @@ -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.1.0.gem 140800 SHA256 b76fd09b881088c6c64a12721a1528f2f747a1c2ee52fab4c1f60db8af946607 SHA512 bffbe462e952bca321d4325ecb9c5e9f61e51cad13758581ecfaa6a038bac4e30dc7db50bd897086a5592f6fc437d0e0909f91e279aaf4dd71cf127100c3550b WHIRLPOOL 94140475051d90e9b207c6d0224483b5ee0c371a27b7a4aafc612bc2e828cffb350afd4001ba20a3b5ddb124561da960cdb0d757bfbfbba031942d6bbb9cc641 +DIST json-1.8.2.gem 152064 BLAKE2B 5d819cf6ca1811ff6b7cb171ecda005192c9c06955641251f4066436e9746071d04ac37dedb7b3f7938d3c910d5d894f040388b8887b2d08918b344673d1624f SHA512 5c94ec2c5378f7f54cd87a2e265b058e80031d2dd29daf14639c80ba0ac285a527ab7961f5a2cd1e483f455fd8f8c88575950822b7b2d431aa7b2b9c8be819c1 +DIST json-1.8.3.gem 152064 BLAKE2B bbc043e3cdcd06d20cd31fd2c23e583917c8886919527a30072aeb141d2808e924b27069adc19d38409e81189aa16584cc13ab449bd4e54d241f738ef9d26a30 SHA512 313f6016aca5eba4d4a14a72b60b3e9c5e863a6681eb9e499cacedb63969694be563990af0a44dae52963f07b6e6c7aa7e0876ab1348b214f53d925bdc5e83ea +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.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index f8814f50c0c..ec8980e5fdf 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: a6ac20f3c577a985fa14b412f624f3461c7ecdb0 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Oct 22 21:32:26 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Oct 22 21:34:14 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ac20f3 dev-ruby/json: x86 stable (bug #628674) Package-Manager: Portage-2.3.11, Repoman-2.3.3 dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index 1d21b4bfdf2..f8814f50c0c 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 7959a8728cf2edec87306db8e4e9ac26d2d2298b Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Oct 14 22:00:26 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Oct 14 22:00:26 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7959a872 dev-ruby/json: stable 1.8.6 for ppc, bug #628674 (thanks to ernsteiswuerfel) Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" dev-ruby/json/json-1.8.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6.ebuild b/dev-ruby/json/json-1.8.6.ebuild index 0810a567dd1..9d07714ac4c 100644 --- a/dev-ruby/json/json-1.8.6.ebuild +++ b/dev-ruby/json/json-1.8.6.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 14f2a5ee13c27b271fc8050206346aad236cc460 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 24 18:48:19 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 24 18:49:55 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f2a5ee dev-ruby/json: stable 1.8.6-r1 for ppc, bug #629484 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index ac7ff90dfc2..1d21b4bfdf2 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: ba01e35198a2b644139728a482578646d2fb4167 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 24 12:31:56 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 24 16:16:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba01e351 dev-ruby/json: stable 1.8.6 for ppc64, bug #628674 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc64" dev-ruby/json/json-1.8.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6.ebuild b/dev-ruby/json/json-1.8.6.ebuild index 337c9eaff1d..0810a567dd1 100644 --- a/dev-ruby/json/json-1.8.6.ebuild +++ b/dev-ruby/json/json-1.8.6.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 6759d1446befbbdb4bc73043863b5ee44e4933d6 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 17 16:51:12 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 17 16:51:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6759d144 dev-ruby/json: stable 1.8.6-r1 for hppa, bug #629484 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="hppa" dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index a842647e649..ac7ff90dfc2 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: dd26577e21e8e497123383845b69041abd37832a Author: Hans de Graaff gentoo org> AuthorDate: Wed Sep 13 05:32:29 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Sep 13 06:49:50 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd26577e dev-ruby/json: amd64 stable, bug 629484 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index fa0891618c6..a842647e649 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 4591e1bdabb00399a1a1605849d7db08791ff721 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Sep 11 07:45:50 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Sep 11 07:45:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4591e1bd dev-ruby/json: stable 1.8.6-r1 for ppc64, bug #629484 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc64" dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index bd88d747fbc..fa0891618c6 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 00efd67ca14cee3784420598c5f47a0f4642ab9d Author: Markus Meier gentoo org> AuthorDate: Thu Sep 7 18:44:39 2017 + Commit: Markus Meier gentoo org> CommitDate: Thu Sep 7 18:44:39 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00efd67c dev-ruby/json: arm stable, bug #629484 Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index 6cc1ca69122..bd88d747fbc 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: e96e86d18d7f234a52788564219fc84658453d47 Author: Tobias Klausmann gentoo org> AuthorDate: Mon Sep 4 10:47:31 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Mon Sep 4 10:47:31 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96e86d1 dev-ruby/json-1.8.6-r1: alpha stable Gentoo-Bug: 629484 dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index 1d295d7585e..6cc1ca69122 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 5813fb2ed2247f1e8104eafa6991ee8615f41e96 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Sep 2 13:28:51 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 2 13:28:59 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5813fb2e dev-ruby/json: stable 1.8.6-r1 for ia64, bug #629484 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="ia64" dev-ruby/json/json-1.8.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild index ab9cfddf39e..1d295d7585e 100644 --- a/dev-ruby/json/json-1.8.6-r1.ebuild +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/files/, dev-ruby/json/
commit: c934437856bf6c0d00c319c56ce5bc348cc4cf2e Author: Hans de Graaff gentoo org> AuthorDate: Fri Sep 1 07:10:59 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Sep 1 07:14:51 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9344378 dev-ruby/json: fix security bug 629484 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/json/files/json-1.8.6-heap-exposure.patch | 82 ++ dev-ruby/json/json-1.8.6-r1.ebuild | 70 ++ 2 files changed, 152 insertions(+) diff --git a/dev-ruby/json/files/json-1.8.6-heap-exposure.patch b/dev-ruby/json/files/json-1.8.6-heap-exposure.patch new file mode 100644 index 000..d3da7a0f86f --- /dev/null +++ b/dev-ruby/json/files/json-1.8.6-heap-exposure.patch @@ -0,0 +1,82 @@ +diff --git ext/json/generator/generator.c ext/json/generator/generator.c +index a135e28348..2cdca5685f 100644 +--- a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c +@@ -301,7 +301,7 @@ static char *fstrndup(const char *ptr, unsigned long len) { + char *result; + if (len <= 0) return NULL; + result = ALLOC_N(char, len); +- memccpy(result, ptr, 0, len); ++ memcpy(result, ptr, len); + return result; + } + +@@ -1055,7 +1055,7 @@ static VALUE cState_indent_set(VALUE self, VALUE indent) + } + } else { + if (state->indent) ruby_xfree(state->indent); +-state->indent = strdup(RSTRING_PTR(indent)); ++state->indent = fstrndup(RSTRING_PTR(indent), len); + state->indent_len = len; + } + return Qnil; +@@ -1093,7 +1093,7 @@ static VALUE cState_space_set(VALUE self, VALUE space) + } + } else { + if (state->space) ruby_xfree(state->space); +-state->space = strdup(RSTRING_PTR(space)); ++state->space = fstrndup(RSTRING_PTR(space), len); + state->space_len = len; + } + return Qnil; +@@ -1129,7 +1129,7 @@ static VALUE cState_space_before_set(VALUE self, VALUE space_before) + } + } else { + if (state->space_before) ruby_xfree(state->space_before); +-state->space_before = strdup(RSTRING_PTR(space_before)); ++state->space_before = fstrndup(RSTRING_PTR(space_before), len); + state->space_before_len = len; + } + return Qnil; +@@ -1166,7 +1166,7 @@ static VALUE cState_object_nl_set(VALUE self, VALUE object_nl) + } + } else { + if (state->object_nl) ruby_xfree(state->object_nl); +-state->object_nl = strdup(RSTRING_PTR(object_nl)); ++state->object_nl = fstrndup(RSTRING_PTR(object_nl), len); + state->object_nl_len = len; + } + return Qnil; +@@ -1201,7 +1201,7 @@ static VALUE cState_array_nl_set(VALUE self, VALUE array_nl) + } + } else { + if (state->array_nl) ruby_xfree(state->array_nl); +-state->array_nl = strdup(RSTRING_PTR(array_nl)); ++state->array_nl = fstrndup(RSTRING_PTR(array_nl), len); + state->array_nl_len = len; + } + return Qnil; +diff --git ext/json/generator/generator.h ext/json/generator/generator.h +index 298c0a4965..6bbf817b7d 100644 +--- a/ext/json/ext/generator/generator.h b/ext/json/ext/generator/generator.h +@@ -1,7 +1,6 @@ + #ifndef _GENERATOR_H_ + #define _GENERATOR_H_ + +-#include + #include + #include + +diff --git ext/json/lib/json/version.rb ext/json/lib/json/version.rb +index b5748334b9..cd7ddf8777 100644 +--- a/lib/json/version.rb b/lib/json/version.rb +@@ -1,7 +1,7 @@ + module JSON + # JSON version +- VERSION = '1.8.6' ++ VERSION = '1.8.6.1' + VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc: + VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc: + VERSION_MINOR = VERSION_ARRAY[1] # :nodoc: diff --git a/dev-ruby/json/json-1.8.6-r1.ebuild b/dev-ruby/json/json-1.8.6-r1.ebuild new file mode 100644 index 000..ab9cfddf39e --- /dev/null +++ b/dev-ruby/json/json-1.8.6-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="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 )" + +PATCHES=( "${FILESDIR}/${P}-heap-exposure.patch" ) + +all_ruby_prepare() { + # Avoid building the
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 2b8382db4816c358573a05759005bd89b150f699 Author: Hans de Graaff gentoo org> AuthorDate: Fri Sep 1 06:55:28 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Sep 1 07:14:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8382db dev-ruby/json: remove vulnerable version, bug 629484 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/json/Manifest | 1 - dev-ruby/json/json-2.0.4.ebuild | 73 - 2 files changed, 74 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 277f565110b..0e2a3295498 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,5 +1,4 @@ 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-2.0.4.ebuild b/dev-ruby/json/json-2.0.4.ebuild deleted file mode 100644 index 138488fe5ec..000 --- a/dev-ruby/json/json-2.0.4.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -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 ~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="2" -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 '/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() { -
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: b56e00290ccc82a7c2c46f5381c6b69413cc5a9c Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Aug 23 21:40:00 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Aug 23 21:43:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56e0029 dev-ruby/json: stable 1.8.6 for ia64, bug #628674 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="ia64" dev-ruby/json/json-1.8.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.6.ebuild b/dev-ruby/json/json-1.8.6.ebuild index b8d1448475d..337c9eaff1d 100644 --- a/dev-ruby/json/json-1.8.6.ebuild +++ b/dev-ruby/json/json-1.8.6.ebuild @@ -15,7 +15,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 6a97aab53566516854a609ad550039f8593698b6 Author: Hans de Graaff gentoo org> AuthorDate: Mon Aug 14 18:54:01 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Aug 14 19:42:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a97aab5 dev-ruby/json: add ruby22 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/json/json-1.8.2-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-ruby/json/json-1.8.2-r1.ebuild b/dev-ruby/json/json-1.8.2-r1.ebuild index a7de3ac6233..e15a6827e7d 100644 --- a/dev-ruby/json/json-1.8.2-r1.ebuild +++ b/dev-ruby/json/json-1.8.2-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby20 ruby21" +USE_RUBY="ruby21 ruby22" RUBY_FAKEGEM_TASK_DOC="doc" RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.rdoc README-json-jruby.markdown" @@ -52,11 +52,11 @@ each_ruby_compile() { each_ruby_test() { JSON=pure \ - ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "pure ruby tests failed" + ${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 tests/test_*.rb || die "ext ruby tests failed" + ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "ext ruby tests failed" fi }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 7ad508b792fdb0d7c8ca84774242f85e92b293f4 Author: Markus Meier gentoo org> AuthorDate: Tue Jul 11 04:50:03 2017 + Commit: Markus Meier gentoo org> CommitDate: Tue Jul 11 04:50:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad508b7 dev-ruby/json: arm stable, bug #615818 Package-Manager: Portage-2.3.6, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" dev-ruby/json/json-1.8.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild index bfa7c328eb2..73c77483200 100644 --- a/dev-ruby/json/json-1.8.3.ebuild +++ b/dev-ruby/json/json-1.8.3.ebuild @@ -16,7 +16,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: fe9049ee81f614b51561c2964ebe07432d2d5486 Author: Hans de Graaff gentoo org> AuthorDate: Sun Jun 11 05:15:32 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Jun 11 05:39:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe9049ee dev-ruby/json: cleanup Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-ruby/json/Manifest | 3 -- dev-ruby/json/json-2.0.1.ebuild | 73 - dev-ruby/json/json-2.0.2.ebuild | 73 - dev-ruby/json/json-2.0.3.ebuild | 73 - 4 files changed, 222 deletions(-) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index f7e21a2bc64..887c6b9c99b 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,7 +1,4 @@ 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-2.0.1.gem 138240 SHA256 cbea6bfe7bf5162c0fb71f6b0ab2c3108ef05bd0ea7b2f98b1ed6d5a8e75bfee SHA512 957ae157eb4a8c916cc931d397d65c29c7e2036eb407809861a448ba907252bb6ceb9b975c912328aeec846c9318d16eb13f5a4daaa817111fb25d2133c8e065 WHIRLPOOL c2de4df8be59413fe8068d68a3ca00e195ac61c5b100f7c57334e0eefbdb1083fd2f342c41465abbf1bb68e5bf2a6da6b1831d7254363b6c2d283c89130a1227 -DIST json-2.0.2.gem 138752 SHA256 400f60ac8282da80764c5d6fbb04c096390a85950bb488652abc1eb993b411d2 SHA512 88f5d5ad2277e29545dc88850637f5b4eb5919dd1bd5dfeefa79013c0a62ba97f7907e301509fef3d6b503c8a3b6e998f22c3abdcfeda633dbe3edd7d1389279 WHIRLPOOL 9e66182514cf44dc026f8e246bb1121f396f03c264e1e7be4ea16f4fe17367acf8986361687a9b8d4821e5587b4a28cf8c5fc6ad13a1f1c0f3d8f8dc4dae8659 -DIST json-2.0.3.gem 138752 SHA256 14e75b0de38ca662ef6a8f86ffb30fdf3516ba5cdae60c04369c181a4909fc32 SHA512 9041ebe6abc52db3ae5bc8b309148965e8e04931999685333a59ea85cf3d47c323554e58a10f2ee4e80a1815540d2a93fb49c981e76d4806a9d43842303778c8 WHIRLPOOL 008d7144e753ef38c78750613e7843839bf99306a86a09444ee4bdefa8d81a2d024e208c5998fce3f50deefa45cbb143b4a8c2b6f280b90353063d6eb389369c 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-2.0.1.ebuild b/dev-ruby/json/json-2.0.1.ebuild deleted file mode 100644 index a0e96c23f73..000 --- a/dev-ruby/json/json-2.0.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -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 ~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="2" -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 '/task :test/ s|:compile,||' \ - -e 's| => :clean||' \ - -e 's|sdoc|rdoc|' \ - -e 's|`git ls-files`|""|' \ - Rakefile || die
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 180b9ff3bcc33f1491abaa4495391a5a45d79c12 Author: Hans de Graaff gentoo org> AuthorDate: Sun Jun 11 05:24:28 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Jun 11 05:39:51 2017 + 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 000..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 +
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 14dcf91903fd178d814960af888ef242f8ea187c Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jun 5 21:48:43 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jun 5 21:52:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14dcf919 dev-ruby/json: ia64 stable, bug #615818 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/json/json-1.8.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild index 4c33066a9d1..08c7ebc91a6 100644 --- a/dev-ruby/json/json-1.8.3.ebuild +++ b/dev-ruby/json/json-1.8.3.ebuild @@ -16,7 +16,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: a79aa7d20029dc90c9a12f433680b4846447b9cf Author: Hans de Graaff gentoo org> AuthorDate: Mon May 1 04:35:07 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Mon May 1 04:35:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79aa7d2 dev-ruby/json: add 2.1.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.1.0.ebuild | 73 + 2 files changed, 74 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 20aa44675e1..f7e21a2bc64 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -4,3 +4,4 @@ DIST json-2.0.1.gem 138240 SHA256 cbea6bfe7bf5162c0fb71f6b0ab2c3108ef05bd0ea7b2f DIST json-2.0.2.gem 138752 SHA256 400f60ac8282da80764c5d6fbb04c096390a85950bb488652abc1eb993b411d2 SHA512 88f5d5ad2277e29545dc88850637f5b4eb5919dd1bd5dfeefa79013c0a62ba97f7907e301509fef3d6b503c8a3b6e998f22c3abdcfeda633dbe3edd7d1389279 WHIRLPOOL 9e66182514cf44dc026f8e246bb1121f396f03c264e1e7be4ea16f4fe17367acf8986361687a9b8d4821e5587b4a28cf8c5fc6ad13a1f1c0f3d8f8dc4dae8659 DIST json-2.0.3.gem 138752 SHA256 14e75b0de38ca662ef6a8f86ffb30fdf3516ba5cdae60c04369c181a4909fc32 SHA512 9041ebe6abc52db3ae5bc8b309148965e8e04931999685333a59ea85cf3d47c323554e58a10f2ee4e80a1815540d2a93fb49c981e76d4806a9d43842303778c8 WHIRLPOOL 008d7144e753ef38c78750613e7843839bf99306a86a09444ee4bdefa8d81a2d024e208c5998fce3f50deefa45cbb143b4a8c2b6f280b90353063d6eb389369c 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-2.1.0.ebuild b/dev-ruby/json/json-2.1.0.ebuild new file mode 100644 index 000..ef2c8a1174f --- /dev/null +++ b/dev-ruby/json/json-2.1.0.ebuild @@ -0,0 +1,73 @@ +# 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.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 ~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="2" +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 '/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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 2794d51b40d3d19a96a92f342bad68526ec33286 Author: Hans de Graaff gentoo org> AuthorDate: Sun Apr 30 19:14:38 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Apr 30 19:26:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2794d51b dev-ruby/json: fix tests for test-unit:2 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/json/json-1.8.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild index f28acee7b26..4c33066a9d1 100644 --- a/dev-ruby/json/json-1.8.3.ebuild +++ b/dev-ruby/json/json-1.8.3.ebuild @@ -52,11 +52,11 @@ each_ruby_compile() { each_ruby_test() { JSON=pure \ - ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "pure ruby tests failed" + ${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 tests/test_*.rb || die "ext ruby tests failed" + ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "ext ruby tests failed" fi }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 0e2a7f065e2b486c5e9aa426f90efce860905587 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Apr 30 08:03:55 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun Apr 30 08:10:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2a7f06 dev-ruby/json: Stable for HPPA (bug #615818). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --ignore-arches dev-ruby/json/json-1.8.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild index f886689e384..f28acee7b26 100644 --- a/dev-ruby/json/json-1.8.3.ebuild +++ b/dev-ruby/json/json-1.8.3.ebuild @@ -16,7 +16,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: d96c5c56cfe66e2ee2249acf4a2e6b3420a7a047 Author: Tobias Klausmann gentoo org> AuthorDate: Tue Apr 25 07:08:00 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Apr 25 07:08:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d96c5c56 dev-ruby/json-1.8.3-r0: add alpha keyword Gentoo-Bug: 615818 dev-ruby/json/json-1.8.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild index a2c421e8c72..2d89ebeb7fb 100644 --- a/dev-ruby/json/json-1.8.3.ebuild +++ b/dev-ruby/json/json-1.8.3.ebuild @@ -16,7 +16,7 @@ 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 49b71c02a8260888a8466df9b77d9efaefed403c Author: Hans de Graaff gentoo org> AuthorDate: Wed Apr 12 04:48:47 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Apr 12 04:48:47 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b71c02 dev-ruby/json: add 2.0.4 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.0.4.ebuild | 73 + 2 files changed, 74 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 658f2876811..20aa44675e1 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -3,3 +3,4 @@ DIST json-1.8.3.gem 152064 SHA256 8ca2091e26678fb989d66cdb9f0104f1307bc584b429c2 DIST json-2.0.1.gem 138240 SHA256 cbea6bfe7bf5162c0fb71f6b0ab2c3108ef05bd0ea7b2f98b1ed6d5a8e75bfee SHA512 957ae157eb4a8c916cc931d397d65c29c7e2036eb407809861a448ba907252bb6ceb9b975c912328aeec846c9318d16eb13f5a4daaa817111fb25d2133c8e065 WHIRLPOOL c2de4df8be59413fe8068d68a3ca00e195ac61c5b100f7c57334e0eefbdb1083fd2f342c41465abbf1bb68e5bf2a6da6b1831d7254363b6c2d283c89130a1227 DIST json-2.0.2.gem 138752 SHA256 400f60ac8282da80764c5d6fbb04c096390a85950bb488652abc1eb993b411d2 SHA512 88f5d5ad2277e29545dc88850637f5b4eb5919dd1bd5dfeefa79013c0a62ba97f7907e301509fef3d6b503c8a3b6e998f22c3abdcfeda633dbe3edd7d1389279 WHIRLPOOL 9e66182514cf44dc026f8e246bb1121f396f03c264e1e7be4ea16f4fe17367acf8986361687a9b8d4821e5587b4a28cf8c5fc6ad13a1f1c0f3d8f8dc4dae8659 DIST json-2.0.3.gem 138752 SHA256 14e75b0de38ca662ef6a8f86ffb30fdf3516ba5cdae60c04369c181a4909fc32 SHA512 9041ebe6abc52db3ae5bc8b309148965e8e04931999685333a59ea85cf3d47c323554e58a10f2ee4e80a1815540d2a93fb49c981e76d4806a9d43842303778c8 WHIRLPOOL 008d7144e753ef38c78750613e7843839bf99306a86a09444ee4bdefa8d81a2d024e208c5998fce3f50deefa45cbb143b4a8c2b6f280b90353063d6eb389369c +DIST json-2.0.4.gem 138752 SHA256 ee1361f37fbd9f06d0de3976cd4320a84119aa41fa7f321eb67244404add3114 SHA512 24105aa06c205b6fe1cd835822d71b81299fdc47a45f48dd8f513f68f7fd12cdb51df476bcaef640916737d22be3156848ee4c9922c4a61aed5ca2d4d0d21c86 WHIRLPOOL 179f95dbfe21fbb8c3a8f97281b93892c167c7e3325d6ff182c0d0e4cc9e3a17bcea118311001756937c1e0e4be09ed7f117ffc824c24df18fc5cc5a31db93ce diff --git a/dev-ruby/json/json-2.0.4.ebuild b/dev-ruby/json/json-2.0.4.ebuild new file mode 100644 index 000..138488fe5ec --- /dev/null +++ b/dev-ruby/json/json-2.0.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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 ~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="2" +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 '/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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 28177b5001ba6958901102c4424a56462fc5836d Author: Michael Weber gentoo org> AuthorDate: Wed Mar 8 23:13:09 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Mar 8 23:39:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28177b50 dev-ruby/json: add ~arm64 keyword. Package-Manager: Portage-2.3.4, Repoman-2.3.2 RepoMan-Options: --include-arches="arm64" dev-ruby/json/json-1.8.3.ebuild | 4 ++-- dev-ruby/json/json-2.0.1.ebuild | 4 ++-- dev-ruby/json/json-2.0.2.ebuild | 4 ++-- dev-ruby/json/json-2.0.3.ebuild | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild index d66e7f1d304..a2c421e8c72 100644 --- a/dev-ruby/json/json-1.8.3.ebuild +++ b/dev-ruby/json/json-1.8.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="|| ( Ruby GPL-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~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" +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="" diff --git a/dev-ruby/json/json-2.0.1.ebuild b/dev-ruby/json/json-2.0.1.ebuild index c4c8cbd58b7..a0e96c23f73 100644 --- a/dev-ruby/json/json-2.0.1.ebuild +++ b/dev-ruby/json/json-2.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm ~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" +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="2" IUSE="" diff --git a/dev-ruby/json/json-2.0.2.ebuild b/dev-ruby/json/json-2.0.2.ebuild index 13222d2a13b..80d52cc212b 100644 --- a/dev-ruby/json/json-2.0.2.ebuild +++ b/dev-ruby/json/json-2.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm ~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" +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="2" IUSE="" diff --git a/dev-ruby/json/json-2.0.3.ebuild b/dev-ruby/json/json-2.0.3.ebuild index fff41c43af4..138488fe5ec 100644 --- a/dev-ruby/json/json-2.0.3.ebuild +++ b/dev-ruby/json/json-2.0.3.ebuild @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="Ruby" -KEYWORDS="~alpha ~amd64 ~arm ~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" +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="2" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 0977e142c647698ea919082ee7788e8281a33271 Author: Michael Weber gentoo org> AuthorDate: Wed Mar 1 11:41:12 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Mar 1 13:05:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0977e142 dev-ruby/json: arm64 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64,arm,arm64,ppc,ppc64" dev-ruby/json/json-1.8.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/json/json-1.8.2-r1.ebuild b/dev-ruby/json/json-1.8.2-r1.ebuild index aa6f13b57a4..beee5694912 100644 --- a/dev-ruby/json/json-1.8.2-r1.ebuild +++ b/dev-ruby/json/json-1.8.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -16,7 +16,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension" HOMEPAGE="https://github.com/flori/json; LICENSE="|| ( Ruby GPL-2 )" -KEYWORDS="alpha amd64 arm 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" +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=""
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: 73bd8000b4e655c26c5cad8be5c94f0135ed9fe6 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jan 13 06:49:37 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Jan 13 06:49:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bd8000 dev-ruby/json: add 2.0.3 Package-Manager: portage-2.3.0 dev-ruby/json/Manifest | 1 + dev-ruby/json/json-2.0.3.ebuild | 74 + 2 files changed, 75 insertions(+) diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 0ce73aa..658f287 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -2,3 +2,4 @@ DIST json-1.8.2.gem 152064 SHA256 256f73d107635f54e3dd84daba65da7b08f9d6a6e6aeb0 DIST json-1.8.3.gem 152064 SHA256 8ca2091e26678fb989d66cdb9f0104f1307bc584b429c2fd783d51e4b3f14bdb SHA512 313f6016aca5eba4d4a14a72b60b3e9c5e863a6681eb9e499cacedb63969694be563990af0a44dae52963f07b6e6c7aa7e0876ab1348b214f53d925bdc5e83ea WHIRLPOOL 8c6dc26a578aedcd4bbc1e6ea95f2a72debe6bdaca5a4c2a4e70b81d9947048c6648b62d5546fa572084d37ba99ce199a177b87838be5cc3f11d8d0fa0f62a63 DIST json-2.0.1.gem 138240 SHA256 cbea6bfe7bf5162c0fb71f6b0ab2c3108ef05bd0ea7b2f98b1ed6d5a8e75bfee SHA512 957ae157eb4a8c916cc931d397d65c29c7e2036eb407809861a448ba907252bb6ceb9b975c912328aeec846c9318d16eb13f5a4daaa817111fb25d2133c8e065 WHIRLPOOL c2de4df8be59413fe8068d68a3ca00e195ac61c5b100f7c57334e0eefbdb1083fd2f342c41465abbf1bb68e5bf2a6da6b1831d7254363b6c2d283c89130a1227 DIST json-2.0.2.gem 138752 SHA256 400f60ac8282da80764c5d6fbb04c096390a85950bb488652abc1eb993b411d2 SHA512 88f5d5ad2277e29545dc88850637f5b4eb5919dd1bd5dfeefa79013c0a62ba97f7907e301509fef3d6b503c8a3b6e998f22c3abdcfeda633dbe3edd7d1389279 WHIRLPOOL 9e66182514cf44dc026f8e246bb1121f396f03c264e1e7be4ea16f4fe17367acf8986361687a9b8d4821e5587b4a28cf8c5fc6ad13a1f1c0f3d8f8dc4dae8659 +DIST json-2.0.3.gem 138752 SHA256 14e75b0de38ca662ef6a8f86ffb30fdf3516ba5cdae60c04369c181a4909fc32 SHA512 9041ebe6abc52db3ae5bc8b309148965e8e04931999685333a59ea85cf3d47c323554e58a10f2ee4e80a1815540d2a93fb49c981e76d4806a9d43842303778c8 WHIRLPOOL 008d7144e753ef38c78750613e7843839bf99306a86a09444ee4bdefa8d81a2d024e208c5998fce3f50deefa45cbb143b4a8c2b6f280b90353063d6eb389369c diff --git a/dev-ruby/json/json-2.0.3.ebuild b/dev-ruby/json/json-2.0.3.ebuild new file mode 100644 index ..baf4dc9 --- /dev/null +++ b/dev-ruby/json/json-2.0.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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 ~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="2" +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 '/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) +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/json/
commit: b2fe99ce8b5f9ec62bf2ea9c4c1a46880c789402 Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 26 09:38:44 2016 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 26 19:16:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2fe99ce dev-ruby/json: add ruby24 Package-Manager: portage-2.3.0 dev-ruby/json/json-2.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/json/json-2.0.2.ebuild b/dev-ruby/json/json-2.0.2.ebuild index 6b1f6c5..7e85ba0 100644 --- a/dev-ruby/json/json-2.0.2.ebuild +++ b/dev-ruby/json/json-2.0.2.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22 ruby23" +USE_RUBY="ruby20 ruby21 ruby22 ruby23 ruby24" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"