Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xeus-lua [3.1.73] #1864

Open
wants to merge 2 commits into
base: emscripten-3.1.73
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions recipes/recipes_emscripten/xeus-lua/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ cd build
export CMAKE_PREFIX_PATH=$PREFIX
export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX

if [[ $target_platform == "emscripten-wasm32" ]]; then
export USE_WASM=ON
else
export USE_WASM=OFF
fi

ls $PREFIX/lib
echo "BUILDING"

Expand All @@ -19,7 +13,7 @@ cmake ${CMAKE_ARGS} .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$PREFIX \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DXEUS_LUA_EMSCRIPTEN_WASM_BUILD=$USE_WASM \
-DXEUS_LUA_EMSCRIPTEN_WASM_BUILD=ON \
-DXLUA_WITH_XWIDGETS=ON \
-DXLUA_USE_SHARED_XWIDGETS=OFF \
-DXLUA_WITH_XCANVAS=ON \
Expand Down
33 changes: 17 additions & 16 deletions recipes/recipes_emscripten/xeus-lua/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
context:
version: 0.7.4
version: 0.7.6

package:
name: xeus-lua
version: ${{ version }}

source:
# url: https://github.com/jupyter-xeus/xeus-lua/archive/refs/tags/{{ version }}.tar.gz
# sha256: 9f64a235cb59dccf1c972368145b13198870a8dbaf4311eac4e00af50f3c219b
path: /Users/thorstenbeier/src/xeus-lua
url: https://github.com/jupyter-xeus/xeus-lua/archive/refs/tags/{{ version }}.tar.gz
sha256: 9f64a235cb59dccf1c972368145b13198870a8dbaf4311eac4e00af50f3c219b


build:
number: 0
Expand All @@ -21,11 +21,19 @@ requirements:
host:
- lua
- nlohmann_json
- xeus-lite
- xeus >=3.0.5,<4.0
- xtl >=0.7,<0.8
- xcanvas >=0.4,<5.0
- xwidgets >=0.28
- xeus-lite >=3.0.0,<4.0
- xeus >=5.0.0,<6.0
- xcanvas >=0.5,<5.0
- xwidgets >=0.28.0,<1.0

tests:
- package_contents:
files:
- bin/xlua.wasm
- bin/xlua.js
- share/jupyter/kernels/xlua/kernel.json
- share/jupyter/kernels/xlua/logo-32x32.png
- share/jupyter/kernels/xlua/logo-64x64.png

about:
license: BSD-3-Clause
Expand All @@ -38,10 +46,3 @@ extra:
- DerThorsten
- martinRenou
- JohanMabille
tests:
- script:
- test -f $PREFIX/bin/xlua.wasm
- test -f $PREFIX/bin/xlua.js
- test -f $PREFIX/share/jupyter/kernels/xlua/kernel.json
- test -f $PREFIX/share/jupyter/kernels/xlua/logo-32x32.png
- test -f $PREFIX/share/jupyter/kernels/xlua/logo-64x64.png
Loading