From 86c387d961c93ef085223eedf21e0cd7435da17d Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Mon, 11 May 2015 21:49:07 +0100 Subject: dev-lang/ruby: Sync with upstream Package-Manager: portage-2.2.18 RepoMan-Options: --force --- dev-lang/ruby/ChangeLog | 11 + dev-lang/ruby/Manifest | 16 +- .../ruby-2.0.0_p598-SVNr39186-asm-volatile.diff | 16 -- .../files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff | 13 -- .../ruby-2.0.0_p645-SVNr39186-asm-volatile.diff | 16 ++ .../files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff | 13 ++ dev-lang/ruby/ruby-1.9.3_p551-r1.ebuild | 219 +++++++++++++++++++ dev-lang/ruby/ruby-1.9.3_p551.ebuild | 219 ------------------- dev-lang/ruby/ruby-2.0.0_p598.ebuild | 233 --------------------- dev-lang/ruby/ruby-2.0.0_p645.ebuild | 233 +++++++++++++++++++++ 10 files changed, 500 insertions(+), 489 deletions(-) delete mode 100644 dev-lang/ruby/files/ruby-2.0.0_p598-SVNr39186-asm-volatile.diff delete mode 100644 dev-lang/ruby/files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff create mode 100644 dev-lang/ruby/files/ruby-2.0.0_p645-SVNr39186-asm-volatile.diff create mode 100644 dev-lang/ruby/files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff create mode 100644 dev-lang/ruby/ruby-1.9.3_p551-r1.ebuild delete mode 100644 dev-lang/ruby/ruby-1.9.3_p551.ebuild delete mode 100644 dev-lang/ruby/ruby-2.0.0_p598.ebuild create mode 100644 dev-lang/ruby/ruby-2.0.0_p645.ebuild (limited to 'dev-lang') diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog index 2e9f8064..d9f58415 100644 --- a/dev-lang/ruby/ChangeLog +++ b/dev-lang/ruby/ChangeLog @@ -1,3 +1,14 @@ +*ruby-1.9.3_p551-r1 (11 May 2015) +*ruby-2.0.0_p645 (11 May 2015) + + 11 May 2015; Bertrand Jacquin + +files/ruby-2.0.0_p645-SVNr39186-asm-volatile.diff, + +files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff, +ruby-1.9.3_p551-r1.ebuild, + +ruby-2.0.0_p645.ebuild, -files/ruby-2.0.0_p598-SVNr39186-asm-volatile.diff, + -files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff, -ruby-1.9.3_p551.ebuild, + -ruby-2.0.0_p598.ebuild: + dev-lang/ruby: Sync with upstream + 16 Apr 2015; Bertrand Jacquin ruby-1.9.3_p551.ebuild, ruby-2.0.0_p598.ebuild: dev-lang/ruby: Move to app-eselect diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index b4cb0f5c..461b60a6 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -1,11 +1,11 @@ AUX ruby-1.9.3_p551-asm-ilp32+volatile.diff 811 SHA256 59a0dcb93c9d9d937d2a64bf38ea3edb03070b4a2658023dee0c31eabf230dc9 WHIRLPOOL 68c29419065843908ca109cda3c4e36d2ea8ec823f4fff481113776ffc552a5a1e8393299709c672774b5f72aa158d49a9497ca41d40000da6eab7205d98f9cb -AUX ruby-2.0.0_p598-SVNr39186-asm-volatile.diff 793 SHA256 cf80e6ec351e063a8dd0e6a86f26314fa6a9535001ec272f052a7fccc07607cc WHIRLPOOL 8b0267b11ffa15eee050fd9282a1b7307e5bd00b8b9d82746cc919ee51df09f9390512125bdc623693e152a78d255ff4bc578f66c371c0450966d492061c3e52 -AUX ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff 617 SHA256 e9cf9ac459601d09a4a6244082456f9c9c45d22bbabcd3afb06e9b378facefa2 WHIRLPOOL 45dac6c5791f6ebbe59b4af6e066f8f3711b3518d1e48be308c546efc83f9c50a058c78129f01a018ad30899ce72e6444e76169be30ce27b976ea9938ae6a058 +AUX ruby-2.0.0_p645-SVNr39186-asm-volatile.diff 793 SHA256 cf80e6ec351e063a8dd0e6a86f26314fa6a9535001ec272f052a7fccc07607cc WHIRLPOOL 8b0267b11ffa15eee050fd9282a1b7307e5bd00b8b9d82746cc919ee51df09f9390512125bdc623693e152a78d255ff4bc578f66c371c0450966d492061c3e52 +AUX ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff 617 SHA256 e9cf9ac459601d09a4a6244082456f9c9c45d22bbabcd3afb06e9b378facefa2 WHIRLPOOL 45dac6c5791f6ebbe59b4af6e066f8f3711b3518d1e48be308c546efc83f9c50a058c78129f01a018ad30899ce72e6444e76169be30ce27b976ea9938ae6a058 DIST ruby-1.9.3-p551.tar.bz2 10049332 SHA256 b0c5e37e3431d58613a160504b39542ec687d473de1d4da983dabcf3c5de771e WHIRLPOOL a4de6b7300e1f1cb22b01b1fbe0a73928baf6e5b1d083e8eb239e7696703e13774fdcb52bbb7f4253ea75b597663c43a8fbea2df7b77ed95f3fd8b2512ff1f1e -DIST ruby-2.0.0-p598.tar.xz 8316092 SHA256 9dccf4c30e1bb004b18cb1129d9daac3c0ec510a671f4f4f13a2747897ffab35 WHIRLPOOL 1c60cb96a1c5d75d157b281182e5caf16f8479d52c8eb61748c63884d9dbf020f6e79ccabdc50b6f35bba1eb994c04ade5cdda550902dd6135c3838263445d12 -DIST ruby-patches-1.9.3_p551.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc -DIST ruby-patches-2.0.0_p598.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e -EBUILD ruby-1.9.3_p551.ebuild 6228 SHA256 4f54e4b9f2fe302d35f6821758e5911cad295a626ef9353de4ce684c3ba6397d WHIRLPOOL cee11ad638aefc6b2381f92033e8cfa8cc0f9dba06663fa07828276fcd991c075a1c433f2631aaa14ecc69eac29f122b0792ac7ec622ecdf4ed60aae9395405e -EBUILD ruby-2.0.0_p598.ebuild 6625 SHA256 47ef2f249df56e33197af77b58606b8599029153470f965b1e92cd33e8b5c4f4 WHIRLPOOL 2254cc5013370b64e12c6e73678af3f77170135fa96bc3bd2cf8535335db37adebaafe6da073485c8c8ad8765578435aecca023535c3550182224904fa23ee85 -MISC ChangeLog 3608 SHA256 c1c2754ea9b9df6d41d9ebf60813b7c4e4de5aacc1721a76d2521fb9f3f4ef75 WHIRLPOOL fbbdab91af8bbc9edbc02fa929fc84a9b2e6a82da95c1c859d502109a7d4ea4afe3a1915bf73adc13dae1da5b60fcd6c4fb654710dea78379492e828dabd1796 +DIST ruby-2.0.0-p645.tar.xz 8295192 SHA256 875be4f57bdbb2d2be0d64bfd8fc5022f004d55261ead8fd0cdc2e9e415e9f7b WHIRLPOOL 6201a39976f793dd3702ba580aafb881ba6e9f5cbc9d544bdddf508ca86dc14fc2970451a386ba495d16f2f68724197ef089ba02e7d1a9423870a0fa5c39cbc8 +DIST ruby-patches-1.9.3_p551-r1.tar.bz2 3685 SHA256 362d94b77c3408d200c42855868ebb5ddbee287d66bbed8e269255f9cb63418a WHIRLPOOL 3001b1c6189a882a45125d04b6264e22e0bf2b773c249bf00c2cfc98dec3392ae422913d278aae289767db0aaf8782e1a7dd44e94965aa02893833d5737ad494 +DIST ruby-patches-2.0.0_p645.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e +EBUILD ruby-1.9.3_p551-r1.ebuild 6228 SHA256 d8b5657bb44a94a1669612a88f75fdcc636dda5218a9ad817bd6f7243716161e WHIRLPOOL 40e2a6fefe39cba95f511894ced8abdce88b862bfca1e9bd3b7eabbd670d8bf716e941847cd0df3e9ae09b0a5062ef29839824f0597f5131aca72beb73100b53 +EBUILD ruby-2.0.0_p645.ebuild 6622 SHA256 3d4784f9dae33f44b84716024025c7cc85d81fd2667eb7b27b547c9f168a10fd WHIRLPOOL 87c2920ba8fba61202f35fb123fb0e5dd20cbda866bb5c35a098f0540854d86c62525c5d513504553e6c2fe609aaec49ed4bdf460ffce126a59b229979a80e87 +MISC ChangeLog 4081 SHA256 beb78a6855b039ebae50ec33f01141514f2acae36dd2eedc86a0c3c9f401f02f WHIRLPOOL 9e573b3a183857d1b0dfce38db83641eaba50ca161391983b7dacf9e8f6c02c5f23fab78a2e2bd0701acae53fe4543e5f4f65a1e57c255652c7dc459e327caac MISC metadata.xml 1135 SHA256 4eb2a9282b6a9ec8da39dece1406618a5134adc75bc27bb8b73109ce1bfc4e62 WHIRLPOOL 3aeaa05e3e8f762ba9d6f779165ce9b715e0858cec3b19b73d3c2ecc5236be9f1cd67f6dddfe1fadf9e9bde2b8f1f77e1e9d2400bf8bf8cefdc1dd367ad21342 diff --git a/dev-lang/ruby/files/ruby-2.0.0_p598-SVNr39186-asm-volatile.diff b/dev-lang/ruby/files/ruby-2.0.0_p598-SVNr39186-asm-volatile.diff deleted file mode 100644 index 870dc5bb..00000000 --- a/dev-lang/ruby/files/ruby-2.0.0_p598-SVNr39186-asm-volatile.diff +++ /dev/null @@ -1,16 +0,0 @@ -Index: gc.h -=================================================================== ---- gc.h (revision 39185) -+++ gc.h (revision 39186) -@@ -3,9 +3,9 @@ - #define RUBY_GC_H 1 - - #if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__) --#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movq\t%%rsp, %0" : "=r" (*(p))) -+#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) - #elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) --#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movl\t%%esp, %0" : "=r" (*(p))) -+#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) - #else - NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p)); - #define SET_MACHINE_STACK_END(p) rb_gc_set_stack_end(p) diff --git a/dev-lang/ruby/files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff b/dev-lang/ruby/files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff deleted file mode 100644 index 81b7fe83..00000000 --- a/dev-lang/ruby/files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff +++ /dev/null @@ -1,13 +0,0 @@ -Index: gc.h -=================================================================== ---- gc.h (revision 40635) -+++ gc.h (revision 40636) -@@ -2,7 +2,7 @@ - #ifndef RUBY_GC_H - #define RUBY_GC_H 1 - --#if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__) -+#if defined(__x86_64__) && !defined(_ILP32) && defined(__GNUC__) && !defined(__native_client__) - #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) - #elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) - #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) diff --git a/dev-lang/ruby/files/ruby-2.0.0_p645-SVNr39186-asm-volatile.diff b/dev-lang/ruby/files/ruby-2.0.0_p645-SVNr39186-asm-volatile.diff new file mode 100644 index 00000000..870dc5bb --- /dev/null +++ b/dev-lang/ruby/files/ruby-2.0.0_p645-SVNr39186-asm-volatile.diff @@ -0,0 +1,16 @@ +Index: gc.h +=================================================================== +--- gc.h (revision 39185) ++++ gc.h (revision 39186) +@@ -3,9 +3,9 @@ + #define RUBY_GC_H 1 + + #if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__) +-#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movq\t%%rsp, %0" : "=r" (*(p))) ++#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) + #elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) +-#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movl\t%%esp, %0" : "=r" (*(p))) ++#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) + #else + NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p)); + #define SET_MACHINE_STACK_END(p) rb_gc_set_stack_end(p) diff --git a/dev-lang/ruby/files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff b/dev-lang/ruby/files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff new file mode 100644 index 00000000..81b7fe83 --- /dev/null +++ b/dev-lang/ruby/files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff @@ -0,0 +1,13 @@ +Index: gc.h +=================================================================== +--- gc.h (revision 40635) ++++ gc.h (revision 40636) +@@ -2,7 +2,7 @@ + #ifndef RUBY_GC_H + #define RUBY_GC_H 1 + +-#if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__) ++#if defined(__x86_64__) && !defined(_ILP32) && defined(__GNUC__) && !defined(__native_client__) + #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) + #elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) + #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) diff --git a/dev-lang/ruby/ruby-1.9.3_p551-r1.ebuild b/dev-lang/ruby/ruby-1.9.3_p551-r1.ebuild new file mode 100644 index 00000000..f4e041ed --- /dev/null +++ b/dev-lang/ruby/ruby-1.9.3_p551-r1.ebuild @@ -0,0 +1,219 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p551-r1.ebuild,v 1.9 2015/04/29 09:18:46 ago Exp $ + +EAPI=4 + +#PATCHSET=1 + +inherit autotools eutils flag-o-matic multilib versionator + +RUBYPL=$(get_version_component_range 4) + +MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}" +S=${WORKDIR}/${MY_P} + +SLOT=$(get_version_component_range 1-2) +MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) +# 1.9.3 still uses 1.9.1 +RUBYVERSION=1.9.1 + +if [[ -n ${PATCHSET} ]]; then + if [[ ${PVR} == ${PV} ]]; then + PATCHSET="${PV}-r0.${PATCHSET}" + else + PATCHSET="${PVR}.${PATCHSET}" + fi +else + PATCHSET="${PVR}" +fi + +DESCRIPTION="An object-oriented scripting language" +HOMEPAGE="http://www.ruby-lang.org/" +SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2 + http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline +yaml" #libedit + +# libedit support is removed everywhere because of this upstream bug: +# http://redmine.ruby-lang.org/issues/show/3698 + +RDEPEND=" + berkdb? ( sys-libs/db ) + gdbm? ( sys-libs/gdbm ) + ssl? ( dev-libs/openssl ) + socks5? ( >=net-proxy/dante-1.1.13 ) + ncurses? ( sys-libs/ncurses ) + readline? ( sys-libs/readline ) + yaml? ( dev-libs/libyaml ) + virtual/libffi + sys-libs/zlib + >=app-eselect/eselect-ruby-20100402 + !