summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2015-02-06 04:19:40 +0000
committerPatrick Lauer <patrick@gentoo.org>2015-02-06 04:19:40 +0000
commita20eab1b33ea7209e8b111fd7b9c776374c91c67 (patch)
tree415a87beccf81337973ad852aba431efaf9c7833 /net-libs
parentBump #538676 (diff)
downloadhistorical-a20eab1b33ea7209e8b111fd7b9c776374c91c67.tar.gz
historical-a20eab1b33ea7209e8b111fd7b9c776374c91c67.tar.bz2
historical-a20eab1b33ea7209e8b111fd7b9c776374c91c67.zip
Bump
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/iojs/ChangeLog7
-rw-r--r--net-libs/iojs/Manifest4
-rw-r--r--net-libs/iojs/iojs-1.1.0.ebuild112
3 files changed, 121 insertions, 2 deletions
diff --git a/net-libs/iojs/ChangeLog b/net-libs/iojs/ChangeLog
index b6fd4883dff9..c02bc2daeedb 100644
--- a/net-libs/iojs/ChangeLog
+++ b/net-libs/iojs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/iojs
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/iojs/ChangeLog,v 1.2 2015/01/30 03:46:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/iojs/ChangeLog,v 1.3 2015/02/06 04:19:29 patrick Exp $
+
+*iojs-1.1.0 (06 Feb 2015)
+
+ 06 Feb 2015; Patrick Lauer <patrick@gentoo.org> +iojs-1.1.0.ebuild:
+ Bump
*iojs-1.0.4-r1 (30 Jan 2015)
diff --git a/net-libs/iojs/Manifest b/net-libs/iojs/Manifest
index 49b7a9277ffb..d4f6a15c4aae 100644
--- a/net-libs/iojs/Manifest
+++ b/net-libs/iojs/Manifest
@@ -1,5 +1,7 @@
DIST iojs-v1.0.4.tar.xz 12284732 SHA256 c902f5abbd59c56346680f0b4a71056c51610847b9576acf83a9c210bf664e98 SHA512 0e3d4f66fc7f64e09f999b1fdb7bbbfe80a5cfd0396ec718bf166ae44bcb27eebf5b59c3cd4a74f050b59ee529678b1bdef1c3b9d71534c8ac0ab8caf8472021 WHIRLPOOL cfd766a513877f6ccfddc4e1eb4e0be4fa987dbac7c7c8159f70556b72a01b26fdd7d92be3fcb7efc37691b6808c8d570199741f01f95df77dd9aa95312bac9e
+DIST iojs-v1.1.0.tar.xz 12309452 SHA256 2baa9b076c84c13b0572de4618ac94058fc98a87266925bcd18fb70fb7d521a7 SHA512 2a01632a5afa828ab3fcfc2bf44557a4aba5b150e3b4a7d66bc4c415f96c5cbe802bbfe6085d483a6fea75eae48b963892faf1e2f50f5ae291ee0fdbb87da912 WHIRLPOOL f6d9c3f93a11d29f4d0b2ec24141d80d195749e5625a0bcaddfed7fca271b311121bb29f83c7b591869aae327a5f36ef86f5f98844a8b924b0b30e8eece58a08
EBUILD iojs-1.0.4-r1.ebuild 3206 SHA256 884a98f1736ded1fdc73b076307054763eead3cbb69fb6198b7238832cfc6f46 SHA512 99519f8f678ada8dc6c25645866e382a5994cdb4d65792bfad43a3e2018599d02d2762d51b6b2961622b3eaf5da1c005bc78d762e506c92ed4045da8c6800a7d WHIRLPOOL 65edebb0c07bc39bdf00eb368f37a08e2c3e9e46bce29c4cb43942fc1e9cacc6e1e5ff39e89f3749a43b58c31636dbd9e1b7fccd703bdda7a852f078194ef3dc
EBUILD iojs-1.0.4.ebuild 2944 SHA256 4a78febd3440bc5fa021312c3994e462e5da8ed0e916003369bd0398bdd46e56 SHA512 15888b7647b29f50e9488a6497672aa2a686c1646b1403914cacfc51ce5b87a73417bbc0e384e4551fcdd2f631a33e4ffd5b089a692f4ac674c11ecde51824f7 WHIRLPOOL 22becab91f294b04ff7207fdd594e5639d51d9168d8bc6344f3332f88dede4e0dbfac03e0e46ef3bfe211f7f5caa08211d306563fbec1a236801747b6317fec0
-MISC ChangeLog 522 SHA256 2f3321ba334ae9d88daaf83e4085a73712333a13c426c9c2bd8b196ac5b77e34 SHA512 e6c8d13d03d025345ef1754adcc41b456b698e89f2a6e4e63179043a4b0cbf1ebd45be716bda1b602020443261c0ac1ed6570ed6c49d1b6eb70e33d30c198ee9 WHIRLPOOL a3ad0cbc8a406c1ced08b609315d6debd5c4d412c146fbb379c32cf7d3bc60b0430f0d0b229b637682902a759ef1a68ecaffe1f8c507847df94be6e24f81c2d4
+EBUILD iojs-1.1.0.ebuild 3203 SHA256 d861b5e857e2ec150b7469e2928f13642944323027dd249406e7782fa7e8739e SHA512 fc9630b1e2b9db03f5a9e9aa7239321cd197b661bbcb9564b04755d25ef12bd92160abec20067a46a3ebd0160650713e00707c4e8ce87219a6fd799824c6133b WHIRLPOOL 84b40270e7f440c9caef7cff80ef2c30c18ce9830f66eb4c0316cba14c84e1e6fb9ab8cc9b59ae7f978c5433836470e7efae8d7d69467e7b4527c4a6b426fdd0
+MISC ChangeLog 627 SHA256 b45ba96d3d6194363683a276ee7f3297bb7567f03858a220003e82f164b1b818 SHA512 a029b25134433b2faa0c5a5f70aa5362362f661316f6a9b53df9a4443512d808f2492a12dc0e9f400833047cf680564807c6610f23b4207e667a17e619147b59 WHIRLPOOL 03f216b1a8bfd0a7a87f0bc28f395eeba3f1e8495242411a5a0ea00eb5a658276aaf348900899b05057d2cbcebb7e99f377c5b496d376e19c761b1c4fd0b02e4
MISC metadata.xml 545 SHA256 ea98b41b3fe8288a7b38649098871f33c897916aaa34c718f8b849bc35d15c12 SHA512 f32b1eced5dada7827c10bb7b59986400d8dce58dc8c2c0b03d3acd0886b539d2c0afa7956c8a0d1b1ae1894eae31c520368c524bd4c7fb5930180fc8bc4b035 WHIRLPOOL f3fe5d3c70386787eae1cc856f7a57d775738096777074b50678f45ed7e5c9c2575c21a452e75d9a5d06245c85c17434593a7b3d0b5f0c4ec932fd3c7a8b84aa
diff --git a/net-libs/iojs/iojs-1.1.0.ebuild b/net-libs/iojs/iojs-1.1.0.ebuild
new file mode 100644
index 000000000000..410ad73869b8
--- /dev/null
+++ b/net-libs/iojs/iojs-1.1.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/iojs/iojs-1.1.0.ebuild,v 1.1 2015/02/06 04:19:29 patrick Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+MY_PV="v${PV}"
+MY_P="${PN}-${MY_PV}"
+
+inherit python-any-r1 pax-utils toolchain-funcs flag-o-matic
+
+DESCRIPTION="An npm compatible platform originally based on node.js"
+HOMEPAGE="http://iojs.org/"
+SRC_URI="http://iojs.org/dist/${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
+IUSE="icu +npm snapshot"
+
+RDEPEND="!!net-libs/nodejs
+ >=dev-libs/openssl-1.0.1j"
+DEPEND="${PYTHON_DEPS}
+ ${RDEPEND}
+ icu? ( dev-libs/icu )
+ >=net-libs/http-parser-2.4.1
+ >=dev-libs/libuv-1.2.1"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+ if ! test-flag-CXX -std=c++11 ; then
+ die "Your compiler doesn't support C++11. Use GCC 4.8, Clang 3.3 or newer."
+ fi
+}
+
+src_prepare() {
+ # fix compilation on Darwin
+ # http://code.google.com/p/gyp/issues/detail?id=260
+ sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die
+
+ # make sure we use python2.* while using gyp
+ sed -i -e "s/python/python2/" deps/npm/node_modules/node-gyp/gyp/gyp || die
+ sed -i -e "s/|| 'python'/|| 'python2'/" deps/npm/node_modules/node-gyp/lib/configure.js || die
+
+ # less verbose install output (stating the same as portage, basically)
+ sed -i -e "/print/d" tools/install.py || die
+
+ # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504
+ local LIBDIR=$(get_libdir)
+ sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die
+ sed -i -e "s/'lib'/'${LIBDIR}'/" lib/module.js || die
+ sed -i -e "s|\"lib\"|\"${LIBDIR}\"|" deps/npm/lib/npm.js || die
+
+ # Avoid a test that I've only been able to reproduce from emerge. It doesnt
+ # seem sandbox related either (invoking it from a sandbox works fine).
+ # The issue is that no stdin handle is openened when asked for one.
+ # It doesn't really belong upstream , so it'll just be removed until someone
+ # with more gentoo-knowledge than me (jbergstroem) figures it out.
+ rm test/parallel/test-stdout-close-unref.js
+
+ tc-export CC CXX
+ export V=1
+}
+
+src_configure() {
+ local myconf=""
+ local myarch=""
+ ! use npm && myconf="--without-npm"
+ use icu && myconf+=" --with-intl=system-icu"
+ use snapshot && myconf+=" --with-snapshot"
+
+ case ${CHOST} in
+ i?86-*)
+ myarch="ia32"
+ myconf+=" -Dv8_target_arch=ia32" ;;
+ x86_64-*)
+ if [[ $ABI = x86 ]]; then
+ myarch="ia32"
+ elif [[ $ABI = x32 ]]; then
+ myarch="x32"
+ else
+ myarch="x64"
+ fi ;;
+ arm*-*)
+ myarch="arm"
+ ;;
+ *) die "Unrecognized CHOST: ${CHOST}"
+ esac
+
+ "${PYTHON}" configure --prefix="${EPREFIX}"/usr \
+ --shared-openssl \
+ --shared-libuv \
+ --shared-http-parser \
+ --shared-zlib \
+ --dest-cpu=${myarch} \
+ --without-dtrace ${myconf} || die
+}
+
+src_install() {
+ local LIBDIR="${ED}/usr/$(get_libdir)"
+ emake install DESTDIR="${D}"
+
+ use npm && dohtml -r "${LIBDIR}"/node_modules/npm/html/*
+ rm -rf "${LIBDIR}"/node_modules/npm/{doc,html}
+ rm -rf "${LIBDIR}"/dtrace
+ find "${LIBDIR}"/node_modules -type f -name "LICENSE" -delete
+
+ pax-mark -m "${ED}"/usr/bin/iojs
+}