dev-util/emscripten: Remove 2.0.8-r1. - parlay - yet another gentoo overlay
HTML git clone https://git.parazyd.org/parlay
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 6c8dba3d6df6ea9ec61c7ccf37322ee3591c4a46
DIR parent f4d3a04bd53a88012e60be2ad018eef2d42b5338
HTML Author: parazyd <parazyd@dyne.org>
Date: Tue, 9 Feb 2021 23:36:51 +0100
dev-util/emscripten: Remove 2.0.8-r1.
Diffstat:
D dev-util/emscripten/emscripten-2.0… | 60 -------------------------------
1 file changed, 0 insertions(+), 60 deletions(-)
---
DIR diff --git a/dev-util/emscripten/emscripten-2.0.8-r1.ebuild b/dev-util/emscripten/emscripten-2.0.8-r1.ebuild
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# This is a horrible ebuild. Don't use it as an example how to write one.
-# TODO:
-# * remove network access from npm ci
-# * use supported versions of LLVM and binaryen (current it requires git head)
-# * enable tests
-# * use the python eclass properly
-# * fperms +x is wrong
-# * fix many QA issues
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-inherit python-single-r1
-
-DESCRIPTION="Emscripten is a complete compiler toolchain to WebAssembly, using LLVM"
-HOMEPAGE="https://emscripten.org"
-SRC_URI="https://github.com/emscripten-core/emscripten/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT" # TODO: or illinois one
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-RESTRICT="network-sandbox test"
-
-RDEPEND="
- dev-util/binaryen
- net-libs/nodejs
- sys-devel/clang:12[llvm_targets_WebAssembly]
- virtual/jre
-"
-BDEPEND="
- net-libs/nodejs
-"
-
-PATCHES=(
- "${FILESDIR}"/emscripten-2.0.8-wasm-ld.patch
- "${FILESDIR}"/emscripten-2.0.8-py-runner.patch
-)
-
-src_prepare() {
- default
- npm ci || die
- sed -e "s|GENTOO_PREFIX|${EPREFIX}|" -e "s|GENTOO_LIB|$(get_libdir)|" < "${FILESDIR}/config-r1" > .emscripten || die
- sed -i -e "s|GENTOO_PREFIX|${EPREFIX}|" -e "s|GENTOO_LIB|$(get_libdir)|" -e "s|GENTOO_PYTHON|${EPYTHON}|" tools/shared.py tools/run_python.sh || die
-}
-
-src_compile() {
- :
-}
-
-src_install() {
- dodir /usr/bin
- tools/create_entry_points.py || die
- insinto "/usr/$(get_libdir)/emscripten"
- doins -r .
- fperms +x "/usr/$(get_libdir)/emscripten"/*
-}