summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bergström <bugs@bergstroem.nu>2016-02-04 14:43:32 +1100
committerJohan Bergström <bugs@bergstroem.nu>2016-02-04 14:43:32 +1100
commit60d98523a18ad45e6ad6eaa5b6b28aacf79db326 (patch)
tree20309b909553f347e5f21e380693b10966a645cc /net-libs
parentnet-wireless/ubertooth: fixup live ebuild and static-libs (diff)
downloadgentoo-60d98523a18ad45e6ad6eaa5b6b28aacf79db326.tar.gz
gentoo-60d98523a18ad45e6ad6eaa5b6b28aacf79db326.tar.bz2
gentoo-60d98523a18ad45e6ad6eaa5b6b28aacf79db326.zip
remove net-libs/iojs from tree
iojs and nodejs merged and formed the new major version nodejs 4.0. iojs will not be maintained after 3.3.x and all users are suggested to move to nodejs 4 (or newer) as quick as possible to avoid any security-related issues.
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/iojs/Manifest5
-rw-r--r--net-libs/iojs/files/iojs-1.2.0-pkgconfig.patch56
-rw-r--r--net-libs/iojs/files/iojs-1.7.1-pkgconfig.patch48
-rw-r--r--net-libs/iojs/files/iojs-1.8.1-pkgconfig.patch39
-rw-r--r--net-libs/iojs/iojs-2.3.3.ebuild139
-rw-r--r--net-libs/iojs/iojs-2.3.4.ebuild139
-rw-r--r--net-libs/iojs/iojs-2.4.0.ebuild136
-rw-r--r--net-libs/iojs/iojs-2.5.0.ebuild136
-rw-r--r--net-libs/iojs/iojs-3.0.0.ebuild136
-rw-r--r--net-libs/iojs/metadata.xml30
10 files changed, 0 insertions, 864 deletions
diff --git a/net-libs/iojs/Manifest b/net-libs/iojs/Manifest
deleted file mode 100644
index 814f2d6b729b..000000000000
--- a/net-libs/iojs/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST iojs-v2.3.3.tar.xz 12520388 SHA256 a9001633cc8baa282cea08e8712ef6b3df605d0c83ef3cbdae56ce0f3126488d SHA512 9547d3891eb28afb782d86304c827696d660b2c0c8abeb568a133b24277a4e7356a24868ceed79ee2b89069dbcffddc12e204e5d79ee20b9d23c326a780df743 WHIRLPOOL 789291f029f08854badc69195a687516c23262d21c9cb87f0f7a814bd422a3e192086df835ec03914c7baa31f7bb13fd78755921706df8c4c05d8f908fbebbd0
-DIST iojs-v2.3.4.tar.xz 12518296 SHA256 cf8bdbcf8598a47c514ddd964dcbee40d6cd118f9954ee4afbec9163312e43a2 SHA512 e4ceaaba1ec4c298bc7d0394e82636f6356a7d0e1d946e6d688ac2b42777eebad1db0fef76d5d8b0ba870585853b204b727db0d605ed05bc8cc3a4ce4c571fd8 WHIRLPOOL fed18530766e7f51c4ed5c2fffcd6c465c5c6b3f9762ff1253cd200aff7011775132df44e9af6fb28b45f85054bd0b1e5ad8f2c0ebe9533557940cd0d5356837
-DIST iojs-v2.4.0.tar.xz 12618052 SHA256 0081746e2e4b49c95ddbbaa6394960af2c719465c3ddab3bee58637b574eca45 SHA512 dc43fa6bf1f9d4e241bbdecdde2cae23592b045fdce9d25cb44459bea680b68c0675e641f87b0beb9fbeeee5e686e928e556ec3f3baa581346449df9c142873d WHIRLPOOL 3454970892fde236ae2d86fa98b9d997a1609146c112ae2818b8fd034d984dadeb5d34b26fdd60640e515fc1d8872f6b95d9e99433a10424f5cb75e1f65ffb78
-DIST iojs-v2.5.0.tar.xz 12520540 SHA256 0ad1bca083cbdf9a67fc55e1b1d47d8cc3bc6473e4a3af083c9f67ace3e7e75e SHA512 e0ebf870abe1ab4d0a6cc4a440c80b3bebb6762e886195ccf728f62c67c551ec7069da13d928659ed525874b003f0365e3f82811eec951912a11c2eed3e8a6a9 WHIRLPOOL 2b4b25b5467245e04611fae70ee0d4dbbf04822c4853450ba245d80e96e91499e426a05b1505289261993b7e0105b49e7b6af034bce575865c1ef5c698dfdcfb
-DIST iojs-v3.0.0.tar.xz 12627740 SHA256 e003d162c923c4a4c3c2b122b59168dc7685c832c6fa876e969bfc2f406f9c16 SHA512 08d96c51f10924d50993575d5a1e86507b95951c3ed471a67ca439620858afc235b1e70ca737bd7233838f024ea9147d1388a5f9f616cc71b5cccfe132f40f75 WHIRLPOOL 87f05d4b544d44a67b9e3ce4dbaf70f81b8668c8b90f0aa05f10a0f15a8744e8c9fd519dcbc3fed721d16fdad63babb167bc03cb8f0389c06f6de9aa9ceeb71b
diff --git a/net-libs/iojs/files/iojs-1.2.0-pkgconfig.patch b/net-libs/iojs/files/iojs-1.2.0-pkgconfig.patch
deleted file mode 100644
index 8eaa0236278b..000000000000
--- a/net-libs/iojs/files/iojs-1.2.0-pkgconfig.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-configure: fix pkg_config usage
-
-Cross compilation did pick up wrong libraries as it was using the system
-pkg-config.
-
-patch by Paul McClave <pmcclave@chromium.org>
-
---- a/configure
-+++ b/configure
-@@ -299,12 +299,13 @@
-
-
- def pkg_config(pkg):
-- cmd = os.popen('pkg-config --libs %s' % pkg, 'r')
-+ pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
-+ cmd = os.popen(pkg_config + ' --libs %s' % pkg, 'r')
- libs = cmd.readline().strip()
- ret = cmd.close()
- if (ret): return None
-
-- cmd = os.popen('pkg-config --cflags %s' % pkg, 'r')
-+ cmd = os.popen(pkg_config + ' --cflags %s' % pkg, 'r')
- cflags = cmd.readline().strip()
- ret = cmd.close()
- if (ret): return None
-@@ -553,15 +554,21 @@
- def configure_libz(o):
- o['variables']['node_shared_zlib'] = b(options.shared_zlib)
-
-- # assume shared_zlib if one of these is set?
-- if options.shared_zlib_libpath:
-- o['libraries'] += ['-L%s' % options.shared_zlib_libpath]
-- if options.shared_zlib_libname:
-- o['libraries'] += ['-l%s' % options.shared_zlib_libname]
-- elif options.shared_zlib:
-- o['libraries'] += ['-lz']
-- if options.shared_zlib_includes:
-- o['include_dirs'] += [options.shared_zlib_includes]
-+ if options.shared_zlib:
-+ (libs, cflags) = pkg_config('zlib') or ('-lz', '')
-+
-+ if options.shared_zlib_libpath:
-+ o['libraries'] += ['-L%s' % options.shared_zlib_libpath]
-+
-+ if options.shared_zlib_libname:
-+ o['libraries'] += ['-l%s' % options.shared_zlib_libname]
-+ else:
-+ o['libraries'] += libs.split()
-+
-+ if options.shared_zlib_includes:
-+ o['include_dirs'] += [options.shared_zlib_includes]
-+ else:
-+ o['cflags'] += cflags.split()
-
-
- def configure_http_parser(o):
diff --git a/net-libs/iojs/files/iojs-1.7.1-pkgconfig.patch b/net-libs/iojs/files/iojs-1.7.1-pkgconfig.patch
deleted file mode 100644
index c57eef0815bf..000000000000
--- a/net-libs/iojs/files/iojs-1.7.1-pkgconfig.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff --git configure configure
-index 67440a2..2a3b05f 100755
---- configure
-+++ configure
-@@ -326,12 +326,13 @@ def b(value):
-
-
- def pkg_config(pkg):
-- cmd = os.popen('pkg-config --libs %s' % pkg, 'r')
-+ pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
-+ cmd = os.popen(pkg_config + ' --libs %s' % pkg, 'r')
- libs = cmd.readline().strip()
- ret = cmd.close()
- if (ret): return None
-
-- cmd = os.popen('pkg-config --cflags %s' % pkg, 'r')
-+ cmd = os.popen(pkg_config + ' --cflags %s' % pkg, 'r')
- cflags = cmd.readline().strip()
- ret = cmd.close()
- if (ret): return None
-@@ -603,14 +604,21 @@ def configure_node(o):
-
- def configure_libz(o):
- o['variables']['node_shared_zlib'] = b(options.shared_zlib)
-+ if b(options.shared_zlib) == 'true':
-+ (libs, cflags) = pkg_config('zlib') or ('-lz', '')
-
-- if b(options.shared_zlib) == True:
-- o['libraries'] += ['-l%s' % options.shared_zlib_libname]
-- if options.shared_zlib_libpath:
-- o['libraries'] += ['-L%s' % options.shared_zlib_libpath]
-- if options.shared_zlib_includes:
-- o['include_dirs'] += [options.shared_zlib_includes]
-+ if options.shared_zlib_libpath:
-+ o['libraries'] += ['-L%s' % options.shared_zlib_libpath]
-
-+ if options.shared_zlib_libname:
-+ o['libraries'] += ['-l%s' % options.shared_zlib_libname]
-+ else:
-+ o['libraries'] += libs.split()
-+
-+ if options.shared_zlib_includes:
-+ o['include_dirs'] += [options.shared_zlib_includes]
-+ else:
-+ o['cflags'] += cflags.split()
-
- def configure_http_parser(o):
- o['variables']['node_shared_http_parser'] = b(options.shared_http_parser)
diff --git a/net-libs/iojs/files/iojs-1.8.1-pkgconfig.patch b/net-libs/iojs/files/iojs-1.8.1-pkgconfig.patch
deleted file mode 100644
index 788195b5821d..000000000000
--- a/net-libs/iojs/files/iojs-1.8.1-pkgconfig.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- configure 2015-04-21 10:37:04.000000000 +1000
-+++ configure.new 2015-04-21 12:47:46.340709492 +1000
-@@ -326,12 +326,13 @@
-
-
- def pkg_config(pkg):
-- cmd = os.popen('pkg-config --libs %s' % pkg, 'r')
-+ pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
-+ cmd = os.popen(pkg_config + ' --libs %s' % pkg, 'r')
- libs = cmd.readline().strip()
- ret = cmd.close()
- if (ret): return None
-
-- cmd = os.popen('pkg-config --cflags %s' % pkg, 'r')
-+ cmd = os.popen(pkg_config + ' --cflags %s' % pkg, 'r')
- cflags = cmd.readline().strip()
- ret = cmd.close()
- if (ret): return None
-@@ -657,13 +658,18 @@
-
- def configure_libz(o):
- o['variables']['node_shared_zlib'] = b(options.shared_zlib)
-+ (libs, cflags) = pkg_config('zlib') or ('-lz', '')
-
-- if options.shared_zlib:
-- o['libraries'] += ['-l%s' % options.shared_zlib_libname]
- if options.shared_zlib_libpath:
- o['libraries'] += ['-L%s' % options.shared_zlib_libpath]
- if options.shared_zlib_includes:
- o['include_dirs'] += [options.shared_zlib_includes]
-+ else:
-+ o['cflags'] += cflags.split()
-+ if options.shared_zlib_libname:
-+ o['libraries'] += ['-l%s' % options.shared_zlib_libname]
-+ else:
-+ o['libraries'] += libs.split()
-
-
- def configure_http_parser(o):
diff --git a/net-libs/iojs/iojs-2.3.3.ebuild b/net-libs/iojs/iojs-2.3.3.ebuild
deleted file mode 100644
index 56aa6dcbb499..000000000000
--- a/net-libs/iojs/iojs-2.3.3.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-MY_PV="v${PV}"
-MY_P="${PN}-${MY_PV}"
-
-inherit flag-o-matic pax-utils python-single-r1 toolchain-funcs
-
-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="bundled-libs debug icu +npm snapshot +ssl"
-
-RDEPEND="icu? ( dev-libs/icu )
- ${PYTHON_DEPS}
- !bundled-libs? (
- >=net-libs/http-parser-2.5
- >=dev-libs/libuv-1.6.1
- >=dev-libs/openssl-1.0.2c[-bindist]
- )"
-DEPEND="${RDEPEND}
- !!net-libs/nodejs"
-S="${WORKDIR}/${MY_P}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-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() {
- tc-export CC CXX PKG_CONFIG
- export V=1 # Verbose build
- export BUILDTYPE=Release
-
- # fix compilation on Darwin
- # https://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/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die
- sed -i -e "s/|| 'python'/|| '${EPYTHON}'/" 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 || die
-
- # debug builds. change install path, remove optimisations and override buildtype
- if use debug; then
- sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
- BUILDTYPE=Debug
- fi
-
- epatch_user
-}
-
-src_configure() {
- local myconf=()
- local myarch=""
- use bundled-libs || myconf+=( --shared-openssl --shared-libuv --shared-http-parser --shared-zlib )
- use npm || myconf+=( --without-npm )
- use icu && myconf+=( --with-intl=system-icu )
- use snapshot && myconf+=( --with-snapshot )
- use ssl || myconf+=( --without-ssl )
- use debug && myconf+=( --debug )
-
- case ${ABI} in
- x86) myarch="ia32";;
- amd64) myarch="x64";;
- x32) myarch="x32";;
- arm) myarch="arm";;
- arm64) myarch="arm64";;
- *) die "Unrecognized ARCH ${ARCH}";;
- esac
-
- "${PYTHON}" configure \
- --prefix="${EPREFIX}"/usr \
- --dest-cpu=${myarch} \
- --without-dtrace \
- "${myconf[@]}" || die
-}
-
-src_compile() {
- emake -C out mksnapshot
- pax-mark m "out/${BUILDTYPE}/mksnapshot"
- emake -C out
-}
-
-src_install() {
- local LIBDIR="${ED}/usr/$(get_libdir)"
- emake install DESTDIR="${ED}" PREFIX=/usr
- use npm && dodoc -r "${LIBDIR}"/node_modules/npm/html
- rm -rf "${LIBDIR}"/node_modules/npm/{doc,html} || die
- find "${LIBDIR}"/node_modules -type f -name "LICENSE*" -or -name "LICENCE*" -delete || die
-
- # set up a symlink structure that npm expects..
- dodir /usr/include/node/deps/{v8,uv}
- dosym . /usr/include/node/src
- for var in deps/{uv,v8}/include; do
- dosym ../.. /usr/include/node/${var}
- done
-
- pax-mark -m "${ED}"/usr/bin/iojs
-}
-
-src_test() {
- out/${BUILDTYPE}/cctest || die
- declare -xl TESTTYPE="${BUILDTYPE}"
- "${PYTHON}" tools/test.py --mode=${TESTTYPE} -J message parallel sequential || die
-}
-
-pkg_postinst() {
- einfo "When using node-gyp to install native modules, you can avoid"
- einfo "having to download the full tarball by doing the following:"
- einfo ""
- einfo "node-gyp --nodedir /usr/include/node <command>"
-}
diff --git a/net-libs/iojs/iojs-2.3.4.ebuild b/net-libs/iojs/iojs-2.3.4.ebuild
deleted file mode 100644
index 56aa6dcbb499..000000000000
--- a/net-libs/iojs/iojs-2.3.4.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-MY_PV="v${PV}"
-MY_P="${PN}-${MY_PV}"
-
-inherit flag-o-matic pax-utils python-single-r1 toolchain-funcs
-
-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="bundled-libs debug icu +npm snapshot +ssl"
-
-RDEPEND="icu? ( dev-libs/icu )
- ${PYTHON_DEPS}
- !bundled-libs? (
- >=net-libs/http-parser-2.5
- >=dev-libs/libuv-1.6.1
- >=dev-libs/openssl-1.0.2c[-bindist]
- )"
-DEPEND="${RDEPEND}
- !!net-libs/nodejs"
-S="${WORKDIR}/${MY_P}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-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() {
- tc-export CC CXX PKG_CONFIG
- export V=1 # Verbose build
- export BUILDTYPE=Release
-
- # fix compilation on Darwin
- # https://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/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die
- sed -i -e "s/|| 'python'/|| '${EPYTHON}'/" 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 || die
-
- # debug builds. change install path, remove optimisations and override buildtype
- if use debug; then
- sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
- BUILDTYPE=Debug
- fi
-
- epatch_user
-}
-
-src_configure() {
- local myconf=()
- local myarch=""
- use bundled-libs || myconf+=( --shared-openssl --shared-libuv --shared-http-parser --shared-zlib )
- use npm || myconf+=( --without-npm )
- use icu && myconf+=( --with-intl=system-icu )
- use snapshot && myconf+=( --with-snapshot )
- use ssl || myconf+=( --without-ssl )
- use debug && myconf+=( --debug )
-
- case ${ABI} in
- x86) myarch="ia32";;
- amd64) myarch="x64";;
- x32) myarch="x32";;
- arm) myarch="arm";;
- arm64) myarch="arm64";;
- *) die "Unrecognized ARCH ${ARCH}";;
- esac
-
- "${PYTHON}" configure \
- --prefix="${EPREFIX}"/usr \
- --dest-cpu=${myarch} \
- --without-dtrace \
- "${myconf[@]}" || die
-}
-
-src_compile() {
- emake -C out mksnapshot
- pax-mark m "out/${BUILDTYPE}/mksnapshot"
- emake -C out
-}
-
-src_install() {
- local LIBDIR="${ED}/usr/$(get_libdir)"
- emake install DESTDIR="${ED}" PREFIX=/usr
- use npm && dodoc -r "${LIBDIR}"/node_modules/npm/html
- rm -rf "${LIBDIR}"/node_modules/npm/{doc,html} || die
- find "${LIBDIR}"/node_modules -type f -name "LICENSE*" -or -name "LICENCE*" -delete || die
-
- # set up a symlink structure that npm expects..
- dodir /usr/include/node/deps/{v8,uv}
- dosym . /usr/include/node/src
- for var in deps/{uv,v8}/include; do
- dosym ../.. /usr/include/node/${var}
- done
-
- pax-mark -m "${ED}"/usr/bin/iojs
-}
-
-src_test() {
- out/${BUILDTYPE}/cctest || die
- declare -xl TESTTYPE="${BUILDTYPE}"
- "${PYTHON}" tools/test.py --mode=${TESTTYPE} -J message parallel sequential || die
-}
-
-pkg_postinst() {
- einfo "When using node-gyp to install native modules, you can avoid"
- einfo "having to download the full tarball by doing the following:"
- einfo ""
- einfo "node-gyp --nodedir /usr/include/node <command>"
-}
diff --git a/net-libs/iojs/iojs-2.4.0.ebuild b/net-libs/iojs/iojs-2.4.0.ebuild
deleted file mode 100644
index b0cabe3803be..000000000000
--- a/net-libs/iojs/iojs-2.4.0.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-MY_PV="v${PV}"
-MY_P="${PN}-${MY_PV}"
-
-inherit flag-o-matic pax-utils python-single-r1 toolchain-funcs
-
-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="debug icu +npm snapshot +ssl"
-
-RDEPEND="icu? ( dev-libs/icu )
- ${PYTHON_DEPS}
- >=net-libs/http-parser-2.5
- >=dev-libs/libuv-1.6.1
- >=dev-libs/openssl-1.0.2d[-bindist]"
-DEPEND="${RDEPEND}
- !!net-libs/nodejs"
-S="${WORKDIR}/${MY_P}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-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() {
- tc-export CC CXX PKG_CONFIG
- export V=1 # Verbose build
- export BUILDTYPE=Release
-
- # fix compilation on Darwin
- # https://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/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die
- sed -i -e "s/|| 'python'/|| '${EPYTHON}'/" 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 || die
-
- # debug builds. change install path, remove optimisations and override buildtype
- if use debug; then
- sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
- BUILDTYPE=Debug
- fi
-
- epatch_user
-}
-
-src_configure() {
- local myarch=""
- local myconf+=( --shared-openssl --shared-libuv --shared-http-parser --shared-zlib )
- use npm || myconf+=( --without-npm )
- use icu && myconf+=( --with-intl=system-icu )
- use snapshot && myconf+=( --with-snapshot )
- use ssl || myconf+=( --without-ssl )
- use debug && myconf+=( --debug )
-
- case ${ABI} in
- x86) myarch="ia32";;
- amd64) myarch="x64";;
- x32) myarch="x32";;
- arm) myarch="arm";;
- arm64) myarch="arm64";;
- *) die "Unrecognized ARCH ${ARCH}";;
- esac
-
- "${PYTHON}" configure \
- --prefix="${EPREFIX}"/usr \
- --dest-cpu=${myarch} \
- --without-dtrace \
- "${myconf[@]}" || die
-}
-
-src_compile() {
- emake -C out mksnapshot
- pax-mark m "out/${BUILDTYPE}/mksnapshot"
- emake -C out
-}
-
-src_install() {
- local LIBDIR="${ED}/usr/$(get_libdir)"
- emake install DESTDIR="${ED}" PREFIX=/usr
- use npm && dodoc -r "${LIBDIR}"/node_modules/npm/html
- rm -rf "${LIBDIR}"/node_modules/npm/{doc,html} || die
- find "${LIBDIR}"/node_modules -type f -name "LICENSE*" -or -name "LICENCE*" -delete || die
-
- # set up a symlink structure that npm expects..
- dodir /usr/include/node/deps/{v8,uv}
- dosym . /usr/include/node/src
- for var in deps/{uv,v8}/include; do
- dosym ../.. /usr/include/node/${var}
- done
-
- pax-mark -m "${ED}"/usr/bin/iojs
-}
-
-src_test() {
- out/${BUILDTYPE}/cctest || die
- declare -xl TESTTYPE="${BUILDTYPE}"
- "${PYTHON}" tools/test.py --mode=${TESTTYPE} -J message parallel sequential || die
-}
-
-pkg_postinst() {
- einfo "When using node-gyp to install native modules, you can avoid"
- einfo "having to download the full tarball by doing the following:"
- einfo ""
- einfo "node-gyp --nodedir /usr/include/node <command>"
-} \ No newline at end of file
diff --git a/net-libs/iojs/iojs-2.5.0.ebuild b/net-libs/iojs/iojs-2.5.0.ebuild
deleted file mode 100644
index b0cabe3803be..000000000000
--- a/net-libs/iojs/iojs-2.5.0.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-MY_PV="v${PV}"
-MY_P="${PN}-${MY_PV}"
-
-inherit flag-o-matic pax-utils python-single-r1 toolchain-funcs
-
-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="debug icu +npm snapshot +ssl"
-
-RDEPEND="icu? ( dev-libs/icu )
- ${PYTHON_DEPS}
- >=net-libs/http-parser-2.5
- >=dev-libs/libuv-1.6.1
- >=dev-libs/openssl-1.0.2d[-bindist]"
-DEPEND="${RDEPEND}
- !!net-libs/nodejs"
-S="${WORKDIR}/${MY_P}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-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() {
- tc-export CC CXX PKG_CONFIG
- export V=1 # Verbose build
- export BUILDTYPE=Release
-
- # fix compilation on Darwin
- # https://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/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die
- sed -i -e "s/|| 'python'/|| '${EPYTHON}'/" 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 || die
-
- # debug builds. change install path, remove optimisations and override buildtype
- if use debug; then
- sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
- BUILDTYPE=Debug
- fi
-
- epatch_user
-}
-
-src_configure() {
- local myarch=""
- local myconf+=( --shared-openssl --shared-libuv --shared-http-parser --shared-zlib )
- use npm || myconf+=( --without-npm )
- use icu && myconf+=( --with-intl=system-icu )
- use snapshot && myconf+=( --with-snapshot )
- use ssl || myconf+=( --without-ssl )
- use debug && myconf+=( --debug )
-
- case ${ABI} in
- x86) myarch="ia32";;
- amd64) myarch="x64";;
- x32) myarch="x32";;
- arm) myarch="arm";;
- arm64) myarch="arm64";;
- *) die "Unrecognized ARCH ${ARCH}";;
- esac
-
- "${PYTHON}" configure \
- --prefix="${EPREFIX}"/usr \
- --dest-cpu=${myarch} \
- --without-dtrace \
- "${myconf[@]}" || die
-}
-
-src_compile() {
- emake -C out mksnapshot
- pax-mark m "out/${BUILDTYPE}/mksnapshot"
- emake -C out
-}
-
-src_install() {
- local LIBDIR="${ED}/usr/$(get_libdir)"
- emake install DESTDIR="${ED}" PREFIX=/usr
- use npm && dodoc -r "${LIBDIR}"/node_modules/npm/html
- rm -rf "${LIBDIR}"/node_modules/npm/{doc,html} || die
- find "${LIBDIR}"/node_modules -type f -name "LICENSE*" -or -name "LICENCE*" -delete || die
-
- # set up a symlink structure that npm expects..
- dodir /usr/include/node/deps/{v8,uv}
- dosym . /usr/include/node/src
- for var in deps/{uv,v8}/include; do
- dosym ../.. /usr/include/node/${var}
- done
-
- pax-mark -m "${ED}"/usr/bin/iojs
-}
-
-src_test() {
- out/${BUILDTYPE}/cctest || die
- declare -xl TESTTYPE="${BUILDTYPE}"
- "${PYTHON}" tools/test.py --mode=${TESTTYPE} -J message parallel sequential || die
-}
-
-pkg_postinst() {
- einfo "When using node-gyp to install native modules, you can avoid"
- einfo "having to download the full tarball by doing the following:"
- einfo ""
- einfo "node-gyp --nodedir /usr/include/node <command>"
-} \ No newline at end of file
diff --git a/net-libs/iojs/iojs-3.0.0.ebuild b/net-libs/iojs/iojs-3.0.0.ebuild
deleted file mode 100644
index b0cabe3803be..000000000000
--- a/net-libs/iojs/iojs-3.0.0.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-MY_PV="v${PV}"
-MY_P="${PN}-${MY_PV}"
-
-inherit flag-o-matic pax-utils python-single-r1 toolchain-funcs
-
-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="debug icu +npm snapshot +ssl"
-
-RDEPEND="icu? ( dev-libs/icu )
- ${PYTHON_DEPS}
- >=net-libs/http-parser-2.5
- >=dev-libs/libuv-1.6.1
- >=dev-libs/openssl-1.0.2d[-bindist]"
-DEPEND="${RDEPEND}
- !!net-libs/nodejs"
-S="${WORKDIR}/${MY_P}"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-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() {
- tc-export CC CXX PKG_CONFIG
- export V=1 # Verbose build
- export BUILDTYPE=Release
-
- # fix compilation on Darwin
- # https://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/${EPYTHON}/" deps/npm/node_modules/node-gyp/gyp/gyp || die
- sed -i -e "s/|| 'python'/|| '${EPYTHON}'/" 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 || die
-
- # debug builds. change install path, remove optimisations and override buildtype
- if use debug; then
- sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
- BUILDTYPE=Debug
- fi
-
- epatch_user
-}
-
-src_configure() {
- local myarch=""
- local myconf+=( --shared-openssl --shared-libuv --shared-http-parser --shared-zlib )
- use npm || myconf+=( --without-npm )
- use icu && myconf+=( --with-intl=system-icu )
- use snapshot && myconf+=( --with-snapshot )
- use ssl || myconf+=( --without-ssl )
- use debug && myconf+=( --debug )
-
- case ${ABI} in
- x86) myarch="ia32";;
- amd64) myarch="x64";;
- x32) myarch="x32";;
- arm) myarch="arm";;
- arm64) myarch="arm64";;
- *) die "Unrecognized ARCH ${ARCH}";;
- esac
-
- "${PYTHON}" configure \
- --prefix="${EPREFIX}"/usr \
- --dest-cpu=${myarch} \
- --without-dtrace \
- "${myconf[@]}" || die
-}
-
-src_compile() {
- emake -C out mksnapshot
- pax-mark m "out/${BUILDTYPE}/mksnapshot"
- emake -C out
-}
-
-src_install() {
- local LIBDIR="${ED}/usr/$(get_libdir)"
- emake install DESTDIR="${ED}" PREFIX=/usr
- use npm && dodoc -r "${LIBDIR}"/node_modules/npm/html
- rm -rf "${LIBDIR}"/node_modules/npm/{doc,html} || die
- find "${LIBDIR}"/node_modules -type f -name "LICENSE*" -or -name "LICENCE*" -delete || die
-
- # set up a symlink structure that npm expects..
- dodir /usr/include/node/deps/{v8,uv}
- dosym . /usr/include/node/src
- for var in deps/{uv,v8}/include; do
- dosym ../.. /usr/include/node/${var}
- done
-
- pax-mark -m "${ED}"/usr/bin/iojs
-}
-
-src_test() {
- out/${BUILDTYPE}/cctest || die
- declare -xl TESTTYPE="${BUILDTYPE}"
- "${PYTHON}" tools/test.py --mode=${TESTTYPE} -J message parallel sequential || die
-}
-
-pkg_postinst() {
- einfo "When using node-gyp to install native modules, you can avoid"
- einfo "having to download the full tarball by doing the following:"
- einfo ""
- einfo "node-gyp --nodedir /usr/include/node <command>"
-} \ No newline at end of file
diff --git a/net-libs/iojs/metadata.xml b/net-libs/iojs/metadata.xml
deleted file mode 100644
index 27adb0b4616d..000000000000
--- a/net-libs/iojs/metadata.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>bugs@bergstroem.nu</email>
- <name>Johan Bergström</name>
- </maintainer>
- <maintainer type="person">
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <maintainer status="active">
- <email>bugs@bergstroem.nu</email>
- <name>Johan Bergström</name>
- </maintainer>
- <doc lang="en">https://iojs.org/api/</doc>
- <changelog>https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md</changelog>
- <bugs-to>https://github.com/iojs/io.js/issues</bugs-to>
- </upstream>
- <use>
- <flag name="bundled-libs">Use bundled libs instead of system libs</flag>
- <flag name="npm">Enable NPM package manager</flag>
- <flag name="snapshot">Enable snapshot creation for faster startup</flag>
- </use>
-</pkgmetadata>