From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1C591396D0 for ; Tue, 26 Sep 2017 21:03:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 107752BC005; Tue, 26 Sep 2017 21:03:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D24D52BC005 for ; Tue, 26 Sep 2017 21:03:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46C403416B6 for ; Tue, 26 Sep 2017 21:03:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FD978F83 for ; Tue, 26 Sep 2017 21:03:39 +0000 (UTC) From: "Aric Belsito" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aric Belsito" Message-ID: <1506459742.9243b1c4795034628bb326acefeab5e1364f4cba.lluixhi@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: dev-lang/ruby/ X-VCS-Repository: proj/musl X-VCS-Files: dev-lang/ruby/Manifest dev-lang/ruby/metadata.xml dev-lang/ruby/ruby-2.4.2.ebuild X-VCS-Directories: dev-lang/ruby/ X-VCS-Committer: lluixhi X-VCS-Committer-Name: Aric Belsito X-VCS-Revision: 9243b1c4795034628bb326acefeab5e1364f4cba X-VCS-Branch: master Date: Tue, 26 Sep 2017 21:03:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 24e5c075-91f0-461f-8d81-d34f1546384f X-Archives-Hash: 32677cf2fa0adf5559b4d16275fa3e8f commit: 9243b1c4795034628bb326acefeab5e1364f4cba Author: Aric Belsito gmail com> AuthorDate: Tue Sep 26 21:02:22 2017 +0000 Commit: Aric Belsito gmail com> CommitDate: Tue Sep 26 21:02:22 2017 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=9243b1c4 dev-lang/ruby: add 2.4.2 does not detect isnan and isinf in musl, so native extensions are broken. dev-lang/ruby/Manifest | 4 + dev-lang/ruby/metadata.xml | 28 +++++ dev-lang/ruby/ruby-2.4.2.ebuild | 248 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 280 insertions(+) diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest new file mode 100644 index 0000000..a7377be --- /dev/null +++ b/dev-lang/ruby/Manifest @@ -0,0 +1,4 @@ +DIST ruby-2.4.2.tar.xz 10046412 SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735 SHA512 c1d42272fb0d94b693452e703b0ea4942bf59cbd4b08ba83bf039f54be97ebc88511632413da0164970b4cf97bc302bccb88aab48edfa8fa147498e7ee741595 WHIRLPOOL 4117f18e7901700d2cf603ed60cbe9b59ca65359ec359a7616b2cf90c76c25117afe864a8a7b55e7dc52c93377c541a8b497f1b281cdccade97aafa5ca363a5b +DIST ruby-patches-2.4.2.tar.bz2 3443 SHA256 621e92c4c14cec458100adf74e122df76663be4f75fc4ea86423a9ac6755ea3e SHA512 fb8349c67c72caf10ec12c4b5410194b4df24345446c2e3b6c6176d00727bfe803f4a905ef094a2d52315b6f4c3ce74fb8fbaa2fdf5efe46e6ccb24bf8418b17 WHIRLPOOL 306a16b49037a669398fb9c1b7c2b5484860d8749bf4c12d0e5eec02e3a7f7760b48b4a3cd709e0fa2b54f3d8dddff36d7eeb8d53d2d647d59e099b0299b8ed1 +EBUILD ruby-2.4.2.ebuild 7129 SHA256 420fc28e7a9d05029cdd801bea3a76e79112b3b0effbd98a5d5186e57ca10c84 SHA512 deacffb0a39c37400267dc67512e5c1e579acdb580c284cfa11fd0ad1358e5a847d73eb433a00955866f22cba70302ad60181bb22030c5322edc8b611beec340 WHIRLPOOL fba6a37c321632d9baa499b5c8765adfd1e4ca795d9f55bdb1688f3b5c6ad2043c6d7f9fef00bb84f5b5217608d5172eb38502ede48609ecbbb0658ba5f017d0 +MISC metadata.xml 977 SHA256 fc9d7cc6e682821e89141cdfcb007bc889c6cc522f662631e28dc280935a6624 SHA512 274ff4d66139d0e4fb91f339b834e77938e51508e712a5005fbb67e6b16fa04879cbb30ad6ee61cd60b16f01b6e311deee461dbb15ffcd1d9b45119484295750 WHIRLPOOL 44dbd829673c75af5459d1e440aa53be46e8ebc95d91faf0af31b9ad8608dac920d9dc13c11ca24af1646a31d0c5fa6800669fa7ba34c709814dffde226b4418 diff --git a/dev-lang/ruby/metadata.xml b/dev-lang/ruby/metadata.xml new file mode 100644 index 0000000..249178b --- /dev/null +++ b/dev-lang/ruby/metadata.xml @@ -0,0 +1,28 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + + Install ruby tests that can only be run after ruby is installed + + + Use the sys-libs/readline library to provide the + readline extension, used for instance by the irb tool. This flag + is meaningful only if the libedit USE flag is disabled. + + If neither libedit nor readline USE flags are enabled, the + readline extension will not be built (and irb will lose line + editing functionality). + + + Install dev-ruby/rdoc after installing Ruby. + + + Use dev-libs/jemalloc for memory allocation. + + + diff --git a/dev-lang/ruby/ruby-2.4.2.ebuild b/dev-lang/ruby/ruby-2.4.2.ebuild new file mode 100644 index 0000000..bdfb9ce --- /dev/null +++ b/dev-lang/ruby/ruby-2.4.2.ebuild @@ -0,0 +1,248 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +#PATCHSET=1 + +inherit autotools eutils flag-o-matic multilib versionator + +MY_P="${PN}-$(get_version_component_range 1-3)" +S=${WORKDIR}/${MY_P} + +SLOT=$(get_version_component_range 1-2) +MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) +RUBYVERSION=${SLOT}.0 + +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/${SLOT}/${MY_P}.tar.xz + https://dev.gentoo.org/~graaff/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl static-libs tk xemacs" + +RDEPEND=" + berkdb? ( sys-libs/db:= ) + gdbm? ( sys-libs/gdbm ) + jemalloc? ( dev-libs/jemalloc ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl ) + ) + socks5? ( >=net-proxy/dante-1.1.13 ) + tk? ( + dev-lang/tcl:0=[threads] + dev-lang/tk:0=[threads] + ) + dev-libs/libyaml + virtual/libffi + sys-libs/zlib + >=app-eselect/eselect-ruby-20161226 + !