diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-06-01 21:20:53 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-06-01 21:20:53 +0000 |
commit | 3ba44a302434b2291786f5cc099330f1c06511e4 (patch) | |
tree | 4186fdd483b848be5e2ace2ba1a2eed939aedc24 /dev-lang | |
parent | Update libpinyin dependency #504162 (diff) | |
download | historical-3ba44a302434b2291786f5cc099330f1c06511e4.tar.gz historical-3ba44a302434b2291786f5cc099330f1c06511e4.tar.bz2 historical-3ba44a302434b2291786f5cc099330f1c06511e4.zip |
Version bump.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rubinius/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/rubinius/Manifest | 10 | ||||
-rw-r--r-- | dev-lang/rubinius/rubinius-2.2.7.ebuild | 81 |
3 files changed, 93 insertions, 5 deletions
diff --git a/dev-lang/rubinius/ChangeLog b/dev-lang/rubinius/ChangeLog index f21e07ab7343..18b0cc0f18bb 100644 --- a/dev-lang/rubinius/ChangeLog +++ b/dev-lang/rubinius/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/rubinius # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.12 2014/03/23 07:07:45 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.13 2014/06/01 21:20:44 graaff Exp $ + +*rubinius-2.2.7 (01 Jun 2014) + + 01 Jun 2014; Hans de Graaff <graaff@gentoo.org> +rubinius-2.2.7.ebuild: + Version bump. 23 Mar 2014; Hans de Graaff <graaff@gentoo.org> rubinius-1.2.4.20110705.ebuild: diff --git a/dev-lang/rubinius/Manifest b/dev-lang/rubinius/Manifest index 5cde30ec0962..54dce24e8831 100644 --- a/dev-lang/rubinius/Manifest +++ b/dev-lang/rubinius/Manifest @@ -3,13 +3,15 @@ Hash: SHA256 AUX auto_gem.rb 159 SHA256 fe1efe24cd0ba36c55449e9623cd0be394980f37d12468624dad7ffdef72f4dc SHA512 e42e790013d20335ca5319803518102593408d077f22c95dcb08969c69d3a81e49e47cd002715bf760bfcd9a29304002354d8add42fd2415fb10a0a2a323d64c WHIRLPOOL 55931d6c7fa64cd95bb477a9239d058ec6c772e27712d4379372b4d2517dcaa5c15dcde63255065d80ddbd68476abe85ed0507cbfc4fda564c5cee5bd748e82b DIST rubinius-1.2.4-20110705.tar.gz 9880126 SHA256 d474fb6f50292bff5211aaa80b1cead1fb3ed5c7c49223c51fddb8ffc5c3f23d SHA512 8211bfe88f7646dcf4fe696686cc3d0dd06ed02a11f261368c8431257061aed6f5d5bb87197fc9d0c71fca6f2b7671145984104d2e96cc5bf1a9651f1e6fb1c0 WHIRLPOOL 5cbcbc7975cd9032b750dc48b94b5377ff33d87bfb89175d783e899443ef33b6f9bcf476ff476e71e42ec046f492b046994e1c1137e758512e58b97af840c754 +DIST rubinius-2.2.7.tar.bz2 11409167 SHA256 e1244b60ed790a3a33a7126a587c35acd041dcb2022b894833518490e872dc3d SHA512 adc022d76958c8e62b849c5ab0c744d7ae8309264516a82156061f10010fff72d37d73928530faaf5dcc18c1771db78f785e52efd3a813b0d4bf577162c0aefb WHIRLPOOL 2a0894ce657b1911282dec14679a4a7b6197bc37a004adc34b86293d6e2c73c08870879a6ef0e69b3a66804535ce209b140c01e8769d5cc8e4c68d6263fcd9eb EBUILD rubinius-1.2.4.20110705.ebuild 2387 SHA256 da39298e6a4d93c4335009612756bf54a4ab7ff7367180ac644b4d77eb251f7f SHA512 afd844cfc997052f5096cce9b0d6358a0bd81d7e1daf0d804ad432534c486f0ff7ae64cb1bd4847ba6077a354f580ed5a58a43e274061fc0681e589241da85ef WHIRLPOOL a094dc0cbe0d0aebd12038849091e433105aecd6273276e5e058fb99abbf3a0e63982a2424ff57514d69807cc019c1cc0e8148ea921adfe28d87ce2379db3e80 -MISC ChangeLog 1553 SHA256 ef0f9b83d3b37e76347c39d72f361a5dcb9855a6a6cb89212700aae35cf84549 SHA512 4ce4d4714330f43096ddb9ff6b94111c5808a26c9c4455daefd79a3274f3159b14868aff9c90e47be345a9637b28837215390dcbe3ca663ca5623fdb88513c83 WHIRLPOOL dd562609e45e1f5255d9fc014e95a228a70a70d70b9982472e57da9a243d19aab6875892c1697566e902f2aa1b606a5894ecca27cc1b1699c4f1ecec538dad43 +EBUILD rubinius-2.2.7.ebuild 2147 SHA256 f8b1cf0d00b956c1b0f966926e7de82e58a331546ceee4beb1f0bea8e4560711 SHA512 56843e51840ad8ddf3185134dee4bdbb736f1f4a2d5f25fcd251b13323000c39cd6b0d000d94fb09cc42239d4953f682c4b12e5b726b5415c7962d3845c6666e WHIRLPOOL bb0dfeb8e900b867cb6c14dada3b99ce1ce8069ae980585464fcb0a365fe59027b93385aff98c838144b9ed79270a978f265428f8334e49e34201f00d1211335 +MISC ChangeLog 1675 SHA256 0a9ec345b2b3b78096aa0e0ddd33ccd470903c466f3c5fbd795efcedd21fbe02 SHA512 6797f783a8f50b40af5c174eeb0f75292e511b442d104728978cae261105797c3fec67f7649605bbf66ead60f66874c43851256e9524c6d7a83a06a460ea882c WHIRLPOOL 57f05bf244ab20b9f3bb2fcb92a2d30e03abf42f9df949a443756cfad6e21871c2af621239770f3232d2fa3a454d7ec25d5201a5a0f0fd6cb102cf2e904b2ead MISC metadata.xml 298 SHA256 a29bf589bfe33070791342a9b384a0a5a2bec9ae68f7321deb9551e9812abe7e SHA512 de38384cd4cb8993ed224eb06e7ac713f0fce36d8b8cbd28f53ad2b0c0dd5fad2b4228324a2cceaafd6d0a348dbf2c3f0ebedce71801438d61842defe243f07b WHIRLPOOL 6baeeb68d1c07c3c31cb4ae4b85dd9fe95a0ae681ddf34d4781a0318be83edc73da2f595d77d4b37e9a080855fca922d615c62b652aa6ee6f28c9cc6239d83f4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlMuiEIACgkQiIP6VqMIqNdHOwD/b3g+fh6NW2VMFUG4eP2sUYBe -pgr8Yy2rCI02z55Lq2UA/iwykFDEFtgU1PIsucmJAnVicTHkVx0fVCvbbdCAIcWP -=TOn2 +iF4EAREIAAYFAlOLmTUACgkQiIP6VqMIqNdhUgD/W6QR9TH+3rm27EqKeluWOeM5 +c7F3rXPTWRSxlT9EYE0A/i9qJX4CpS37xGmwTPKrZQ4tqHJSm3pdoL7Qu6m2YF8A +=8CIW -----END PGP SIGNATURE----- diff --git a/dev-lang/rubinius/rubinius-2.2.7.ebuild b/dev-lang/rubinius/rubinius-2.2.7.ebuild new file mode 100644 index 000000000000..b2b1ec3a8802 --- /dev/null +++ b/dev-lang/rubinius/rubinius-2.2.7.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-2.2.7.ebuild,v 1.1 2014/06/01 21:20:44 graaff Exp $ + +EAPI=5 +inherit eutils flag-o-matic multilib versionator + +DESCRIPTION="A re-implementation of the Ruby VM designed for speed" +HOMEPAGE="http://rubini.us" +SRC_URI="http://releases.rubini.us/${P}.tar.bz2" + +LICENSE="BSD" +KEYWORDS="~amd64" +SLOT="0" +IUSE="+llvm" + +RDEPEND=" + llvm? ( >=sys-devel/llvm-3.2 ) + dev-libs/openssl + sys-libs/ncurses + sys-libs/readline + dev-libs/libyaml + virtual/libffi + sys-libs/zlib +" + +DEPEND="${RDEPEND} + =dev-ruby/rake-10* + dev-ruby/bundler +" + +pkg_setup() { + unset RUBYOPT +} + +src_prepare() { + # src_test will wait until all processes are reaped, so tune down + # the long sleep process a bit. + sed -i -e 's/sleep 1000/sleep 300/' spec/ruby/core/io/popen_spec.rb || die + + # Drop error CFLAGS per Gentoo policy. + sed -i -e '/Werror/ s:^:#:' rakelib/blueprint.rb || die + + bundle --local || die +} + +src_configure() { + #Rubinius uses a non-autoconf ./configure script which balks at econf + INSTALL="${EPREFIX}/usr/bin/install -c" ./configure --skip-prebuilt \ + --prefix /usr/$(get_libdir) \ + --mandir /usr/share/man \ + --without-rpath \ + --with-vendor-zlib \ + $(use_enable llvm) \ + || die "Configure failed" +} + +src_compile() { + rake build || die "Compilation failed" +} + +src_test() { + rake spec || die "Tests failed" + einfo "Waiting for forked processes to die" +} + +src_install() { + # The install phase tries to determine if there are relevant + addpredict /usr/local/lib64/ruby + + local minor_version=$(get_version_component_range 1-2) + local librbx="usr/$(get_libdir)/rubinius" + + DESTDIR="${D}" rake install || die "Installation failed" + + dosym /${librbx}/${minor_version}/bin/rbx /usr/bin/rbx || die "Couldn't make rbx symlink" + + insinto /${librbx}/${minor_version}/site + doins "${FILESDIR}/auto_gem.rb" || die "Couldn't install rbx auto_gem.rb" + RBX_RUNTIME="${S}/runtime" RBX_LIB="${S}/lib" bin/rbx compile "${D}/${librbx}/${minor_version}/site/auto_gem.rb" || die "Couldn't bytecompile auto_gem.rb" +} |