From 5d7c0650f8c56fe6dc92c4fe135075e14315752f Mon Sep 17 00:00:00 2001 From: Thorsten Beier Date: Fri, 10 May 2024 08:55:39 +0200 Subject: [PATCH] remove boa support! (#926) * moved to rattler-build --- .github/workflows/build_recipes.yaml | 28 +- .github/workflows/build_simple.yaml | 50 +- .github/workflows/run_with_pixi.yaml | 2 +- .gitignore | 5 +- README.md | 103 +-- ci_env.yml | 40 +- conda_build_config.yaml | 228 ++---- emci/__main__.py | 108 +-- emci/bot/bump_recipes_versions.py | 2 +- emci/constants.py | 9 +- emci/deprecated/__init__.py | 0 emci/deprecated/boa_build.py | 81 -- emci/deprecated/testing/__init__.py | 0 emci/deprecated/testing/main_mount/main.py | 8 - emci/deprecated/testing/package_testing.py | 189 ----- emci/rattler_build.py | 71 +- pixi.toml | 3 +- rattler_conda_build_config.yaml | 771 ------------------ .../recipe.yaml | 9 +- ...rattler_recipe.yaml => recipe_legacy.yaml} | 9 +- .../emscripten_emscripten-wasm32/recipe.yaml | 23 +- ...rattler_recipe.yaml => recipe_legacy.yaml} | 22 +- .../{rattler_recipe.yaml => recipe.yaml} | 0 .../rust/{rattler_recipe.yaml => recipe.yaml} | 0 .../recipes_emscripten/argparse/recipe.yaml | 22 +- .../recipes_emscripten/arrow-cpp/recipe.yaml | 39 +- .../arrow-python/recipe.yaml | 84 +- .../recipes_emscripten/astropy/recipe.yaml | 42 +- .../awkward-cpp/recipe.yaml | 47 +- .../recipes_emscripten/biopython/recipe.yaml | 34 +- .../recipes_emscripten/boost-cpp/recipe.yaml | 89 +- .../boost-histogram/recipe.yaml | 43 +- .../brotli-python/recipe.yaml | 42 +- recipes/recipes_emscripten/brotli/recipe.yaml | 26 +- recipes/recipes_emscripten/bzip2/recipe.yaml | 57 +- recipes/recipes_emscripten/cffi/recipe.yaml | 56 +- .../cffi_example/recipe.yaml | 38 +- recipes/recipes_emscripten/cftime/recipe.yaml | 52 +- .../recipes_emscripten/clapack/recipe.yaml | 39 +- .../recipes_emscripten/contourpy/recipe.yaml | 42 +- .../cpp-expected/recipe.yaml | 19 +- .../cpp-tabulate/recipe.yaml | 17 +- .../recipes_emscripten/cppinterop/recipe.yaml | 23 +- .../{rattler_recipe.yaml => recipe.yaml} | 8 +- .../recipes_emscripten/cytoolz/recipe.yaml | 40 +- .../recipes_emscripten/docutils/recipe.yaml | 36 +- recipes/recipes_emscripten/eigen/recipe.yaml | 25 +- recipes/recipes_emscripten/expat/recipe.yaml | 23 +- recipes/recipes_emscripten/fmt/recipe.yaml | 19 +- .../recipes_emscripten/fonttools/recipe.yaml | 38 +- .../recipes_emscripten/freesasa/recipe.yaml | 26 +- recipes/recipes_emscripten/future/recipe.yaml | 31 +- recipes/recipes_emscripten/glpk/recipe.yaml | 8 +- recipes/recipes_emscripten/gmp/recipe.yaml | 22 +- .../recipes_emscripten/gmp/recipe_legacy.yaml | 48 ++ recipes/recipes_emscripten/hdf5/recipe.yaml | 18 +- .../highs/rattler_recipe.yaml | 38 - recipes/recipes_emscripten/highs/recipe.yaml | 33 +- .../highs/recipe_legacy.yaml | 41 + .../recipes_emscripten/ipython/recipe.yaml | 24 +- ...rattler_recipe.yaml => recipe_legacy.yaml} | 19 +- recipes/recipes_emscripten/joblib/recipe.yaml | 22 +- .../recipes_emscripten/kiwisolver/recipe.yaml | 38 +- .../recipes_emscripten/lfortran/recipe.yaml | 19 +- recipes/recipes_emscripten/libffi/recipe.yaml | 53 +- .../recipes_emscripten/libiconv/recipe.yaml | 8 +- .../libiconv/recipe_legacy.yaml | 17 + recipes/recipes_emscripten/libpng/recipe.yaml | 34 +- .../recipes_emscripten/libpython/recipe.yaml | 21 +- .../recipes_emscripten/libsolv/recipe.yaml | 30 +- .../recipes_emscripten/libtiff/recipe.yaml | 30 +- .../libtiff/recipe_legacy.yaml | 71 ++ .../libutf8proc/recipe.yaml | 23 +- .../recipes_emscripten/libuuid/recipe.yaml | 27 +- .../libwebp-base/recipe.yaml | 58 +- .../recipes_emscripten/libxml2/recipe.yaml | 25 +- .../recipes_emscripten/libxslt/recipe.yaml | 17 +- .../recipes_emscripten/libyaml/recipe.yaml | 12 +- recipes/recipes_emscripten/llvm/recipe.yaml | 24 +- recipes/recipes_emscripten/llvm16/recipe.yaml | 24 +- .../recipes_emscripten/logbook/recipe.yaml | 45 +- .../recipes_emscripten/lpython/recipe.yaml | 48 -- recipes/recipes_emscripten/lua/recipe.yaml | 30 +- recipes/recipes_emscripten/lxml/recipe.yaml | 63 +- .../recipes_emscripten/markupsafe/recipe.yaml | 39 +- .../recipes_emscripten/matplotlib/recipe.yaml | 96 ++- .../recipes_emscripten/mpdecimal/recipe.yaml | 31 +- recipes/recipes_emscripten/mpfr/recipe.yaml | 25 +- .../recipes_emscripten/msgpack/recipe.yaml | 33 +- recipes/recipes_emscripten/nelson/recipe.yaml | 37 +- .../nelson/recipe_legacy.yaml | 42 + .../nlohmann_json/recipe.yaml | 19 +- recipes/recipes_emscripten/nlopt/recipe.yaml | 41 +- .../recipes_emscripten/numcodecs/recipe.yaml | 52 +- recipes/recipes_emscripten/numpy/recipe.yaml | 27 +- ...rattler_recipe.yaml => recipe_legacy.yaml} | 30 +- .../recipes_emscripten/openblas/recipe.yaml | 8 +- .../recipes_emscripten/openssl/recipe.yaml | 12 +- recipes/recipes_emscripten/pandas/recipe.yaml | 48 +- recipes/recipes_emscripten/patsy/recipe.yaml | 36 +- recipes/recipes_emscripten/peewee/recipe.yaml | 54 +- recipes/recipes_emscripten/pillow/recipe.yaml | 39 +- .../recipes_emscripten/protobuf/recipe.yaml | 10 +- .../recipes_emscripten/pugixml/recipe.yaml | 23 +- recipes/recipes_emscripten/pyb2d/recipe.yaml | 56 +- .../recipes_emscripten/pybind11/recipe.yaml | 30 +- .../pybind11_json/recipe.yaml | 25 +- .../{rattler_recipe.yaml => recipe.yaml} | 0 .../{rattler_recipe.yaml => recipe.yaml} | 0 recipes/recipes_emscripten/pydro/recipe.yaml | 48 +- recipes/recipes_emscripten/pyerfa/recipe.yaml | 55 +- recipes/recipes_emscripten/pyjs/recipe.yaml | 33 +- .../recipes_emscripten/pyrsistent/recipe.yaml | 37 +- .../recipes_emscripten/pysocks/recipe.yaml | 44 +- recipes/recipes_emscripten/pytest/recipe.yaml | 24 +- .../recipes_emscripten/python-sat/recipe.yaml | 38 +- recipes/recipes_emscripten/python/recipe.yaml | 60 +- .../recipes_emscripten/python_abi/recipe.yaml | 8 +- .../recipes_emscripten/pythran/recipe.yaml | 72 +- .../recipes_emscripten/pywavelets/recipe.yaml | 58 +- recipes/recipes_emscripten/pyyaml/recipe.yaml | 29 +- recipes/recipes_emscripten/qutip/recipe.yaml | 60 +- .../recipes_emscripten/rapidjson/recipe.yaml | 17 +- recipes/recipes_emscripten/re2/recipe.yaml | 12 +- recipes/recipes_emscripten/regex/recipe.yaml | 29 +- ...rattler_recipe.yaml => recipe_legacy.yaml} | 23 +- recipes/recipes_emscripten/rice/recipe.yaml | 25 +- .../robotics-toolbox-python/recipe.yaml | 55 +- .../robotraconteur/recipe.yaml | 37 +- recipes/recipes_emscripten/ruby/recipe.yaml | 29 +- .../scikit-image/recipe.yaml | 137 +--- .../scikit-learn/recipe.yaml | 139 +--- recipes/recipes_emscripten/scipy/recipe.yaml | 25 +- .../spatialgeometry/recipe.yaml | 56 +- .../recipes_emscripten/sqlalchemy/recipe.yaml | 25 +- recipes/recipes_emscripten/sqlite/recipe.yaml | 61 +- .../recipes_emscripten/sqlitecpp/recipe.yaml | 17 +- .../statsmodels/recipe.yaml | 71 +- .../recipes_emscripten/swiglpk/recipe.yaml | 35 +- recipes/recipes_emscripten/sympy/recipe.yaml | 38 +- recipes/recipes_emscripten/traits/recipe.yaml | 35 +- .../tsl_ordered_map/recipe.yaml | 19 +- .../recipes_emscripten/udunits2/recipe.yaml | 31 +- .../unicodedata2/recipe.yaml | 37 +- recipes/recipes_emscripten/vtk/recipe.yaml | 27 +- recipes/recipes_emscripten/wheel/recipe.yaml | 34 +- recipes/recipes_emscripten/wrapt/recipe.yaml | 37 +- .../recipes_emscripten/xcanvas/recipe.yaml | 27 +- .../xeus-javascript/recipe.yaml | 22 +- .../recipes_emscripten/xeus-lite/recipe.yaml | 27 +- .../xeus-lite/recipe_legacy.yaml | 38 + .../recipes_emscripten/xeus-lua/recipe.yaml | 55 +- .../xeus-lua/recipe_legacy.yaml | 50 ++ .../xeus-nelson/recipe.yaml | 42 +- .../xeus-nelson/recipe_legacy.yaml | 45 + .../xeus-python/recipe.yaml | 58 +- .../xeus-sqlite/recipe.yaml | 41 +- recipes/recipes_emscripten/xeus/recipe.yaml | 22 +- .../recipes_emscripten/xplugin/recipe.yaml | 19 +- .../recipes_emscripten/xproperty/recipe.yaml | 25 +- .../xtensor/rattler_recipe.yaml | 63 -- .../recipes_emscripten/xtensor/recipe.yaml | 55 +- .../xtensor/recipe_legacy.yaml | 34 + .../xtl/rattler_recipe.yaml | 30 - recipes/recipes_emscripten/xtl/recipe.yaml | 14 +- .../recipes_emscripten/xtl/recipe_legacy.yaml | 32 + .../xvega-bindings/recipe.yaml | 28 +- recipes/recipes_emscripten/xvega/recipe.yaml | 29 +- .../recipes_emscripten/xwidgets/recipe.yaml | 37 +- recipes/recipes_emscripten/zarr/recipe.yaml | 19 +- recipes/recipes_emscripten/zlib/recipe.yaml | 31 +- .../only_py_tests/rattler_recipe.yaml | 39 - test_recipes/only_py_tests/recipe.yaml | 19 +- 173 files changed, 2853 insertions(+), 4286 deletions(-) delete mode 100644 emci/deprecated/__init__.py delete mode 100644 emci/deprecated/boa_build.py delete mode 100644 emci/deprecated/testing/__init__.py delete mode 100644 emci/deprecated/testing/main_mount/main.py delete mode 100644 emci/deprecated/testing/package_testing.py delete mode 100644 rattler_conda_build_config.yaml rename recipes/recipes/cross-python_emscripten-wasm32/{rattler_recipe.yaml => recipe_legacy.yaml} (71%) rename recipes/recipes/emscripten_emscripten-wasm32/{rattler_recipe.yaml => recipe_legacy.yaml} (67%) rename recipes/recipes/pytester/{rattler_recipe.yaml => recipe.yaml} (100%) rename recipes/recipes/rust/{rattler_recipe.yaml => recipe.yaml} (100%) rename recipes/recipes_emscripten/cryptography/{rattler_recipe.yaml => recipe.yaml} (85%) create mode 100644 recipes/recipes_emscripten/gmp/recipe_legacy.yaml delete mode 100644 recipes/recipes_emscripten/highs/rattler_recipe.yaml create mode 100644 recipes/recipes_emscripten/highs/recipe_legacy.yaml rename recipes/recipes_emscripten/ipython/{rattler_recipe.yaml => recipe_legacy.yaml} (78%) create mode 100644 recipes/recipes_emscripten/libiconv/recipe_legacy.yaml create mode 100644 recipes/recipes_emscripten/libtiff/recipe_legacy.yaml delete mode 100644 recipes/recipes_emscripten/lpython/recipe.yaml create mode 100644 recipes/recipes_emscripten/nelson/recipe_legacy.yaml rename recipes/recipes_emscripten/numpy/{rattler_recipe.yaml => recipe_legacy.yaml} (61%) rename recipes/recipes_emscripten/pycrdt/{rattler_recipe.yaml => recipe.yaml} (100%) rename recipes/recipes_emscripten/pydantic_core/{rattler_recipe.yaml => recipe.yaml} (100%) rename recipes/recipes_emscripten/regex/{rattler_recipe.yaml => recipe_legacy.yaml} (54%) create mode 100644 recipes/recipes_emscripten/xeus-lite/recipe_legacy.yaml create mode 100644 recipes/recipes_emscripten/xeus-lua/recipe_legacy.yaml create mode 100644 recipes/recipes_emscripten/xeus-nelson/recipe_legacy.yaml delete mode 100644 recipes/recipes_emscripten/xtensor/rattler_recipe.yaml create mode 100644 recipes/recipes_emscripten/xtensor/recipe_legacy.yaml delete mode 100644 recipes/recipes_emscripten/xtl/rattler_recipe.yaml create mode 100644 recipes/recipes_emscripten/xtl/recipe_legacy.yaml delete mode 100644 test_recipes/only_py_tests/rattler_recipe.yaml diff --git a/.github/workflows/build_recipes.yaml b/.github/workflows/build_recipes.yaml index 9af298101..c2180347c 100644 --- a/.github/workflows/build_recipes.yaml +++ b/.github/workflows/build_recipes.yaml @@ -71,19 +71,6 @@ jobs: run: | cp $GITHUB_WORKSPACE/.github/workflows/.condarc $HOME cp $GITHUB_WORKSPACE/conda_build_config.yaml $HOME - playwright install - - ################################################################ - # Install / clone custom non-master things - # for pip, we use --no-deps --ignore-installed - # and make sure that all dependencies are already contained - # in the conda env named "ci-env" - ################################################################ - - name: Install custom boa - shell: bash -el {0} - run: | - python -m pip install git+https://github.com/DerThorsten/boa.git@python_api_v2 --no-deps --ignore-installed - ################################################################ # PUSH @@ -92,7 +79,7 @@ jobs: shell: bash -el {0} if: github.event_name == 'push' run: | - python -m emci build changed $GITHUB_WORKSPACE/ origin/main~1 origin/main + python -m emci build changed $GITHUB_WORKSPACE/ origin/main~1 origin/main --n-retry=3 ################################################################ # PULL_REQUEST @@ -101,7 +88,7 @@ jobs: shell: bash -el {0} if: github.event_name == 'pull_request' run: | - python -m emci build changed $GITHUB_WORKSPACE/ origin/main HEAD + python -m emci build changed $GITHUB_WORKSPACE/ origin/main HEAD --n-retry=3 ################################################################ # UPLOAD @@ -110,17 +97,6 @@ jobs: if: (github.event_name == 'push' && github.repository == 'emscripten-forge/recipes') shell: bash -el {0} run: | - - # loop over {emscripten-wasm32, linux-64, noarch} - for platform in emscripten-wasm32 linux-64 noarch; do - # loop over all packages - mkdir -p ${CONDA_PREFIX}/conda-bld/${platform} - for package in $(ls ${CONDA_PREFIX}/conda-bld/${platform}/*.tar.bz2); do - echo "Uploading ${package} for ${platform} (build with boa)" - QUETZ_API_KEY=${{ secrets.QUETZ_API_KEY}} quetz-client -u https://beta.mamba.pm post_file_to_channel emscripten-forge ${package} - done - done - # loop over {emscripten-wasm32, linux-64, noarch} for platform in emscripten-wasm32 linux-64 noarch; do mkdir -p ${GITHUB_WORKSPACE}/output/${platform} diff --git a/.github/workflows/build_simple.yaml b/.github/workflows/build_simple.yaml index 1be9d9c5c..8f27022fa 100644 --- a/.github/workflows/build_simple.yaml +++ b/.github/workflows/build_simple.yaml @@ -55,7 +55,6 @@ jobs: run: | cp $GITHUB_WORKSPACE/.github/workflows/.condarc $HOME cp $GITHUB_WORKSPACE/conda_build_config.yaml $HOME - playwright install ################################################################ # EMSDK @@ -65,73 +64,34 @@ jobs: run: | ./emsdk/setup_emsdk.sh ${{ matrix.emsdk_ver }} $(pwd)/emsdk_install - ################################################################ - # Install / clone custom non-master things - # for pip, we use --no-deps --ignore-installed - # and make sure that all dependencies are already contained - # in the conda env named "ci-env" - ################################################################ - - name: Install custom boa - shell: bash -el {0} - run: | - python -m pip install git+https://github.com/DerThorsten/boa.git@python_api_v2 --no-deps --ignore-installed - ################################################################ # Build compiler pkg ################################################################ - name: Build emscripten compiler shell: bash -el {0} run: | - FORCE_RATTLER=1 python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes/emscripten_emscripten-wasm32 + python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes/emscripten_emscripten-wasm32 --n-retry=3 - ################################################################ - # Build compiler pkg with legacy boa - ################################################################ - - name: Build emscripten compiler - shell: bash -el {0} - run: | - FORCE_BOA=1 python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes/emscripten_emscripten-wasm32 - ################################################################ # Build pytester ################################################################ - name: Build pytester shell: bash -el {0} run: | - FORCE_RATTLER=1 python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes/pytester + python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes/pytester ################################################################ - # Build a simple package + # Build a regex package ################################################################ - name: Build regex shell: bash -el {0} run: | - FORCE_RATTLER=1 python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes_emscripten/regex --emscripten-wasm32 + python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes_emscripten/regex --emscripten-wasm32 --n-retry=3 - ################################################################ # Build a package which is **not** on emscripten forge ################################################################ - name: Build package not on emscripten-forge (advanced) shell: bash -el {0} run: | - FORCE_RATTLER=1 python -m emci build explicit $GITHUB_WORKSPACE/test_recipes/only_py_tests --emscripten-wasm32 - - - - ################################################################ - # Build a simple package - ################################################################ - - name: Build regex - shell: bash -el {0} - run: | - FORCE_RATTLER=1 python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes_emscripten/highs --emscripten-wasm32 - - ################################################################ - # Build a simple package with legacy boa - ################################################################ - - name: Build regex with legacy boa - shell: bash -el {0} - run: | - FORCE_BOA=1 python -m emci build explicit $GITHUB_WORKSPACE/recipes/recipes_emscripten/regex --emscripten-wasm32 - + python -m emci build explicit $GITHUB_WORKSPACE/test_recipes/only_py_tests --emscripten-wasm32 --n-retry=3 \ No newline at end of file diff --git a/.github/workflows/run_with_pixi.yaml b/.github/workflows/run_with_pixi.yaml index 738f0391f..890d08f40 100644 --- a/.github/workflows/run_with_pixi.yaml +++ b/.github/workflows/run_with_pixi.yaml @@ -33,4 +33,4 @@ jobs: pixi-version: v0.20.1 - run: | pixi run setup - pixi run build-emscripten-wasm32-pkg recipes/recipes_emscripten/regex + pixi run build-emscripten-wasm32-pkg recipes/recipes_emscripten/regex \ No newline at end of file diff --git a/.gitignore b/.gitignore index 47f44d45e..2c0aed520 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,7 @@ Untitled.ipynb # pixi folder .pixi/ # rattler-build output folder -output/ \ No newline at end of file +output/ + +# emscripten forge install +emscripten_forge_emsdk_install/ \ No newline at end of file diff --git a/README.md b/README.md index bc65e007b..055a79984 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,13 @@ Build wasm/emscripten packages with conda/mamba/boa. This repository consists of recipes for conda packages for emscripten. -Most of the recipes have been ported from [pyodide](https://pyodide.org/en/stable/). -While we already have a lot of packages built, this is still a big work in progress. > **Note** -> The recipes used in this repository follow the [Boa recipe specification](https://boa-build.readthedocs.io/en/latest/recipe_spec.html). +> We removed boa support from this repository. We are now using [rattler-build](https://github.com/prefix-dev/rattler-build) + +> **Note** +> The recipes used in this repository follow the [rattler-build recipe format](https://github.com/prefix-dev/rattler-build?tab=readme-ov-file#the-recipe-format). ## Installing Packages We recommend using micromamba to install packages from this channel. @@ -27,23 +28,18 @@ micromamba create -n my-channel-name \ To add a new package to emscripten-forge, just create a Pull Request in this repository. This PR should add a new folder in the [recipe_emscripten](https://github.com/emscripten-forge/recipes/tree/main/recipes/recipes_emscripten) folder containing the recipe of your package. -Good example recipes are: +A good example recipes is: - * [cffi_example](https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/cffi_example/recipe.yaml) for a `cffi` based package. - * [xeus-python](https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/xeus-python/recipe.yaml) for a package with a CMake-based build system + * [regex](https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/regex/recipe.yaml) . Once the PR is merged, the package is built and uploaded to https://beta.mamba.pm/channels/emscripten-forge -## Local Builds -We are currently phasing out the use of `boa` in favor of `rattler-build`. Yet we still support `boa` builds -as not all recipes have been ported to `rattler-build` yet. -For each recipe there can be a `rattler_recipe.yaml` and a `recipe.yaml` file. The `rattler_recipe.yaml` file is used for rattler-build and the `recipe.yaml` file is used for boa builds. -Once all recipes have been ported to `rattler-build`, we will remove the `recipe.yaml` files and rename the `rattler_recipe.yaml` files to `recipe.yaml`. -### Local Builds with pixi rattler-build -To build a package locally, the easiest way is to use `pixi` +## Local Builds + +To build a package locally, the easiest way is to use `pixi` (see [/pixi.sh/latest/#installation](https://pixi.sh/latest/#installation) for installation instructions). ```bash # this only needs to be done once @@ -53,7 +49,7 @@ pixi run build-emscripten-wasm32-pkg recipes/recipes_emscripten/regex ``` -### Local Builds with rattler-build +## Local Builds with rattler-build Only recipes with a `rattler_recipe.yaml` file can be built with `rattler-build`. @@ -76,90 +72,21 @@ Ie if you open a new terminal, you have to activate the environment again with ` ./emsdk/setup_emsdk.sh 3.1.45 ~/emsdk ``` -**2b** Build compiler packages / meta packages with for MacOS: +**2b** Build compiler packages / meta packages : This is only needed for MacOS. On Linux, the compiler packages are already built and available in the `emscripten-forge` channel. ```bash -rattler-build build --recipe recipes/recipes/emscripten_emscripten-wasm32/rattler_recipe.yaml -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m rattler_conda_build_config.yaml -rattler-build build --recipe recipes/recipes/cross-python_emscripten-wasm32/rattler_recipe.yaml -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m rattler_conda_build_config.yaml -rattler-build build --recipe recipes/recipes/pytester/rattler_recipe.yaml -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m rattler_conda_build_config.yaml +rattler-build build --recipe recipes/recipes/emscripten_emscripten-wasm32/rattler_recipe.yaml -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m conda_build_config.yaml +rattler-build build --recipe recipes/recipes/cross-python_emscripten-wasm32/rattler_recipe.yaml -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m conda_build_config.yaml +rattler-build build --recipe recipes/recipes/pytester/rattler_recipe.yaml -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m conda_build_config.yaml ``` **3** Build packages with `rattler-build`: ```bash -rattler-build build --recipe recipes/recipes_emscripten/regex/rattler_recipe.yaml --target-platform=emscripten-wasm32 -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m rattler_conda_build_config.yaml -``` - - -### Local Builds with boa (this is deprecated) -Local builds are useful for testing new recipes or debugging build issues, but the setup is a bit more involved and will only work for Linux and MacOS. Local builds on Windows are not yet supported. - - **1** Create a new conda environment from `ci_env.yml` and install playwright in this environment: - On a Linux system this can be done with: -```bash -micromamba create -n emscripten-forge -f ci_env.yml --yes -micromamba activate emscripten-forge -playwright install -``` -On a MacOS system, this can be done with: -```bash -micromamba create -n emscripten-forge -f ci_env_macos.yaml --yes -micromamba activate emscripten-forge -python pip install playwright -playwright install +rattler-build build --recipe recipes/recipes_emscripten/regex/rattler_recipe.yaml --target-platform=emscripten-wasm32 -c https://repo.mamba.pm/emscripten-forge -c conda-forge -c microsoft -m conda_build_config.yaml ``` -**All further steps should be executed in this environment.** -Ie if you open a new terminal, you have to activate the environment again with `micromamba activate emscripten-forge`. - -**2** Setup emsdk: - We currently need a patched version of emsdk. This is because emscripten had some regressions in the `3.1.45` release wrt. dynamic loading of shared libraries. We use the `./emsdk/setup_emsdk.sh` which takes - two arguments: the emsdk version and the path where emsdk should be installed. - In this example we choose `~/emsdk` as the installation path. You have to use version `3.1.45`. - ```bash -./emsdk/setup_emsdk.sh 3.1.45 ~/emsdk -``` - -**3** Install a custom version of `boa` -```bash -python -m pip install git+https://github.com/DerThorsten/boa.git@python_api_v2 --no-deps --ignore-installed -``` - -**4** Add emscripten-forge channel to `.condarc`. -Create a `.condarc` file in your home directory with the following content: -```bash -channels: - - "https://repo.mamba.pm/emscripten-forge" - - conda-forge -``` - -**5a** Build a package (simple version): -To build a package, run this from the root of the repository (replace `regex` with the package you want to build) -```bash -boa build --target-platform=emscripten-wasm32 recipes/recipes_emscripten/regex -m conda_build_config.yaml -``` -This should work in principle, but will not run the python tests of the package. - -**5b** Build a python package and run tests: -For web assembly packages, we need to run the tests in a browser. This is done via playwright. -We have a custom hacky script which builds the packages via boa and then runs the playwright tests. -To build a package and run the tests, run this from the root of the repository (replace `regex` with the package you want to build) - -```bash -python -m emci build explicit recipes/recipes_emscripten/regex --emscripten-wasm32 -``` - -**6** Building multiple local packages which depend on each other: - -If you want to build multiple packages which depend on each other, you have to add the `local-channel` to your `.condarc` file. Since we are building from the `emscripten-forge` environment, we need to modify the `.condarc` file in the `emscripten-forge` environment. You have to add the the `conda-bld` dir -of the `emscripten-forge` environment to the `.condarc` file. This is usually located in `~/micromamba/envs/emscripten-forge/conda-bld` on unix systems. -```bash -channels: - - /home/your-user-name/micromamba/envs/emscripten-forge/conda-bld - - "https://repo.mamba.pm/emscripten-forge" - - conda-forge -``` ## Outlook diff --git a/ci_env.yml b/ci_env.yml index cd49a3092..0b089ea3f 100644 --- a/ci_env.yml +++ b/ci_env.yml @@ -3,42 +3,8 @@ channels: - conda-forge dependencies: - python - - pip - - empack >=3,<4 - - colorama - ruamel - - mamba >= 0.23.1 - - micromamba >= 0.23.1 - - cython - - patchelf - - liblief - - py-lief - - conda >= 23.7.4 - - conda-build >= 3.26.1, <3.28 - - pyyaml - - click == 8.0.4 - - typer >= 0.7.0 - - quetz-client >= 0.5.0 - - nodejs >= 18.7.0 - - pydantic - - pluggy ==1.0.0 - - pytest - - networkx - - pyjs_code_runner >= 2,<3 - - cxx-compiler - - c-compiler - - cmake - - make - - wget - # hack to get in boas dependencies - - ruamel.yaml < 0.18 - - jinja2 - - rich - - prompt_toolkit - - json5 - - jsonschema - - joblib - - watchgod - - dataclasses + - typer + - retry - rattler-build >= 0.14.0 - - microsoft::playwright < 1.42 + - pixi \ No newline at end of file diff --git a/conda_build_config.yaml b/conda_build_config.yaml index 5e5fcbd26..fbc87832f 100644 --- a/conda_build_config.yaml +++ b/conda_build_config.yaml @@ -5,117 +5,70 @@ # code on win-64 miniconda. cross_compiler_target_platform: # [win] - win-64 # [win] + + c_compiler: - - gcc # [linux] - - clang # [osx] - - vs2017 # [win] - - emscripten # [emscripten] -c_compiler_version: # [unix] - # - 3 # [emscripten] - - 11 # [osx] - - 9 # [linux] - - 7 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] + - if: emscripten + then: + - emscripten + - if: linux + then: + - gcc + - if: osx + then: + - clang + +c_compiler_version: + - if: emscripten + then: + - 3 + - if: linux + then: + - 9 + - if: osx + then: + - 11 + cxx_compiler: - - gxx # [linux] - - clangxx # [osx] - - vs2017 # [win] - - emscripten # [emscripten] -cxx_compiler_version: # [unix] - # - 3 # [emscripten] - - 11 # [osx] - - 9 # [linux] - - 7 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] -llvm_openmp: # [osx] - - 11 # [osx] -fortran_compiler: # [unix or win64] - - gfortran # [linux64 or (osx and x86_64)] - - gfortran # [aarch64 or ppc64le or armv7l or s390x] - - flang # [win64] -fortran_compiler_version: # [unix or win64] - - 11 # [osx and arm64] - - 9 # [osx and x86_64] - - 9 # [linux] - - 5 # [win64] - - 7 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] - - 9 # [os.environ.get("CF_CUDA_ENABLED", "False") == "True" and linux64] -m2w64_c_compiler: # [win] - - m2w64-toolchain # [win] -m2w64_cxx_compiler: # [win] - - m2w64-toolchain # [win] -m2w64_fortran_compiler: # [win] - - m2w64-toolchain # [win] -CMAKE_GENERATOR: # [win] - - NMake Makefiles # [win] + - if: emscripten + then: + - emscripten + - if: linux + then: + - gxx + - if: osx + then: + - clangxx + +cxx_compiler_version: + - if: emscripten + then: + - 3 + - if: linux + then: + - 9 + - if: osx + then: + - 11 -cuda_compiler: # [linux64 or win] - - nvcc # [linux64 or win] +cuda_compiler: + - undefined cuda_compiler_version: - None - - 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] cudnn: - undefined - - 7 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] _libgcc_mutex: - 0.1 conda_forge -# -# Go Compiler Options -# -# The basic go-compiler with CGO disabled, -# It generates fat binaries without libc dependencies -# The activation scripts will set your CC,CXX and related flags -# to invalid values. -go_compiler: - - go-nocgo -# The go compiler build with CGO enabled. -# It can generate fat binaries that depend on conda's libc. -# You should use this compiler if the underlying -# program needs to link against other C libraries, in which -# case make sure to add 'c,cpp,fortran_compiler' for unix -# and the m2w64 equivalent for windows. -cgo_compiler: - - go-cgo -# The following are helpful variables to simplify go meta.yaml files. -target_goos: - - linux # [linux] - - darwin # [osx] - - windows # [win] -target_goarch: - - amd64 # [x86_64] target_goexe: - - # [unix] - - .exe # [win] + - target_gobin: - - '${PREFIX}/bin/' # [unix] - - '%PREFIX%\bin\' # [win] + - '${PREFIX}/bin/' -# Rust Compiler Options rust_compiler: - rust -macos_machine: # [osx] - - x86_64-apple-darwin13.4.0 # [osx and x86_64] - - arm64-apple-darwin20.0.0 # [osx and arm64] -MACOSX_DEPLOYMENT_TARGET: # [osx] - - 11.0 # [osx and arm64] - - 10.9 # [osx and x86_64] -target_platform: # [win] - - win-64 # [win] VERBOSE_AT: - V=1 VERBOSE_CM: @@ -123,66 +76,11 @@ VERBOSE_CM: # dual build configuration channel_sources: - - conda-forge # [not s390x] - - https://conda-web.anaconda.org/conda-forge # [s390x] + - conda-forge channel_targets: - conda-forge main -cdt_name: # [linux] - - cos6 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos6"] - - cos7 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos7"] - - cos7 # [linux and aarch64] - - cos7 # [linux and ppc64le] - - cos7 # [linux and armv7l] - - cos7 # [linux and s390x] - - - cos6 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos6"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos7"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] - - quay.io/condaforge/linux-anvil-cos7-x86_64 # [os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-aarch64 # [os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] - - quay.io/condaforge/linux-anvil-ppc64le # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - - quay.io/condaforge/linux-anvil-armv7l # [os.environ.get("BUILD_PLATFORM") == "linux-armv7l"] - - - quay.io/condaforge/linux-anvil-cos7-cuda:10.2 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - -zip_keys: - - # [unix] - - c_compiler_version # [unix] - - cxx_compiler_version # [unix] - - fortran_compiler_version # [unix] - - cudnn # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cuda_compiler_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cdt_name # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - docker_image # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] - - # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cudnn # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cuda_compiler_version # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - - - python - - numpy - - python_impl - -# aarch64 specifics because conda-build sets many things to centos 6 -# this can probably be removed when conda-build gets updated defaults -# for aarch64 -cdt_arch: aarch64 # [aarch64] -BUILD: aarch64-conda_cos7-linux-gnu # [aarch64] - -# armv7l specifics because conda-build sets many things to centos 6 -# this can probably be removed when conda-build gets updated defaults -# for aarch64 -cdt_arch: armv7l # [armv7l] -BUILD: armv7-conda_cos7-linux-gnueabihf # [armv7l] - # TODO: remove these when run_exports are added to the packages. pin_run_as_build: arpack: @@ -313,28 +211,25 @@ pin_run_as_build: xz: max_pin: x.x zeromq: - max_pin: x.x # [not win] - max_pin: x.x.x # [win] + max_pin: x.x # Pinning packages # blas libblas: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] + - 3.8 *netlib + libcblas: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] + - 3.8 *netlib + liblapack: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] + - 3.8 *netlib liblapacke: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] + - 3.8 *netlib blas_impl: - openblas - - mkl # [x86 or x86_64] - - blis # [x86 or x86_64] + - mkl + - blis abseil_cpp: - '20210324.2' @@ -631,11 +526,6 @@ ntl: # we build for the oldest version possible of numpy for forward compatibility numpy: - 1.25.2 -# # part of a zip_keys: python, python_impl, numpy -# - 1.18 # [not (osx and arm64)] -# - 1.18 # [not (osx and arm64)] -# - 1.19 # [osx and arm64] -# - 1.19 occt: - '7.5' openblas: @@ -744,13 +634,11 @@ thrift_cpp: tinyxml2: - 9 tk: - - 8.6 # [not ppc64le] + - 8.6 tiledb: - '2.6' uhd: - 4.1.0 -vc: # [win] - - 14 # [win] vlfeat: - 0.9.20 volk: diff --git a/emci/__main__.py b/emci/__main__.py index 64372e0af..27e0c3dd6 100644 --- a/emci/__main__.py +++ b/emci/__main__.py @@ -1,20 +1,7 @@ -# this contains monkey patches for boa and needs to be imported early -has_boa = False -import warnings -try: - from .deprecated.boa_build import build_package_with_boa - has_boa = True -except ImportError: - warnings.warn("boa_build module not found. This is fine if you only build with rattler-build") - - from .rattler_build import build_with_rattler - - -from .constants import RECIPES_SUBDIR_MAPPING, FORCE_BOA,FORCE_RATTLER, RECIPES_EMSCRIPTEN_DIR +from .constants import RECIPES_SUBDIR_MAPPING, RECIPES_EMSCRIPTEN_DIR from .find_recipes_with_changes import find_recipes_with_changes - import sys import os import tempfile @@ -24,19 +11,18 @@ from typing import Optional import typer - app = typer.Typer(pretty_exceptions_enable=False) build_app = typer.Typer() app.add_typer(build_app, name="build") - @build_app.command() def explicit( recipe_dir, emscripten_wasm32: Optional[bool] = typer.Option(False), skip_tests: Optional[bool] = typer.Option(False), skip_existing: Optional[bool] = typer.Option(True), + n_retry: Optional[int] = typer.Option(1), ): work_dir = os.getcwd() assert os.path.isdir(recipe_dir), f"{recipe_dir} is not a dir" @@ -48,44 +34,8 @@ def explicit( # if so, we need to build the package with rattler # otherwise we can use boa - rattler_recipe_file = os.path.join(Path(recipe_dir).resolve(), "rattler_recipe.yaml") - boa_recipe_file = os.path.join(Path(recipe_dir).resolve(), "recipe.yaml") - - if os.path.isfile(rattler_recipe_file) and not FORCE_BOA: - - rattler_recipe = Path(recipe_dir) / "rattler_recipe.yaml" - build_with_rattler(recipe=rattler_recipe, emscripten_wasm32=emscripten_wasm32) - - elif os.path.isfile(boa_recipe_file) and not FORCE_RATTLER: - if not has_boa: - raise RuntimeError("boa_build module not found. This is required to build boa recipes") - - - build_package_with_boa( - work_dir=work_dir, - target=recipe_dir, - platform=platform, - skip_tests=skip_tests, - skip_existing=skip_existing, - ) - - - -def check_recipes_format(recipes_dir): - all_rattler = True - all_boa = True - for recipe in recipes_dir: - # check if there is a rattler_recipe.yaml file - rattler_recipe_file = os.path.join(Path(recipe).resolve(), "rattler_recipe.yaml") - if not os.path.isfile(rattler_recipe_file): - all_rattler = False - - boa_recipe_file = os.path.join(Path(recipe).resolve(), "recipe.yaml") - if not os.path.isfile(boa_recipe_file): - all_boa = False - - return all_rattler, all_boa - + rattler_recipe_file = os.path.join(Path(recipe_dir).resolve(), "recipe.yaml") + build_with_rattler(recipe=rattler_recipe_file, emscripten_wasm32=emscripten_wasm32, n_retry=n_retry) @build_app.command() def changed( @@ -95,6 +45,7 @@ def changed( dryrun: Optional[bool] = typer.Option(False), skip_tests: Optional[bool] = typer.Option(False), skip_existing: Optional[bool] = typer.Option(True), + n_retry: Optional[int] = typer.Option(1), ): work_dir = os.getcwd() recipes_dir = os.path.join(root_dir, "recipes") @@ -112,13 +63,6 @@ def changed( ) os.makedirs(tmp_folder_root, exist_ok=True) - - changed_recipes_dirs = [os.path.join(recipes_dir, subdir, recipe_with_change) for recipe_with_change in recipe_with_changes] - all_rattler, all_boa = check_recipes_format(changed_recipes_dirs) - if not all_rattler and not all_boa: - raise RuntimeError("All recipes must be in the same format (rattler or boa)") - - for recipe_with_change in recipe_with_changes: recipe_dir = os.path.join(recipes_dir, subdir, recipe_with_change) @@ -132,41 +76,13 @@ def changed( shutil.copytree(recipe_dir, tmp_recipe_dir) print([x[0] for x in os.walk(tmp_recipes_root_str)]) - if all_rattler and not FORCE_BOA: - # delete all potential "recipe.yaml" files - for root, dirs, files in os.walk(tmp_recipes_root_str): - for file in files: - if file == "recipe.yaml": - os.remove(os.path.join(root, file)) - # rename all rattler_recipe.yaml files to recipe.yaml - for root, dirs, files in os.walk(tmp_recipes_root_str): - for file in files: - if file == "rattler_recipe.yaml": - os.rename(os.path.join(root, file), os.path.join(root, "recipe.yaml")) - - build_with_rattler(recipe=None, recipes_dir=tmp_recipes_root_str, emscripten_wasm32=RECIPES_SUBDIR_MAPPING[subdir] == "emscripten-wasm32") - - elif all_boa and not FORCE_RATTLER: - if not has_boa: - raise RuntimeError("boa_build module not found. This is required to build boa recipes") - # delete all potential "rattler_recipe.yaml" files - for root, dirs, files in os.walk(tmp_recipes_root_str): - for file in files: - if file == "rattler_recipe.yaml": - os.remove(os.path.join(root, file)) - warnings.warn("Building with boa is deprecated. Please use rattler instead.") - build_package_with_boa( - work_dir=work_dir, - target=tmp_recipes_root_str, - recipe_dir=None, - platform=RECIPES_SUBDIR_MAPPING[subdir], - skip_tests=skip_tests, - skip_existing=skip_existing, - ) - - else: - raise RuntimeError("All recipes must be in the same format (rattler or boa)") - + + # delete all potential "recipe_legacy.yaml" files + for root, dirs, files in os.walk(tmp_recipes_root_str): + for file in files: + if file == "recipe_legacy.yaml": + os.remove(os.path.join(root, file)) + build_with_rattler(recipe=None, recipes_dir=tmp_recipes_root_str, emscripten_wasm32=RECIPES_SUBDIR_MAPPING[subdir] == "emscripten-wasm32",n_retry=n_retry) bot_app = typer.Typer() diff --git a/emci/bot/bump_recipes_versions.py b/emci/bot/bump_recipes_versions.py index d889a60fc..44d4d1ec2 100644 --- a/emci/bot/bump_recipes_versions.py +++ b/emci/bot/bump_recipes_versions.py @@ -122,7 +122,7 @@ def make_pr_title(name, old_version, new_version): def bump_recipe_version(recipe_dir): - recipe_locations = [("recipe.yaml", False), ("rattler_recipe.yaml", True)] + recipe_locations = [ ("recipe.yaml", True)] current_version = None new_version = None diff --git a/emci/constants.py b/emci/constants.py index 0eae33483..b9de1d90c 100644 --- a/emci/constants.py +++ b/emci/constants.py @@ -16,14 +16,7 @@ # rattler build related -RATTLER_CONDA_BUILD_CONFIG_PATH = os.path.join(REPO_ROOT, "rattler_conda_build_config.yaml") - -# env var to force the use of boa instead of rattler for testing the legacy build system -FORCE_BOA = bool(int(os.environ.get("FORCE_BOA", False))) -FORCE_RATTLER = bool(int(os.environ.get("FORCE_RATTLER", False))) - -if FORCE_BOA and FORCE_RATTLER: - raise ValueError("FORCE_BOA and FORCE_RATTLER cannot be both set") +RATTLER_CONDA_BUILD_CONFIG_PATH = os.path.join(REPO_ROOT, "conda_build_config.yaml") CONDA_PREFIX = os.environ.get("CONDA_PREFIX") if CONDA_PREFIX is None: diff --git a/emci/deprecated/__init__.py b/emci/deprecated/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/emci/deprecated/boa_build.py b/emci/deprecated/boa_build.py deleted file mode 100644 index 120e53ad3..000000000 --- a/emci/deprecated/boa_build.py +++ /dev/null @@ -1,81 +0,0 @@ -import boa.core.monkeypatch # noqa -from boa.core.run_build import run_build -from boa.pyapi import py_build -from .testing.package_testing import test_package as test_package_impl - - -import os -import shutil -import glob -import functools - -from contextlib import contextmanager - -from ..constants import CONDA_BLD_DIR - -@contextmanager -def restore_cwd(): - base_work_dir = os.getcwd() - yield - os.chdir(base_work_dir) - - -def test_package(recipe, work_dir): - # recipe_dir = os.path.join(recipes_dir, recipe_name) - print(f"Test recipe: {recipe} in work_dir: {work_dir}") - test_package_impl(recipe=recipe, work_dir=work_dir, conda_bld_dir=CONDA_BLD_DIR) - - - -def cleanup(): - do_not_delete = ["noarch", "linux-64", "emscripten-wasm32", "icons"] - do_not_delete = [os.path.join(CONDA_BLD_DIR, d) for d in do_not_delete] - - for dirname in glob.iglob(os.path.join(CONDA_BLD_DIR, "**"), recursive=False): - if os.path.isdir(dirname): - if dirname not in do_not_delete and "_" in dirname: - shutil.rmtree(dirname) - - -def post_build_callback( - recipe, target_platform, sorted_outputs, final_names, skip_tests, work_dir -): - if target_platform == "emscripten-wasm32" and (not skip_tests): - with restore_cwd(): - test_package(recipe=recipe, work_dir=work_dir) - cleanup() - - -def build_package_with_boa( - work_dir, - platform, - target=None, - recipe_dir=None, - skip_tests=False, - skip_existing=False, -): - - - - - - target_platform = None - if platform: - target_platform = platform - str_skip_existing = "default" - if skip_existing: - str_skip_existing = "yes" - - cb = functools.partial( - post_build_callback, skip_tests=skip_tests, work_dir=work_dir - ) - - py_build( - target=target, - recipe_dir=recipe_dir, - target_platform=target_platform, - skip_existing=str_skip_existing, - post_build_callback=cb, - ) - os.chdir(work_dir) - diff --git a/emci/deprecated/testing/__init__.py b/emci/deprecated/testing/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/emci/deprecated/testing/main_mount/main.py b/emci/deprecated/testing/main_mount/main.py deleted file mode 100644 index 9f36f4b87..000000000 --- a/emci/deprecated/testing/main_mount/main.py +++ /dev/null @@ -1,8 +0,0 @@ -import pytest - - -async def main(): - - retcode = pytest.main() - if retcode != pytest.ExitCode.OK: - raise RuntimeError(f"pytest failed with return code: {retcode}") diff --git a/emci/deprecated/testing/package_testing.py b/emci/deprecated/testing/package_testing.py deleted file mode 100644 index d264493e6..000000000 --- a/emci/deprecated/testing/package_testing.py +++ /dev/null @@ -1,189 +0,0 @@ -from collections import OrderedDict -import tempfile -import socket -from contextlib import closing, contextmanager -from pathlib import Path -import os -import subprocess -import fnmatch - -import uuid -import sys -import shutil - -import ruamel -from ruamel.yaml import YAML -from ruamel.yaml.representer import RoundTripRepresenter - -from pyjs_code_runner.run import run -from pyjs_code_runner.backend.backend import BackendType - -THIS_DIR = Path(os.path.dirname(os.path.realpath(__file__))) -MAIN_MOUNT = THIS_DIR / "main_mount" - - -class MyRepresenter(RoundTripRepresenter): - pass - -ruamel.yaml.add_representer( - OrderedDict, MyRepresenter.represent_dict, representer=MyRepresenter -) - - -def find_free_port(): - with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as s: - s.bind(("", 0)) - s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) - return s.getsockname()[1] - - -def has_pytest_files(recipe_dir): - recipe_dir = os.path.abspath(recipe_dir) - for path, folders, files in os.walk(recipe_dir): - for file in files: - if fnmatch.fnmatch(file, "test_*.py"): - return True - - return False - - -def create_test_env(pkg_name, requires, prefix, conda_bld_dir): - channels = ( - f"-c {conda_bld_dir} -c https://repo.mamba.pm/emscripten-forge -c conda-forge" - ) - - cmd = [ - f"""$MAMBA_EXE create --yes --prefix {prefix} --platform=emscripten-wasm32 python "pyjs>=1.0.0,<2.0.0" pytest {" ".join(requires)} {pkg_name} {channels}""" - ] - - ret = subprocess.run(cmd, shell=True) - # stderr=subprocess.PIPE, stdout=subprocess.PIPE) - returncode = ret.returncode - assert returncode == 0 - - -def get_node_binary(): - conda_prefix = os.getenv("CONDA_PREFIX") - if conda_prefix is None: - raise RuntimeError( - "CONDA_PREFIX environment variable is not set! this is needede to find the node binary" - ) - conda_prefix = Path(conda_prefix) - node_binary = conda_prefix / "bin" / "node" - if node_binary.is_file(): - return node_binary - else: - raise RuntimeError( - "could not find node: make sure node is installed in the current conda env" - ) - - -@contextmanager -def temp_work_dir(work_dir): - if sys.platform == "darwin": - try: - tmp_name = str(uuid.uuid4()) - tmp_dir = Path(work_dir) / tmp_name - tmp_dir.mkdir(exist_ok=True) - yield tmp_dir - - finally: - #pass - shutil.rmtree(tmp_dir) - else: - with tempfile.TemporaryDirectory() as temp_dir: - yield temp_dir - - -def get_yaml_loader(typ): - if typ == "rt": - loader = YAML(typ=typ) - loader.preserve_quotes = True - loader.default_flow_style = False - loader.indent(sequence=4, offset=2) - loader.width = 1000 - loader.Representer = MyRepresenter - loader.Loader = ruamel.yaml.RoundTripLoader - elif typ == "safe": - loader = YAML(typ=typ) - return loader - - -def test_package(recipe, work_dir, conda_bld_dir): - recipe_dir, _ = os.path.split(recipe["recipe_file"]) - assert os.path.isdir(recipe_dir), f"recipe_dir: {recipe_dir} does not exist" - recipe_file = os.path.join(recipe_dir, "recipe.yaml") - - loader = get_yaml_loader(typ="rt") - with open(recipe_file, 'r') as fobj: - recipe_yaml = loader.load(fobj) - - extra = recipe_yaml.get("extra", {}) - - old_cwd = os.getcwd() - - if has_pytest_files(recipe_dir): - pkg_name = recipe["package"]["name"] - - requires = []#extra["emscripten_tests"].get("requires", []) - - with temp_work_dir(work_dir) as temp_dir: - prefix = os.path.join(temp_dir, "prefix") - create_test_env(pkg_name, requires, prefix, conda_bld_dir) - - work_dir = Path("/home/web_user/recipe_dir") - - backends = [ - ( - BackendType.browser_main, - lambda: dict(port=find_free_port(), slow_mo=1, headless=True), - ), - ( - BackendType.browser_worker, - lambda: dict(port=find_free_port(), slow_mo=1, headless=True), - ), - # the node baxckend is atm disabled because it does not work with the new empack - #(BackendType.node, lambda: dict(node_binary=get_node_binary())), - ] - print( - "================================================================================" - ) - print( - "======================= Main test session starts ===============================" - ) - exceptions = [] - for backend_type, backend_kwargs_factory in backends: - print( - "================================================================================" - ) - print(f"Test backend: {backend_type}") - print( - "================================================================================" - ) - try: - r = run( - conda_env=prefix, - relocate_prefix="/", - backend_type=backend_type, - script="main.py", - async_main=True, - mounts=[ - (MAIN_MOUNT, work_dir), - (Path(recipe_dir).resolve(), work_dir), - ], - work_dir=work_dir, - pkg_file_filter=None, # let empack handle this - pyjs_dir=None, - cache_dir=None, - use_cache=False, - host_work_dir=None, - backend_kwargs=backend_kwargs_factory(), - ) - except Exception as e: - print(f"Test backend : {backend_type} FAILED {e}") - exceptions.append(e) - - if exceptions: - raise RuntimeError(exceptions) - - os.chdir(old_cwd) diff --git a/emci/rattler_build.py b/emci/rattler_build.py index 17d6c0275..a416e7b35 100644 --- a/emci/rattler_build.py +++ b/emci/rattler_build.py @@ -2,42 +2,53 @@ import os import subprocess from .constants import RATTLER_CONDA_BUILD_CONFIG_PATH +from retry import retry -def build_with_rattler(recipe=None, recipes_dir=None, emscripten_wasm32=False): - cmd = ["rattler-build", "build", "--package-format", "tar-bz2"] - # build single recipe or all recipes in a directory ? - if recipe is not None and recipes_dir is not None: - raise ValueError("recipe and recipes_dir cannot be both set") - elif recipe is None and recipes_dir is None: - raise ValueError("recipe or recipes_dir must be set") - elif recipe is not None: - cmd.extend(["--recipe", str(recipe)]) - elif recipes_dir is not None: - cmd.extend(["--recipe-dir", str(recipes_dir)]) +def build_with_rattler(recipe=None, recipes_dir=None, emscripten_wasm32=False, n_retry=1, skip_existing="local"): - # build for emscripten-wasm32? - if emscripten_wasm32: - cmd.extend(["--target-platform", "emscripten-wasm32"]) - # cmd.extend(["--variant-config", str(VARIANT_CONFIG_PATH)]) - cmd.extend(["-m", RATTLER_CONDA_BUILD_CONFIG_PATH]) - - # add conda forge and emscripten-forge channels - cmd.extend([ - "-c", "https://repo.mamba.pm/emscripten-forge", - "-c", "conda-forge", - "-c", "microsoft", - ]) + @retry(tries=n_retry) + def build_with_rattler_impl(recipe, recipes_dir, emscripten_wasm32): + cmd = ["rattler-build", "build", "--package-format", "tar-bz2"] - # pass existing env vars to subprocess - print(f"Running rattler-build with command: {cmd}") + # build single recipe or all recipes in a directory ? + if recipe is not None and recipes_dir is not None: + raise ValueError("recipe and recipes_dir cannot be both set") + elif recipe is None and recipes_dir is None: + raise ValueError("recipe or recipes_dir must be set") + elif recipe is not None: + cmd.extend(["--recipe", str(recipe)]) + elif recipes_dir is not None: + cmd.extend(["--recipe-dir", str(recipes_dir)]) + + cmd.extend(["--skip-existing", skip_existing]) + # build for emscripten-wasm32? + if emscripten_wasm32: + cmd.extend(["--target-platform", "emscripten-wasm32"]) + # cmd.extend(["--variant-config", str(VARIANT_CONFIG_PATH)]) - ret = subprocess.run(' '.join(cmd), check=False, shell=True)#, env=os.environ) - if ret.returncode != 0: - raise RuntimeError(f"rattler-build failed with return code {ret.returncode}") - + cmd.extend(["-m", RATTLER_CONDA_BUILD_CONFIG_PATH]) + + # add conda forge and emscripten-forge channels + cmd.extend([ + "-c", "https://repo.mamba.pm/emscripten-forge", + "-c", "conda-forge", + "-c", "microsoft", + ]) + + # pass existing env vars to subprocess + print(f"Running rattler-build with command: {cmd}") + + + ret = subprocess.run(' '.join(cmd), check=False, shell=True)#, env=os.environ) + if ret.returncode != 0: + raise RuntimeError(f"rattler-build failed with return code {ret.returncode}") - \ No newline at end of file + + build_with_rattler_impl(recipe=recipe, recipes_dir=recipes_dir, emscripten_wasm32=emscripten_wasm32) + + + diff --git a/pixi.toml b/pixi.toml index aa6200b24..c58258638 100644 --- a/pixi.toml +++ b/pixi.toml @@ -28,7 +28,8 @@ outputs = ["emscripten_forge_emsdk_install/emsdk_env.sh"] [feature.feature_rattler_build.dependencies] rattler-build = ">= 0.14.0" python = "3.11.*" -typer ="*" +retry = "*" +typer = "*" [feature.feature_rattler_build.tasks.build-emscripten-compiler-pkg] cmd = ["python", "-m", "emci","build","explicit","recipes/recipes/emscripten_emscripten-wasm32"] diff --git a/rattler_conda_build_config.yaml b/rattler_conda_build_config.yaml deleted file mode 100644 index d4cc1d2e5..000000000 --- a/rattler_conda_build_config.yaml +++ /dev/null @@ -1,771 +0,0 @@ -#....... -# This differs from target_platform in that it determines what subdir the compiler -# will target, not what subdir the compiler package will be itself. -# For example, we need a win-64 vs2008_win-32 package, so that we compile win-32 -# code on win-64 miniconda. -cross_compiler_target_platform: # [win] - - win-64 # [win] - - -c_compiler: - - if: emscripten - then: - - emscripten - - if: linux - then: - - gcc - - if: osx - then: - - clang - -c_compiler_version: - - if: emscripten - then: - - 3 - - if: linux - then: - - 9 - - if: osx - then: - - 11 - -cxx_compiler: - - if: emscripten - then: - - emscripten - - if: linux - then: - - gxx - - if: osx - then: - - clangxx - -cxx_compiler_version: - - if: emscripten - then: - - 3 - - if: linux - then: - - 9 - - if: osx - then: - - 11 - -llvm_openmp: # [osx] - - 11 # [osx] -m2w64_c_compiler: # [win] - - m2w64-toolchain # [win] -m2w64_cxx_compiler: # [win] - - m2w64-toolchain # [win] -m2w64_fortran_compiler: # [win] - - m2w64-toolchain # [win] -CMAKE_GENERATOR: # [win] - - NMake Makefiles # [win] - -cuda_compiler: # [linux64 or win] - - nvcc # [linux64 or win] -cuda_compiler_version: - - None - - 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cudnn: - - undefined - - 7 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 8 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -_libgcc_mutex: - - 0.1 conda_forge -# -# Go Compiler Options -# - -# The basic go-compiler with CGO disabled, -# It generates fat binaries without libc dependencies -# The activation scripts will set your CC,CXX and related flags -# to invalid values. -go_compiler: - - go-nocgo -# The go compiler build with CGO enabled. -# It can generate fat binaries that depend on conda's libc. -# You should use this compiler if the underlying -# program needs to link against other C libraries, in which -# case make sure to add 'c,cpp,fortran_compiler' for unix -# and the m2w64 equivalent for windows. -cgo_compiler: - - go-cgo -# The following are helpful variables to simplify go meta.yaml files. -target_goos: - - linux # [linux] - - darwin # [osx] - - windows # [win] -target_goarch: - - amd64 # [x86_64] -target_goexe: - - # [unix] - - .exe # [win] -target_gobin: - - '${PREFIX}/bin/' # [unix] - - '%PREFIX%\bin\' # [win] - -# Rust Compiler Options -rust_compiler: - - rust - -macos_machine: # [osx] - - x86_64-apple-darwin13.4.0 # [osx and x86_64] - - arm64-apple-darwin20.0.0 # [osx and arm64] -MACOSX_DEPLOYMENT_TARGET: # [osx] - - 11.0 # [osx and arm64] - - 10.9 # [osx and x86_64] -target_platform: # [win] - - win-64 # [win] -VERBOSE_AT: - - V=1 -VERBOSE_CM: - - VERBOSE=1 - -# dual build configuration -channel_sources: - - conda-forge # [not s390x] - - https://conda-web.anaconda.org/conda-forge # [s390x] - -channel_targets: - - conda-forge main - -cdt_name: # [linux] - - cos6 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos6"] - - cos7 # [linux64 and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos7"] - - cos7 # [linux and aarch64] - - cos7 # [linux and ppc64le] - - cos7 # [linux and armv7l] - - cos7 # [linux and s390x] - - - cos6 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos6"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("DEFAULT_LINUX_VERSION", "cos6") == "cos7"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] - - quay.io/condaforge/linux-anvil-cos7-x86_64 # [os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-aarch64 # [os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] - - quay.io/condaforge/linux-anvil-ppc64le # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - - quay.io/condaforge/linux-anvil-armv7l # [os.environ.get("BUILD_PLATFORM") == "linux-armv7l"] - - - quay.io/condaforge/linux-anvil-cos7-cuda:10.2 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM") == "linux-64"] - -# zip_keys: -# - # [unix] -# - c_compiler_version # [unix] -# - cxx_compiler_version # [unix] -# - fortran_compiler_version # [unix] -# - cudnn # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -# - cuda_compiler_version # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -# - cdt_name # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -# - docker_image # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True" and os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] -# - # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -# - cudnn # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -# - cuda_compiler_version # [win64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -# - -# - python -# - numpy -# - python_impl - - - -# TODO: remove these when run_exports are added to the packages. -pin_run_as_build: - arpack: - max_pin: x.x.x - boost: - max_pin: x.x.x - boost-cpp: - max_pin: x.x.x - cairo: - max_pin: x.x - curl: - max_pin: x - dbus: - max_pin: x - fftw: - max_pin: x - flann: - max_pin: x.x.x - fontconfig: - max_pin: x - freetype: - max_pin: x - gdal: - max_pin: x.x - geotiff: - max_pin: x.x.x - glew: - max_pin: x.x - glpk: - max_pin: x.x - gmp: - max_pin: x - graphviz: - max_pin: x - harfbuzz: - max_pin: x - hdf4: - max_pin: x.x - isl: - max_pin: x.x - jasper: - max_pin: x - jpeg: - max_pin: x - libjpeg_turbo: - max_pin: x - json-c: - max_pin: x.x - jsoncpp: - max_pin: x.x.x - kealib: - max_pin: x.x - krb5: - max_pin: x.x - libblitz: - max_pin: x.x - libcurl: - max_pin: x - libevent: - max_pin: x.x.x - libgdal: - max_pin: x.x - libiconv: - max_pin: x.x - libkml: - max_pin: x.x - libpng: - max_pin: x.x - librsvg: - max_pin: x - libsvm: - max_pin: x.x - libtiff: - max_pin: x - libxml2: - max_pin: x.x - libuuid: - max_pin: x - lz4-c: - max_pin: x.x.x - lzo: - max_pin: x - metis: - max_pin: x.x - mpfr: - max_pin: x - netcdf-cxx4: - max_pin: x.x - netcdf-fortran: - max_pin: x.x - nettle: - max_pin: x.x - nlopt: - max_pin: x.x.x - nss: - max_pin: x - nspr: - max_pin: x - occt: - max_pin: x.x - openturns: - max_pin: x.x - openjpeg: - max_pin: x.x - pango: - max_pin: x.x - poppler: - max_pin: x.x - qt: - max_pin: x.x - qtkeychain: - max_pin: x.x - readline: - max_pin: x - r-base: - max_pin: x.x - min_pin: x.x - sox: - max_pin: x.x.x - tk: - max_pin: x.x - tiledb: - max_pin: x.x - vlfeat: - max_pin: x.x.x - vtk: - max_pin: x.x.x - xz: - max_pin: x.x - zeromq: - max_pin: x.x # [not win] - -# Pinning packages - -# blas -libblas: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] -libcblas: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] -liblapack: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] -liblapacke: - - 3.8 *netlib # [not (osx and arm64)] - - 3.9 *netlib # [osx and arm64] -blas_impl: - - openblas - - mkl # [x86 or x86_64] - - blis # [x86 or x86_64] - -abseil_cpp: - - '20210324.2' -alsa_lib: - - 1.2.3 -antic: - - 0.2 -arb: - - '2.21' -arpack: - - 3.7 -assimp: - - 5.2 -aws_c_auth: - - 0.6.10 -aws_c_cal: - - 0.5.12 -aws_c_common: - - 0.6.19 -aws_c_event_stream: - - 0.2.7 -aws_c_http: - - 0.6.10 -aws_c_io: - - 0.10.17 -aws_c_mqtt: - - 0.7.10 -aws_c_s3: - - 0.1.32 -aws_c_sdkutils: - - 0.1.1 -aws_checksums: - - 0.1.12 -aws_crt_cpp: - - 0.17.15 -aws_sdk_cpp: - - 1.9.160 -boost: - - 1.74.0 -boost_cpp: - - 1.80.0 -bzip2: - - 1 -cairo: - - 1.16 -capnproto: - - 0.9.1 -ccr: - - 1.3 -cffi: - - 1.15.1 -cfitsio: - - 4.0.0 -cmake: - - 3.26.4 -coin_or_cbc: - - 2.10 -coincbc: - - 2.10 -coin_or_cgl: - - 0.60 -coin_or_clp: - - 1.17 -coin_or_osi: - - 0.108 -coin_or_utils: - - 2.11 -cross-python_emscripten-32: - - '3.10.1' -cutensor: - - 1 -curl: - - 7 -davix: - - '0.8' -dbus: - - 1 -exiv2: - - 0.27 -expat: - - 2 -ffmpeg: - - '4.3' -fftw: - - 3 -flann: - - 1.9.1 -fmt: - - '8' -fontconfig: - - 2.13 -freetype: - - 2 -gct: - - 6.2.1629922860 -gf2x: - - '1.3' -gdk_pixbuf: - - 2 -gnuradio_core: - - 3.10.0 -gsl: - - 2.7 -gsoap: - - 2.8.119 -gstreamer: - - 1.18 -gst_plugins_base: - - 1.18 -gdal: - - '3.4' -geotiff: - - '1.7' -gfal2: - - '2.20' -gflags: - - 2.2 -giflib: - - 5.2 -glew: - - 2.1 -glib: - - '2' -glog: - - '0.5' -# glpk: -# - 4.65 -gmp: - - 6 -google_cloud_cpp: - - '1.35' -google_cloud_cpp_common: - - 0.25.0 -googleapis_cpp: - - '0.10' -graphviz: - - 2.47 -grpc_cpp: - - '1.43' -harfbuzz: - - '3' -hdf4: - - 4.2 -hdf5: - - 1.12.2 -icu: - - '69' -ipopt: - - 3.14 -isl: - - '0.22' -jasper: - - '2' -jpeg: - - 9 -libjpeg_turbo: - - 2 -json_c: - - 0.15 -jsoncpp: - - 1.9.5 -kealib: - - 1.4 -krb5: - - '1.19' -libarchive: - - 3.5 -libblitz: - - 1.0.2 -libcint: - - '5.1' -libcurl: - - 7 -libcrc32c: - - 1.1 -libdap4: - - 3.20.6 -libeantic: - - 1 -libevent: - - 2.1.10 -libexactreal: - - 2 -libffi: - - '3.4' -libflatsurf: - - 3 -libflint: - - '2.8' -libgdal: - - '3.4' -libgit2: - - '1.3' -libhugetlbfs: - - 2 -libhwy: - - 0.15 -libiconv: - - 1.17 -libintervalxt: - - 3 -libkml: - - 1.3 -libiio: - - 0 -libmatio: - - 1.5.21 -libmicrohttpd: - - 0.9 -libnetcdf: - - 4.8.1 -libopencv: - - 4.5.5 -libpcap: - - '1.10' -libpng: - - 1.6 -libprotobuf: - - '3.18' -librdkafka: - - '1.7' -librsvg: - - 2 -libsecret: - - 0.18 -libspatialindex: - - 1.9.3 -libssh2: - - 1 -libsvm: - - 3.21 -libthrift: - - 0.15.0 -libtiff: - - 4 -libunwind: - - '1.6' -libv8: - - 8.9.83 -libwebp: - - 1 -libwebp_base: - - 1 -libxml2: - - 2.9 -libuuid: - - 2 -libzip: - - 1 -log4cxx: - - 0.11.0 -lz4_c: - - 1.9.3 -lzo: - - 2 -metis: - - 5.1 -mimalloc: - - 1.6.3 -mkl: - - '2021' -mkl_devel: - - '2021' -mpich: - - 3 -mpfr: - - 4 -mumps_mpi: - - 5.2 -mumps_seq: - - 5.2 -nccl: - - 2 -ncurses: - - 6 -netcdf_cxx4: - - 4.3 -netcdf_fortran: - - 4.5 -nettle: - - '3.7' -# nodejs: -# - '17' -# - '16' -# - '14' # [not (osx and arm64)] -nss: - - 3 -nspr: - - 4 -nlopt: - - '2.7' -ntl: - - '11.4.3' -# we build for the oldest version possible of numpy for forward compatibility -numpy: - - 1.25.2 -# # part of a zip_keys: python, python_impl, numpy -# - 1.18 # [not (osx and arm64)] -# - 1.18 # [not (osx and arm64)] -# - 1.19 # [osx and arm64] -# - 1.19 -occt: - - '7.5' -openblas: - - 0.3.* -openexr: - - 2.5 -openjpeg: - - '2.4' -openmpi: - - 4 -openssl: - - 1.1.1 -openturns: - - '1.18' -orc: - - 1.7.2 -pango: - - '1.48' -pari: - - 2.13.* *_pthread -perl: - - 5.32.1 -petsc: - - 3.15 -petsc4py: - - 3.15 -slepc: - - 3.15 -slepc4py: - - 3.15 -pcre: - - '8' -pcre2: - - '10.37' -pixman: - - 0 -poco: - - 1.11.1 -poppler: - - '22.01' -proj: - - 8.2.0 -pybind11_abi: - - 4 - -pip: - - '22.0.4' -python: - - 3.11.* *_cpython -# # part of a zip_keys: python, python_impl, numpy -# - 3.7.* *_cpython # [not (osx and arm64)] -# - 3.8.* *_cpython -# - 3.9.* *_cpython -# - 3.11.* *_cpython -python_impl: - - cpython -# # part of a zip_keys: python, python_impl, numpy -# - cpython # [not (osx and arm64)] -# - cpython -qt: - - 5.12 -qtkeychain: - - '0.12' -re2: - - 2021.11.01 -readline: - - "8" -rocksdb: - - "6.10" -root_base: - - 6.24.6 -ruby: - - 2.5 - - 2.6 -r_base: - - 4.0 - - 4.1 -scotch: - - 6.0.9 -ptscotch: - - 6.0.9 -s2n: - - 1.3.6 -singular: - - 4.2.0.p3 -snappy: - - 1 -soapysdr: - - '0.8' -sox: - - 14.4.2 -spdlog: - - 1.9 -sqlite: - - 3 -suitesparse: - - 5 -superlu_dist: - - 7.1.1 -tbb: - - 2020 -tbb_devel: - - 2020 -thrift_cpp: - - 0.15.0 -tinyxml2: - - 9 -tk: - - 8.6 # [not ppc64le] -tiledb: - - '2.6' -uhd: - - 4.1.0 -vc: # [win] - - 14 # [win] -vlfeat: - - 0.9.20 -volk: - - '2.5' -vtk: - - 9.0.1 -x264: - - '1!161.*' -xerces_c: - - 3.2 -xrootd: - - '5' -xz: - - 5.2 -zeromq: - - 4.3.4 -zlib: - - 1.2 -zlib_ng: - - 2.0 -zstd: - - '1.5' diff --git a/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml b/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml index 850dcdd4c..3320f7ea1 100644 --- a/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml +++ b/recipes/recipes/cross-python_emscripten-wasm32/recipe.yaml @@ -3,11 +3,8 @@ context: version: "3.11.3" package: - name: '{{ name|lower }}' - version: '{{ version }}' - -# source: -# - path: _sysconfigdata__emscripten_.py + name: ${{ name|lower }} + version: ${{ version }} build: number: 10 @@ -25,7 +22,7 @@ requirements: - pip about: - home: cross-python + summary: cross-python extra: recipe-maintainers: diff --git a/recipes/recipes/cross-python_emscripten-wasm32/rattler_recipe.yaml b/recipes/recipes/cross-python_emscripten-wasm32/recipe_legacy.yaml similarity index 71% rename from recipes/recipes/cross-python_emscripten-wasm32/rattler_recipe.yaml rename to recipes/recipes/cross-python_emscripten-wasm32/recipe_legacy.yaml index 3320f7ea1..850dcdd4c 100644 --- a/recipes/recipes/cross-python_emscripten-wasm32/rattler_recipe.yaml +++ b/recipes/recipes/cross-python_emscripten-wasm32/recipe_legacy.yaml @@ -3,8 +3,11 @@ context: version: "3.11.3" package: - name: ${{ name|lower }} - version: ${{ version }} + name: '{{ name|lower }}' + version: '{{ version }}' + +# source: +# - path: _sysconfigdata__emscripten_.py build: number: 10 @@ -22,7 +25,7 @@ requirements: - pip about: - summary: cross-python + home: cross-python extra: recipe-maintainers: diff --git a/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml b/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml index abc302619..b666c2448 100644 --- a/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml +++ b/recipes/recipes/emscripten_emscripten-wasm32/recipe.yaml @@ -2,37 +2,28 @@ context: name: emscripten_emscripten-wasm32 version: 3.1.45 -package: - name: '{{ name|lower }}' - version: '{{ version }}' - - build: number: 25 - outputs: - # TODO make run_exports work with boa - package: - name: '{{ name | lower }}' - version: '{{ version }}' + name: ${{ name|lower }} + version: ${{ version }} build: script: build_compiler_package.sh - run_exports: - strong: - - "{{ pin_compatible('emscripten-abi', min_pin='x.x.x', max_pin='x.x.x') }}" requirements: build: - gettext run: - python - + run_exports: + - ${{ pin_subpackage('emscripten-abi', min_pin='x.x.x', max_pin='x.x.x') }} - package: name: emscripten-abi - version: '{{ version }}' + version: ${{ version }} build: noarch: generic script: @@ -40,12 +31,12 @@ outputs: about: - home: https://emscripten.org/ + homepage: https://emscripten.org license: MIT license_file: LICENSE summary: emscripten description: Emscripten is a complete compiler toolchain to WebAssembly, using LLVM, with a special focus on speed, size, and the Web platform. - doc_url: https://emscripten.org/ + documentation: https://emscripten.org/ extra: recipe-maintainers: diff --git a/recipes/recipes/emscripten_emscripten-wasm32/rattler_recipe.yaml b/recipes/recipes/emscripten_emscripten-wasm32/recipe_legacy.yaml similarity index 67% rename from recipes/recipes/emscripten_emscripten-wasm32/rattler_recipe.yaml rename to recipes/recipes/emscripten_emscripten-wasm32/recipe_legacy.yaml index 8db9ab702..abc302619 100644 --- a/recipes/recipes/emscripten_emscripten-wasm32/rattler_recipe.yaml +++ b/recipes/recipes/emscripten_emscripten-wasm32/recipe_legacy.yaml @@ -2,29 +2,37 @@ context: name: emscripten_emscripten-wasm32 version: 3.1.45 +package: + name: '{{ name|lower }}' + version: '{{ version }}' + + build: number: 25 + outputs: # TODO make run_exports work with boa - package: - name: ${{ name|lower }} - version: ${{ version }} + name: '{{ name | lower }}' + version: '{{ version }}' build: script: build_compiler_package.sh + run_exports: + strong: + - "{{ pin_compatible('emscripten-abi', min_pin='x.x.x', max_pin='x.x.x') }}" requirements: build: - gettext run: - python - run_exports: - - ${{ pin_subpackage('emscripten-abi', min_pin='x.x.x', max_pin='x.x.x') }} + - package: name: emscripten-abi - version: ${{ version }} + version: '{{ version }}' build: noarch: generic script: @@ -32,12 +40,12 @@ outputs: about: - homepage: https://emscripten.org + home: https://emscripten.org/ license: MIT license_file: LICENSE summary: emscripten description: Emscripten is a complete compiler toolchain to WebAssembly, using LLVM, with a special focus on speed, size, and the Web platform. - documentation: https://emscripten.org/ + doc_url: https://emscripten.org/ extra: recipe-maintainers: diff --git a/recipes/recipes/pytester/rattler_recipe.yaml b/recipes/recipes/pytester/recipe.yaml similarity index 100% rename from recipes/recipes/pytester/rattler_recipe.yaml rename to recipes/recipes/pytester/recipe.yaml diff --git a/recipes/recipes/rust/rattler_recipe.yaml b/recipes/recipes/rust/recipe.yaml similarity index 100% rename from recipes/recipes/rust/rattler_recipe.yaml rename to recipes/recipes/rust/recipe.yaml diff --git a/recipes/recipes_emscripten/argparse/recipe.yaml b/recipes/recipes_emscripten/argparse/recipe.yaml index 9910ebcb8..402430062 100644 --- a/recipes/recipes_emscripten/argparse/recipe.yaml +++ b/recipes/recipes_emscripten/argparse/recipe.yaml @@ -1,12 +1,12 @@ context: - version: "3.0" + version: '3.0' package: name: cpp-argparse - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/p-ranav/argparse/archive/v{{ version }}.tar.gz + url: https://github.com/p-ranav/argparse/archive/v${{ version }}.tar.gz sha256: ba7b465759bb01069d57302855eaf4d1f7d677f21ad7b0b00b92939645c30f47 build: @@ -14,9 +14,9 @@ build: requirements: build: - - "{{ compiler('cxx') }}" - - cmake - - make # [unix] + - ${{ compiler('cxx') }} + - cmake + - make # [unix] # test: # commands: @@ -25,14 +25,12 @@ requirements: # - if exist %LIBRARY_PREFIX%\include\argparse\argparse.hpp (exit 0) else (exit 1) # [win] about: - home: https://github.com/p-ranav/argparse summary: 'Argument Parser for Modern C++ ' license: MIT license_file: LICENSE - dev_url: https://github.com/p-ranav/argparse - + homepage: https://github.com/p-ranav/argparse extra: recipe-maintainers: - - p-ranav - - DerThorsten - - anutosh491 \ No newline at end of file + - p-ranav + - DerThorsten + - anutosh491 diff --git a/recipes/recipes_emscripten/arrow-cpp/recipe.yaml b/recipes/recipes_emscripten/arrow-cpp/recipe.yaml index fe32cd7e3..d343660fd 100644 --- a/recipes/recipes_emscripten/arrow-cpp/recipe.yaml +++ b/recipes/recipes_emscripten/arrow-cpp/recipe.yaml @@ -1,41 +1,38 @@ context: - version: "11.0.0" + version: 11.0.0 package: name: arrow-cpp - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/apache/arrow/archive/refs/tags/apache-arrow-{{version}}.dev.tar.gz - sha256: 5581107cb445a4f0b316d57c3073c034857d633eb33b73a63ca71a34c3ab4caf - patches: - - patches/wasm.patch - - patches/patch_libraries_search_prefix.patch +- url: + https://github.com/apache/arrow/archive/refs/tags/apache-arrow-${{version}}.dev.tar.gz + sha256: 5581107cb445a4f0b316d57c3073c034857d633eb33b73a63ca71a34c3ab4caf + patches: + - patches/wasm.patch + - patches/patch_libraries_search_prefix.patch build: number: 1 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - make + - ${{ compiler("cxx") }} + - cmake + - make host: - - bzip2 - - re2 - - libutf8proc - - rapidjson + - bzip2 + - re2 + - libutf8proc + - rapidjson about: - home: https://arrow.apache.org/ - license: Apache - license_family: Apache + license: Apache-2.0 summary: 'Arrow: A cross-language development platform for in-memory analytics' description: | Arrow: A cross-language development platform for in-memory analytics - doc_url: https://arrow.apache.org/ - dev_url: https://github.com/apache/arrow.git - + homepage: https://arrow.apache.org/ extra: recipe-maintainers: - - Klaim + - Klaim diff --git a/recipes/recipes_emscripten/arrow-python/recipe.yaml b/recipes/recipes_emscripten/arrow-python/recipe.yaml index 2766cc9ba..f3933c176 100644 --- a/recipes/recipes_emscripten/arrow-python/recipe.yaml +++ b/recipes/recipes_emscripten/arrow-python/recipe.yaml @@ -1,63 +1,65 @@ context: - version: "11.0.0" + version: 11.0.0 package: name: arrow-python - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/apache/arrow/archive/refs/tags/apache-arrow-{{version}}.dev.tar.gz - sha256: 5581107cb445a4f0b316d57c3073c034857d633eb33b73a63ca71a34c3ab4caf - patches: - - patches/wasm.patch +- url: + https://github.com/apache/arrow/archive/refs/tags/apache-arrow-${{version}}.dev.tar.gz + sha256: 5581107cb445a4f0b316d57c3073c034857d633eb33b73a63ca71a34c3ab4caf + patches: + - patches/wasm.patch build: number: 5 requirements: build: - - '{{ compiler("cxx") }}' - - cross-python_emscripten-wasm32 - - python - - cython < 2 - - setuptools - - numpy - - pip - - cmake - - make + - ${{ compiler("cxx") }} + - cross-python_emscripten-wasm32 + - python + - cython < 2 + - setuptools + - numpy + - pip + - cmake + - make host: - - numpy - - python - - cffi - - arrow-cpp - - re2 - - libutf8proc + - numpy + - python + - cffi + - arrow-cpp + - re2 + - libutf8proc run: - - numpy - - python - - libffi - - pycparser - - cloudpickle - - fsspec + - numpy + - python + - libffi + - pycparser + - cloudpickle + - fsspec +tests: +- script: pytester + files: + recipe: + - test_py_arrow.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://arrow.apache.org/ - license: Apache - license_family: Apache + license: Apache-2.0 summary: 'Arrow: A cross-language development platform for in-memory analytics' description: | Arrow: A cross-language development platform for in-memory analytics - doc_url: https://arrow.apache.org/ - dev_url: https://github.com/apache/arrow.git - + homepage: https://arrow.apache.org/ extra: recipe-maintainers: - - Klaim - - martinRenou - - DerThorsten - - emscripten_tests: - python: - pytest_files: - - test_py_arrow.py + - Klaim + - martinRenou + - DerThorsten \ No newline at end of file diff --git a/recipes/recipes_emscripten/astropy/recipe.yaml b/recipes/recipes_emscripten/astropy/recipe.yaml index 985f786cf..f3ea74f30 100644 --- a/recipes/recipes_emscripten/astropy/recipe.yaml +++ b/recipes/recipes_emscripten/astropy/recipe.yaml @@ -1,40 +1,40 @@ context: - version: '6.0.1' + version: 6.0.1 package: name: astropy - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/a/astropy/astropy-{{ version }}.tar.gz - sha256: 89a975de356d0608e74f1f493442fb3acbbb7a85b739e074460bb0340014b39c - patches: - - patches/skip_ep.patch +- url: https://pypi.io/packages/source/a/astropy/astropy-${{ version }}.tar.gz + sha256: 89a975de356d0608e74f1f493442fb3acbbb7a85b739e074460bb0340014b39c + patches: + - patches/skip_ep.patch build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - python - - cython - - numpy - - pip - - extension-helpers + - cross-python_emscripten-wasm32 + - python + - cython + - numpy + - pip + - extension-helpers host: - - python - - jinja2 - - markupsafe - - numpy + - python + - jinja2 + - markupsafe + - numpy run: - - numpy - - pyerfa - - pyyaml - - packaging + - numpy + - pyerfa + - pyyaml + - packaging extra: emscripten_tests: python: pytest_files: - - test_import_astropy.py + - test_import_astropy.py diff --git a/recipes/recipes_emscripten/awkward-cpp/recipe.yaml b/recipes/recipes_emscripten/awkward-cpp/recipe.yaml index dfab6ea45..b2c37fa5d 100644 --- a/recipes/recipes_emscripten/awkward-cpp/recipe.yaml +++ b/recipes/recipes_emscripten/awkward-cpp/recipe.yaml @@ -3,11 +3,12 @@ context: version: '28' package: - name: '{{ name|lower }}' - version: '{{ version }}' + name: ${{ name|lower }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/awkward-cpp-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/awkward-cpp-${{ + version }}.tar.gz sha256: 304ebbf900c577368fd3c491a4ddfe6a5790bdec76a2b06bdcc4728176264592 build: @@ -15,32 +16,42 @@ build: requirements: build: - - sel(build_platform != target_platform): cross-python_{{ target_platform }} - - sel(build_platform != target_platform): python - - sel(build_platform != target_platform): pybind11 - - "{{ compiler('cxx') }}" - - cmake >=3.15 - - pip - - scikit-build-core >=0.1.3 + - cross-python_${{ target_platform }} + - python + - pybind11 + - ${{ compiler('cxx') }} + - cmake >=3.15 + - pip + - scikit-build-core >=0.1.3 host: - - python - - pybind11 + - python + - pybind11 run: - - python - - importlib-resources - - numpy >=1.18.0 + - python + - importlib-resources + - numpy >=1.18.0 +tests: +- script: pytester + files: + recipe: + - test_import_awkward_cpp.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://pypi.org/project/awkward-cpp/ summary: CPU kernels and compiled extensions for Awkward Array license: BSD-3-Clause license_file: LICENSE + homepage: https://pypi.org/project/awkward-cpp/ extra: recipe-maintainers: - - agoose77 + - agoose77 emscripten_tests: python: pytest_files: - - test_import_awkward_cpp.py + - test_import_awkward_cpp.py diff --git a/recipes/recipes_emscripten/biopython/recipe.yaml b/recipes/recipes_emscripten/biopython/recipe.yaml index 77eef1a75..85970c36c 100644 --- a/recipes/recipes_emscripten/biopython/recipe.yaml +++ b/recipes/recipes_emscripten/biopython/recipe.yaml @@ -4,28 +4,34 @@ context: package: name: biopython - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 78e6bfb78de63034037afd35fe77cb6e0a9e5b62706becf78a7d922b16ed83f7 +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz + sha256: 78e6bfb78de63034037afd35fe77cb6e0a9e5b62706becf78a7d922b16ed83f7 build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - python - - "{{ compiler('c') }}" - - pip + - cross-python_emscripten-wasm32 + - python + - ${{ compiler('c') }} + - pip host: - - python + - python run: - - numpy + - numpy -extra: - emscripten_tests: - python: - pytest_files: - - test_import_biopython.py +tests: +- script: pytester + files: + recipe: + - test_import_biopython.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/boost-cpp/recipe.yaml b/recipes/recipes_emscripten/boost-cpp/recipe.yaml index 9440b5729..98bc34e11 100644 --- a/recipes/recipes_emscripten/boost-cpp/recipe.yaml +++ b/recipes/recipes_emscripten/boost-cpp/recipe.yaml @@ -1,104 +1,37 @@ context: version: "1.80.0" - filename: "boost_{{ version.replace('.', '_') }}.tar.bz2" + filename: boost_${{ version | replace('.', '_') }}.tar.bz2 package: name: boost-cpp - version: "{{ version }}" + version: ${{ version }} source: - url: https://boostorg.jfrog.io/artifactory/main/release/{{ version }}/source/{{ filename }} + url: https://boostorg.jfrog.io/artifactory/main/release/${{ version }}/source/${{ + filename }} sha256: 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0 patches: - - 0001-config-libcpp15.patch + - 0001-config-libcpp15.patch build: number: 0 requirements: build: - - "{{ compiler('cxx') }}" - + - ${{ compiler('cxx') }} host: - # - icu # [unix] - # - xz # [unix] - - bzip2 - - zlib - # - zstd + - bzip2 + - zlib run: - # - icu # [unix] - # - xz # [unix] - - bzip2 - # - zstd - - run_constrained: - - libboost <0 - -# test: -# files: -# - test -# requires: -# - {{ compiler('cxx') }} # [build_platform == target_platform] -# commands: -# # Verify Python headers are removed. -# - '! test -f $PREFIX/include/boost/python.hpp' # [unix] -# - '! test -d $PREFIX/include/boost/python' # [unix] -# - if exist %PREFIX%\\Library\\include\\boost\\python.hpp exit 1 # [win] -# - if exist %PREFIX%\\Library\\include\\boost\\python exit 1 # [win] - -# # Verify static-only libraries. -# - test -f $PREFIX/lib/libboost_exception.a # [unix] -# - test -f $PREFIX/lib/libboost_test_exec_monitor.a # [unix] - -# # Verify libraries. -# {% set boost_libs = [ -# "atomic", -# "chrono", -# "container", -# "context", -# "contract", -# "coroutine", -# "date_time", -# "filesystem", -# "graph", -# "iostreams", -# "locale", -# "log", -# "log_setup", -# "math_c99", -# "math_c99f", -# "math_tr1", -# "math_tr1f", -# "prg_exec_monitor", -# "program_options", -# "random", -# "regex", -# "serialization", -# "system", -# "thread", -# "timer", -# "type_erasure", -# "unit_test_framework", -# "wave", -# "wserialization" -# ] %} -# {% set boost_libs = boost_libs + ["math_c99l", "math_tr1l"] %} # [not ppc64le] -# {% for each_boost_lib in boost_libs %} -# - test ! -f $PREFIX/lib/libboost_{{ each_boost_lib }}.a # [unix] -# - test -f $PREFIX/lib/libboost_{{ each_boost_lib }}.dylib # [osx] -# - test -f $PREFIX/lib/libboost_{{ each_boost_lib }}.so # [linux] -# - if not exist %PREFIX%\\Library\\bin\\boost_{{ each_boost_lib }}.dll exit 1 # [win] -# - if not exist %PREFIX%\\Library\\lib\\boost_{{ each_boost_lib }}.lib exit 1 # [win] -# - if exist %PREFIX%\\Library\\lib\\libboost_{{ each_boost_lib }}.lib exit 1 # [win] -# {% endfor %} + - bzip2 about: - home: http://www.boost.org/ license: BSL-1.0 license_file: LICENSE_1_0.txt summary: Free peer-reviewed portable C++ source libraries. + homepage: http://www.boost.org/ extra: recipe-maintainers: - - wolfv + - wolfv diff --git a/recipes/recipes_emscripten/boost-histogram/recipe.yaml b/recipes/recipes_emscripten/boost-histogram/recipe.yaml index 1ff0640e8..e8d6db526 100644 --- a/recipes/recipes_emscripten/boost-histogram/recipe.yaml +++ b/recipes/recipes_emscripten/boost-histogram/recipe.yaml @@ -1,13 +1,14 @@ context: - version: '1.4.1' + version: 1.4.1 package: name: boost-histogram - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/b/boost_histogram/boost_histogram-{{ version }}.tar.gz - sha256: 97146f735f467d506976a047f3f237ce59840a952fd231f5f431f897fb006cdd +- url: https://pypi.io/packages/source/b/boost_histogram/boost_histogram-${{ version + }}.tar.gz + sha256: 97146f735f467d506976a047f3f237ce59840a952fd231f5f431f897fb006cdd build: number: 0 @@ -16,25 +17,29 @@ build: requirements: build: - - python - - cross-python_emscripten-wasm32 - - "{{ compiler('cxx') }}" - - pip - - setuptools_scm + - python + - cross-python_emscripten-wasm32 + - ${{ compiler('cxx') }} + - pip + - setuptools_scm host: - - python + - python run: - - python - - numpy + - python + - numpy +tests: +- script: pytester + files: + recipe: + - test_import_boost_histogram.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/scikit-hep/boost-histogram - PyPI: https://pypi.org/project/boost-histogram summary: The Boost::Histogram Python wrapper. license: BSD-3-Clause -extra: - emscripten_tests: - python: - pytest_files: - - test_import_boost_histogram.py + homepage: https://github.com/scikit-hep/boost-histogram diff --git a/recipes/recipes_emscripten/brotli-python/recipe.yaml b/recipes/recipes_emscripten/brotli-python/recipe.yaml index b99ea3e47..6a1a02805 100644 --- a/recipes/recipes_emscripten/brotli-python/recipe.yaml +++ b/recipes/recipes_emscripten/brotli-python/recipe.yaml @@ -1,41 +1,49 @@ context: - version: "1.1.0" + version: 1.1.0 package: name: brotli-python - version: "{{ version }}" + version: ${{ version }} source: - - url: https://github.com/google/brotli/archive/v{{ version }}.tar.gz - sha256: e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff +- url: https://github.com/google/brotli/archive/v${{ version }}.tar.gz + sha256: e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cross-python_emscripten-wasm32 - - cmake - - ninja - - pip + - ${{ compiler("cxx") }} + - cross-python_emscripten-wasm32 + - cmake + - ninja + - pip host: - - brotli =={{ version }} - - python + - brotli ==${{ version }} + - python run: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_brotli.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/google/brotli license: MIT license_file: LICENSE summary: Brotli compression format - doc_url: https://tools.ietf.org/html/rfc7932 - + homepage: https://github.com/google/brotli extra: emscripten_tests: python: pytest_files: - - test_brotli.py + - test_brotli.py recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/brotli/recipe.yaml b/recipes/recipes_emscripten/brotli/recipe.yaml index 20fece85d..08210d46e 100644 --- a/recipes/recipes_emscripten/brotli/recipe.yaml +++ b/recipes/recipes_emscripten/brotli/recipe.yaml @@ -1,34 +1,32 @@ context: - version: "1.1.0" + version: 1.1.0 package: name: brotli - version: "{{ version }}" + version: ${{ version }} source: - - url: https://github.com/google/brotli/archive/v{{ version }}.tar.gz - sha256: e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff +- url: https://github.com/google/brotli/archive/v${{ version }}.tar.gz + sha256: e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff build: number: 1 requirements: build: - - '{{ compiler("c") }}' - - '{{ compiler("cxx") }}' - - cross-python_emscripten-wasm32 - - cmake - - ninja + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - cross-python_emscripten-wasm32 + - cmake + - ninja host: - - python + - python about: - home: https://github.com/google/brotli license: MIT license_file: LICENSE summary: Brotli compression format - doc_url: https://tools.ietf.org/html/rfc7932 - + homepage: https://github.com/google/brotli extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/bzip2/recipe.yaml b/recipes/recipes_emscripten/bzip2/recipe.yaml index 9caebf9ab..b0d466a60 100644 --- a/recipes/recipes_emscripten/bzip2/recipe.yaml +++ b/recipes/recipes_emscripten/bzip2/recipe.yaml @@ -3,14 +3,14 @@ context: package: name: bzip2 - version: '{{ version }}' + version: ${{ version }} source: - url: https://sourceware.org/pub/bzip2/bzip2-{{ version }}.tar.gz - sha256: ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 - patches: - - sel(not win): patches/0001-cross.patch - path: CMakeLists.txt + - url: https://sourceware.org/pub/bzip2/bzip2-${{ version }}.tar.gz + sha256: ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 + patches: + - patches/0001-cross.patch + - path: CMakeLists.txt build: number: 7 @@ -19,44 +19,11 @@ build: requirements: build: - - '{{ compiler("c") }}' - - sel(win or emscripten): cmake - - sel(win or emscripten): ninja - - sel(unix and not emscripten): make - -features: - - name: static - default: false - -# test: -# commands: -# #- sel(emscripten): node ${PREFIX}/bin/bzip2.js --help -# - sel(unix and not emscripten): bzip2 --help -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bunzip2 -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzcat -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzcmp -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzdiff -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzegrep -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzfgrep -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzgrep -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzip2recover -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzip2 -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzless -# - sel(unix and not emscripten): test -f ${PREFIX}/bin/bzmore -# - sel(unix): test -f ${PREFIX}/include/bzlib.h -# # - sel(unix): test -f ${PREFIX}/lib/libbz2.a -# # - sel(linux): test -f ${PREFIX}/lib/libbz2.so -# # - sel(osx): test -f ${PREFIX}/lib/libbz2.dylib -# - sel(win): if not exist %LIBRARY_INC%\\bzlib.h exit 1 -# - sel(win): if not exist %LIBRARY_LIB%\\bzip2.lib exit 1 -# - sel(win): if not exist %LIBRARY_BIN%\\bzip2.dll exit 1 -# - sel(win): if not exist %LIBRARY_LIB%\\libbz2.lib exit 1 -# - sel(win): if not exist %LIBRARY_BIN%\\libbz2.dll exit 1 -# - sel(win): if not exist %LIBRARY_LIB%\\bzip2_static.lib exit 1 -# - sel(win): if not exist %LIBRARY_LIB%\\libbz2_static.lib exit 1 + - ${{ compiler("c") }} + - cmake + - ninja about: - home: http://www.bzip.org/ license_family: BSD license_file: LICENSE license: bzip2-1.0.6 @@ -66,8 +33,8 @@ about: compresses files to within 10% to 15% of the best available techniques, whilst being around twice as fast at compression and six times faster at decompression. - doc_url: http://www.bzip.org/docs.html - + homepage: http://www.bzip.org/ extra: recipe-maintainers: - - DerThorten \ No newline at end of file + - DerThorten + diff --git a/recipes/recipes_emscripten/cffi/recipe.yaml b/recipes/recipes_emscripten/cffi/recipe.yaml index 8434c19ca..cb798539b 100644 --- a/recipes/recipes_emscripten/cffi/recipe.yaml +++ b/recipes/recipes_emscripten/cffi/recipe.yaml @@ -1,42 +1,48 @@ context: - version: '1.15.1' + version: 1.15.1 package: name: cffi - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/c/cffi/cffi-{{ version }}.tar.gz - sha256: d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 - patches: - - patches/libffi-config.patch - - path: setup.py +- url: https://pypi.io/packages/source/c/cffi/cffi-${{ version }}.tar.gz + sha256: d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 + patches: + - patches/libffi-config.patch +- path: setup.py build: number: 2 - ignore_run_exports: - - python - - python_abi requirements: build: - - cross-python_emscripten-wasm32 - - python - - "{{ compiler('c') }}" - - pkg-config - - pip + - cross-python_emscripten-wasm32 + - python + - ${{ compiler('c') }} + - pkg-config + - pip host: - - python - - libffi - - pycparser - - pip + - python + - libffi + - pycparser + - pip # run: # - python # - libffi # - pycparser +tests: +- script: pytester + files: + recipe: + - test_cffi.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://bitbucket.org/cffi/cffi license: MIT license_file: LICENSE summary: Foreign Function Interface for Python calling C code. @@ -44,12 +50,6 @@ about: Cffi aims to allow users to call C code from Python without having to learn a 3rd language. It provides a convenient and reliable way to call compiled C code from Python using interface declarations written in C. - doc_url: http://cffi.readthedocs.org - dev_url: https://bitbucket.org/cffi/cffi/overview - doc_source_url: https://bitbucket.org/cffi/cffi/src/default/doc/?at=default + documentation: https://bitbucket.org/cffi/cffi/src/default/doc/?at=default -extra: - emscripten_tests: - python: - pytest_files: - - test_cffi.py + homepage: https://bitbucket.org/cffi/cffi diff --git a/recipes/recipes_emscripten/cffi_example/recipe.yaml b/recipes/recipes_emscripten/cffi_example/recipe.yaml index 32e499757..364d28b81 100644 --- a/recipes/recipes_emscripten/cffi_example/recipe.yaml +++ b/recipes/recipes_emscripten/cffi_example/recipe.yaml @@ -3,30 +3,34 @@ package: version: '0.1' source: -- url: https://github.com/wolever/python-cffi-example/archive/ec14da61ee0de770750ff3781b412a3b25f020eb.zip +- url: + https://github.com/wolever/python-cffi-example/archive/ec14da61ee0de770750ff3781b412a3b25f020eb.zip sha256: 4d7844ff45e5e870dc7996b4cc61636eabd33c32cc8663cf2cd21e3f4f893abc patches: - - patches/not_link_c.patch + - patches/not_link_c.patch build: number: 0 - ignore_run_exports: - - python_abi requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - pip - host: - - python - - cffi + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - pip + host: + - python + - cffi run: - - python - - cffi + - python + - cffi -extra: - emscripten_tests: - python: - pytest_files: - - test_cffi_example.py +tests: +- script: pytester + files: + recipe: + - test_cffi_example.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/cftime/recipe.yaml b/recipes/recipes_emscripten/cftime/recipe.yaml index 039d2e738..214650ef9 100644 --- a/recipes/recipes_emscripten/cftime/recipe.yaml +++ b/recipes/recipes_emscripten/cftime/recipe.yaml @@ -1,46 +1,52 @@ context: - name: "cftime" - version: "1.6.3" + name: cftime + version: 1.6.3 package: - name: "{{ name }}" - version: "{{ version }}" + name: ${{ name }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz sha256: d0a6b29f72a13f08e008b9becff247cc75c84acb213332ede18879c5b6aa4dfd build: - script: "{{ PYTHON }} -m pip install . -vv" + script: ${{ PYTHON }} -m pip install . -vv number: 0 requirements: build: - - "{{ compiler('c') }}" - - cython - - cross-python_emscripten-wasm32 - - python - - numpy - - pip + - ${{ compiler('c') }} + - cython + - cross-python_emscripten-wasm32 + - python + - numpy + - pip host: # overwrite the numpy version here so we don't get pinnings / run export - - numpy - - python + - numpy + - python run: - - python - - numpy + - python + - numpy +tests: +- script: pytester + files: + recipe: + - test_cftime.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://pypi.org/project/cftime/ summary: Time-handling functionality from netcdf4-python license: MIT license_file: LICENSE + homepage: https://pypi.org/project/cftime/ extra: - emscripten_tests: - python: - pytest_files: - - test_cftime.py - recipe-maintainers: - - wolfv + - wolfv diff --git a/recipes/recipes_emscripten/clapack/recipe.yaml b/recipes/recipes_emscripten/clapack/recipe.yaml index 3ef2798ad..4dc39c9f5 100644 --- a/recipes/recipes_emscripten/clapack/recipe.yaml +++ b/recipes/recipes_emscripten/clapack/recipe.yaml @@ -3,32 +3,29 @@ context: version: 3.2.1 package: - name: "{{ name }}" - version: "{{ version }}" + name: ${{ name }} + version: ${{ version }} source: - - url: http://uvcdat.llnl.gov/cdat/resources/clapack-{{ version }}-CMAKE.tgz - sha256: 0b3f782bc24845d85f36bafbff0f2f1384dc72df730fda4e7924ec1a70baca5a - patches: - - patches/0001-add-missing-import.patch - - patches/0002-fix-arith-h.patch - - patches/0003-lapack-install-make.patch - - patches/0004-fix-f2clibs-build.patch - - patches/0005-remove-redundant-symbols.patch - - patches/0006-correct-return-types.patch - - path: make.inc +- url: http://uvcdat.llnl.gov/cdat/resources/clapack-${{ version }}-CMAKE.tgz + sha256: 0b3f782bc24845d85f36bafbff0f2f1384dc72df730fda4e7924ec1a70baca5a + patches: + - patches/0001-add-missing-import.patch + - patches/0002-fix-arith-h.patch + - patches/0003-lapack-install-make.patch + - patches/0004-fix-f2clibs-build.patch + - patches/0005-remove-redundant-symbols.patch + - patches/0006-correct-return-types.patch +- path: make.inc build: number: 5 - run_exports: - - "{{ pin_subpackage('clapack', max_pin='x.x') }}" - # ignore_run_exports: - # - python - # - python_abi requirements: build: - - '{{ compiler("c") }}' - - make - - sed - #- binutils + - ${{ compiler("c") }} + - make + - sed + + run_exports: + - ${{ pin_subpackage('clapack', max_pin='x.x') }} diff --git a/recipes/recipes_emscripten/contourpy/recipe.yaml b/recipes/recipes_emscripten/contourpy/recipe.yaml index 9ba85e51d..445ddb4b8 100644 --- a/recipes/recipes_emscripten/contourpy/recipe.yaml +++ b/recipes/recipes_emscripten/contourpy/recipe.yaml @@ -1,39 +1,45 @@ context: name: contourpy - version: '1.0.7' + version: 1.0.7 package: - name: '{{ name|lower }}' - version: '{{ version }}' + name: ${{ name|lower }} + version: ${{ version }} source: - - url: https://files.pythonhosted.org/packages/b4/9b/6edb9d3e334a70a212f66a844188fcb57ddbd528cbc3b1fe7abfc317ddd7/contourpy-{{ version }}.tar.gz - sha256: d8165a088d31798b59e91117d1f5fc3df8168d8b48c4acc10fc0df0d0bdbcc5e +- url: + https://files.pythonhosted.org/packages/b4/9b/6edb9d3e334a70a212f66a844188fcb57ddbd528cbc3b1fe7abfc317ddd7/contourpy-${{ + version }}.tar.gz + sha256: d8165a088d31798b59e91117d1f5fc3df8168d8b48c4acc10fc0df0d0bdbcc5e build: number: 0 requirements: build: - - "{{ compiler('cxx') }}" - - cross-python_emscripten-wasm32 - - pybind11 + - ${{ compiler('cxx') }} + - cross-python_emscripten-wasm32 + - pybind11 host: - - python + - python run: - - numpy + - numpy +tests: +- script: pytester + files: + recipe: + - test_contourpy.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.org/contourpy/contourpy - PyPI: https://pypi.org/project/contourpy summary: Python library for calculating contours of 2D quadrilateral grids license: BSD-3-Clause - + homepage: https://github.org/contourpy/contourpy extra: - emscripten_tests: - python: - pytest_files: - - test_contourpy.py recipe-maintainers: - - ianthomas23 + - ianthomas23 diff --git a/recipes/recipes_emscripten/cpp-expected/recipe.yaml b/recipes/recipes_emscripten/cpp-expected/recipe.yaml index 81d6a5819..3a4a6b314 100644 --- a/recipes/recipes_emscripten/cpp-expected/recipe.yaml +++ b/recipes/recipes_emscripten/cpp-expected/recipe.yaml @@ -3,11 +3,11 @@ context: name: cpp-expected package: - name: '{{ name }}' - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} source: - url: https://github.com/TartanLlama/expected/archive/v{{ version }}.tar.gz + url: https://github.com/TartanLlama/expected/archive/v${{ version }}.tar.gz sha256: 1db357f46dd2b24447156aaf970c4c40a793ef12a8a9c2ad9e096d9801368df6 build: @@ -15,20 +15,17 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - make # [unix] + - ${{ compiler("cxx") }} + - cmake + - make # [unix] about: - home: https://github.com/TartanLlama/expected license: CC0-1.0 license_file: COPYING summary: C++11/14/17 std::expected with functional-style extensions description: C++11/14/17 std::expected with functional-style extensions - doc_url: https://github.com/TartanLlama/expected#readme - dev_url: https://github.com/TartanLlama/expected - + homepage: https://github.com/TartanLlama/expected extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/cpp-tabulate/recipe.yaml b/recipes/recipes_emscripten/cpp-tabulate/recipe.yaml index 89623b7ca..b6c54a319 100644 --- a/recipes/recipes_emscripten/cpp-tabulate/recipe.yaml +++ b/recipes/recipes_emscripten/cpp-tabulate/recipe.yaml @@ -3,30 +3,27 @@ context: package: name: cpp-tabulate - version: '{{ version }}' + version: ${{ version }} source: url: https://github.com/p-ranav/tabulate/archive/refs/tags/v1.5.tar.gz sha256: 16b289f46306283544bb593f4601e80d6ea51248fde52e910cc569ef08eba3fb - + build: number: 2 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja about: - home: https://github.com/p-ranav/tabulate license: MIT license_family: MIT license_file: LICENSE summary: tabulate - doc_url: https://github.com/p-ranav/tabulate - dev_url: https://github.com/p-ranav/tabulate - + homepage: https://github.com/p-ranav/tabulate extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/cppinterop/recipe.yaml b/recipes/recipes_emscripten/cppinterop/recipe.yaml index 56eb5ad58..12b2e2ab1 100644 --- a/recipes/recipes_emscripten/cppinterop/recipe.yaml +++ b/recipes/recipes_emscripten/cppinterop/recipe.yaml @@ -3,25 +3,26 @@ context: package: name: cppinterop - version: '{{ version }}' + version: ${{ version }} source: url: https://github.com/compiler-research/CppInterOp/archive/refs/tags/v{{ version }}.tar.gz sha256: 7f9be052f5d798ad1b0c4ddc1e80038de753b22775a9b783c17b10c07facdeec patches: + + build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - make # [unix] + - ${{ compiler("cxx") }} + - cmake + - make # [unix] host: - - llvm + - llvm about: - home: https://github.com/compiler-research/CppInterOp license: Apache-2.0 WITH LLVM-exception license_family: Apache license_file: LICENSE.TXT @@ -36,11 +37,9 @@ about: non-trivial tasks such as language interoperability on the fly. In such scenarios CppInterOp can be used to provide the necessary introspection information to the other side helping the language cross talk. - doc_url: https://cppinterop.readthedocs.io/en/{{ version }} - dev_url: https://cppinterop.readthedocs.io/en/{{ version }}/DevelopersDocumentation.html - + homepage: https://github.com/compiler-research/CppInterOp extra: recipe-maintainers: - - alexander-penev - - vgvassilev - - mcbarton + - alexander-penev + - vgvassilev + - mcbarton diff --git a/recipes/recipes_emscripten/cryptography/rattler_recipe.yaml b/recipes/recipes_emscripten/cryptography/recipe.yaml similarity index 85% rename from recipes/recipes_emscripten/cryptography/rattler_recipe.yaml rename to recipes/recipes_emscripten/cryptography/recipe.yaml index 2dd838d4e..c6c4bf36d 100644 --- a/recipes/recipes_emscripten/cryptography/rattler_recipe.yaml +++ b/recipes/recipes_emscripten/cryptography/recipe.yaml @@ -38,10 +38,4 @@ tests: - pytester-run files: recipe: - - test_import_cryptography.py - -extra: - emscripten_tests: - python: - pytest_files: - - test_import_cryptography.py + - test_import_cryptography.py \ No newline at end of file diff --git a/recipes/recipes_emscripten/cytoolz/recipe.yaml b/recipes/recipes_emscripten/cytoolz/recipe.yaml index c94494935..d3601f9f6 100644 --- a/recipes/recipes_emscripten/cytoolz/recipe.yaml +++ b/recipes/recipes_emscripten/cytoolz/recipe.yaml @@ -1,34 +1,40 @@ context: name: cytoolz - version: '0.12.3' + version: 0.12.3 package: name: cytoolz - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/cytoolz-{{ version }}.tar.gz - sha256: 4503dc59f4ced53a54643272c61dc305d1dbbfbd7d6bdf296948de9f34c3a282 +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/cytoolz-${{ version + }}.tar.gz + sha256: 4503dc59f4ced53a54643272c61dc305d1dbbfbd7d6bdf296948de9f34c3a282 build: number: 0 requirements: build: - - python # [build_platform != target_platform] - - cross-python_{{ target_platform }} # [build_platform != target_platform] - - cython # [build_platform != target_platform] - - "{{ compiler('c') }}" - - pip + - python # [build_platform != target_platform] + - cross-python_${{ target_platform }} # [build_platform != target_platform] + - cython # [build_platform != target_platform] + - ${{ compiler('c') }} + - pip host: # - cython - - python + - python run: - - nose - - toolz >=0.10.0 + - nose + - toolz >=0.10.0 -extra: - emscripten_tests: - python: - pytest_files: - - test_import_cytoolz.py +tests: +- script: pytester + files: + recipe: + - test_import_cytoolz.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/docutils/recipe.yaml b/recipes/recipes_emscripten/docutils/recipe.yaml index e88691b70..4ddb63bd1 100644 --- a/recipes/recipes_emscripten/docutils/recipe.yaml +++ b/recipes/recipes_emscripten/docutils/recipe.yaml @@ -1,30 +1,36 @@ context: name: docutils - version: '0.18.1' + version: 0.18.1 package: name: docutils - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/docutils-{{ version }}.tar.gz - sha256: 679987caf361a7539d76e584cbeddc311e3aee937877c87346f31debc63e9d06 - +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/docutils-${{ version + }}.tar.gz + sha256: 679987caf361a7539d76e584cbeddc311e3aee937877c87346f31debc63e9d06 + build: number: 0 requirements: build: - - python # [build_platform != target_platform] - - cross-python_{{ target_platform }} # [build_platform != target_platform] - - pip + - python # [build_platform != target_platform] + - cross-python_${{ target_platform }} # [build_platform != target_platform] + - pip host: - - python + - python run: - - python + - python -extra: - emscripten_tests: - python: - pytest_files: - - test_import_docutils.py +tests: +- script: pytester + files: + recipe: + - test_import_docutils.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/eigen/recipe.yaml b/recipes/recipes_emscripten/eigen/recipe.yaml index d56ee9d97..c5338dd7e 100644 --- a/recipes/recipes_emscripten/eigen/recipe.yaml +++ b/recipes/recipes_emscripten/eigen/recipe.yaml @@ -3,10 +3,11 @@ context: package: name: eigen - version: '{{ version }}' + version: ${{ version }} source: - url: https://gitlab.com/libeigen/eigen/-/archive/{{ version }}/eigen-{{ version }}.tar.gz + url: https://gitlab.com/libeigen/eigen/-/archive/${{ version }}/eigen-${{ version + }}.tar.gz sha256: 8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72 build: @@ -14,22 +15,18 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja - -test: - commands: - - sel(emscripten): test -d ${PREFIX}/include/eigen3 + - ${{ compiler("cxx") }} + - cmake + - ninja +tests: +- script: + - test -d ${PREFIX}/include/eigen3 about: - home: http://eigen.tuxfamily.org/ license: MPL-2.0 license_file: COPYING.MPL2 summary: eigen - doc_url: http://eigen.tuxfamily.org/ - dev_url: https://gitlab.com/libeigen/eigen.git - + homepage: http://eigen.tuxfamily.org/ extra: recipe-maintainers: - - traversaro + - traversaro diff --git a/recipes/recipes_emscripten/expat/recipe.yaml b/recipes/recipes_emscripten/expat/recipe.yaml index 152ff2f63..5dc6fd777 100644 --- a/recipes/recipes_emscripten/expat/recipe.yaml +++ b/recipes/recipes_emscripten/expat/recipe.yaml @@ -1,13 +1,14 @@ context: - version: "2.4.8" - ver: "{{ version|replace('.', '_') }}" + version: 2.4.8 + ver: ${{ version|replace('.', '_') }} package: name: expat - version: "{{ version }}" + version: ${{ version }} source: - url: https://github.com/libexpat/libexpat/releases/download/R_{{ ver }}/expat-{{ version }}.tar.bz2 + url: https://github.com/libexpat/libexpat/releases/download/R_${{ ver }}/expat-${{ + version }}.tar.bz2 sha256: a247a7f6bbb21cf2ca81ea4cbb916bfb9717ca523631675f99b3d4a5678dcd16 build: @@ -20,11 +21,11 @@ build: requirements: build: # - cmake - - ninja - - make # [unix] - - libtool # [unix] - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" + - ninja + - make # [unix] + - libtool # [unix] + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} # host: # - msinttypes # [win and vc<14] @@ -33,12 +34,12 @@ requirements: # - xmlwf -h about: - home: http://expat.sourceforge.net/ license: MIT license_family: MIT license_file: COPYING summary: Expat XML parser library in C + homepage: http://expat.sourceforge.net/ extra: recipe-maintainers: - - wolfv \ No newline at end of file + - wolfv diff --git a/recipes/recipes_emscripten/fmt/recipe.yaml b/recipes/recipes_emscripten/fmt/recipe.yaml index 1ccffb4bf..99a17354f 100644 --- a/recipes/recipes_emscripten/fmt/recipe.yaml +++ b/recipes/recipes_emscripten/fmt/recipe.yaml @@ -1,12 +1,12 @@ context: - version: "10.1.0" + version: 10.1.0 package: name: fmt - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/fmtlib/fmt/archive/{{ version }}.tar.gz + url: https://github.com/fmtlib/fmt/archive/${{ version }}.tar.gz sha256: deb0a3ad2f5126658f2eefac7bf56a042488292de3d7a313526d667f3240ca0a build: @@ -14,13 +14,12 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja about: - home: https://fmt.dev/latest/ license: MIT license_family: MIT license_file: LICENSE.rst @@ -28,10 +27,8 @@ about: description: | {fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams. - doc_url: https://fmt.dev/latest/ - dev_url: https://github.com/fmtlib/fmt - + homepage: https://fmt.dev/latest/ extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/fonttools/recipe.yaml b/recipes/recipes_emscripten/fonttools/recipe.yaml index f63f1e5a6..27c862304 100644 --- a/recipes/recipes_emscripten/fonttools/recipe.yaml +++ b/recipes/recipes_emscripten/fonttools/recipe.yaml @@ -1,13 +1,14 @@ context: - version: '4.39.4' + version: 4.39.4 name: fonttools package: name: fonttools - version: "{{ version }}" + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/fonttools-{{ version }}.zip + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/fonttools-${{ version + }}.zip sha256: dba8d7cdb8e2bac1b3da28c5ed5960de09e59a2fe7e63bb73f5a59e57b0430d2 build: @@ -15,24 +16,29 @@ build: requirements: build: - - python # [build_platform != target_platform] - - cross-python_{{ target_platform }} # [build_platform != target_platform] - - cython # [build_platform != target_platform] - - "{{ compiler('c') }}" - - pip + - python # [build_platform != target_platform] + - cross-python_${{ target_platform }} # [build_platform != target_platform] + - cython # [build_platform != target_platform] + - ${{ compiler('c') }} + - pip host: - - python + - python # - cython run: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_import_fonttools.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: http://github.com/fonttools/fonttools summary: Tools to manipulate font files license: MIT -extra: - emscripten_tests: - python: - pytest_files: - - test_import_fonttools.py + homepage: http://github.com/fonttools/fonttools diff --git a/recipes/recipes_emscripten/freesasa/recipe.yaml b/recipes/recipes_emscripten/freesasa/recipe.yaml index d2e7e8482..f8f3fd7dd 100644 --- a/recipes/recipes_emscripten/freesasa/recipe.yaml +++ b/recipes/recipes_emscripten/freesasa/recipe.yaml @@ -1,13 +1,14 @@ context: name: freesasa - version: "2.2.0" + version: 2.2.0 package: name: freesasa - version: "{{ version }}" + version: ${{ version }} source: - url: https://files.pythonhosted.org/packages/1e/99/6b7d3684738a16ab6d799ede9d81165e0bad8ae7ce2616896640ca82301f/freesasa-2.2.0.post3.tar.gz + url: + https://files.pythonhosted.org/packages/1e/99/6b7d3684738a16ab6d799ede9d81165e0bad8ae7ce2616896640ca82301f/freesasa-2.2.0.post3.tar.gz sha256: db7e5c8a1deae051198d5c7e1a54f2d001b22a945b524d81cb26cacb7d6bb54f build: @@ -15,7 +16,7 @@ build: requirements: build: - - "{{ compiler('c') }}" + - ${{ compiler('c') }} - cython - python - cross-python_emscripten-wasm32 @@ -24,14 +25,19 @@ requirements: # - cython - python +tests: +- script: pytester + files: + recipe: + - test_import_freesasa.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: http://freesasa.github.io/ summary: Calculate solvent accessible surface areas of proteins license: MIT license_file: LICENSE.txt -extra: - emscripten_tests: - python: - pytest_files: - - test_import_freesasa.py + homepage: http://freesasa.github.io/ \ No newline at end of file diff --git a/recipes/recipes_emscripten/future/recipe.yaml b/recipes/recipes_emscripten/future/recipe.yaml index 917c7b58e..0db4c47e4 100644 --- a/recipes/recipes_emscripten/future/recipe.yaml +++ b/recipes/recipes_emscripten/future/recipe.yaml @@ -1,27 +1,32 @@ context: - version: '1.0.0' + version: 1.0.0 package: name: future - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/f/future/future-{{ version }}.tar.gz - sha256: bd2968309307861edae1458a4f8a4f3598c03be43b97521076aebf5d94c07b05 +- url: https://pypi.io/packages/source/f/future/future-${{ version }}.tar.gz + sha256: bd2968309307861edae1458a4f8a4f3598c03be43b97521076aebf5d94c07b05 build: number: 0 requirements: build: - - python - - pip - - '{{ compiler("cxx") }}' + - python + - pip + - ${{ compiler("cxx") }} host: - - python + - python -extra: - emscripten_tests: - python: - pytest_files: - - test_import_future.py +tests: +- script: pytester + files: + recipe: + - test_import_future.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/glpk/recipe.yaml b/recipes/recipes_emscripten/glpk/recipe.yaml index f3e04b428..895bbd977 100644 --- a/recipes/recipes_emscripten/glpk/recipe.yaml +++ b/recipes/recipes_emscripten/glpk/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: glpk - version: '{{ version }}' + version: ${{ version }} source: -- url: https://ftp.gnu.org/gnu/glpk/glpk-{{ version }}.tar.gz +- url: https://ftp.gnu.org/gnu/glpk/glpk-${{ version }}.tar.gz sha256: 4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15 build: @@ -14,5 +14,5 @@ build: requirements: build: - - '{{ compiler("c") }}' - - make \ No newline at end of file + - ${{ compiler("c") }} + - make diff --git a/recipes/recipes_emscripten/gmp/recipe.yaml b/recipes/recipes_emscripten/gmp/recipe.yaml index 4661c19d7..0f5a16dad 100644 --- a/recipes/recipes_emscripten/gmp/recipe.yaml +++ b/recipes/recipes_emscripten/gmp/recipe.yaml @@ -1,13 +1,13 @@ context: - version: "6.2.1" + version: 6.2.1 package: name: gmp - version: "{{ version }}" + version: ${{ version }} source: - url: https://gmplib.org/download/gmp/gmp-{{ version }}.tar.bz2 - #sha256: eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c + url: https://gmplib.org/download/gmp/gmp-${{ version }}.tar.bz2 + sha256: eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c build: number: 0 @@ -16,11 +16,11 @@ build: requirements: build: - - gnuconfig # [unix] - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - m4 - - make + - gnuconfig # [unix] + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + - m4 + - make # test: # requires: @@ -38,11 +38,11 @@ requirements: # - test -f ${PREFIX}/lib/libgmpxx.so # [linux] about: - home: http://gmplib.org/ license: GPL-2.0-or-later AND LGPL-3.0-or-later license_file: COPYING.LESSERv3 summary: The GNU multiprecision library. + homepage: http://gmplib.org/ extra: recipe-maintainers: - - wolfv \ No newline at end of file + - wolfv diff --git a/recipes/recipes_emscripten/gmp/recipe_legacy.yaml b/recipes/recipes_emscripten/gmp/recipe_legacy.yaml new file mode 100644 index 000000000..4661c19d7 --- /dev/null +++ b/recipes/recipes_emscripten/gmp/recipe_legacy.yaml @@ -0,0 +1,48 @@ +context: + version: "6.2.1" + +package: + name: gmp + version: "{{ version }}" + +source: + url: https://gmplib.org/download/gmp/gmp-{{ version }}.tar.bz2 + #sha256: eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c + +build: + number: 0 + # run_exports: + # - {{ pin_subpackage("gmp") }} + +requirements: + build: + - gnuconfig # [unix] + - "{{ compiler('c') }}" + - "{{ compiler('cxx') }}" + - m4 + - make + +# test: +# requires: +# - {{ compiler('c') }} + +# files: +# - test.c + +# commands: +# - test -f ${PREFIX}/lib/libgmp.a # [unix] +# - test -f ${PREFIX}/lib/libgmp.dylib # [osx] +# - test -f ${PREFIX}/lib/libgmp.so # [linux] +# - test -f ${PREFIX}/lib/libgmpxx.a # [unix] +# - test -f ${PREFIX}/lib/libgmpxx.dylib # [osx] +# - test -f ${PREFIX}/lib/libgmpxx.so # [linux] + +about: + home: http://gmplib.org/ + license: GPL-2.0-or-later AND LGPL-3.0-or-later + license_file: COPYING.LESSERv3 + summary: The GNU multiprecision library. + +extra: + recipe-maintainers: + - wolfv \ No newline at end of file diff --git a/recipes/recipes_emscripten/hdf5/recipe.yaml b/recipes/recipes_emscripten/hdf5/recipe.yaml index cf12bc585..4c1ced4a0 100644 --- a/recipes/recipes_emscripten/hdf5/recipe.yaml +++ b/recipes/recipes_emscripten/hdf5/recipe.yaml @@ -1,13 +1,13 @@ context: - version: '1.12.3' - maj_min_ver: '{{ version.rsplit(".", 1)[0] }}' + version: 1.12.3 + maj_min_ver: 1.12 package: name: hdf5 - version: '{{ version }}' + version: ${{ version }} source: - url: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-{{ maj_min_ver }}/hdf5-{{ version }}/src/hdf5-{{ version }}.tar.gz + url: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${{ maj_min_ver }}/hdf5-${{version }}/src/hdf5-${{ version }}.tar.gz sha256: c15adf34647918dd48150ea1bd9dffd3b32a3aec5298991d56048cc3d39b4f6f build: @@ -15,10 +15,10 @@ build: requirements: build: - - cmake - - ninja - - '{{ compiler("c") }}' + - cmake + - ninja + - ${{ compiler("c") }} host: - - zlib + - zlib run: - - zlib + - zlib diff --git a/recipes/recipes_emscripten/highs/rattler_recipe.yaml b/recipes/recipes_emscripten/highs/rattler_recipe.yaml deleted file mode 100644 index 3bbe12614..000000000 --- a/recipes/recipes_emscripten/highs/rattler_recipe.yaml +++ /dev/null @@ -1,38 +0,0 @@ -context: - name: highs - version: 1.7.0 - -package: - name: ${{ name }} - version: ${{ version }} - -source: - url: https://github.com/ERGO-Code/${{ name }}/archive/refs/tags/v${{ version }}.tar.gz - sha256: d10175ad66e7f113ac5dc00c9d6650a620663a6884fbf2942d6eb7a3d854604f - -build: - number: 0 - -requirements: - build: - - ${{ compiler("cxx") }} - - cmake - - make - -about: - summary: HiGHS is a high performance serial and parallel solver for large scale - sparse linear optimization problems - description: | - HiGHS is a high performance serial and parallel solver for large scale sparse linear optimization problems - license: MIT - license_family: MIT - license_file: LICENSE.txt - homepage: https://github.com/ERGO-Code/HiGHS -extra: - recipe-maintainers: - - DerThorsten -tests: -- script: - - test -f ${PREFIX}/bin/highs.js - - test -f ${PREFIX}/include/highs/Highs.h - - test -f ${PREFIX}/lib/libhighs.a diff --git a/recipes/recipes_emscripten/highs/recipe.yaml b/recipes/recipes_emscripten/highs/recipe.yaml index c7dca3105..3bbe12614 100644 --- a/recipes/recipes_emscripten/highs/recipe.yaml +++ b/recipes/recipes_emscripten/highs/recipe.yaml @@ -3,11 +3,11 @@ context: version: 1.7.0 package: - name: '{{ name }}' - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} source: - url: https://github.com/ERGO-Code/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz + url: https://github.com/ERGO-Code/${{ name }}/archive/refs/tags/v${{ version }}.tar.gz sha256: d10175ad66e7f113ac5dc00c9d6650a620663a6884fbf2942d6eb7a3d854604f build: @@ -15,27 +15,24 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - make - -test: - commands: - - sel(emscripten): test -f ${PREFIX}/bin/highs.js - - sel(emscripten): test -f ${PREFIX}/include/highs/Highs.h - - sel(emscripten): test -f ${PREFIX}/lib/libhighs.a + - ${{ compiler("cxx") }} + - cmake + - make about: - home: https://github.com/ERGO-Code/HiGHS - summary: HiGHS is a high performance serial and parallel solver for large scale sparse linear optimization problems + summary: HiGHS is a high performance serial and parallel solver for large scale + sparse linear optimization problems description: | HiGHS is a high performance serial and parallel solver for large scale sparse linear optimization problems license: MIT license_family: MIT license_file: LICENSE.txt - doc_url: https://highs.dev - dev_url: https://github.com/ERGO-Code/HiGHS - + homepage: https://github.com/ERGO-Code/HiGHS extra: recipe-maintainers: - - DerThorsten + - DerThorsten +tests: +- script: + - test -f ${PREFIX}/bin/highs.js + - test -f ${PREFIX}/include/highs/Highs.h + - test -f ${PREFIX}/lib/libhighs.a diff --git a/recipes/recipes_emscripten/highs/recipe_legacy.yaml b/recipes/recipes_emscripten/highs/recipe_legacy.yaml new file mode 100644 index 000000000..87fa7daeb --- /dev/null +++ b/recipes/recipes_emscripten/highs/recipe_legacy.yaml @@ -0,0 +1,41 @@ +context: + name: highs + version: 1.7.0 + +package: + name: '{{ name }}' + version: '{{ version }}' + +source: + url: https://github.com/ERGO-Code/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz + sha256: d10175ad66e7f113ac5dc00c9d6650a620663a6884fbf2942d6eb7a3d854604f + +build: + number: 0 + +requirements: + build: + - '{{ compiler("cxx") }}' + - cmake + - make + +test: + commands: + - test -f ${PREFIX}/bin/highs.js + - test -f ${PREFIX}/include/highs/Highs.h + - test -f ${PREFIX}/lib/libhighs.a + +about: + home: https://github.com/ERGO-Code/HiGHS + summary: HiGHS is a high performance serial and parallel solver for large scale sparse linear optimization problems + description: | + HiGHS is a high performance serial and parallel solver for large scale sparse linear optimization problems + license: MIT + license_family: MIT + license_file: LICENSE.txt + doc_url: https://highs.dev + dev_url: https://github.com/ERGO-Code/HiGHS + +extra: + recipe-maintainers: + - DerThorsten diff --git a/recipes/recipes_emscripten/ipython/recipe.yaml b/recipes/recipes_emscripten/ipython/recipe.yaml index bf3c4f169..b16ffd7ec 100644 --- a/recipes/recipes_emscripten/ipython/recipe.yaml +++ b/recipes/recipes_emscripten/ipython/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: ipython - version: '{{ version }}' + version: ${{ version }} source: -- url: https://pypi.io/packages/source/i/ipython/ipython-{{ version }}.tar.gz +- url: https://pypi.io/packages/source/i/ipython/ipython-${{ version }}.tar.gz sha256: 010db3f8a728a578bb641fdd06c063b9fb8e96a9464c63aec6310fbcb5e80501 patches: - patches/0001-Patch-asyncio-tornado.patch @@ -35,8 +35,17 @@ requirements: - pexpect - typing_extensions +tests: +- script: pytester + files: + recipe: + - test_ipython.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://ipython.org license: BSD-3-Clause license_family: BSD license_file: LICENSE @@ -45,14 +54,7 @@ about: IPython provides a rich architecture for interactive computing with a powerful interactive shell, a kernel for Jupyter, high performance tools for parallel computing, and more. - doc_url: https://ipython.readthedocs.io - dev_url: https://github.com/ipython/ipython - + homepage: https://ipython.org extra: - emscripten_tests: - python: - pytest_files: - - test_ipython.py - recipe-maintainers: - DerThorsten diff --git a/recipes/recipes_emscripten/ipython/rattler_recipe.yaml b/recipes/recipes_emscripten/ipython/recipe_legacy.yaml similarity index 78% rename from recipes/recipes_emscripten/ipython/rattler_recipe.yaml rename to recipes/recipes_emscripten/ipython/recipe_legacy.yaml index 4080a1583..bf3c4f169 100644 --- a/recipes/recipes_emscripten/ipython/rattler_recipe.yaml +++ b/recipes/recipes_emscripten/ipython/recipe_legacy.yaml @@ -3,10 +3,10 @@ context: package: name: ipython - version: ${{ version }} + version: '{{ version }}' source: -- url: https://pypi.io/packages/source/i/ipython/ipython-${{ version }}.tar.gz +- url: https://pypi.io/packages/source/i/ipython/ipython-{{ version }}.tar.gz sha256: 010db3f8a728a578bb641fdd06c063b9fb8e96a9464c63aec6310fbcb5e80501 patches: - patches/0001-Patch-asyncio-tornado.patch @@ -35,17 +35,8 @@ requirements: - pexpect - typing_extensions -tests: -- script: pytester - files: - recipe: - - test_ipython.py - requirements: - build: - - pytester - run: - - pytester-run about: + home: https://ipython.org license: BSD-3-Clause license_family: BSD license_file: LICENSE @@ -54,7 +45,9 @@ about: IPython provides a rich architecture for interactive computing with a powerful interactive shell, a kernel for Jupyter, high performance tools for parallel computing, and more. - homepage: https://ipython.org + doc_url: https://ipython.readthedocs.io + dev_url: https://github.com/ipython/ipython + extra: emscripten_tests: python: diff --git a/recipes/recipes_emscripten/joblib/recipe.yaml b/recipes/recipes_emscripten/joblib/recipe.yaml index 5bc54a88f..da733e9d5 100644 --- a/recipes/recipes_emscripten/joblib/recipe.yaml +++ b/recipes/recipes_emscripten/joblib/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: joblib - version: '{{ version }}' + version: ${{ version }} source: -- url: https://github.com/joblib/joblib/archive/{{ version }}.tar.gz +- url: https://github.com/joblib/joblib/archive/${{ version }}.tar.gz sha256: 1d95f5f3ab303be89aa4666956bf05a589f56e52c29b836267c8e3885223ff90 @@ -26,19 +26,23 @@ requirements: - setuptools - numpy +tests: +- script: pytester + files: + recipe: + - test_joblib.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://pypi.org/project/joblib/ summary: 'Lightweight pipelining: using Python functions as pipeline jobs.' license: BSD-3-Clause license_file: LICENSE.txt license_family: BSD + homepage: https://pypi.org/project/joblib/ extra: - emscripten_tests: - python: - requires: - - numpy - pytest_files: - - test_joblib.py recipe-maintainers: - martinRenou diff --git a/recipes/recipes_emscripten/kiwisolver/recipe.yaml b/recipes/recipes_emscripten/kiwisolver/recipe.yaml index 1f38c0b5b..ac4616675 100644 --- a/recipes/recipes_emscripten/kiwisolver/recipe.yaml +++ b/recipes/recipes_emscripten/kiwisolver/recipe.yaml @@ -1,39 +1,45 @@ context: - version: "1.4.5" + version: 1.4.5 package: name: kiwisolver - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/k/kiwisolver/kiwisolver-{{ version }}.tar.gz - sha256: e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec +- url: https://pypi.io/packages/source/k/kiwisolver/kiwisolver-${{ version }}.tar.gz + sha256: e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cross-python_emscripten-wasm32 + - ${{ compiler("cxx") }} + - cross-python_emscripten-wasm32 #- python - - setuptools # <60 - - pip - - cppy + - setuptools # <60 + - pip + - cppy host: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_kiwisolver.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/nucleic/kiwi license: BSD-3-Clause license_file: LICENSE license_family: BSD summary: A fast implementation of the Cassowary constraint solver + homepage: https://github.com/nucleic/kiwi extra: - emscripten_tests: - python: - pytest_files: - - test_kiwisolver.py recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/lfortran/recipe.yaml b/recipes/recipes_emscripten/lfortran/recipe.yaml index 420eeeb3f..2fe7a169d 100644 --- a/recipes/recipes_emscripten/lfortran/recipe.yaml +++ b/recipes/recipes_emscripten/lfortran/recipe.yaml @@ -3,12 +3,12 @@ context: version: 0.35.0 package: - name: '{{ name }}' - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} source: - url: https://github.com/lfortran/lfortran/releases/download/v{{ version }}/{{ name - }}-{{ version }}.tar.gz + url: https://github.com/lfortran/lfortran/releases/download/v${{ version }}/${{ + name }}-${{ version }}.tar.gz sha256: 5ecc1ae03067b985943c45f6ec05e9f6e72efd6ad004b052e7a98ba552ff79b0 build: @@ -16,12 +16,12 @@ build: requirements: build: - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} - cmake - make # [unix] - zlib=1.2.13 - - lfortran={{ version }} + - lfortran=${{ version }} # - xeus =3.0.5 # [build_platform != target_platform] # - xeus-zmq =1.0.2 # [build_platform != target_platform] # - llvmdev =16.0.6 # [build_platform != target_platform] @@ -34,7 +34,6 @@ requirements: - zlib about: - home: https://lfortran.org license: BSD-3-Clause license_family: BSD license_file: LICENSE @@ -45,9 +44,7 @@ about: allow exploratory work (much like Python, MATLAB or Julia) as well as compile to binaries with the goal to run user’s code on modern architectures such as multi-core CPUs and GPUs. - doc_url: https://docs.lfortran.org/ - dev_url: https://gitlab.com/lfortran/lfortran - + homepage: https://lfortran.org extra: recipe-maintainers: - certik diff --git a/recipes/recipes_emscripten/libffi/recipe.yaml b/recipes/recipes_emscripten/libffi/recipe.yaml index ee393edf5..473527639 100644 --- a/recipes/recipes_emscripten/libffi/recipe.yaml +++ b/recipes/recipes_emscripten/libffi/recipe.yaml @@ -3,41 +3,38 @@ context: pyodide_version: 0.24.0 name: libffi package: - name: '{{name}}' - version: '{{ version }}' + name: ${{name}} + version: ${{ version }} source: - - url: https://github.com/pyodide/pyodide/archive/refs/tags/{{pyodide_version}}.tar.gz - sha256: c8350c4780be44fe763a66f5024197025b0f8740cc4a7c9ad833a89c69916276 +- url: https://github.com/pyodide/pyodide/archive/refs/tags/${{pyodide_version}}.tar.gz + sha256: c8350c4780be44fe763a66f5024197025b0f8740cc4a7c9ad833a89c69916276 build: number: 4 - ignore_run_exports: - - nodejs requirements: build: - - '{{ compiler("cxx") }}' - - '{{ compiler("c") }}' - - python=3.11 - - nodejs - - ccache - - f2c - - pkg-config - - swig - - make - - cmake - - pkg-config - - texinfo - - autoconf - - automake - - libtool - - patch # only needed on MacOS - - sed # only needed on MacOS - - wget + - ${{ compiler("cxx") }} + - ${{ compiler("c") }} + - python=3.11 + - nodejs + - ccache + - f2c + - pkg-config + - swig + - make + - cmake + - pkg-config + - texinfo + - autoconf + - automake + - libtool + - patch # only needed on MacOS + - sed # only needed on MacOS + - wget about: - home: https://sourceware.org/libffi/ license: MIT license_file: LICENSE summary: A Portable Foreign Function Interface Library. @@ -46,10 +43,8 @@ about: The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run-time. - doc_url: https://sourceware.org/libffi/ - dev_url: https://github.com/libffi/libffi - + homepage: https://sourceware.org/libffi/ extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/libiconv/recipe.yaml b/recipes/recipes_emscripten/libiconv/recipe.yaml index 7352fa4ea..2ac3a0c7d 100644 --- a/recipes/recipes_emscripten/libiconv/recipe.yaml +++ b/recipes/recipes_emscripten/libiconv/recipe.yaml @@ -3,15 +3,15 @@ context: package: name: libiconv - version: '{{ version }}' + version: ${{ version }} source: - - url: https://ftp.gnu.org/pub/gnu/libiconv/libiconv-{{ version }}.tar.gz - sha256: 8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313 +- url: https://ftp.gnu.org/pub/gnu/libiconv/libiconv-${{ version }}.tar.gz + sha256: 8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313 build: number: 1 requirements: build: - - '{{ compiler("c") }}' + - ${{ compiler("c") }} diff --git a/recipes/recipes_emscripten/libiconv/recipe_legacy.yaml b/recipes/recipes_emscripten/libiconv/recipe_legacy.yaml new file mode 100644 index 000000000..7352fa4ea --- /dev/null +++ b/recipes/recipes_emscripten/libiconv/recipe_legacy.yaml @@ -0,0 +1,17 @@ +context: + version: '1.17' + +package: + name: libiconv + version: '{{ version }}' + +source: + - url: https://ftp.gnu.org/pub/gnu/libiconv/libiconv-{{ version }}.tar.gz + sha256: 8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313 + +build: + number: 1 + +requirements: + build: + - '{{ compiler("c") }}' diff --git a/recipes/recipes_emscripten/libpng/recipe.yaml b/recipes/recipes_emscripten/libpng/recipe.yaml index 113b5b7e3..ba6e93837 100644 --- a/recipes/recipes_emscripten/libpng/recipe.yaml +++ b/recipes/recipes_emscripten/libpng/recipe.yaml @@ -1,13 +1,13 @@ context: - name: "libpng" - version: "1.6.43" + name: libpng + version: 1.6.43 package: - name: "{{ name }}" - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} source: - url: http://download.sourceforge.net/libpng/libpng-{{ version }}.tar.gz + url: http://download.sourceforge.net/libpng/libpng-${{ version }}.tar.gz sha256: e804e465d4b109b5ad285a8fb71f0dd3f74f0068f91ce3cdfde618180c174925 build: @@ -15,19 +15,17 @@ build: requirements: build: - - '{{ compiler("c") }}' - - libtool + - ${{ compiler("c") }} + - libtool host: - - zlib - -test: - commands: - - sel(emscripten): test -f ${PREFIX}/lib/libpng.a - - sel(emscripten): test -f ${PREFIX}/include/png.h - - sel(emscripten): libpng-config --version + - zlib +tests: +- script: + - test -f ${PREFIX}/lib/libpng.a + - test -f ${PREFIX}/include/png.h + - libpng-config --version about: - home: http://www.libpng.org/pub/png/libpng.html license: zlib-acknowledgement license_file: LICENSE license_url: http://www.libpng.org/pub/png/src/libpng-LICENSE.txt @@ -35,9 +33,7 @@ about: description: | libpng is the official PNG reference library. It supports almost all PNG features, is extensible, and has been extensively tested for over 20 years. - dev_url: https://sourceforge.net/p/libpng/code/ci/libpng16/tree/ - doc_url: http://www.libpng.org/pub/png/libpng.html - + homepage: http://www.libpng.org/pub/png/libpng.html extra: recipe-maintainers: - - martinRenou + - martinRenou diff --git a/recipes/recipes_emscripten/libpython/recipe.yaml b/recipes/recipes_emscripten/libpython/recipe.yaml index 6225e2d2e..46d9012f4 100644 --- a/recipes/recipes_emscripten/libpython/recipe.yaml +++ b/recipes/recipes_emscripten/libpython/recipe.yaml @@ -3,23 +3,24 @@ context: package: name: libpython - version: '{{ version }}' + version: ${{ version }} build: number: 0 requirements: run: - - python - - bzip2 - - zlib - - libffi - - sqlite - + - python + - bzip2 + - zlib + - libffi + - sqlite + about: - home: todo - summary: we need different dependencies when we want to build things ontop of python (ie xeus-python/pyjs) compared to the situation where a pkg like pands dependes on python. + summary: we need different dependencies when we want to build things ontop of python + (ie xeus-python/pyjs) compared to the situation where a pkg like pands dependes + on python. extra: recipe-maintainers: - - DerThorsten \ No newline at end of file + - DerThorsten diff --git a/recipes/recipes_emscripten/libsolv/recipe.yaml b/recipes/recipes_emscripten/libsolv/recipe.yaml index 919ab8370..cc00eca0f 100644 --- a/recipes/recipes_emscripten/libsolv/recipe.yaml +++ b/recipes/recipes_emscripten/libsolv/recipe.yaml @@ -1,28 +1,28 @@ context: - version: "0.7.28" + version: 0.7.28 package: name: libsolv - version: "{{ version }}" + version: ${{ version }} source: - - url: https://github.com/openSUSE/libsolv/archive/{{ version }}.tar.gz - sha256: bd2406f498fea6086ae0eacbf8b188c98b380e59af2267170e6a7b7d715cb207 - patches: - - conda_variant_priorization.patch - - path: CMakeLists.txt - - path: tools/CMakeLists.txt - folder: tools +- url: https://github.com/openSUSE/libsolv/archive/${{ version }}.tar.gz + sha256: bd2406f498fea6086ae0eacbf8b188c98b380e59af2267170e6a7b7d715cb207 + patches: + - conda_variant_priorization.patch +- path: CMakeLists.txt +- path: tools/CMakeLists.txt + target_directory: tools build: number: 0 requirements: build: - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - make - - ninja - - cmake + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + - make + - ninja + - cmake host: - - zlib + - zlib diff --git a/recipes/recipes_emscripten/libtiff/recipe.yaml b/recipes/recipes_emscripten/libtiff/recipe.yaml index 7cb3975ba..3788202f9 100644 --- a/recipes/recipes_emscripten/libtiff/recipe.yaml +++ b/recipes/recipes_emscripten/libtiff/recipe.yaml @@ -1,12 +1,12 @@ context: - version: "4.4.0" + version: 4.4.0 package: name: libtiff - version: "{{ version }}" + version: ${{ version }} source: - url: https://download.osgeo.org/libtiff/tiff-{{ version }}.tar.gz + url: https://download.osgeo.org/libtiff/tiff-${{ version }}.tar.gz sha256: 917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed build: @@ -23,10 +23,10 @@ build: requirements: build: # - libtool # [unix] - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - cmake - - ninja + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + - cmake + - ninja # host: # - zlib # - jpeg @@ -52,20 +52,18 @@ requirements: # - if not exist %PREFIX%\\Library\\bin\\libtiffxx.dll exit 1 # [win] about: - home: http://www.libtiff.org/ license: HPND license_file: COPYRIGHT summary: Support for the Tag Image File Format (TIFF). description: | This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data. - doc_url: http://www.libtiff.org/document.html - + homepage: http://www.libtiff.org/ extra: recipe-maintainers: - - jakirkham - - mingwandroid - - msarahan - - ocefpaf - - stuarteberg - - hmaarrfk + - jakirkham + - mingwandroid + - msarahan + - ocefpaf + - stuarteberg + - hmaarrfk diff --git a/recipes/recipes_emscripten/libtiff/recipe_legacy.yaml b/recipes/recipes_emscripten/libtiff/recipe_legacy.yaml new file mode 100644 index 000000000..7cb3975ba --- /dev/null +++ b/recipes/recipes_emscripten/libtiff/recipe_legacy.yaml @@ -0,0 +1,71 @@ +context: + version: "4.4.0" + +package: + name: libtiff + version: "{{ version }}" + +source: + url: https://download.osgeo.org/libtiff/tiff-{{ version }}.tar.gz + sha256: 917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed + +build: + number: 0 + # Does a very good job of maintaining compatibility. + # https://abi-laboratory.pro/tracker/timeline/libtiff/ + # run_exports: + # - {{ pin_subpackage('libtiff', max_pin='x') }} + # missing_dso_whitelist: + # # Only used by libtiff,bin/tiffgt (a viewer), which is ok. + # - /opt/X11/lib/libGL.1.dylib + # - /opt/X11/lib/libglut.3.dylib + +requirements: + build: + # - libtool # [unix] + - "{{ compiler('c') }}" + - "{{ compiler('cxx') }}" + - cmake + - ninja + # host: + # - zlib + # - jpeg + # - xz + # - zstd + # - lerc + # - libdeflate + # - libwebp-base # [linux or osx] + +# test: +# downstreams: +# - pillow >=8 +# - py-opencv >=4 +# - tifffile +# commands: +# - test -f ${PREFIX}/lib/libtiff.a # [not win] +# - test -f ${PREFIX}/lib/libtiffxx.a # [not win] +# - test -f ${PREFIX}/lib/libtiff{{ SHLIB_EXT }} # [not win] +# - test -f ${PREFIX}/lib/libtiffxx{{ SHLIB_EXT }} # [not win] +# - if not exist %PREFIX%\\Library\\bin\\tiff.dll exit 1 # [win] +# - if not exist %PREFIX%\\Library\\bin\\tiffxx.dll exit 1 # [win] +# - if not exist %PREFIX%\\Library\\bin\\libtiff.dll exit 1 # [win] +# - if not exist %PREFIX%\\Library\\bin\\libtiffxx.dll exit 1 # [win] + +about: + home: http://www.libtiff.org/ + license: HPND + license_file: COPYRIGHT + summary: Support for the Tag Image File Format (TIFF). + description: | + This software provides support for the Tag Image File Format (TIFF), a + widely used format for storing image data. + doc_url: http://www.libtiff.org/document.html + +extra: + recipe-maintainers: + - jakirkham + - mingwandroid + - msarahan + - ocefpaf + - stuarteberg + - hmaarrfk diff --git a/recipes/recipes_emscripten/libutf8proc/recipe.yaml b/recipes/recipes_emscripten/libutf8proc/recipe.yaml index 364833afe..26311a767 100644 --- a/recipes/recipes_emscripten/libutf8proc/recipe.yaml +++ b/recipes/recipes_emscripten/libutf8proc/recipe.yaml @@ -1,26 +1,25 @@ context: - version: "2.9.0" + version: 2.9.0 package: name: libutf8proc - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/JuliaStrings/utf8proc/archive/v{{ version }}.tar.gz - sha256: 18c1626e9fc5a2e192311e36b3010bfc698078f692888940f1fa150547abb0c1 +- url: https://github.com/JuliaStrings/utf8proc/archive/v${{ version }}.tar.gz + sha256: 18c1626e9fc5a2e192311e36b3010bfc698078f692888940f1fa150547abb0c1 build: number: 0 requirements: build: - - '{{ compiler("c") }}' - - cmake - - make - - ninja + - ${{ compiler("c") }} + - cmake + - make + - ninja about: - home: https://juliastrings.github.io/utf8proc/ license: MIT license_family: MIT license_file: LICENSE.md @@ -28,9 +27,7 @@ about: description: | utf8proc is a small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding - doc_url: https://juliastrings.github.io/utf8proc/doc/ - dev_url: https://github.com/JuliaStrings/utf8proc - + homepage: https://juliastrings.github.io/utf8proc/ extra: recipe-maintainers: - - martinRenou + - martinRenou diff --git a/recipes/recipes_emscripten/libuuid/recipe.yaml b/recipes/recipes_emscripten/libuuid/recipe.yaml index d988fa699..3c788e70d 100644 --- a/recipes/recipes_emscripten/libuuid/recipe.yaml +++ b/recipes/recipes_emscripten/libuuid/recipe.yaml @@ -1,14 +1,13 @@ context: - major_minor: "2.38" - version: "2.38.1" + major_minor: '2.38' + version: 2.38.1 package: name: libuuid - version: "{{ version }}" + version: ${{ version }} source: - fn: libuuid-{{ version }}.tar.gz - url: https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v{{ major_minor }}/util-linux-{{ version }}.tar.gz + url: https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${{ major_minor}}/util-linux-${{ version }}.tar.gz sha256: 0820eb8eea90408047e3715424bc6be771417047f683950fecb4bdd2e2cbbc6e build: @@ -16,22 +15,18 @@ build: requirements: build: - # - libtool # [unix] - - "{{ compiler('c') }}" - - gnuconfig # [unix] - - make # [unix] - - kernel-headers_linux-64 # [linux64] + - ${{ compiler('c') }} + - gnuconfig + - make about: - home: http://sourceforge.net/projects/libuuid/ license: BSD-3-Clause license_file: COPYING - summary: Portable uuid C library + summary: Portable uuid C library description: | - 'Portable uuid C library.' - doc_url: "-" - + 'Portable uuid C library.' + homepage: http://sourceforge.net/projects/libuuid/ extra: recipe-maintainers: - - DerThorsten \ No newline at end of file + - DerThorsten diff --git a/recipes/recipes_emscripten/libwebp-base/recipe.yaml b/recipes/recipes_emscripten/libwebp-base/recipe.yaml index 5f3692908..7843bee24 100644 --- a/recipes/recipes_emscripten/libwebp-base/recipe.yaml +++ b/recipes/recipes_emscripten/libwebp-base/recipe.yaml @@ -3,10 +3,11 @@ context: package: name: libwebp - version: '{{ version }}' + version: ${{ version }} source: - url: http://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-{{ + url: + http://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${{ version }}.tar.gz sha256: 61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5 @@ -15,60 +16,21 @@ build: requirements: build: - - "{{ compiler('c') }}" + - ${{ compiler('c') }} - cmake - ninja - run_constrained: - # 1.1 is when libwebp-base was split from libwebp - - libwebp {{ version }} - -# {% set libraries = ["libwebp", "libwebpdemux", "libwebpmux", "libwebpdecoder"] %} -# {% set headers = ["decode.h", "demux.h", "encode.h", "mux_types.h", "mux.h", "types.h"] %} -# {% set binaries = ["cwebp", "dwebp", "gif2webp", "img2webp", "webpinfo", "webpmux"] %} - -# test: -# commands: -# {% for each_lib in libraries %} -# # shared libraries -# - test -f $PREFIX/lib/{{ each_lib }}.so # [linux] -# - test -f $PREFIX/lib/{{ each_lib }}.dylib # [osx] -# - if not exist %LIBRARY_LIB%\{{ each_lib }}.lib exit 1 # [win] -# - if not exist %LIBRARY_BIN%\{{ each_lib }}.dll exit 1 # [win] - -# # absence of static libraries; removed in v1.2.3 -# # should not be packaged in conda-forge, see also CFEP-18 -# - test ! -f $PREFIX/lib/{{ each_lib }}.a # [unix] -# {% endfor %} - -# # headers -# {% for each_header in headers %} -# - test -f $PREFIX/include/webp/{{ each_header }} || (echo "{{ each_header }} not found" && exit 1) # [unix] -# - if not exist %LIBRARY_INC%\webp\{{ each_header }} exit 1 # [win] -# {% endfor %} - -# # All binaries should be excluded from libwebp-base. Various binaries -# # link against libtiff, libpng, libgif, so they must be separated to prevent -# # circular imports https://github.com/conda-forge/staged-recipes/pull/11101 -# {% for each_bin in binaries %} -# - test ! -f $PREFIX/bin/{{ each_bin }} # [unix] -# - if exist %LIBRARY_BIN%\{{ each_bin }}.exe exit 1 # [win] -# {% endfor %} about: - home: https://developers.google.com/speed/webp license: BSD-3-Clause license_file: COPYING summary: WebP image library description: > - WebP is a method of lossy and lossless compression that can be used on a - large variety of photographic, translucent and graphical images found on the - web. The degree of lossy compression is adjustable so a user can choose the - trade-off between file size and image quality. - libwebp-base provides the headers and shared libraries. For cwebp and dwep, - binaries install libwebp. - doc_url: https://developers.google.com/speed/webp/docs/using - dev_url: https://chromium.googlesource.com/webm/libwebp - + WebP is a method of lossy and lossless compression that can be used on a large + variety of photographic, translucent and graphical images found on the web. The + degree of lossy compression is adjustable so a user can choose the trade-off between + file size and image quality. libwebp-base provides the headers and shared libraries. + For cwebp and dwep, binaries install libwebp. + homepage: https://developers.google.com/speed/webp extra: recipe-maintainers: - wolfv diff --git a/recipes/recipes_emscripten/libxml2/recipe.yaml b/recipes/recipes_emscripten/libxml2/recipe.yaml index 0072291f4..c00d67e5b 100644 --- a/recipes/recipes_emscripten/libxml2/recipe.yaml +++ b/recipes/recipes_emscripten/libxml2/recipe.yaml @@ -1,28 +1,29 @@ context: - version: '2.9.14' + version: 2.9.14 package: name: libxml2 - version: '{{ version }}' + version: ${{ version }} source: - url: https://gitlab.gnome.org/GNOME/libxml2/-/archive/v{{ version }}/libxml2-v{{ version }}.tar.gz + url: https://gitlab.gnome.org/GNOME/libxml2/-/archive/v${{ version }}/libxml2-v${{ + version }}.tar.gz sha256: 80efe9e6b48f8aa7b9b0c47be427e2ef2dbfb2999124220ffbc0f43ca6adb98c patches: - - 0004-CVE-2017-8872.patch + - 0004-CVE-2017-8872.patch build: number: 0 requirements: build: - - '{{ compiler("c") }}' - - libtool - - autoconf - - automake - - libtool - - pkg-config + - ${{ compiler("c") }} + - libtool + - autoconf + - automake + - libtool + - pkg-config run: - - zlib - - libiconv + - zlib + - libiconv diff --git a/recipes/recipes_emscripten/libxslt/recipe.yaml b/recipes/recipes_emscripten/libxslt/recipe.yaml index 2c6fc7e12..f04112706 100644 --- a/recipes/recipes_emscripten/libxslt/recipe.yaml +++ b/recipes/recipes_emscripten/libxslt/recipe.yaml @@ -1,12 +1,13 @@ context: - version: '1.1.38' + version: 1.1.38 package: name: libxslt - version: '{{ version }}' + version: ${{ version }} source: - url: https://download.gnome.org/sources/libxslt/{{ version[0:3] }}/libxslt-{{ version }}.tar.xz + url: https://download.gnome.org/sources/libxslt/${{ version[0:3] }}/libxslt-${{ + version }}.tar.xz sha256: 1f32450425819a09acaff2ab7a5a7f8a2ec7956e505d7beeb45e843d0e1ecab1 build: @@ -14,10 +15,10 @@ build: requirements: build: - - '{{ compiler("c") }}' - - gnuconfig + - ${{ compiler("c") }} + - gnuconfig host: - - libxml2 - - zlib + - libxml2 + - zlib run: - - libxml2 + - libxml2 diff --git a/recipes/recipes_emscripten/libyaml/recipe.yaml b/recipes/recipes_emscripten/libyaml/recipe.yaml index 27c9c85d0..343958e4e 100644 --- a/recipes/recipes_emscripten/libyaml/recipe.yaml +++ b/recipes/recipes_emscripten/libyaml/recipe.yaml @@ -1,12 +1,12 @@ context: - version: '0.2.5' + version: 0.2.5 package: name: libyaml - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/yaml/libyaml/archive/{{ version }}.zip + url: https://github.com/yaml/libyaml/archive/${{ version }}.zip sha256: 14605baa6dfc0c4d3ab943a46a627413c0388736e453b67fe4e90c9683c8cbc8 build: @@ -14,6 +14,6 @@ build: requirements: build: - - '{{ compiler("c") }}' - - cmake - - make + - ${{ compiler("c") }} + - cmake + - make diff --git a/recipes/recipes_emscripten/llvm/recipe.yaml b/recipes/recipes_emscripten/llvm/recipe.yaml index f289ec9e9..ad7b229c7 100644 --- a/recipes/recipes_emscripten/llvm/recipe.yaml +++ b/recipes/recipes_emscripten/llvm/recipe.yaml @@ -3,34 +3,32 @@ context: package: name: llvm - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-{{ version }}.tar.gz + url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-${{ version + }}.tar.gz sha256: 46200b79f52a02fe26d0a43fd856ab6ceff49ab2a0b7c240ac4b700a6ada700c patches: - - patches/cross_compile.patch + - patches/cross_compile.patch build: number: 6 requirements: build: - - '{{ compiler("c") }}' - - '{{ compiler("cxx") }}' - - cmake - - make # [unix] + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - cmake + - make # [unix] about: - home: https://llvm.org license: Apache-2.0 WITH LLVM-exception license_family: Apache license_file: LICENSE.TXT summary: llvm - doc_url: https://llvm.org/docs - dev_url: https://github.com/llvm/llvm-project - + homepage: https://llvm.org extra: recipe-maintainers: - - DerThorsten - - anutosh491 + - DerThorsten + - anutosh491 diff --git a/recipes/recipes_emscripten/llvm16/recipe.yaml b/recipes/recipes_emscripten/llvm16/recipe.yaml index 14061d8e9..cd6ff28f5 100644 --- a/recipes/recipes_emscripten/llvm16/recipe.yaml +++ b/recipes/recipes_emscripten/llvm16/recipe.yaml @@ -3,34 +3,32 @@ context: package: name: llvm - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-{{ version }}.tar.gz + url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-${{ version + }}.tar.gz sha256: 56b2f75fdaa95ad5e477a246d3f0d164964ab066b4619a01836ef08e475ec9d5 patches: - - patches/cross_compile.patch + - patches/cross_compile.patch build: number: 7 requirements: build: - - '{{ compiler("c") }}' - - '{{ compiler("cxx") }}' - - cmake - - make # [unix] + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - cmake + - make # [unix] about: - home: https://llvm.org license: Apache-2.0 WITH LLVM-exception license_family: Apache license_file: LICENSE.TXT summary: llvm - doc_url: https://llvm.org/docs - dev_url: https://github.com/llvm/llvm-project - + homepage: https://llvm.org extra: recipe-maintainers: - - DerThorsten - - anutosh491 \ No newline at end of file + - DerThorsten + - anutosh491 diff --git a/recipes/recipes_emscripten/logbook/recipe.yaml b/recipes/recipes_emscripten/logbook/recipe.yaml index 7225bcb09..f4f74185a 100644 --- a/recipes/recipes_emscripten/logbook/recipe.yaml +++ b/recipes/recipes_emscripten/logbook/recipe.yaml @@ -1,13 +1,13 @@ context: name: logbook - version: '1.7.0' + version: 1.7.0 package: name: logbook - version: '{{ version }}' + version: ${{ version }} source: - url: https://pypi.io/packages/source/L/Logbook/Logbook-{{ version }}.tar.gz + url: https://pypi.io/packages/source/L/Logbook/Logbook-${{ version }}.tar.gz sha256: da4c22f8a5b0a0e9cf7b198f2ac935934b933a04b5a2d24ef3b1ffa2faeaa3c1 build: @@ -15,31 +15,32 @@ build: requirements: build: - - cross-python_emscripten-wasm32 - - "{{ compiler('c') }}" - - python - - cython - - pip + - cross-python_emscripten-wasm32 + - ${{ compiler('c') }} + - python + - cython + - pip host: - - python + - python run: - - python - + - python + +tests: +- script: pytester + files: + recipe: + - test_import_logbook.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/getlogbook/logbook license: BSD-3-Clause license_family: BSD license_file: LICENSE - summary: 'Logbook is a nice logging replacement' + summary: Logbook is a nice logging replacement description: | Logbook is a nice logging replacement. - doc_url: http://logbook.readthedocs.org - dev_url: https://github.com/getlogbook/logbook - - -extra: - emscripten_tests: - python: - pytest_files: - - test_import_logbook.py + homepage: https://github.com/getlogbook/logbook diff --git a/recipes/recipes_emscripten/lpython/recipe.yaml b/recipes/recipes_emscripten/lpython/recipe.yaml deleted file mode 100644 index d21c0e1d0..000000000 --- a/recipes/recipes_emscripten/lpython/recipe.yaml +++ /dev/null @@ -1,48 +0,0 @@ -context: - name: lpython - version: "0.21.2" - -package: - name: "{{ name }}" - version: '{{ version }}' - -source: - url: https://github.com/lcompilers/lpython/releases/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz - sha256: 7ec55e398c4007f49af0e44b3599ae3be39e831f6d7696e2b65e80514a8d15b6 - patches: - - patches/remove-static-assert.patch - -build: - number: 0 - -requirements: - build: - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - cmake - - make # [unix] - - zlib=1.2.13 - # - xeus =3.0.5 # [build_platform != target_platform] - # - xeus-zmq =1.0.2 # [build_platform != target_platform] - # - llvmdev =16.0.6 # [build_platform != target_platform] - # - xtl # [build_platform != target_platform] - # - nlohmann_json =3.11.2 # [build_platform != target_platform] - # - cppzmq # [build_platform != target_platform] - # - zlib # [build_platform != target_platform] - # - zstd-static =1.5.5 # [build_platform != target_platform] - host: - - zlib - -about: - home: https://lpython.org - license: BSD-3-Clause - license_family: BSD - license_file: LICENSE - summary: Modern interactive LLVM-based Python compiler - dev_url: https://github.com/lcompilers/lpython.git - -extra: - recipe-maintainers: - - certik - - anutosh491 - - Shaikh-Ubaid \ No newline at end of file diff --git a/recipes/recipes_emscripten/lua/recipe.yaml b/recipes/recipes_emscripten/lua/recipe.yaml index 9ba37a515..5085ff6f6 100644 --- a/recipes/recipes_emscripten/lua/recipe.yaml +++ b/recipes/recipes_emscripten/lua/recipe.yaml @@ -3,20 +3,20 @@ context: package: name: lua - version: '{{ version }}' + version: ${{ version }} source: - - url: http://www.lua.org/ftp/lua-{{ version }}.tar.gz - sha256: 7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88 - patches: +- url: http://www.lua.org/ftp/lua-${{ version }}.tar.gz + sha256: 7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88 + patches: # Enables Lua to look for packages on a relative path - - luaconf.patch + - luaconf.patch # Build as a shared library - - liblua.so.patch + - liblua.so.patch # Enables readline on linux - - Makefile.patch - - path: CMakeLists.txt + - Makefile.patch +- path: CMakeLists.txt build: number: 5 @@ -25,19 +25,19 @@ build: requirements: build: - - "{{ compiler('c') }}" - - ninja - - cmake - - make + - ${{ compiler('c') }} + - ninja + - cmake + - make about: - home: http://www.lua.org/ summary: Lua is a powerful, fast, lightweight, embeddable scripting language license: MIT license_file: doc/readme.html + homepage: http://www.lua.org/ extra: recipe-maintainers: - - DerThorsten - - JohanMabille + - DerThorsten + - JohanMabille diff --git a/recipes/recipes_emscripten/lxml/recipe.yaml b/recipes/recipes_emscripten/lxml/recipe.yaml index c3e0288e8..da93b94b3 100644 --- a/recipes/recipes_emscripten/lxml/recipe.yaml +++ b/recipes/recipes_emscripten/lxml/recipe.yaml @@ -1,13 +1,14 @@ context: - name: "lxml" - version: "4.9.3" + name: lxml + version: 4.9.3 package: - name: "{{ name }}" - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz sha256: 48628bd53a426c9eb9bc066a923acaa0878d1e86129fd5359aee99285f4eed9c build: @@ -16,36 +17,40 @@ build: requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - python - - setuptools <60 - - pip - - sel(build_platform != target_platform): cython + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - python + - setuptools <60 + - pip + - cython host: - - python - - libxml2 - - libxslt - - zlib - - libiconv + - python + - libxml2 + - libxslt + - zlib + - libiconv run: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_import_lxml.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/lxml/lxml - license: BSD License - license_file: LICENSE + license: BSD-3-Clause license_family: BSD summary: Pythonic binding for the C libraries libxml2 and libxslt. - description: lxml is the most feature-rich and easy-to-use library for processing XML and HTML in the Python language. - dev_url: https://github.com/lxml/lxml - doc_url: https://lxml.de/ - doc_source_url: https://github.com/lxml/lxml/blob/master/doc/main.txt + description: lxml is the most feature-rich and easy-to-use library for processing + XML and HTML in the Python language. + documentation: https://github.com/lxml/lxml/blob/master/doc/main.txt + homepage: https://github.com/lxml/lxml extra: - emscripten_tests: - python: - pytest_files: - - test_import_lxml.py recipe-maintainers: - - michaelweinold + - michaelweinold diff --git a/recipes/recipes_emscripten/markupsafe/recipe.yaml b/recipes/recipes_emscripten/markupsafe/recipe.yaml index 8e194f3ec..e320fae40 100644 --- a/recipes/recipes_emscripten/markupsafe/recipe.yaml +++ b/recipes/recipes_emscripten/markupsafe/recipe.yaml @@ -1,12 +1,12 @@ context: - version: '2.1.5' + version: 2.1.5 package: name: markupsafe - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/pallets/markupsafe/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/pallets/markupsafe/archive/refs/tags/${{ version }}.tar.gz sha256: 307f63295d17f178b7d3af5968fb828e34086d5d66fec505b630a1e5f5b3328b build: @@ -14,17 +14,26 @@ build: requirements: build: - - '{{ compiler("c") }}' - - python - - cross-python_emscripten-wasm32 - - pip + - ${{ compiler("c") }} + - python + - cross-python_emscripten-wasm32 + - pip host: - - python + - python run: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_markupsafe.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://www.palletsprojects.com/p/markupsafe license: BSD-3-Clause license_family: BSD license_file: LICENSE.rst @@ -35,14 +44,8 @@ about: replaced so that they display as the actual characters. This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page. - dev_url: https://github.com/pallets/markupsafe - doc_url: https://markupsafe.palletsprojects.com/ - + homepage: https://www.palletsprojects.com/p/markupsafe extra: - emscripten_tests: - python: - pytest_files: - - test_markupsafe.py recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/matplotlib/recipe.yaml b/recipes/recipes_emscripten/matplotlib/recipe.yaml index 514ce0054..3ac4a1016 100644 --- a/recipes/recipes_emscripten/matplotlib/recipe.yaml +++ b/recipes/recipes_emscripten/matplotlib/recipe.yaml @@ -1,72 +1,80 @@ context: name: matplotlib - version: '3.8.4' + version: 3.8.4 -package: - name: '{{ name|lower }}' - version: '{{ version }}' +# package: +# name: ${{ name|lower }} +# version: ${{ version }} source: - - url: https://github.com/matplotlib/matplotlib/archive/v{{ version }}.tar.gz - sha256: 7c4f370b7550eec8342c102f9dd80da3bec2895d7f514f5f6378764db4cb0e35 +- url: https://github.com/matplotlib/matplotlib/archive/v${{ version }}.tar.gz + sha256: 7c4f370b7550eec8342c102f9dd80da3bec2895d7f514f5f6378764db4cb0e35 # sha256: 5ac5ca25e6ecd1e7711e1f859b4b6f74f290ef517387d1502bf8012bf2b1647e - patches: - - patches/disable_macosx_backend.patch - - patches/fix-threading-and-font-cache.patch - - path: mplsetup.cfg - - path: setupext.py + patches: + - patches/disable_macosx_backend.patch + - patches/fix-threading-and-font-cache.patch +- path: mplsetup.cfg +- path: setupext.py build: number: 0 -extra: - emscripten_tests: - python: - pytest_files: - - test_import_matplotlib.py -steps: + +outputs: - package: name: matplotlib-base + version: ${{ version }} build: script: build.sh requirements: build: - - python - - numpy - - cross-python_emscripten-wasm32 - - pybind11 + - python + - numpy + - cross-python_emscripten-wasm32 + - pybind11 - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - sel(not win): pkg-config + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + - pkg-config - # TODO add certifi package to emscripten-wasm32 and depend in host on this - - certifi - - pip - - setuptools_scm_git_archive + # TODO add certifi package to emscripten-wasm32 and depend in host on this + - certifi + - pip + - setuptools_scm_git_archive host: - - python - - numpy - - pybind11 + - python + - numpy + - pybind11 run: - - contourpy - - cycler - - fonttools - - kiwisolver - - numpy - - packaging - - pillow - - pyparsing - - python-dateutil - - pytz + - contourpy + - cycler + - fonttools + - kiwisolver + - numpy + - packaging + - pillow + - pyparsing + - python-dateutil + - pytz - package: name: matplotlib + version: ${{ version }} requirements: host: - - python + - python run: - - python - - "{{ pin_subpackage('matplotlib-base', exact=True) }}" + - python + - ${{ pin_subpackage('matplotlib-base', exact=True) }} + tests: + - script: pytester + files: + recipe: + - test_import_matplotlib.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/mpdecimal/recipe.yaml b/recipes/recipes_emscripten/mpdecimal/recipe.yaml index 12cd44cf8..9b47d143b 100644 --- a/recipes/recipes_emscripten/mpdecimal/recipe.yaml +++ b/recipes/recipes_emscripten/mpdecimal/recipe.yaml @@ -3,7 +3,7 @@ context: package: name: mpdecimal - version: '{{ version }}' + version: ${{ version }} source: url: https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz @@ -11,33 +11,18 @@ source: build: number: 0 - # run_exports: - # mostly OK, but some scary symbol removal. Let's try for trusting them. - # https://abi-laboratory.pro/tracker/timeline/zlib/ - # - '{{ pin_subpackage("zlib", max_pin="x.x") }}' + requirements: build: - - '{{ compiler("c") }}' - - make - - - + - ${{ compiler("c") }} + - make about: - home: https://www.bytereef.org/software/mpdecimal - license: todo - summary: todo - license_family: Other - license_file: LICENSE.txt - - description: | - zlib is designed to be a free, general-purpose, lossless data-compression - library for use on virtually any computer hardware and operating system. - doc_url: https://www.bytereef.org/software/mpdecimalmanual.html - dev_url: https://github.com/madler/zlib - + license: BSD-2-Clause + license_file: COPYRIGHT.txt + homepage: https://www.bytereef.org/software/mpdecimal extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/mpfr/recipe.yaml b/recipes/recipes_emscripten/mpfr/recipe.yaml index c9d8390dd..96ec57739 100644 --- a/recipes/recipes_emscripten/mpfr/recipe.yaml +++ b/recipes/recipes_emscripten/mpfr/recipe.yaml @@ -1,12 +1,12 @@ context: - version: "4.2.0" + version: 4.2.0 package: name: mpfr - version: "{{ version }}" + version: ${{ version }} source: - url: http://ftp.gnu.org/gnu/mpfr/mpfr-{{ version }}.tar.gz + url: http://ftp.gnu.org/gnu/mpfr/mpfr-${{ version }}.tar.gz sha256: f1cc1c6bb14d18f0c61cc416e083f5e697b6e0e3cf9630b9b33e8e483fc960f0 build: @@ -16,14 +16,14 @@ build: requirements: build: - - libtool - - m4 - - make - - gnuconfig - - "{{ compiler('c') }}" + - libtool + - m4 + - make + - gnuconfig + - ${{ compiler('c') }} # - autotools_clang_conda # [win] host: - - gmp # [unix] + - gmp # [unix] # - mpir # [win] # test: @@ -39,11 +39,12 @@ requirements: # - test -f ${PREFIX}/lib/libmpfr${SHLIB_EXT} # [unix] about: - home: http://www.mpfr.org/ license: LGPL-3.0-only license_file: COPYING.LESSER - summary: The MPFR library is a C library for multiple-precision floating-point computations with correct rounding. + summary: The MPFR library is a C library for multiple-precision floating-point computations + with correct rounding. + homepage: http://www.mpfr.org/ extra: recipe-maintainers: - - wolfv + - wolfv diff --git a/recipes/recipes_emscripten/msgpack/recipe.yaml b/recipes/recipes_emscripten/msgpack/recipe.yaml index b39ccea91..c1a538f2d 100644 --- a/recipes/recipes_emscripten/msgpack/recipe.yaml +++ b/recipes/recipes_emscripten/msgpack/recipe.yaml @@ -1,28 +1,33 @@ context: - version: '1.0.6' + version: 1.0.6 package: name: msgpack - version: '{{ version }}' + version: ${{ version }} source: - - sha256: 0dc84bbf0a97fb1f9f277de8a97ade38b5323ece5728dcee4ed4410c9df976b1 - url: https://github.com/msgpack/msgpack-python/archive/refs/tags/v{{ version }}.tar.gz +- sha256: 0dc84bbf0a97fb1f9f277de8a97ade38b5323ece5728dcee4ed4410c9df976b1 + url: https://github.com/msgpack/msgpack-python/archive/refs/tags/v${{ version }}.tar.gz build: number: 0 requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - python - - pip + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - python + - pip host: - - python + - python -extra: - emscripten_tests: - python: - pytest_files: - - test_import_msgpack.py +tests: +- script: pytester + files: + recipe: + - test_import_msgpack.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/nelson/recipe.yaml b/recipes/recipes_emscripten/nelson/recipe.yaml index a59738157..b883f8a77 100644 --- a/recipes/recipes_emscripten/nelson/recipe.yaml +++ b/recipes/recipes_emscripten/nelson/recipe.yaml @@ -3,10 +3,12 @@ context: package: name: nelson - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/Nelson-numerical-software/nelson-minimalist-core/archive/refs/tags/v{{ version }}.tar.gz + url: + https://github.com/Nelson-numerical-software/nelson-minimalist-core/archive/refs/tags/v${{ + version }}.tar.gz sha256: d9212109b54c677423ff1e3998c30d3dd9f165734b8fc40cc279dce961e0edd2 build: @@ -14,29 +16,24 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja - - pkg-config + - ${{ compiler("cxx") }} + - cmake + - ninja + - pkg-config host: - - eigen + - eigen run: - - eigen - -test: - commands: - - sel(emscripten): test -f $PREFIX/include/nelson/core/EvaluateCommand.hpp - - sel(emscripten): test -f $PREFIX/lib/libnlsCore.a + - eigen about: - home: https://github.com/Nelson-numerical-software/nelson-minimalist-core - license: LGPL-3 - license_family: LGPL-3 + license: LGPL-3.0-only license_file: LICENSE summary: xeus-nelson - doc_url: https://github.com/Nelson-numerical-software/nelson-minimalist-core - dev_url: https://github.com/Nelson-numerical-software/nelson-minimalist-core - + homepage: https://github.com/Nelson-numerical-software/nelson-minimalist-core extra: recipe-maintainers: - - JohanMabille + - JohanMabille +tests: +- script: + - test -f $PREFIX/include/nelson/core/EvaluateCommand.hpp + - test -f $PREFIX/lib/libnlsCore.a diff --git a/recipes/recipes_emscripten/nelson/recipe_legacy.yaml b/recipes/recipes_emscripten/nelson/recipe_legacy.yaml new file mode 100644 index 000000000..67720f235 --- /dev/null +++ b/recipes/recipes_emscripten/nelson/recipe_legacy.yaml @@ -0,0 +1,42 @@ +context: + version: 0.3.0 + +package: + name: nelson + version: '{{ version }}' + +source: + url: https://github.com/Nelson-numerical-software/nelson-minimalist-core/archive/refs/tags/v{{ version }}.tar.gz + sha256: d9212109b54c677423ff1e3998c30d3dd9f165734b8fc40cc279dce961e0edd2 + +build: + number: 2 + +requirements: + build: + - '{{ compiler("cxx") }}' + - cmake + - ninja + - pkg-config + host: + - eigen + run: + - eigen + +test: + commands: + - test -f $PREFIX/include/nelson/core/EvaluateCommand.hpp + - test -f $PREFIX/lib/libnlsCore.a + +about: + home: https://github.com/Nelson-numerical-software/nelson-minimalist-core + license: LGPL-3 + license_family: LGPL-3 + license_file: LICENSE + summary: xeus-nelson + doc_url: https://github.com/Nelson-numerical-software/nelson-minimalist-core + dev_url: https://github.com/Nelson-numerical-software/nelson-minimalist-core + +extra: + recipe-maintainers: + - JohanMabille diff --git a/recipes/recipes_emscripten/nlohmann_json/recipe.yaml b/recipes/recipes_emscripten/nlohmann_json/recipe.yaml index d5e76304f..de5c1baac 100644 --- a/recipes/recipes_emscripten/nlohmann_json/recipe.yaml +++ b/recipes/recipes_emscripten/nlohmann_json/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: nlohmann_json - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/nlohmann/json/archive/refs/tags/v{{ version }}.tar.gz + url: https://github.com/nlohmann/json/archive/refs/tags/v${{ version }}.tar.gz sha256: 0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406 build: @@ -14,20 +14,17 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - clang - - cmake - - ninja + - ${{ compiler("cxx") }} + - clang + - cmake + - ninja about: - home: https://github.com/nlohmann/json license: MIT license_family: MIT license_file: LICENSE.MIT summary: json for C++ - doc_url: https://github.com/nlohmann/json - dev_url: https://github.com/nlohmann/json - + homepage: https://github.com/nlohmann/json extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/nlopt/recipe.yaml b/recipes/recipes_emscripten/nlopt/recipe.yaml index 093d531b0..3db023367 100644 --- a/recipes/recipes_emscripten/nlopt/recipe.yaml +++ b/recipes/recipes_emscripten/nlopt/recipe.yaml @@ -1,33 +1,38 @@ context: - version: '2.7.1' + version: 2.7.1 package: name: nlopt - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/stevengj/nlopt/archive/v{{ version }}.tar.gz - sha256: db88232fa5cef0ff6e39943fc63ab6074208831dc0031cf1545f6ecd31ae2a1a - - path: src/setup.py +- url: https://github.com/stevengj/nlopt/archive/v${{ version }}.tar.gz + sha256: db88232fa5cef0ff6e39943fc63ab6074208831dc0031cf1545f6ecd31ae2a1a +- path: src/setup.py build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - python - - swig - - pip - - numpy + - cross-python_emscripten-wasm32 + - python + - swig + - pip + - numpy host: - - numpy - - python + - numpy + - python run: - - numpy + - numpy -extra: - emscripten_tests: - python: - pytest_files: - - test_import_nlopt.py +tests: +- script: pytester + files: + recipe: + - test_import_nlopt.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/numcodecs/recipe.yaml b/recipes/recipes_emscripten/numcodecs/recipe.yaml index 27fa38568..cf079a549 100644 --- a/recipes/recipes_emscripten/numcodecs/recipe.yaml +++ b/recipes/recipes_emscripten/numcodecs/recipe.yaml @@ -1,39 +1,45 @@ context: name: numcodecs - version: '0.9.1' + version: 0.9.1 package: name: numcodecs - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997 - patches: - - patches/fixblosc.patch - - patches/fixsetup.patch - - patches/fixzlib.patch - - path: setup.py +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz + sha256: 35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997 + patches: + - patches/fixblosc.patch + - patches/fixsetup.patch + - patches/fixzlib.patch +- path: setup.py build: number: 0 requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - cython - - python - - pip - - setuptools_scm + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - cython + - python + - pip + - setuptools_scm host: - - python + - python run: - - numpy - - msgpack + - numpy + - msgpack -extra: - emscripten_tests: - python: - pytest_files: - - test_import_numcodecs.py +tests: +- script: pytester + files: + recipe: + - test_import_numcodecs.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/numpy/recipe.yaml b/recipes/recipes_emscripten/numpy/recipe.yaml index 7515329fb..c067544c1 100644 --- a/recipes/recipes_emscripten/numpy/recipe.yaml +++ b/recipes/recipes_emscripten/numpy/recipe.yaml @@ -5,16 +5,16 @@ context: package: name: numpy - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/numpy/numpy/releases/download/v{{ version }}/numpy-{{ version }}.tar.gz + url: https://github.com/numpy/numpy/releases/download/v${{ version }}/numpy-${{ version }}.tar.gz sha256: fd608e19c8d7c55021dffd43bfe5492fab8cc105cc8986f813f8c3c048b38760 build: number: 2 requirements: build: - - '{{ compiler("c") }}' + - ${{ compiler("c") }} - cross-python_emscripten-wasm32 - cython - setuptools >=68.0 @@ -24,19 +24,24 @@ requirements: run: - python + +tests: + - script: pytester + requirements: + build: + - pytester >= 0.9.0 + run: + - pytester-run >= 0.9.0 + files: + recipe: + - test_numpy.py + about: - home: http://numpy.org/ + homepage: http://numpy.org/ license: BSD-3-Clause license_file: LICENSE.txt summary: The fundamental package for scientific computing with Python. - doc_url: https://numpy.org/doc/stable/reference/ - dev_url: https://github.com/numpy/numpy extra: - emscripten_tests: - python: - pytest_files: - - test_numpy.py - recipe-maintainers: - DerThorsten diff --git a/recipes/recipes_emscripten/numpy/rattler_recipe.yaml b/recipes/recipes_emscripten/numpy/recipe_legacy.yaml similarity index 61% rename from recipes/recipes_emscripten/numpy/rattler_recipe.yaml rename to recipes/recipes_emscripten/numpy/recipe_legacy.yaml index 5f6824ac0..75fe19b2c 100644 --- a/recipes/recipes_emscripten/numpy/rattler_recipe.yaml +++ b/recipes/recipes_emscripten/numpy/recipe_legacy.yaml @@ -1,20 +1,18 @@ context: version: '1.25.2' - cross_target_plattform: emscripten-wasm32 - target_plattform: emscripten-wasm32 package: name: numpy - version: ${{ version }} + version: '{{ version }}' source: - url: https://github.com/numpy/numpy/releases/download/v${{ version }}/numpy-${{ version }}.tar.gz + url: https://github.com/numpy/numpy/releases/download/v{{ version }}/numpy-{{ version }}.tar.gz sha256: fd608e19c8d7c55021dffd43bfe5492fab8cc105cc8986f813f8c3c048b38760 build: number: 2 requirements: build: - - ${{ compiler("c") }} + - '{{ compiler("c") }}' - cross-python_emscripten-wasm32 - cython - setuptools >=68.0 @@ -24,6 +22,13 @@ requirements: run: - python +about: + home: http://numpy.org/ + license: BSD-3-Clause + license_file: LICENSE.txt + summary: The fundamental package for scientific computing with Python. + doc_url: https://numpy.org/doc/stable/reference/ + dev_url: https://github.com/numpy/numpy tests: - script: pytester @@ -36,18 +41,3 @@ tests: recipe: - test_numpy.py -about: - homepage: http://numpy.org/ - license: BSD-3-Clause - license_file: LICENSE.txt - summary: The fundamental package for scientific computing with Python. - - -extra: - emscripten_tests: - python: - pytest_files: - - test_numpy.py - - recipe-maintainers: - - DerThorsten diff --git a/recipes/recipes_emscripten/openblas/recipe.yaml b/recipes/recipes_emscripten/openblas/recipe.yaml index dd5ba1683..557d79b7f 100644 --- a/recipes/recipes_emscripten/openblas/recipe.yaml +++ b/recipes/recipes_emscripten/openblas/recipe.yaml @@ -3,17 +3,17 @@ context: name: openblas package: - name: '{{ name }}' - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} build: number: 2 requirements: build: - - "{{ compiler('c') }}" + - ${{ compiler('c') }} extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/openssl/recipe.yaml b/recipes/recipes_emscripten/openssl/recipe.yaml index 932f1b03a..fd52be0ab 100644 --- a/recipes/recipes_emscripten/openssl/recipe.yaml +++ b/recipes/recipes_emscripten/openssl/recipe.yaml @@ -1,18 +1,18 @@ context: - version: '1.1.1w' + version: 1.1.1w package: name: openssl - version: '{{ version }}' + version: ${{ version }} source: - url: https://www.openssl.org/source/openssl-{{ version }}.tar.gz - #sha256: f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96 + url: https://www.openssl.org/source/openssl-${{ version }}.tar.gz + sha256: f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96 build: number: 7 requirements: build: - - '{{ compiler("c") }}' - - python + - ${{ compiler("c") }} + - python diff --git a/recipes/recipes_emscripten/pandas/recipe.yaml b/recipes/recipes_emscripten/pandas/recipe.yaml index c84ab5578..214a490db 100644 --- a/recipes/recipes_emscripten/pandas/recipe.yaml +++ b/recipes/recipes_emscripten/pandas/recipe.yaml @@ -1,13 +1,14 @@ context: - version: '1.5.3' + version: 1.5.3 package: name: pandas - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/pandas-dev/pandas/releases/download/v{{ version }}/pandas-{{ version }}.tar.gz - #sha256: 2ff7788468e75917574f080cd4681b27e1a7bf36461fe968b49a87b5a54d007c +- url: https://github.com/pandas-dev/pandas/releases/download/v${{ version }}/pandas-${{ + version }}.tar.gz + sha256: 74a3fd7e5a7ec052f183273dc7b0acd3a863edf7520f5d3a1765c04ffdb3b0b1 #patches: # - patches/fix_json_signature.patch @@ -16,25 +17,30 @@ build: requirements: build: - - cross-python_emscripten-wasm32 - - numpy - - cython <=2 - - pip - - versioneer - - tomli + - cross-python_emscripten-wasm32 + - numpy + - cython <=2 + - pip + - versioneer + - tomli host: - - python - - numpy + - python + - numpy run: - - numpy - - python-dateutil - - pytz - - python-tzdata + - numpy + - python-dateutil + - pytz + - python-tzdata -extra: - emscripten_tests: - python: - pytest_files: - - test_import_pandas.py +tests: +- script: pytester + files: + recipe: + - test_import_pandas.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/patsy/recipe.yaml b/recipes/recipes_emscripten/patsy/recipe.yaml index 79ba96a36..534f60fb8 100644 --- a/recipes/recipes_emscripten/patsy/recipe.yaml +++ b/recipes/recipes_emscripten/patsy/recipe.yaml @@ -1,31 +1,37 @@ context: name: patsy - version: '0.5.6' + version: 0.5.6 package: name: patsy - version: "{{ version }}" + version: ${{ version }} source: - - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 95c6d47a7222535f84bff7f63d7303f2e297747a598db89cf5c67f0c0c7d2cdb +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz + sha256: 95c6d47a7222535f84bff7f63d7303f2e297747a598db89cf5c67f0c0c7d2cdb build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - python - - pip + - cross-python_emscripten-wasm32 + - python + - pip host: - - python + - python run: - - numpy - - six + - numpy + - six -extra: - emscripten_tests: - python: - pytest_files: - - test_import_patsy.py +tests: +- script: pytester + files: + recipe: + - test_import_patsy.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/peewee/recipe.yaml b/recipes/recipes_emscripten/peewee/recipe.yaml index f9e2db18a..5accd3e84 100644 --- a/recipes/recipes_emscripten/peewee/recipe.yaml +++ b/recipes/recipes_emscripten/peewee/recipe.yaml @@ -1,48 +1,52 @@ context: - name: "peewee" - version: "3.17.1" + name: peewee + version: 3.17.1 package: - name: "{{ name }}" - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz sha256: e009ac4227c4fdc0058a56e822ad5987684f0a1fbb20fed577200785102581c3 build: number: 0 - ignore_run_exports: - - python_abi requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - pip + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - pip host: - - python >=3.7 - - cffi + - python >=3.7 + - cffi run: - - python >=3.7 - - cffi + - python >=3.7 + - cffi +tests: +- script: pytester + files: + recipe: + - test_peewee.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/coleifer/peewee/ - license: MIT License + license: MIT license_file: LICENSE license_family: MIT summary: Python Object-Relational Mapping (ORM) library - description: Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use. - dev_url: https://github.com/coleifer/peewee/ - doc_url: https://docs.peewee-orm.com/en/latest/ - doc_source_url: https://github.com/coleifer/peewee/blob/master/docs/index.rst + description: Peewee is a simple and small ORM. It has few (but expressive) concepts, + making it easy to learn and intuitive to use. + documentation: https://github.com/coleifer/peewee/blob/master/docs/index.rst + homepage: https://github.com/coleifer/peewee/ extra: - emscripten_tests: - python: - pytest_files: - - test_import_peewee.py recipe-maintainers: - - michaelweinold + - michaelweinold diff --git a/recipes/recipes_emscripten/pillow/recipe.yaml b/recipes/recipes_emscripten/pillow/recipe.yaml index 1cc32ff2d..43bb9608d 100644 --- a/recipes/recipes_emscripten/pillow/recipe.yaml +++ b/recipes/recipes_emscripten/pillow/recipe.yaml @@ -1,31 +1,36 @@ context: - version: "10.3.0" + version: 10.3.0 package: name: pillow - version: "{{ version }}" + version: ${{ version }} source: - - url: https://github.com/python-pillow/Pillow/archive/refs/tags/{{ version }}.tar.gz - sha256: 5a2f1a812237bf9bd57f283422f46ca97a1c3d43d5f67b9bf8a0d499c4b97c85 - patches: - - patches/setitup.patch - - path: src/setup.cfg - - path: setup.py +- url: https://github.com/python-pillow/Pillow/archive/refs/tags/${{ version }}.tar.gz + sha256: 5a2f1a812237bf9bd57f283422f46ca97a1c3d43d5f67b9bf8a0d499c4b97c85 + patches: + - patches/setitup.patch +- path: src/setup.cfg +- path: setup.py build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - pip + - cross-python_emscripten-wasm32 + - pip host: - - python - - zlib + - python + - zlib -extra: - emscripten_tests: - python: - pytest_files: - - test_import_Pillow.py +tests: +- script: pytester + files: + recipe: + - test_import_Pillow.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/protobuf/recipe.yaml b/recipes/recipes_emscripten/protobuf/recipe.yaml index 3a9937cfe..7e2448070 100644 --- a/recipes/recipes_emscripten/protobuf/recipe.yaml +++ b/recipes/recipes_emscripten/protobuf/recipe.yaml @@ -3,11 +3,13 @@ context: package: name: protobuf - version: "{{ version }}" + version: ${{ version }} +source: +- url: + https://files.pythonhosted.org/packages/e2/86/44a1e4990a81cb4248a2091a182bb76a6417fddcaff560ceb6b44eb05c55/protobuf-${{ + version }}.tar.gz + sha256: 23452f2fdea754a8251d0fc88c0317735ae47217e0d27bf330a30eec2848811a build: number: 0 -source: - - url: https://files.pythonhosted.org/packages/e2/86/44a1e4990a81cb4248a2091a182bb76a6417fddcaff560ceb6b44eb05c55/protobuf-{{ version }}.tar.gz - sha256: 23452f2fdea754a8251d0fc88c0317735ae47217e0d27bf330a30eec2848811a diff --git a/recipes/recipes_emscripten/pugixml/recipe.yaml b/recipes/recipes_emscripten/pugixml/recipe.yaml index 0533be064..66b5e6631 100644 --- a/recipes/recipes_emscripten/pugixml/recipe.yaml +++ b/recipes/recipes_emscripten/pugixml/recipe.yaml @@ -1,12 +1,12 @@ context: - version: "1.14" + version: '1.14' package: name: pugixml - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/zeux/pugixml/archive/v{{ version }}.tar.gz + url: https://github.com/zeux/pugixml/archive/v${{ version }}.tar.gz sha256: 610f98375424b5614754a6f34a491adbddaaec074e9044577d965160ec103d2e build: @@ -14,9 +14,9 @@ build: requirements: build: - - "{{ compiler('cxx') }}" - - cmake - - make # [unix] + - ${{ compiler('cxx') }} + - cmake + - make # [unix] # test: # commands: @@ -26,11 +26,10 @@ requirements: # - if not exist %LIBRARY_INC%\\pugiconfig.hpp exit 1 # [win] about: - home: http://pugixml.org/ license: MIT license_family: MIT license_file: README.md - summary: 'Light-weight, simple and fast XML parser for C++ with XPath support' + summary: Light-weight, simple and fast XML parser for C++ with XPath support description: | pugixml is a C++ XML processing library, which consists of a DOM-like interface with rich traversal/modification capabilities, an extremely fast XML parser which @@ -38,10 +37,8 @@ about: for complex data-driven tree queries. Full Unicode support is also available, with Unicode interface variants and conversions between different Unicode encodings (which happen automatically during parsing/saving) - doc_url: http://pugixml.org/ - dev_url: https://github.com/zeux/pugixml - + homepage: http://pugixml.org/ extra: recipe-maintainers: - - DerThorsten - - anutosh491 \ No newline at end of file + - DerThorsten + - anutosh491 diff --git a/recipes/recipes_emscripten/pyb2d/recipe.yaml b/recipes/recipes_emscripten/pyb2d/recipe.yaml index ef17220ee..1e0c10f7e 100644 --- a/recipes/recipes_emscripten/pyb2d/recipe.yaml +++ b/recipes/recipes_emscripten/pyb2d/recipe.yaml @@ -4,47 +4,49 @@ context: package: name: pyb2d - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/pyb2d/pyb2d/archive/refs/tags/{{ version }}.tar.gz - sha256: 99c773c85adc5ce2fa8e87ca65187c84297a7d563080fd07c404795bfeb748fd +- url: https://github.com/pyb2d/pyb2d/archive/refs/tags/${{ version }}.tar.gz + sha256: 99c773c85adc5ce2fa8e87ca65187c84297a7d563080fd07c404795bfeb748fd - - path: CMakeLists.txt +- path: CMakeLists.txt build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja - - numpy + - ${{ compiler("cxx") }} + - cmake + - ninja + - numpy host: - - python - - pybind11 - - numpy + - python + - pybind11 + - numpy run: - - numpy - - python - - pydantic - - + - numpy + - python + - pydantic + + +tests: +- script: pytester + files: + recipe: + - test_pyb2d.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/pyb2d/pyb2d - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 summary: pyb2d - doc_url: https://github.com/pyb2d/pyb2d - dev_url: https://github.com/pyb2d/pyb2d - + homepage: https://github.com/pyb2d/pyb2d extra: recipe-maintainers: - - DerThorsten - - emscripten_tests: - python: - pytest_files: - - test_pyb2d.py + - DerThorsten \ No newline at end of file diff --git a/recipes/recipes_emscripten/pybind11/recipe.yaml b/recipes/recipes_emscripten/pybind11/recipe.yaml index 1ee746fc1..38e276eee 100644 --- a/recipes/recipes_emscripten/pybind11/recipe.yaml +++ b/recipes/recipes_emscripten/pybind11/recipe.yaml @@ -3,42 +3,32 @@ context: package: name: pybind11 - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/pybind/pybind11/archive/refs/tags/v{{ version }}.tar.gz + url: https://github.com/pybind/pybind11/archive/refs/tags/v${{ version }}.tar.gz sha256: bf8f242abd1abcd375d516a7067490fb71abd79519a282d22b6e4d19282185a7 patches: - - sel(emscripten): patches/0001-no-bitsize-check.patch + - patches/0001-no-bitsize-check.patch build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - python - - -features: - - name: env_node - default: false - - name: env_web - default: true - + - python about: - home: https://github.com/pybind/pybind11 license: BSD-3-Clause license_family: BSD license_file: LICENSE summary: Seamless operability between C++11 and Python - doc_url: https://pybind11.readthedocs.io/ - + homepage: https://github.com/pybind/pybind11 + extra: recipe-maintainers: - - DerThorsten - + - DerThorsten \ No newline at end of file diff --git a/recipes/recipes_emscripten/pybind11_json/recipe.yaml b/recipes/recipes_emscripten/pybind11_json/recipe.yaml index 50ba6af72..2145214e5 100644 --- a/recipes/recipes_emscripten/pybind11_json/recipe.yaml +++ b/recipes/recipes_emscripten/pybind11_json/recipe.yaml @@ -3,36 +3,33 @@ context: package: name: pybind11_json - version: '{{ version }}' + version: ${{ version }} source: url: https://github.com/pybind/pybind11_json/archive/refs/tags/0.2.12.tar.gz sha256: a9e308d4cf3de16d192cd0baf641bfe17a3a3046e8652e6724204afa3e736db7 - # patches: - # - sel(emscripten): patches/0001-no-bitsize-check.patch + build: number: 1 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja - - python + - ${{ compiler("cxx") }} + - cmake + - ninja + - python host: - - python - - pybind11 - - nlohmann_json + - python + - pybind11 + - nlohmann_json about: - home: https://github.com/pybind/pybind11_json license: BSD-3-Clause license_family: BSD license_file: LICENSE summary: Seamless operability between nlohmann_json and pybind11 - doc_url: https://github.com/pybind/pybind11_json - + homepage: https://github.com/pybind/pybind11_json extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/pycrdt/rattler_recipe.yaml b/recipes/recipes_emscripten/pycrdt/recipe.yaml similarity index 100% rename from recipes/recipes_emscripten/pycrdt/rattler_recipe.yaml rename to recipes/recipes_emscripten/pycrdt/recipe.yaml diff --git a/recipes/recipes_emscripten/pydantic_core/rattler_recipe.yaml b/recipes/recipes_emscripten/pydantic_core/recipe.yaml similarity index 100% rename from recipes/recipes_emscripten/pydantic_core/rattler_recipe.yaml rename to recipes/recipes_emscripten/pydantic_core/recipe.yaml diff --git a/recipes/recipes_emscripten/pydro/recipe.yaml b/recipes/recipes_emscripten/pydro/recipe.yaml index 3149199a6..41406b02c 100644 --- a/recipes/recipes_emscripten/pydro/recipe.yaml +++ b/recipes/recipes_emscripten/pydro/recipe.yaml @@ -1,44 +1,54 @@ context: name: pydro - version: '0.1.2' + version: 0.1.2 package: name: pydro - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 0c572ce42e615b933c26614996239c52fd46ac217374babc981b777feecd9b96 - - path: setup.py +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz + sha256: 0c572ce42e615b933c26614996239c52fd46ac217374babc981b777feecd9b96 +- path: setup.py build: number: 1 requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - cython - - numpy - - python - - pip - - setuptools_scm + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - cython + - numpy + - python + - pip + - setuptools_scm host: - - python + - python run: - - numpy - + - numpy + +tests: +- script: pytester + files: + recipe: + - test_import_pydro.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/davidbrochart/pydro license: MIT license_family: MIT license_file: LICENSE.txt summary: Hydrological modelling in Python description: | Hydrological modelling in Python - dev_url: https://github.com/davidbrochart/pydro - - + homepage: https://github.com/davidbrochart/pydro +extra: recipe-maintainers: - davidbrochart + diff --git a/recipes/recipes_emscripten/pyerfa/recipe.yaml b/recipes/recipes_emscripten/pyerfa/recipe.yaml index 8dd303ccd..eee1b0be7 100644 --- a/recipes/recipes_emscripten/pyerfa/recipe.yaml +++ b/recipes/recipes_emscripten/pyerfa/recipe.yaml @@ -1,38 +1,48 @@ context: name: pyerfa - version: '2.0.0.3' + version: 2.0.0.3 package: name: pyerfa - version: "{{ version }}" + version: ${{ version }} source: - - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: d77fbbfa58350c194ccb99e5d93aa05d3c2b14d5aad8b662d93c6ad9fff41f39 - patches: - - patches/0001-Fix-compilation-with-Wincompatible-function-pointer-.patch - - patches/0002-Fix-numpy-import.patch +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz + sha256: d77fbbfa58350c194ccb99e5d93aa05d3c2b14d5aad8b662d93c6ad9fff41f39 + patches: + - patches/0001-Fix-compilation-with-Wincompatible-function-pointer-.patch + - patches/0002-Fix-numpy-import.patch build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - python - - "{{ compiler('c') }}" - - pip - - packaging - - jinja2 + - cross-python_emscripten-wasm32 + - python + - ${{ compiler('c') }} + - pip + - packaging + - jinja2 host: - - python - - numpy + - python + - numpy run: - - python - - numpy + - python + - numpy +tests: +- script: pytester + files: + recipe: + - test_import_pyerfa.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://pyerfa.readthedocs.io/ license: BSD-3-Clause license_family: BSD license_file: LICENSE.rst @@ -47,11 +57,4 @@ about: Astropy project, into a standalone package. It contains the ERFA C source code as a git submodule. The wrapping is done with help of the Jinja2 template engine. - doc_url: https://pyerfa.readthedocs.io/ - dev_url: https://github.com/liberfa/pyerfa - -extra: - emscripten_tests: - python: - pytest_files: - - test_import_pyerfa.py + homepage: https://pyerfa.readthedocs.io/ diff --git a/recipes/recipes_emscripten/pyjs/recipe.yaml b/recipes/recipes_emscripten/pyjs/recipe.yaml index 20f2069df..3f5695019 100644 --- a/recipes/recipes_emscripten/pyjs/recipe.yaml +++ b/recipes/recipes_emscripten/pyjs/recipe.yaml @@ -2,37 +2,38 @@ context: version: 2.0.0 name: pyjs package: - name: '{{name}}' - version: '{{ version }}' + name: ${{name}} + version: ${{ version }} source: - - url: https://github.com/emscripten-forge/{{name}}/archive/refs/tags/{{version}}.tar.gz - sha256: 668f36da03ab81d35850205c47e96e1c08afc20559d72dc3c734bba2c678b826 +- url: + https://github.com/emscripten-forge/${{name}}/archive/refs/tags/${{version}}.tar.gz + sha256: 668f36da03ab81d35850205c47e96e1c08afc20559d72dc3c734bba2c678b826 build: number: 1 requirements: build: - - '{{ compiler("c") }}' - - '{{ compiler("cxx") }}' - - cmake - - make + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - cmake + - make host: - - python - - sqlite - - zlib - - bzip2 - - libffi - - pybind11 + - python + - sqlite + - zlib + - bzip2 + - libffi + - pybind11 about: - home: https://github.com/emscripten-forge/pyjs license: BSD-3-Clause license_family: BSD license_file: LICENSE summary: pyjs + homepage: https://github.com/emscripten-forge/pyjs extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/pyrsistent/recipe.yaml b/recipes/recipes_emscripten/pyrsistent/recipe.yaml index 921a7af2f..5269f0169 100644 --- a/recipes/recipes_emscripten/pyrsistent/recipe.yaml +++ b/recipes/recipes_emscripten/pyrsistent/recipe.yaml @@ -1,13 +1,13 @@ context: - version: "0.18.1" + version: 0.18.1 package: name: pyrsistent - version: "{{ version }}" + version: ${{ version }} source: - url: https://pypi.io/packages/source/p/pyrsistent/pyrsistent-{{ version }}.tar.gz + url: https://pypi.io/packages/source/p/pyrsistent/pyrsistent-${{ version }}.tar.gz sha256: d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96 build: @@ -15,23 +15,26 @@ build: requirements: build: - - python - - cross-python_emscripten-wasm32 - - "{{ compiler('c') }}" - - pip + - python + - cross-python_emscripten-wasm32 + - ${{ compiler('c') }} + - pip host: - - python + - python run: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_import_pyrsistent.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: http://github.com/tobgu/pyrsistent/ - PyPI: https://pypi.org/project/pyrsistent summary: Persistent/Functional/Immutable data structures license: MIT - -extra: - emscripten_tests: - python: - pytest_files: - - test_import_pyrsistent.py + homepage: http://github.com/tobgu/pyrsistent/ diff --git a/recipes/recipes_emscripten/pysocks/recipe.yaml b/recipes/recipes_emscripten/pysocks/recipe.yaml index 0190acb6d..78a9c58ed 100644 --- a/recipes/recipes_emscripten/pysocks/recipe.yaml +++ b/recipes/recipes_emscripten/pysocks/recipe.yaml @@ -1,41 +1,45 @@ context: - version: '1.7.1' + version: 1.7.1 package: name: pysocks - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/P/PySocks/PySocks-{{ version }}.tar.gz - sha256: 3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0 +- url: https://pypi.io/packages/source/P/PySocks/PySocks-${{ version }}.tar.gz + sha256: 3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0 build: number: 0 - script: "{{ PYTHON }} -m pip install . --no-deps -vv" + script: ${{ PYTHON }} -m pip install . --no-deps -vv requirements: build: - - python - - cross-python_emscripten-wasm32 - - pip + - python + - cross-python_emscripten-wasm32 + - pip host: - - python >=3.8 + - python >=3.8 run: - - python >=3.8 + - python >=3.8 +tests: +- script: pytester + files: + recipe: + - test_pysocks.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/Anorov/PySocks license_file: LICENSE license: BSD-3-Clause - summary: 'A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information.' + summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for + more information. license_family: BSD - doc_url: https://github.com/Anorov/PySocks/blob/master/README.md - dev_url: https://github.com/Anorov/PySocks - + homepage: https://github.com/Anorov/PySocks extra: - emscripten_tests: - python: - pytest_files: - - test_pysocks.py recipe-maintainers: - - martinRenou + - martinRenou diff --git a/recipes/recipes_emscripten/pytest/recipe.yaml b/recipes/recipes_emscripten/pytest/recipe.yaml index 784ab40ba..966a19868 100644 --- a/recipes/recipes_emscripten/pytest/recipe.yaml +++ b/recipes/recipes_emscripten/pytest/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: pytest - version: '{{ version }}' + version: ${{ version }} source: - url: https://pypi.io/packages/source/p/pytest/pytest-{{ version }}.tar.gz + url: https://pypi.io/packages/source/p/pytest/pytest-${{ version }}.tar.gz sha256: d507d4482197eac0ba2bae2e9babf0672eb333017bcedaa5fb1a3d42c1174b3f build: @@ -27,22 +27,24 @@ requirements: - six - iniconfig +tests: +- script: pytester + files: + recipe: + - test_pytest.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://docs.pytest.org/en/latest/ license: MIT license_file: LICENSE summary: Simple and powerful testing with Python. description: | The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. - doc_url: https://docs.pytest.org/en/latest/ - dev_url: https://github.com/pytest-dev/pytest/ - + homepage: https://docs.pytest.org/en/latest/ extra: - emscripten_tests: - python: - pytest_files: - - test_pytest.py - recipe-maintainers: - DerThorsten diff --git a/recipes/recipes_emscripten/python-sat/recipe.yaml b/recipes/recipes_emscripten/python-sat/recipe.yaml index 56028deb4..f4290630d 100644 --- a/recipes/recipes_emscripten/python-sat/recipe.yaml +++ b/recipes/recipes_emscripten/python-sat/recipe.yaml @@ -1,31 +1,37 @@ context: - version: '0.1.7.dev15' + version: 0.1.7.dev15 package: name: python-sat version: 0.1.7.dev15 source: - - sha256: 1b2735121952541a7ce4b4cb7a7c4bc95076220ec35ece58b88cf2a8e9694c78 - url: https://github.com/pysathq/pysat/releases/download/{{ version }}/python-sat-{{ version }}.tar.gz - patches: - - patches/force_malloc.patch - - patches/proper_build.patch +- sha256: 1b2735121952541a7ce4b4cb7a7c4bc95076220ec35ece58b88cf2a8e9694c78 + url: https://github.com/pysathq/pysat/releases/download/${{ version }}/python-sat-${{ + version }}.tar.gz + patches: + - patches/force_malloc.patch + - patches/proper_build.patch build: number: 0 requirements: build: - - '{{ compiler("c") }}' - - python - - cross-python_emscripten-wasm32 - - pip + - ${{ compiler("c") }} + - python + - cross-python_emscripten-wasm32 + - pip host: - - python + - python -extra: - emscripten_tests: - python: - pytest_files: - - test_import_python_sat.py +tests: +- script: pytester + files: + recipe: + - test_import_python_sat.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/python/recipe.yaml b/recipes/recipes_emscripten/python/recipe.yaml index 4dbd347be..8a1c61f54 100644 --- a/recipes/recipes_emscripten/python/recipe.yaml +++ b/recipes/recipes_emscripten/python/recipe.yaml @@ -3,44 +3,40 @@ context: pyodide_version: 0.24.0 name: python package: - name: '{{name}}' - version: '{{ version }}' + name: ${{name}} + version: ${{ version }} source: - - url: https://github.com/pyodide/pyodide/archive/refs/tags/{{pyodide_version}}.tar.gz - sha256: c8350c4780be44fe763a66f5024197025b0f8740cc4a7c9ad833a89c69916276 +- url: https://github.com/pyodide/pyodide/archive/refs/tags/${{pyodide_version}}.tar.gz + sha256: c8350c4780be44fe763a66f5024197025b0f8740cc4a7c9ad833a89c69916276 build: number: 24 string: h_hash_24_cpython - ignore_run_exports: - - nodejs - skip_compile_pyc: - - "**/*.py" + requirements: build: - - '{{ compiler("cxx") }}' - - '{{ compiler("c") }}' - - python=3.11 - - nodejs - - ccache - - f2c - - pkg-config - - swig - - make - - cmake - - pkg-config - - texinfo - - autoconf - - automake - - libtool - - patch # only needed on MacOS - - sed # only needed on MacOS - - wget + - ${{ compiler("cxx") }} + - ${{ compiler("c") }} + - python=3.11 + - nodejs + - ccache + - f2c + - pkg-config + - swig + - make + - cmake + - pkg-config + - texinfo + - autoconf + - automake + - libtool + - patch # only needed on MacOS + - sed # only needed on MacOS + - wget about: - home: https://www.python.org/ license: Python-2.0 license_file: LICENSE summary: General purpose programming language @@ -51,12 +47,8 @@ about: fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale. - doc_url: https://www.python.org/doc/versions/ - doc_source_url: https://github.com/python/pythondotorg/blob/master/docs/source/index.rst - dev_url: https://docs.python.org/devguide/ - - - + documentation: https://github.com/python/pythondotorg/blob/master/docs/source/index.rst + homepage: https://www.python.org/ extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/python_abi/recipe.yaml b/recipes/recipes_emscripten/python_abi/recipe.yaml index 056d73fd8..39dfb424e 100644 --- a/recipes/recipes_emscripten/python_abi/recipe.yaml +++ b/recipes/recipes_emscripten/python_abi/recipe.yaml @@ -3,21 +3,17 @@ context: version: "3.11" package: - name: '{{ name|lower }}' - version: '{{ version }}' + name: ${{ name|lower }} + version: ${{ version }} build: number: string: "0_cp311" about: - home: python_abi license: BSD-3-Clause summary: python_abi description: python_abi - doc_url: python_abi - dev_url: python_abi - extra: recipe-maintainers: - DerThorsten diff --git a/recipes/recipes_emscripten/pythran/recipe.yaml b/recipes/recipes_emscripten/pythran/recipe.yaml index 72e1cb1e5..335c1fb29 100644 --- a/recipes/recipes_emscripten/pythran/recipe.yaml +++ b/recipes/recipes_emscripten/pythran/recipe.yaml @@ -1,76 +1,41 @@ context: - version: "0.15.0" + version: 0.15.0 package: name: pythran - version: "{{ version }}" + version: ${{ version }} source: - url: https://github.com/serge-sans-paille/pythran/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/serge-sans-paille/pythran/archive/refs/tags/${{ version}}.tar.gz sha256: 082b80649a014e75dbdcde2220be47f5446d649362cc8cf9b14f611117a01550 patches: # this is necessary to fix a problem with mutable global # [wasm-validator error in module] unexpected true: Imported global cannot be mutable # https://github.com/emscripten-core/emscripten/issues/14460 - - patches/0001-remove-strip-all.patch + - patches/0001-remove-strip-all.patch build: number: 0 - entry_points: - - pythran = pythran.run:run - - pythran-config = pythran.config:run requirements: build: - - sel(build_platform != target_platform): python - - sel(build_platform != target_platform): cross-python_{{ target_platform }} - - sel(build_platform != target_platform): numpy >=1.25 - - "{{ compiler('cxx') }}" - # - clang # [win] - # - clangxx # [win] - - pip + - python + - cross-python_${{ target_platform }} + - numpy >=1.25 + - ${{ compiler('cxx') }} + - pip host: - - python - - numpy >=1.25 + - python + - numpy >=1.25 run: - # To ensure ABI compatibility, we install the same version of the C++ - # compiler that was used when building. This is probably not necessary and - # could be replaced with something like - # {{ cxx_compiler }}_{{ target_platform }} - # - "{{ compiler('cxx') }}" # [not win] - # - clang # [win] - # - clangxx # [win] - - python >=3.11 - - numpy >=1.25 - # - "{{ pin_compatible('numpy') }}" - - decorator - - gast 0.5.* - - ply >=3.4 - - beniget 0.4.* - # - xsimd >=8.0.5,<8.1 - -# test: -# files: -# - dprod.py -# - simple_numexpr.py -# commands: -# - set "SRC_DIR=" # [win] -# - pythran -v dprod.py -# - python -c "import dprod" -# - pythran -v simple_numexpr.py -DUSE_XSIMD -march=native # [not (ppc64le or (osx and arm64))] -# - pythran -v simple_numexpr.py -DUSE_XSIMD # [osx and arm64] -# - pythran -v simple_numexpr.py # [ppc64le] -# - python -c "import simple_numexpr" -# imports: -# - omp # [not win] -# - pythran -# - pythran.analyses -# - pythran.optimizations -# - pythran.transformations -# - pythran.types + - python >=3.11 + - numpy >=1.25 + - decorator + - gast 0.5.* + - ply >=3.4 + - beniget 0.4.* about: - home: http://github.com/serge-sans-paille/pythran license: BSD-3-Clause license_family: BSD license_file: LICENSE @@ -81,5 +46,4 @@ about: with a focus on scientific computing. It takes a Python module annotated with a few interface description and turns it into a native Python module with the same interface, but (hopefully) faster. - doc_url: https://pythran.readthedocs.io/ - dev_url: https://github.com/serge-sans-paille/pythran + homepage: http://github.com/serge-sans-paille/pythran diff --git a/recipes/recipes_emscripten/pywavelets/recipe.yaml b/recipes/recipes_emscripten/pywavelets/recipe.yaml index 74db85e31..f810c5f6c 100644 --- a/recipes/recipes_emscripten/pywavelets/recipe.yaml +++ b/recipes/recipes_emscripten/pywavelets/recipe.yaml @@ -1,55 +1,55 @@ context: name: PyWavelets - version: "1.4.1" + version: 1.4.1 package: - name: "{{ name|lower }}" - version: "{{ version }}" + name: ${{ name|lower }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz sha256: 6437af3ddf083118c26d8f97ab43b0724b956c9f958e9ea788659f6a2834ba93 patches: - - 0001-prevent-double-definition-linking.patch + - 0001-prevent-double-definition-linking.patch build: number: 1 - script: "{{ PYTHON }} -m pip install . --no-deps -vv" + script: ${{ PYTHON }} -m pip install . --no-deps -vv requirements: build: - - sel(build_platform != target_platform): python - - sel(build_platform != target_platform): cross-python_{{ target_platform }} - - sel(build_platform != target_platform): cython - - sel(build_platform != target_platform): numpy - - "{{ compiler('c') }}" - - pip + - python + - cross-python_${{ target_platform }} + - cython + - numpy + - ${{ compiler('c') }} + - pip host: - - python + - python # - cython - - numpy + - numpy run: - - python - # - {{ pin_compatible('numpy') }} - - numpy + - python + - numpy -# test: -# requires: -# - pytest -# imports: -# - pywt -# commands: +tests: +- script: pytester + files: + recipe: + - test_pywavelets.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/PyWavelets/pywt license: MIT license_file: LICENSE summary: Discrete Wavelet Transforms in Python + homepage: https://github.com/PyWavelets/pywt extra: recipe-maintainers: - - wolfv - emscripten_tests: - python: - pytest_files: - - test_pywavelets.py + - wolfv \ No newline at end of file diff --git a/recipes/recipes_emscripten/pyyaml/recipe.yaml b/recipes/recipes_emscripten/pyyaml/recipe.yaml index cd4a71c8b..e532e64a9 100644 --- a/recipes/recipes_emscripten/pyyaml/recipe.yaml +++ b/recipes/recipes_emscripten/pyyaml/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: pyyaml - version: '{{ version }}' + version: ${{ version }} source: - url: https://pypi.io/packages/source/P/PyYAML/PyYAML-{{ version }}.tar.gz + url: https://pypi.io/packages/source/P/PyYAML/PyYAML-${{ version }}.tar.gz sha256: 68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2 build: @@ -14,16 +14,21 @@ build: requirements: build: - - cross-python_emscripten-wasm32 - - python - - pip + - cross-python_emscripten-wasm32 + - python + - pip host: - - python + - python run: - - libyaml + - libyaml -extra: - emscripten_tests: - python: - pytest_files: - - test_import_pyyaml.py +tests: +- script: pytester + files: + recipe: + - test_import_pyyaml.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/qutip/recipe.yaml b/recipes/recipes_emscripten/qutip/recipe.yaml index a4c4b9496..e1d0c9206 100644 --- a/recipes/recipes_emscripten/qutip/recipe.yaml +++ b/recipes/recipes_emscripten/qutip/recipe.yaml @@ -1,53 +1,59 @@ context: - version: "5.0.1" + version: 5.0.1 package: name: qutip - version: "{{ version }}" + version: ${{ version }} source: - url: https://github.com/qutip/qutip/archive/v{{ version }}.tar.gz + url: https://github.com/qutip/qutip/archive/v${{ version }}.tar.gz sha256: 59517336571223266b7771db049769ac3a286fda5ae02d469885ec8c237a23b6 build: number: 0 - script: "{{ PYTHON }} -m pip install . --no-deps -vv" # [not win] + script: ${{ PYTHON }} -m pip install . --no-deps -vv # [not win] requirements: build: - - sel(build_platform != target_platform): python - - sel(build_platform != target_platform): cross-python_{{ target_platform }} - - sel(build_platform != target_platform): cython - - sel(build_platform != target_platform): numpy - - sel(build_platform != target_platform): setuptools - - "{{ compiler('cxx') }}" - - packaging <=21.3 - - pip + - python + - cross-python_${{ target_platform }} + - cython + - numpy + - setuptools + - ${{ compiler('cxx') }} + - packaging <=21.3 + - pip host: - - python - - numpy - - scipy >=1.0 + - python + - numpy + - scipy >=1.0 run: - - python + - python # - "{{ pin_compatible('numpy') }}" - - numpy - - scipy >=1.0 - - packaging + - numpy + - scipy >=1.0 + - packaging # test: # imports: # - "qutip" +tests: +- script: pytester + files: + recipe: + - test_qutip.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: http://qutip.org license: BSD-3-Clause license_file: LICENSE.txt - summary: QuTiP is open-source software for simulating the dynamics of open quantum systems and optimal quantum control + summary: QuTiP is open-source software for simulating the dynamics of open quantum + systems and optimal quantum control + homepage: http://qutip.org extra: recipe-maintainers: - - hodgestar - - emscripten_tests: - python: - pytest_files: - - test_qutip.py + - hodgestar \ No newline at end of file diff --git a/recipes/recipes_emscripten/rapidjson/recipe.yaml b/recipes/recipes_emscripten/rapidjson/recipe.yaml index 259684bb0..b8fe74576 100644 --- a/recipes/recipes_emscripten/rapidjson/recipe.yaml +++ b/recipes/recipes_emscripten/rapidjson/recipe.yaml @@ -3,30 +3,27 @@ context: package: name: rapidjson - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/Tencent/rapidjson/archive/refs/tags/v{{ version }}.tar.gz + url: https://github.com/Tencent/rapidjson/archive/refs/tags/v${{ version }}.tar.gz sha256: bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja about: - home: https://github.com/Tencent/rapidjson license: MIT license_family: MIT license_file: license.txt summary: rapidjson for C++ - doc_url: https://github.com/Tencent/rapidjson - dev_url: https://github.com/Tencent/rapidjson - + homepage: https://github.com/Tencent/rapidjson extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/re2/recipe.yaml b/recipes/recipes_emscripten/re2/recipe.yaml index a1f032563..c233158e8 100644 --- a/recipes/recipes_emscripten/re2/recipe.yaml +++ b/recipes/recipes_emscripten/re2/recipe.yaml @@ -4,10 +4,10 @@ context: package: name: re2 - version: '{{ version }}' + version: ${{ version }} source: -- url: http://github.com/google/re2/archive/{{ versionhyphen }}.tar.gz +- url: http://github.com/google/re2/archive/${{ versionhyphen }}.tar.gz sha256: 8c45f7fba029ab41f2a7e6545058d9eec94eef97ce70df58e92d85cfc08b4669 patches: - patches/no-context.patch @@ -17,21 +17,19 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - '{{ compiler("c") }}' + - ${{ compiler("cxx") }} + - ${{ compiler("c") }} - cmake - make - ninja about: - home: https://github.com/google/re2/ license: BSD-3-Clause license_file: LICENSE summary: | RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library. - dev_url: https://github.com/google/re2/ - + homepage: https://github.com/google/re2/ extra: recipe-maintainers: - martinRenou diff --git a/recipes/recipes_emscripten/regex/recipe.yaml b/recipes/recipes_emscripten/regex/recipe.yaml index e940809f8..e65b4191d 100644 --- a/recipes/recipes_emscripten/regex/recipe.yaml +++ b/recipes/recipes_emscripten/regex/recipe.yaml @@ -3,11 +3,11 @@ context: name: "regex" package: - name: "{{ name }}" - version: "{{ version }}" + name: ${{ name }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/r/{{name}}/{{name}}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/r/${{name}}/${{name}}-${{ version }}.tar.gz sha256: 97f32dc03a8054a4c4a5ab5d761ed4861e828b2c200febd4e46857069a483916 build: @@ -17,28 +17,33 @@ requirements: build: - python - cross-python_emscripten-wasm32 - - '{{ compiler("c") }}' + - ${{ compiler("c") }} - pip host: - python run: - python + +tests: + - script: pytester + requirements: + build: + - pytester >= 0.9.0 + run: + - pytester-run >= 0.9.0 + files: + recipe: + - test_regex.py + about: - home: https://bitbucket.org/mrabarnett/mrab-regex - # https://bitbucket.org/mrabarnett/mrab-regex/issues/124/please-add-a-license-file-to-the-package + homepage: https://bitbucket.org/mrabarnett/mrab-regex license: Python-2.0 license_file: LICENSE.txt license_family: PSF summary: Alternative regular expression module, to replace re extra: - emscripten_tests: - python: - pytest_files: - - test_regex.py - - test_fail.py - recipe-maintainers: - DerThorsten diff --git a/recipes/recipes_emscripten/regex/rattler_recipe.yaml b/recipes/recipes_emscripten/regex/recipe_legacy.yaml similarity index 54% rename from recipes/recipes_emscripten/regex/rattler_recipe.yaml rename to recipes/recipes_emscripten/regex/recipe_legacy.yaml index e65b4191d..49a5ed3f7 100644 --- a/recipes/recipes_emscripten/regex/rattler_recipe.yaml +++ b/recipes/recipes_emscripten/regex/recipe_legacy.yaml @@ -3,11 +3,11 @@ context: name: "regex" package: - name: ${{ name }} - version: ${{ version }} + name: "{{ name }}" + version: "{{ version }}" source: - url: https://pypi.io/packages/source/r/${{name}}/${{name}}-${{ version }}.tar.gz + url: https://pypi.io/packages/source/r/{{name}}/{{name}}-{{ version }}.tar.gz sha256: 97f32dc03a8054a4c4a5ab5d761ed4861e828b2c200febd4e46857069a483916 build: @@ -17,27 +17,16 @@ requirements: build: - python - cross-python_emscripten-wasm32 - - ${{ compiler("c") }} + - '{{ compiler("c") }}' - pip host: - python run: - python - -tests: - - script: pytester - requirements: - build: - - pytester >= 0.9.0 - run: - - pytester-run >= 0.9.0 - files: - recipe: - - test_regex.py - about: - homepage: https://bitbucket.org/mrabarnett/mrab-regex + home: https://bitbucket.org/mrabarnett/mrab-regex + # https://bitbucket.org/mrabarnett/mrab-regex/issues/124/please-add-a-license-file-to-the-package license: Python-2.0 license_file: LICENSE.txt license_family: PSF diff --git a/recipes/recipes_emscripten/rice/recipe.yaml b/recipes/recipes_emscripten/rice/recipe.yaml index 6bb972ec4..8ecaf4a20 100644 --- a/recipes/recipes_emscripten/rice/recipe.yaml +++ b/recipes/recipes_emscripten/rice/recipe.yaml @@ -3,11 +3,11 @@ context: version: 4.3.1 package: - name: "{{ name }}" - version: "{{ version }}" + name: ${{ name }} + version: ${{ version }} source: - url: https://github.com/jasonroelofs/{{ name }}/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jasonroelofs/${{ name }}/archive/refs/tags/${{ version }}.tar.gz sha256: fb34402bf0f79a900fa02bd7396a35d661165f0975a93aee902e89e59adf045c build: @@ -15,16 +15,14 @@ build: requirements: build: - - "{{ compiler('cxx') }}" - -test: - commands: - - sel(emscripten): test -f $PREFIX/include/rice/rice.hpp - - sel(emscripten): test -f $PREFIX/include/rice/stl.hpp + - ${{ compiler('cxx') }} +tests: +- script: + - test -f $PREFIX/include/rice/rice.hpp + - test -f $PREFIX/include/rice/stl.hpp about: - home: https://github.com/jasonroelofs/rice - summary: 'Ruby Interface for C++ Extensions' + summary: Ruby Interface for C++ Extensions description: | Rice is a C++ header-only library that serves dual purposes. First, it makes it much easier to create Ruby bindings for existing C++ libraries. Second, @@ -32,8 +30,7 @@ about: to embed Ruby and write Ruby extensions in C++. license: BSD-2-Clause license_file: COPYING - doc_url: http://jasonroelofs.github.io/rice - + homepage: https://github.com/jasonroelofs/rice extra: recipe-maintainers: - - IsabelParedes + - IsabelParedes diff --git a/recipes/recipes_emscripten/robotics-toolbox-python/recipe.yaml b/recipes/recipes_emscripten/robotics-toolbox-python/recipe.yaml index 43d3625ed..a4a2bcd21 100644 --- a/recipes/recipes_emscripten/robotics-toolbox-python/recipe.yaml +++ b/recipes/recipes_emscripten/robotics-toolbox-python/recipe.yaml @@ -1,43 +1,42 @@ context: - name: "robotics-toolbox-python" - version: "1.0.2.post1" + name: robotics-toolbox-python + version: 1.0.2.post1 package: - name: "{{ name }}" - version: "{{ version }}" + name: ${{ name }} + version: ${{ version }} source: - git_url: https://github.com/wolfv/robotics-toolbox-python - git_rev: swiftless + git: https://github.com/wolfv/robotics-toolbox-python + rev: swiftless build: number: 1 - script: "{{ PYTHON }} -m pip install . -vvv --no-deps" + script: ${{ PYTHON }} -m pip install . -vvv --no-deps requirements: build: - - "{{ compiler('cxx') }}" - - "{{ compiler('c') }}" - - "cross-python_{{ target_platform }}" - - python - - numpy + - ${{ compiler('cxx') }} + - ${{ compiler('c') }} + - cross-python_${{ target_platform }} + - python + - numpy host: - - python - - numpy + - python + - numpy run: - - numpy - - spatialmath-python - - spatialgeometry - - pgraph-python - - scipy - - matplotlib - - ansitable + - numpy + - spatialmath-python + - spatialgeometry + - pgraph-python + - scipy + - matplotlib + - ansitable # "swift-sim~=1.0.0 - - rtb-data - - progress + - rtb-data + - progress about: - home: https://github.com/petercorke/robotics-toolbox-python license: MIT license_file: LICENSE summary: Robotics Toolbox for Python @@ -47,10 +46,8 @@ about: of the open-source ecosystem for linear algebra (numpy, scipy), graphics (matplotlib, three.js, WebGL), interactive development (jupyter, jupyterlab, mybinder.org), and documentation (sphinx). - doc_url: https://petercorke.github.io/robotics-toolbox-python/ - dev_url: https://github.com/petercorke/robotics-toolbox-python - + homepage: https://github.com/petercorke/robotics-toolbox-python extra: recipe-maintainers: - - ihuicatl - - wolfv + - ihuicatl + - wolfv diff --git a/recipes/recipes_emscripten/robotraconteur/recipe.yaml b/recipes/recipes_emscripten/robotraconteur/recipe.yaml index c85b136d3..6785bbf6c 100644 --- a/recipes/recipes_emscripten/robotraconteur/recipe.yaml +++ b/recipes/recipes_emscripten/robotraconteur/recipe.yaml @@ -1,13 +1,14 @@ context: - name: "robotraconteur" - version: "0.15.1" + name: robotraconteur + version: 0.15.1 package: - name: "{{ name }}" - version: "{{ version }}" + name: ${{ name }} + version: ${{ version }} source: - url: https://github.com/robotraconteur/robotraconteur_pyodide/releases/download/v{{ version }}-pyodide/RobotRaconteur-pyodide-{{ version }}-post1-Source.tar.gz + url: https://github.com/robotraconteur/robotraconteur_pyodide/releases/download/v${{ + version }}-pyodide/RobotRaconteur-pyodide-${{ version }}-post1-Source.tar.gz sha256: 224427d0922dcb34d17221c1f3b8b5e94ebddc109f24f8e9a3f7f5d090386dc6 build: @@ -15,26 +16,24 @@ build: requirements: build: - - "{{ compiler('cxx') }}" - - cmake - - python - - numpy + - ${{ compiler('cxx') }} + - cmake + - python + - numpy host: - - python - - numpy - - boost-cpp + - python + - numpy + - boost-cpp run: - - numpy + - numpy about: - home: https://github.com/robotraconteur/robotraconteur license: Apache-2.0 license_family: Apache license_file: LICENSE.txt - summary: A communication framework for robotics and the Internet of Things, developed by Wason Technology, LLC - doc_url: https://github.com/robotraconteur/robotraconteur - dev_url: https://github.com/robotraconteur/robotraconteur - + summary: A communication framework for robotics and the Internet of Things, developed + by Wason Technology, LLC + homepage: https://github.com/robotraconteur/robotraconteur extra: recipe-maintainers: - - ihuicatl + - ihuicatl diff --git a/recipes/recipes_emscripten/ruby/recipe.yaml b/recipes/recipes_emscripten/ruby/recipe.yaml index e608d448e..88946251a 100644 --- a/recipes/recipes_emscripten/ruby/recipe.yaml +++ b/recipes/recipes_emscripten/ruby/recipe.yaml @@ -1,13 +1,13 @@ context: - version: 3.2.0 + version: 3.2.0 name: ruby package: - name: '{{ name }}' - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} source: - url: https://github.com/IsabelParedes/ruby.wasm/releases/download/v{{ version }}/ruby-3.2-wasm32-unknown-emscripten-full.tar.gz + url: https://github.com/IsabelParedes/ruby.wasm/releases/download/v${{ version }}/ruby-3.2-wasm32-unknown-emscripten-full.tar.gz sha256: 52ecd2fb03e81d04cf896fe7806182c3db6a8562cf5c9150bf3de98f35aac6d6 build: @@ -15,25 +15,22 @@ build: requirements: build: - - "{{ compiler('c') }}" - -test: - commands: - - sel(emscripten): test -f $PREFIX/bin/ruby.wasm - - sel(emscripten): test -f $PREFIX/lib/libruby-static.a + - ${{ compiler('c') }} +tests: +- script: + - test -f $PREFIX/bin/ruby.wasm + - test -f $PREFIX/lib/libruby-static.a about: - home: https://www.ruby-lang.org/ license: BSD-2-Clause license_family: BSD license_file: COPYING - summary: A dynamic, open source programming language with a focus on simplicity and productivity. + summary: A dynamic, open source programming language with a focus on simplicity + and productivity. description: | A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. - doc_url: https://www.ruby-lang.org/en/documentation/ - dev_url: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi/ - + homepage: https://www.ruby-lang.org/ extra: recipe-maintainers: - - IsabelParedes + - IsabelParedes diff --git a/recipes/recipes_emscripten/scikit-image/recipe.yaml b/recipes/recipes_emscripten/scikit-image/recipe.yaml index 05d22093c..9254f6ab1 100644 --- a/recipes/recipes_emscripten/scikit-image/recipe.yaml +++ b/recipes/recipes_emscripten/scikit-image/recipe.yaml @@ -1,114 +1,60 @@ context: - version: "0.19.3" + version: 0.19.3 package: name: scikit-image - version: "{{ version }}" + version: ${{ version }} source: - url: https://pypi.io/packages/source/s/scikit-image/scikit-image-{{ version }}.tar.gz + url: https://pypi.io/packages/source/s/scikit-image/scikit-image-${{ version }}.tar.gz sha256: 24b5367de1762da6ee126dd8f30cc4e7efda474e0d7d70685433f0e3aa2ec450 patches: - - patches/make-tifffile-optional.patch - - patches/preferred_plugins.patch + - patches/make-tifffile-optional.patch + - patches/preferred_plugins.patch build: number: 0 - entry_points: - - skivi = skimage.scripts.skivi:main + # entry_points: + # - skivi = skimage.scripts.skivi:main requirements: build: - - sel(build_platform != target_platform): python - - sel(build_platform != target_platform): cross-python_{{ target_platform }} - - sel(build_platform != target_platform): cython - - sel(build_platform != target_platform): numpy - # # pythran code needs clang-cl on windows - # - clang # [win] - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - packaging >=20.0 - - pip + - python + - cross-python_${{ target_platform }} + - cython + - numpy + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + - packaging >=20.0 + - pip host: - - python - # - cython >=0.29.21,!=0.29.18 - - numpy - - pythran + - python + - numpy + - pythran run: - - python - # - {{ pin_compatible('numpy') }} - - numpy - - scipy >=1.4.1 - - networkx >=2.2 - - pillow >=6.1.0,!=7.1.0,!=7.1.1,!=8.3.0 - - imageio >=2.3.0 - # - tifffile >=2019.7.26 - - pywavelets >=1.1.1 - - packaging >=20.0 - # scikit-image depends on dask-array - # which requires numpy, dask-core and toolz (cytoolz for speed) - # - dask-core >=1.0.0,!=2.17.0 - # - toolz >=0.7.3 - # - cytoolz >=0.7.3 # [python_impl == 'cpython'] - # # cloudpickle is necessary to provide the 'processes' scheduler for dask - # - cloudpickle >=0.2.1 - run_constrained: - - matplotlib-base >=3.0.3 - - pooch >=1.3.0 + - python + - numpy + - scipy >=1.4.1 + - networkx >=2.2 + - pillow >=6.1.0,!=7.1.0,!=7.1.1,!=8.3.0 + - imageio >=2.3.0 + - pywavelets >=1.1.1 + - packaging >=20.0 + - matplotlib-base >=3.0.3 + - pooch >=1.3.0 -# Issues reported upstream. Follow -# https://github.com/scikit-image/scikit-image/issues/4768 - -# {% set tests_to_skip = "_not_a_real_test" %} -# # https://github.com/scikit-image/scikit-image/issues/4774 - test_end_points fails on ppc64le with python 3.6, 3.7, 3.8 #4774 -# {% set tests_to_skip = tests_to_skip + " or test_end_points" %} # [ppc64le or aarch64] -# # https://github.com/scikit-image/scikit-image/issues/4773 - test_RGB fails on ppc64le with python 3.7 #4773 -# {% set tests_to_skip = tests_to_skip + " or test_RGB" %} # [ppc64le or aarch64] -# # https://github.com/scikit-image/scikit-image/issues/4772 - test_periodic_reference fails on ppc64le python 3.7 (conda feedstock) #4772 -# {% set tests_to_skip = tests_to_skip + " or test_periodic_reference" %} # [ppc64le or aarch64] -# # https://github.com/scikit-image/scikit-image/issues/4775 - test_hdx_rgb_roundtrip fail son osx with python 3.8 #4775 -# {% set tests_to_skip = tests_to_skip + " or test_hdx_rgb_roundtrip" %} # [ppc64le or aarch64 or osx] -# # https://github.com/scikit-image/scikit-image/issues/4776 test_hed_rgb_roundtrip fails on osx with python3.8 and ppc64le with python 3.6 #4776 -# {% set tests_to_skip = tests_to_skip + " or test_hed_rgb_roundtrip" %} # [ppc64le or aarch64 or osx] -# # https://github.com/scikit-image/scikit-image/issues/4778 - test_hed_rgb_float_roundtrip fails on ppc64le python 3.8 #4778 -# {% set tests_to_skip = tests_to_skip + " or test_hed_rgb_float_roundtrip" %} # [ppc64le] -# # https://github.com/scikit-image/scikit-image/issues/4781 - test_ellipse_rotated fails on python3.8 #4781 -# {% set tests_to_skip = tests_to_skip + " or test_ellipse_rotated" %} # [ppc64le] -# # https://github.com/scikit-image/scikit-image/issues/4785 - test_fixed_reference fails on ppc64le with python 3.7 #4785 -# {% set tests_to_skip = tests_to_skip + " or test_fixed_reference" %} # [ppc64le] -# # https://github.com/scikit-image/scikit-image/issues/4782 - test_free_reference fails on ppc64le with python 3.6 #4782 -# {% set tests_to_skip = tests_to_skip + " or test_free_reference" %} # [ppc64le] -# # https://github.com/scikit-image/scikit-image/issues/4777 - test_uint16 fails on win #4777 -# {% set tests_to_skip = tests_to_skip + " or test_uint16" %} # [win] -# # TODO: Report this upstream -# # It seems that the apply_parallel tests can have relatively small errors on windows -# {% set tests_to_skip = tests_to_skip + " or test_apply_parallel_rgb" %} # [win] - -# # skip known failure on Windows PyPy builds -# {% set tests_to_skip = tests_to_skip + " or test_hough_ellipse_zero_angle or test_hough_ellipse_non_zero" %} # [win and (python_impl == 'pypy')] -# # This used to be a known failure in Python 3.4 that resurfaced in PyPy3.7 -# # https://github.com/conda-forge/scikit-image-feedstock/pull/91#issuecomment-1153888057 -# {% set tests_to_skip = tests_to_skip + " or test_wrap_aroun" %} # [python_impl == 'pypy'] - -# test: -# requires: -# - pytest -# - pytest-localserver -# # Include pooch to ensure full test coverage -# - pooch # [not (ppc64le or aarch64)] -# imports: -# - skimage -# commands: -# - setx MPLBACKEND "Agg" # [win] -# - export MPLBACKEND=Agg # [unix] -# # A warning in numpy that makes tests fail has been fixed in 0.18 -# # Remove this then. -# # tests run slowly on ci servers, so we skip them -# - SKIMAGE_TEST_STRICT_WARNINGS=0 pytest --pyargs skimage -k "not ({{ tests_to_skip }})" # [unix and x86_64] -# - set "SKIMAGE_TEST_STRICT_WARNINGS=0" & pytest --pyargs skimage -k "not ({{ tests_to_skip }})" # [win] +tests: +- script: pytester + files: + recipe: + - test_skimage.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: http://scikit-image.org/ license: BSD-3-Clause license_file: LICENSE.txt summary: Image processing in Python. @@ -118,10 +64,7 @@ about: We pride ourselves on high-quality, peer-reviewed code, written by an active community of volunteers. + homepage: http://scikit-image.org/ extra: recipe-maintainers: - - wolfv - emscripten_tests: - python: - pytest_files: - - test_skimage.py + - wolfv \ No newline at end of file diff --git a/recipes/recipes_emscripten/scikit-learn/recipe.yaml b/recipes/recipes_emscripten/scikit-learn/recipe.yaml index 26ebad486..03228bcae 100644 --- a/recipes/recipes_emscripten/scikit-learn/recipe.yaml +++ b/recipes/recipes_emscripten/scikit-learn/recipe.yaml @@ -1,127 +1,64 @@ context: - version: "1.1.1" + version: 1.1.1 package: name: scikit-learn - version: "{{ version }}" + version: ${{ version }} source: - url: https://github.com/scikit-learn/scikit-learn/archive/{{ version }}.tar.gz + url: https://github.com/scikit-learn/scikit-learn/archive/${{ version }}.tar.gz sha256: 568e621b9e1479b9ab952a9241db5af2ba3ab4f69d44b8aba3dd7648825e8e5a patches: - - patches/patch_away_urllib.patch + - patches/patch_away_urllib.patch build: number: 3 script: - - export CFLAGS="$CFLAGS -Wno-implicit-function-declaration" - - python -m pip install . -vv + - export CFLAGS="$CFLAGS -Wno-implicit-function-declaration" + - python -m pip install . -vv requirements: build: - - sel(build_platform != target_platform): python - - sel(build_platform != target_platform): cross-python_{{ target_platform }} - - sel(build_platform != target_platform): cython <= 2 - - sel(build_platform != target_platform): numpy - - sel(build_platform != target_platform): scipy - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - sel(osx): llvm-openmp - - pip - - setuptools + - python + - cross-python_${{ target_platform }} + - cython <= 2 + - numpy + - scipy + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + + - pip + - setuptools host: - - python - # temporary pin pip to avoid missing oldest-supported-numpy error - # - cython >=0.29.24 - # - libcblas - - numpy - - scipy - - joblib >=1.0.0 - - threadpoolctl >=2.0.0 - - sel(osx): llvm-openmp + - python + - numpy + - scipy + - joblib >=1.0.0 + - threadpoolctl >=2.0.0 run: - - python - # - {{ pin_compatible('numpy') }} - - numpy - - scipy - - joblib >=1.0.0 - - threadpoolctl >=2.0.0 + - python + - numpy + - scipy + - joblib >=1.0.0 + - threadpoolctl >=2.0.0 -# {% set tests_to_skip = "_not_a_real_test" %} -# {% set extra_pytest_args = "" %} -# # https://github.com/scikit-learn/scikit-learn/issues/20335 -# {% set tests_to_skip = tests_to_skip + " or test_loadings_converges" %} -# # Numerically unstable test numerical difference in test -# {% set tests_to_skip = tests_to_skip + " or test_mlp_regressor_dtypes_casting" %} # [ppc64le] -# {% if aarch64 and CI %} -# # due to emulation through QEMU, the tests for aarch run very long; -# # azure has different linux agents, and the weaker ones can be a factor 2 slower; -# # skip longest-running ones; all run >60sec (on fast agents) resp. >90sec (on slow agents); -# # since pytest -k skips on string matches, try to match accurately to avoid skipping more than intended -# {% set tests_to_skip = tests_to_skip + " or (test_quantile and (test_asymmetric_error -# or test_quantile_estimates_calibration or test_quantile_sample_weight))" -# + " or test_kernel_pca_solvers_equivalence or test_n_iter_no_change_inf" -# + " or test_iterative_imputer_no_missing or (test_voting and test_gridsearch)" -# + " or test_svc_ovr_tie_breaking or test_check_estimator_clones" -# + " or (test_estimators and QuantileRegressor)" -# + " or (test_pairwise and test_cosine_distances)" -# + " or test_randomized_eigsh_reconst_low_rank" -# + " or test_randomized_svd_power_iteration_normalizer" -# + " or test_SGDClassifier_fit_for_all_backends" -# + " or test_classifier_chain_fit_and_predict_with_linear_svc" -# + " or (test_gradient_boosting and test_poisson)" -# + " or (test_ridge and test_lbfgs_solver_consistency)" -# + " or (test_linear_models_cv_fit_for_all_backends and MultiTask)" -# + " or test_spectral_embedding_callable_affinity" -# + " or test_spectral_embedding_precomputed_affinity" %} -# # this problem is exacerbated for PyPy; skip some more tests there -# {% if python_impl == "pypy" %} -# {% set tests_to_skip = tests_to_skip + " or (test_bagging and (test_regression or test_classification))" -# + " or (check_estimator_sparse_data and (Sequential or TSNE or RFECV))" -# + " or (test_ensemble_heterogeneous_estimators_behavior and stacking)" -# + " or test_rfe_cv_groups or test_nan_support" -# + " or (test_tsne_different_square_distances and exact)" -# + " or (test_forest and test_class_weights[RandomForestClassifier])" -# + " or test_kde_sample_weights or test_uniform_grid[exact]" -# + " or test_parallel_classification or test_sparse_coder_parallel_mmap" -# + " or test_sparse_precomputed_distance or test_n_iter_no_change_inf" -# + " or test_randomized_eigsh_compared_to_others" -# + " or (test_quantile and test_equivariance)" -# + " or (test_estimators and GaussianProcessClassifier)" -# + " or (test_stacking_with_sample_weight and StackingClassifier)" -# + " or (test_mlp and test_partial_fit_classification)" -# + " or (test_tree and test_min_impurity_decrease)" -# + " or test_scores_attribute_layout_elasticnet" -# + " or (test_warning_default_transform_alpha and MiniBatch)" -# + " or (test_tsne_different_square_distances and barnes_hut)" -# + " or (test_kernel_approximation and test_polynomial_count_sketch)" -# + " or test_sample_without_replacement_algorithms" %} -# {% endif %} -# {% endif %} -# test: -# requires: -# - pytest >=5.0.1 -# - cython >=0.29.24 -# - pytest-xdist -# - pytest-timeout -# imports: -# - sklearn -# commands: -# # reduce contention for parallelism (xdist-workers, openblas, openmp) that -# # actually increases the runtime and can lead to timeouts -# - export OMP_NUM_THREADS=1 # [aarch64 or ppc64le] -# - pytest --pyargs sklearn -k "not ({{ tests_to_skip }})" -nauto --timeout=1200 --durations=50 # [not ppc64le] -# # NOTE: test suite is skipped on ppc due to bugs in QEMU code that cause -# # CI to fail, even though the tests should run through on native hardware +tests: +- script: pytester + files: + recipe: + - test_sklearn.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: http://scikit-learn.org/ license: BSD-3-Clause license_file: COPYING summary: A set of python modules for machine learning and data mining - dev_url: https://github.com/scikit-learn/scikit-learn - + homepage: http://scikit-learn.org/ extra: recipe-maintainers: - - wolfv + - wolfv diff --git a/recipes/recipes_emscripten/scipy/recipe.yaml b/recipes/recipes_emscripten/scipy/recipe.yaml index 59f4652c6..47e3b96e8 100644 --- a/recipes/recipes_emscripten/scipy/recipe.yaml +++ b/recipes/recipes_emscripten/scipy/recipe.yaml @@ -1,22 +1,31 @@ context: - version: 1.11.1 + version: 1.11.1 name: scipy package: - name: '{{ name }}' - version: '{{ version }}' + name: ${{ name }} + version: ${{ version }} build: number: 1 requirements: build: - - "{{ compiler('c') }}" - + - ${{ compiler('c') }} run: - - openblas - - numpy + - openblas + - numpy +tests: +- script: pytester + files: + recipe: + - test_scipy.py + requirements: + build: + - pytester + run: + - pytester-run extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/spatialgeometry/recipe.yaml b/recipes/recipes_emscripten/spatialgeometry/recipe.yaml index 9057b067b..ad11c273a 100644 --- a/recipes/recipes_emscripten/spatialgeometry/recipe.yaml +++ b/recipes/recipes_emscripten/spatialgeometry/recipe.yaml @@ -1,45 +1,55 @@ context: - name: "spatialgeometry" - version: "1.1.0" + name: spatialgeometry + version: 1.1.0 package: - name: "{{ name|lower }}" - version: "{{ version }}" + name: ${{ name|lower }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/spatialgeometry-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/spatialgeometry-${{ + version }}.tar.gz sha256: 98b2b1023eed6197d26f31cf4643c51d1a41059ac6036a10b16dc389ec6af5a6 build: number: 0 - script: "{{ PYTHON }} -m pip install . -vv" + script: ${{ PYTHON }} -m pip install . -vv requirements: build: - - "{{ compiler('c') }}" - - "{{ compiler('cxx') }}" - - python # [build_platform != target_platform] - - "cross-python_{{ target_platform }}" # [build_platform != target_platform] - - numpy # [build_platform != target_platform] - - pip + - ${{ compiler('c') }} + - ${{ compiler('cxx') }} + - python # [build_platform != target_platform] + - cross-python_${{ target_platform }} # [build_platform != target_platform] + - numpy # [build_platform != target_platform] + - pip host: - - numpy - - python + - numpy + - python run: - - python - - spatialmath-python >=1.0.0 - - numpy + - python + - spatialmath-python >=1.0.0 + - numpy + + + +tests: + - script: pytester + requirements: + build: + - pytester + run: + - pytester-run + files: + recipe: + - test_spatialgeometry.py about: - home: https://github.com/jhavl/spatialgeometry summary: A Shape and Geometry Package license: MIT license_file: LICENSE + homepage: https://github.com/jhavl/spatialgeometry extra: recipe-maintainers: - - ihuicatl - emscripten_tests: - python: - pytest_files: - - test_spatialgeometry.py + - ihuicatl \ No newline at end of file diff --git a/recipes/recipes_emscripten/sqlalchemy/recipe.yaml b/recipes/recipes_emscripten/sqlalchemy/recipe.yaml index f4a5445b2..205beed85 100644 --- a/recipes/recipes_emscripten/sqlalchemy/recipe.yaml +++ b/recipes/recipes_emscripten/sqlalchemy/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: sqlalchemy - version: '{{ version }}' + version: ${{ version }} source: - url: https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-{{ version }}.tar.gz + url: https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-${{ version }}.tar.gz sha256: a4cdac392547dec07d69c5e8b05374b0357359ebc58ab2bbcb9fa0370ecb715f build: @@ -15,8 +15,8 @@ build: requirements: build: - python # [build_platform != target_platform] - - cross-python_{{ target_platform }} # [build_platform != target_platform] - - "{{ compiler('c') }}" + - cross-python_${{ target_platform }} # [build_platform != target_platform] + - ${{ compiler('c') }} - pip host: - python @@ -24,13 +24,18 @@ requirements: - python - typing-extensions +tests: +- script: pytester + files: + recipe: + - test_import_sqlalchemy.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://www.sqlalchemy.org summary: Database Abstraction Library license: MIT -extra: - emscripten_tests: - python: - pytest_files: - - test_import_sqlalchemy.py + homepage: https://www.sqlalchemy.org diff --git a/recipes/recipes_emscripten/sqlite/recipe.yaml b/recipes/recipes_emscripten/sqlite/recipe.yaml index 349d6d830..a4477b7e2 100644 --- a/recipes/recipes_emscripten/sqlite/recipe.yaml +++ b/recipes/recipes_emscripten/sqlite/recipe.yaml @@ -1,15 +1,15 @@ context: - version: '3.37.2' + version: 3.37.2 package: name: sqlite - version: '{{ version }}' + version: ${{ version }} source: url: https://www.sqlite.org/2022/sqlite-autoconf-3370200.tar.gz - patches: - - sel(win): patches/expose_symbols.patch # [win] + sha256: 4089a8d9b467537b3f246f217b84cd76e00b1d1a971fe5aca1e30e230e46b2d8 + build: number: 3 @@ -20,33 +20,26 @@ build: requirements: build: - - "{{ compiler('c') }}" - - sel(not win): make # [not win] - - sel(not win): libtool # [not win] + - ${{ compiler('c') }} + - make + - libtool host: - - sel(not win and not emscripten): ncurses # [not win] - - sel(not win and not emscripten): readline # [not win] - - sel(not win): zlib # [not win] - run: - - sel(not win and not emscripten): ncurses # [not win] - - sel(not win and not emscripten): readline # [not win] - - sel(not win and not emscripten): zlib # [not win] - -test: - commands: - - sel(not emscripten): sqlite3 --version - - sel(win): if not exist %PREFIX%\\Library\bin\sqlite3.dll exit 1 # [win] - - sel(win): if not exist %PREFIX%\\Library\lib\sqlite3.lib exit 1 # [win] - - sel(not win and not emscripten): test -f $PREFIX/lib/libsqlite3${SHLIB_EXT} # [not win] - - sel(not win and not emscripten): test ! -f $PREFIX/lib/libsqlite3.a # [not win] - - sel(emscripten): test -f $PREFIX/lib/libsqlite3.a # [not win] - - sel(win): if not exist %PREFIX%\\Library\include\sqlite3.h exit 1 # [win] - - sel(win): if not exist %PREFIX%\\Library\include\sqlite3ext.h exit 1 # [win] - - sel(not win): test -f $PREFIX/include/sqlite3.h # [not win] - - sel(not win): test -f $PREFIX/include/sqlite3ext.h # [not win] - + - zlib + + +tests: +- script: + - sqlite3 --version + - if not exist %PREFIX%\\Library\bin\sqlite3.dll exit 1 + - if not exist %PREFIX%\\Library\lib\sqlite3.lib exit 1 + - test -f $PREFIX/lib/libsqlite3${SHLIB_EXT} + - test ! -f $PREFIX/lib/libsqlite3.a + - test -f $PREFIX/lib/libsqlite3.a + - if not exist %PREFIX%\\Library\include\sqlite3.h exit 1 + - if not exist %PREFIX%\\Library\include\sqlite3ext.h exit 1 + - test -f $PREFIX/include/sqlite3.h + - test -f $PREFIX/include/sqlite3ext.h about: - home: http://www.sqlite.org/ license: Unlicense license_url: http://www.sqlite.org/copyright.html summary: Implements a self-contained, zero-configuration, SQL database engine @@ -54,11 +47,9 @@ about: SQLite is a self-contained, high-reliability, embedded, full-featured, public-domain, SQL database engine.It is the most used database engine in the world. - doc_url: http://www.sqlite.org/docs.html - doc_source_url: https://github.com/mackyle/sqlite/tree/master/doc - dev_url: https://github.com/mackyle/sqlite - + documentation: https://github.com/mackyle/sqlite/tree/master/doc + homepage: http://www.sqlite.org/ extra: recipe-maintainers: - - DerThorsten - + - DerThorsten + diff --git a/recipes/recipes_emscripten/sqlitecpp/recipe.yaml b/recipes/recipes_emscripten/sqlitecpp/recipe.yaml index 8b205bd45..e42eb582a 100644 --- a/recipes/recipes_emscripten/sqlitecpp/recipe.yaml +++ b/recipes/recipes_emscripten/sqlitecpp/recipe.yaml @@ -4,10 +4,10 @@ context: package: name: sqlitecpp - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/SRombauts/SQLiteCpp/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/SRombauts/SQLiteCpp/archive/refs/tags/${{ version }}.tar.gz sha256: 71f990f9fb4b004533b6859ce40729af823b87fe691dd99ca084a7fd40db54b9 build: @@ -15,19 +15,16 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja about: - home: https://github.com/SRombauts/SQLiteCpp license: MIT license_family: MIT license_file: LICENSE.txt summary: xvega - doc_url: https://github.com/SRombauts/SQLiteCpp - dev_url: https://github.com/SRombauts/SQLiteCpp - + homepage: https://github.com/SRombauts/SQLiteCpp extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/statsmodels/recipe.yaml b/recipes/recipes_emscripten/statsmodels/recipe.yaml index 36d97d247..f679e5166 100644 --- a/recipes/recipes_emscripten/statsmodels/recipe.yaml +++ b/recipes/recipes_emscripten/statsmodels/recipe.yaml @@ -1,56 +1,59 @@ context: - name: "statsmodels" - version: "0.14.1" + name: statsmodels + version: 0.14.1 package: - name: "{{ name }}" - version: "{{ version }}" + name: ${{ name }} + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz sha256: 2260efdc1ef89f39c670a0bd8151b1d0843567781bcafec6cda0534eb47a94f6 build: - script: "{{ PYTHON }} -m pip install . -vv" + script: ${{ PYTHON }} -m pip install . -vv number: 0 requirements: build: - - "{{ compiler('c') }}" - - cython <=2.0 - - cross-python_emscripten-wasm32 - - python - - numpy - - pip - - packaging + - ${{ compiler('c') }} + - cython <=2.0 + - cross-python_emscripten-wasm32 + - python + - numpy + - pip + - packaging host: - - python + - python # Do not add any constraint on numpy here to use global pinning - - numpy - - scipy >=1.3 - - pandas >=1.0 - - patsy >=0.5.2 + - numpy + - scipy >=1.3 + - pandas >=1.0 + - patsy >=0.5.2 run: - - python - - numpy - - scipy >=1.3 - - pandas >=1.0 - - patsy >=0.5.2 - - packaging + - python + - numpy + - scipy >=1.3 + - pandas >=1.0 + - patsy >=0.5.2 + - packaging +tests: +- script: pytester + files: + recipe: + - test_statsmodels.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://www.statsmodels.org license: BSD-3-Clause license_file: LICENSE.txt summary: Statistical computations and models for use with SciPy - dev_url: https://github.com/statsmodels/statsmodels - doc_url: https://www.statsmodels.org/stable/ - + homepage: https://www.statsmodels.org extra: - emscripten_tests: - python: - pytest_files: - - test_statsmodels.py - recipe-maintainers: - - martinRenou + - martinRenou diff --git a/recipes/recipes_emscripten/swiglpk/recipe.yaml b/recipes/recipes_emscripten/swiglpk/recipe.yaml index 0c18527c2..0dc899120 100644 --- a/recipes/recipes_emscripten/swiglpk/recipe.yaml +++ b/recipes/recipes_emscripten/swiglpk/recipe.yaml @@ -1,29 +1,34 @@ context: - version: '5.0.3' + version: 5.0.3 package: name: swiglpk - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/biosustain/swiglpk/archive/refs/tags/{{ version }}.tar.gz - sha256: 32f9fa0a082d80e32234f060704b6d7f07843a7aefffa5008b315b0970bab199 +- url: https://github.com/biosustain/swiglpk/archive/refs/tags/${{ version }}.tar.gz + sha256: 32f9fa0a082d80e32234f060704b6d7f07843a7aefffa5008b315b0970bab199 build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - python - - swig - - pip + - cross-python_emscripten-wasm32 + - python + - swig + - pip host: - - python - - glpk + - python + - glpk -extra: - emscripten_tests: - python: - pytest_files: - - test_import_swiglpk.py +tests: +- script: pytester + files: + recipe: + - test_import_swiglpk.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/sympy/recipe.yaml b/recipes/recipes_emscripten/sympy/recipe.yaml index 218019adb..c8f274c9c 100644 --- a/recipes/recipes_emscripten/sympy/recipe.yaml +++ b/recipes/recipes_emscripten/sympy/recipe.yaml @@ -3,30 +3,36 @@ context: package: name: sympy - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/s/sympy/sympy-{{ version }}.tar.gz - sha256: ebf595c8dac3e0fdc4152c51878b498396ec7f30e7a914d6071e674d49420fb8 +- url: https://pypi.io/packages/source/s/sympy/sympy-${{ version }}.tar.gz + sha256: ebf595c8dac3e0fdc4152c51878b498396ec7f30e7a914d6071e674d49420fb8 build: number: 1 - script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" + script: ${{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir + -vvv requirements: build: - - python # [build_platform != target_platform] - - cross-python_{{ target_platform }} # [build_platform != target_platform] - - pip + - python # [build_platform != target_platform] + - cross-python_${{ target_platform }} # [build_platform != target_platform] + - pip host: - - mpmath - - python + - mpmath + - python run: - - mpmath - - python + - mpmath + - python -extra: - emscripten_tests: - python: - pytest_files: - - test_import_sympy.py +tests: +- script: pytester + files: + recipe: + - test_import_sympy.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/traits/recipe.yaml b/recipes/recipes_emscripten/traits/recipe.yaml index afddf8a5d..3fb93c1bd 100644 --- a/recipes/recipes_emscripten/traits/recipe.yaml +++ b/recipes/recipes_emscripten/traits/recipe.yaml @@ -1,31 +1,36 @@ context: - version: '6.4.3' + version: 6.4.3 package: name: traits - version: '{{ version }}' + version: ${{ version }} source: - - url: https://pypi.io/packages/source/t/traits/traits-{{ version }}.tar.gz - sha256: a9bbfd9e0c08b7de07e86ef64e69cb96a29c2105a43bf832cd8b162fa1e22f44 +- url: https://pypi.io/packages/source/t/traits/traits-${{ version }}.tar.gz + sha256: a9bbfd9e0c08b7de07e86ef64e69cb96a29c2105a43bf832cd8b162fa1e22f44 build: number: 0 requirements: build: - - cross-python_emscripten-wasm32 - - python - - '{{ compiler("c") }}' - - pip + - cross-python_emscripten-wasm32 + - python + - ${{ compiler("c") }} + - pip host: - - python + - python # - setuptools run: - - python + - python -extra: - emscripten_tests: - python: - pytest_files: - - test_import_traits.py +tests: +- script: pytester + files: + recipe: + - test_import_traits.py + requirements: + build: + - pytester + run: + - pytester-run diff --git a/recipes/recipes_emscripten/tsl_ordered_map/recipe.yaml b/recipes/recipes_emscripten/tsl_ordered_map/recipe.yaml index 66bea5db5..bfd2599fe 100644 --- a/recipes/recipes_emscripten/tsl_ordered_map/recipe.yaml +++ b/recipes/recipes_emscripten/tsl_ordered_map/recipe.yaml @@ -3,11 +3,11 @@ context: name: tsl_ordered_map package: - name: '{{name}}' - version: '{{ version }}' + name: ${{name}} + version: ${{ version }} source: - url: https://github.com/Tessil/ordered-map/archive/v{{ version }}.tar.gz + url: https://github.com/Tessil/ordered-map/archive/v${{ version }}.tar.gz sha256: d6070502351646d68f2bbe6078c0da361bc1db733ee8a392e33cfb8b31183e28 @@ -16,20 +16,17 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - make + - ${{ compiler("cxx") }} + - cmake + - make about: - home: https://github.com/Tessil/ordered-map license: BSD-3-Clause license_family: BSD license_file: LICENSE summary: C++ ordered hash map and hash set description: C++ hash map and hash set which preserve the order of insertion - doc_url: https://tessil.github.io/ordered-map/ - dev_url: https://github.com/Tessil/ordered-map - + homepage: https://github.com/Tessil/ordered-map extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/udunits2/recipe.yaml b/recipes/recipes_emscripten/udunits2/recipe.yaml index 9abef5154..df8975daa 100644 --- a/recipes/recipes_emscripten/udunits2/recipe.yaml +++ b/recipes/recipes_emscripten/udunits2/recipe.yaml @@ -1,31 +1,32 @@ context: - version: "2.2.28" + version: 2.2.28 package: name: udunits2 - version: "{{ version }}" + version: ${{ version }} source: - url: https://artifacts.unidata.ucar.edu/repository/downloads-udunits/{{ version }}/udunits-{{ version }}.tar.gz + url: https://artifacts.unidata.ucar.edu/repository/downloads-udunits/${{ version + }}/udunits-${{ version }}.tar.gz sha256: 590baec83161a3fd62c00efa66f6113cec8a7c461e3f61a5182167e0cc5d579e patches: - - 0001-static-path-xml.patch + - 0001-static-path-xml.patch build: number: 0 requirements: build: - - "{{ compiler('c') }}" - - make # [not win] - - autoconf # [not win] - - automake # [not win] - - libtool # [not win] - - texinfo # [not win] + - ${{ compiler('c') }} + - make # [not win] + - autoconf # [not win] + - automake # [not win] + - libtool # [not win] + - texinfo # [not win] host: - - expat + - expat run: - - expat + - expat # test: # commands: @@ -33,11 +34,11 @@ requirements: # - udunits2 -H meter -W miles about: - home: http://www.unidata.ucar.edu/software/udunits/ license: LicenseRef-BSD-UCAR license_file: COPYRIGHT - summary: 'The UDUNITS package supports units of physical quantities.' + summary: The UDUNITS package supports units of physical quantities. + homepage: http://www.unidata.ucar.edu/software/udunits/ extra: recipe-maintainers: - - wolfv \ No newline at end of file + - wolfv diff --git a/recipes/recipes_emscripten/unicodedata2/recipe.yaml b/recipes/recipes_emscripten/unicodedata2/recipe.yaml index fbd17075b..47ad853a0 100644 --- a/recipes/recipes_emscripten/unicodedata2/recipe.yaml +++ b/recipes/recipes_emscripten/unicodedata2/recipe.yaml @@ -1,13 +1,14 @@ context: - version: "15.1.0" + version: 15.1.0 name: unicodedata2 package: name: unicodedata2 - version: '{{ version }}' + version: ${{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz sha256: cb30f189ad66482f8529a45da71b2a8841e9bd2bb376cc2933003a4a55a07648 build: @@ -15,26 +16,28 @@ build: requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - python - - pip + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - python + - pip host: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_unicodedata2.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/pybind/pybind11 license: Apache-2.0 license_family: Apache license_file: LICENSE summary: unicodedata backport/updates to python 3 and python 2. - dev_url: https://github.com/mikekap/unicodedata2 - extra: - emscripten_tests: - python: - pytest_files: - - test_unicodedata2.py - recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/vtk/recipe.yaml b/recipes/recipes_emscripten/vtk/recipe.yaml index 7eed33986..bb65d06af 100644 --- a/recipes/recipes_emscripten/vtk/recipe.yaml +++ b/recipes/recipes_emscripten/vtk/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: vtk - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/Kitware/VTK/archive/refs/tags/v{{ version }}.tar.gz + url: https://github.com/Kitware/VTK/archive/refs/tags/v${{ version }}.tar.gz sha256: b4b7323fc24446f0a19813a0c8bdf4fd5b6f796c6f3caf2fb159f65425557a60 build: @@ -14,26 +14,23 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - bzip2 - - zlib - - rapidjson - - boost-cpp + - bzip2 + - zlib + - rapidjson + - boost-cpp about: - home: https://github.com/Kitware/VTK license: BSD-3-Clause license_family: BSD-3-Clause license_file: Copyright.txt - summary: VTK is The Visualization Toolkit (VTK) - doc_url: https://github.com/Kitware/VTK - dev_url: https://github.com/Kitware/VTK - + summary: VTK is The Visualization Toolkit (VTK) + homepage: https://github.com/Kitware/VTK extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/wheel/recipe.yaml b/recipes/recipes_emscripten/wheel/recipe.yaml index 969c602fb..8bbbab8dd 100644 --- a/recipes/recipes_emscripten/wheel/recipe.yaml +++ b/recipes/recipes_emscripten/wheel/recipe.yaml @@ -1,33 +1,37 @@ context: - version: "0.41.2" + version: 0.41.2 name: wheel package: - name: "{{name}}" - version: "{{ version }}" + name: ${{name}} + version: ${{ version }} source: - - url: https://pypi.io/packages/source/w/{{name}}/{{name}}-{{ version }}.tar.gz - sha256: 0c5ac5ff2afb79ac23ab82bab027a0be7b5dbcf2e54dc50efe4bf507de1f7985 +- url: https://pypi.io/packages/source/w/${{name}}/${{name}}-${{ version }}.tar.gz + sha256: 0c5ac5ff2afb79ac23ab82bab027a0be7b5dbcf2e54dc50efe4bf507de1f7985 build: number: 1 requirements: host: - - python - - flit-core + - python + - flit-core run: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_import_wheel.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/pypa/wheel license: MIT license_file: LICENSE.txt summary: A built-package format for Python. - -# extra: -# emscripten_tests: -# python: -# pytest_files: -# - test_import_wheel.py + homepage: https://github.com/pypa/wheel diff --git a/recipes/recipes_emscripten/wrapt/recipe.yaml b/recipes/recipes_emscripten/wrapt/recipe.yaml index 7ec7866ae..ccaf62e28 100644 --- a/recipes/recipes_emscripten/wrapt/recipe.yaml +++ b/recipes/recipes_emscripten/wrapt/recipe.yaml @@ -1,36 +1,41 @@ context: - version: "1.16.0" + version: 1.16.0 package: name: wrapt - version: "{{ version }}" + version: ${{ version }} source: - - url: https://pypi.io/packages/source/w/wrapt/wrapt-{{ version }}.tar.gz - sha256: 5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d +- url: https://pypi.io/packages/source/w/wrapt/wrapt-${{ version }}.tar.gz + sha256: 5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d build: number: 0 requirements: build: - - '{{ compiler("c") }}' - - cross-python_emscripten-wasm32 - - python - - pip + - ${{ compiler("c") }} + - cross-python_emscripten-wasm32 + - python + - pip host: - - python + - python run: - - python + - python +tests: +- script: pytester + files: + recipe: + - test_import_wrapt.py + requirements: + build: + - pytester + run: + - pytester-run about: - home: https://github.com/GrahamDumpleton/wrapt license: BSD-2-Clause license_file: LICENSE summary: Module for decorators, wrappers and monkey patching -extra: - emscripten_tests: - python: - pytest_files: - - test_import_wrapt.py + homepage: https://github.com/GrahamDumpleton/wrapt diff --git a/recipes/recipes_emscripten/xcanvas/recipe.yaml b/recipes/recipes_emscripten/xcanvas/recipe.yaml index a101e5a7d..8a653d560 100644 --- a/recipes/recipes_emscripten/xcanvas/recipe.yaml +++ b/recipes/recipes_emscripten/xcanvas/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xcanvas - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xcanvas/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jupyter-xeus/xcanvas/archive/refs/tags/${{ version }}.tar.gz sha256: 697c83f1d34577c2c121fd83a72eabba12a73c14bef72b49a30289a8db0f0a55 build: @@ -14,24 +14,21 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - xtl >=0.7,<0.8 - - xproperty >=0.11.0,<0.12 - - xwidgets >=0.28 + - xtl >=0.7,<0.8 + - xproperty >=0.11.0,<0.12 + - xwidgets >=0.28 about: - home: https://github.com/jupyter-xeus/xcanvas - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xtl - doc_url: https://github.com/jupyter-xeus/xcanvas - dev_url: https://github.com/jupyter-xeus/xcanvas - + homepage: https://github.com/jupyter-xeus/xcanvas extra: recipe-maintainers: - - DerThorsten - - JohanMabille + - DerThorsten + - JohanMabille diff --git a/recipes/recipes_emscripten/xeus-javascript/recipe.yaml b/recipes/recipes_emscripten/xeus-javascript/recipe.yaml index cda368445..0a4455552 100644 --- a/recipes/recipes_emscripten/xeus-javascript/recipe.yaml +++ b/recipes/recipes_emscripten/xeus-javascript/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xeus-javascript - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xeus-javascript/archive/refs/tags/{{ version + url: https://github.com/jupyter-xeus/xeus-javascript/archive/refs/tags/${{ version }}.tar.gz sha256: 36d126af36dce3d3912776cb979e50cd66a819f370a930c075e0c6e743caae3e @@ -15,7 +15,7 @@ build: requirements: build: - - '{{ compiler("cxx") }}' + - ${{ compiler("cxx") }} - cmake - ninja host: @@ -24,20 +24,16 @@ requirements: - xeus >=4.0.2,<5.0 - xtl >=0.7 -test: - commands: - - sel(emscripten): test -f $PREFIX/bin/xjavascript.wasm - - sel(emscripten): test -f $PREFIX/bin/xjavascript.js - +tests: +- script: + - test -f $PREFIX/bin/xjavascript.wasm + - test -f $PREFIX/bin/xjavascript.js about: - home: https://github.com/jupyter-xeus/xeus-javascript - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xeus-javascript - doc_url: https://github.com/jupyter-xeus/xeus-javascript - dev_url: https://github.com/jupyter-xeus/xeus-javascript - + homepage: https://github.com/jupyter-xeus/xeus-javascript extra: recipe-maintainers: - DerThorsten diff --git a/recipes/recipes_emscripten/xeus-lite/recipe.yaml b/recipes/recipes_emscripten/xeus-lite/recipe.yaml index 6e1ffeb1b..69e72fc52 100644 --- a/recipes/recipes_emscripten/xeus-lite/recipe.yaml +++ b/recipes/recipes_emscripten/xeus-lite/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xeus-lite - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xeus-lite/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jupyter-xeus/xeus-lite/archive/refs/tags/${{ version }}.tar.gz sha256: 852acd70d80b3b92f934f0a089bfd73766311c34527b90c6ec04583b8ad1ff29 build: @@ -14,25 +14,22 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - nlohmann_json - - xtl - - 'xeus >=4.0.1' + - nlohmann_json + - xtl + - xeus >=4.0.1 about: - home: https://github.com/jupyter-xeus/xeus-lite - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xeus - doc_url: https://github.com/jupyter-xeus/xeus-lite - dev_url: https://github.com/jupyter-xeus/xeus-lite - + homepage: https://github.com/jupyter-xeus/xeus-lite extra: recipe-maintainers: - - DerThorsten - - JohanMabille + - DerThorsten + - JohanMabille diff --git a/recipes/recipes_emscripten/xeus-lite/recipe_legacy.yaml b/recipes/recipes_emscripten/xeus-lite/recipe_legacy.yaml new file mode 100644 index 000000000..6e1ffeb1b --- /dev/null +++ b/recipes/recipes_emscripten/xeus-lite/recipe_legacy.yaml @@ -0,0 +1,38 @@ +context: + version: 2.0.0 + +package: + name: xeus-lite + version: '{{ version }}' + +source: + url: https://github.com/jupyter-xeus/xeus-lite/archive/refs/tags/{{ version }}.tar.gz + sha256: 852acd70d80b3b92f934f0a089bfd73766311c34527b90c6ec04583b8ad1ff29 + +build: + number: 0 + +requirements: + build: + - '{{ compiler("cxx") }}' + - cmake + - ninja + host: + - nlohmann_json + - xtl + - 'xeus >=4.0.1' + +about: + home: https://github.com/jupyter-xeus/xeus-lite + license: BSD-3 + license_family: BSD-3 + license_file: LICENSE + summary: xeus + doc_url: https://github.com/jupyter-xeus/xeus-lite + dev_url: https://github.com/jupyter-xeus/xeus-lite + +extra: + recipe-maintainers: + - DerThorsten + - JohanMabille + diff --git a/recipes/recipes_emscripten/xeus-lua/recipe.yaml b/recipes/recipes_emscripten/xeus-lua/recipe.yaml index 50f647e5b..e664d91f0 100644 --- a/recipes/recipes_emscripten/xeus-lua/recipe.yaml +++ b/recipes/recipes_emscripten/xeus-lua/recipe.yaml @@ -3,48 +3,45 @@ context: package: name: xeus-lua - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xeus-lua/archive/refs/tags/{{ version }}.tar.gz - sha256: 9f64a235cb59dccf1c972368145b13198870a8dbaf4311eac4e00af50f3c219b + # url: https://github.com/jupyter-xeus/xeus-lua/archive/refs/tags/{{ version }}.tar.gz + # sha256: 9f64a235cb59dccf1c972368145b13198870a8dbaf4311eac4e00af50f3c219b + path: /Users/thorstenbeier/src/xeus-lua build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja 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 - -test: - commands: - - sel(emscripten): test -f $PREFIX/bin/xlua.wasm - - sel(emscripten): test -f $PREFIX/bin/xlua.js - - sel(emscripten): test -f $PREFIX/share/jupyter/kernels/xlua/kernel.json - - sel(emscripten): test -f $PREFIX/share/jupyter/kernels/xlua/logo-32x32.png - - sel(emscripten): test -f $PREFIX/share/jupyter/kernels/xlua/logo-64x64.png + - lua + - nlohmann_json + - xeus-lite + - xeus >=3.0.5,<4.0 + - xtl >=0.7,<0.8 + - xcanvas >=0.4,<5.0 + - xwidgets >=0.28 about: - home: https://github.com/jupyter-xeus/xeus-lua - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xeus-lua - doc_url: https://github.com/jupyter-xeus/xeus-lua - dev_url: https://github.com/jupyter-xeus/xeus-lua - + homepage: https://github.com/jupyter-xeus/xeus-lua extra: recipe-maintainers: - - DerThorsten - - martinRenou - - JohanMabille + - 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 diff --git a/recipes/recipes_emscripten/xeus-lua/recipe_legacy.yaml b/recipes/recipes_emscripten/xeus-lua/recipe_legacy.yaml new file mode 100644 index 000000000..aa14b4997 --- /dev/null +++ b/recipes/recipes_emscripten/xeus-lua/recipe_legacy.yaml @@ -0,0 +1,50 @@ +context: + version: 0.7.4 + +package: + name: xeus-lua + version: '{{ version }}' + +source: + url: https://github.com/jupyter-xeus/xeus-lua/archive/refs/tags/{{ version }}.tar.gz + sha256: 9f64a235cb59dccf1c972368145b13198870a8dbaf4311eac4e00af50f3c219b + +build: + number: 0 + +requirements: + build: + - '{{ compiler("cxx") }}' + - cmake + - ninja + 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 + +test: + commands: + - 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 + +about: + home: https://github.com/jupyter-xeus/xeus-lua + license: BSD-3 + license_family: BSD-3 + license_file: LICENSE + summary: xeus-lua + doc_url: https://github.com/jupyter-xeus/xeus-lua + dev_url: https://github.com/jupyter-xeus/xeus-lua + +extra: + recipe-maintainers: + - DerThorsten + - martinRenou + - JohanMabille diff --git a/recipes/recipes_emscripten/xeus-nelson/recipe.yaml b/recipes/recipes_emscripten/xeus-nelson/recipe.yaml index 529012e42..dd25983c3 100644 --- a/recipes/recipes_emscripten/xeus-nelson/recipe.yaml +++ b/recipes/recipes_emscripten/xeus-nelson/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xeus-nelson - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xeus-nelson/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jupyter-xeus/xeus-nelson/archive/refs/tags/${{ version }}.tar.gz sha256: 3d0383aad07afe7c4e17ea4be9929de7bb944c7d68939d41aa435f2fc6a7a510 build: @@ -14,32 +14,28 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - nelson >=0.3,<0.4 - - nlohmann_json - - xeus-lite - - xeus >=3.0.5,<4.0 - - xtl >=0.7,<0.8 - -test: - commands: - - sel(emscripten): test -f $PREFIX/bin/xnelson_wasm.wasm - - sel(emscripten): test -f $PREFIX/bin/xnelson_wasm.js + - nelson >=0.3,<0.4 + - nlohmann_json + - xeus-lite + - xeus >=3.0.5,<4.0 + - xtl >=0.7,<0.8 about: - home: https://github.com/jupyter-xeus/xeus-nelson - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xeus-nelson - doc_url: https://github.com/jupyter-xeus/xeus-nelson - dev_url: https://github.com/jupyter-xeus/xeus-nelson - + homepage: https://github.com/jupyter-xeus/xeus-nelson extra: recipe-maintainers: - - DerThorsten - - martinRenou - - JohanMabille + - DerThorsten + - martinRenou + - JohanMabille +tests: +- script: + - test -f $PREFIX/bin/xnelson_wasm.wasm + - test -f $PREFIX/bin/xnelson_wasm.js diff --git a/recipes/recipes_emscripten/xeus-nelson/recipe_legacy.yaml b/recipes/recipes_emscripten/xeus-nelson/recipe_legacy.yaml new file mode 100644 index 000000000..c668983bb --- /dev/null +++ b/recipes/recipes_emscripten/xeus-nelson/recipe_legacy.yaml @@ -0,0 +1,45 @@ +context: + version: 0.4.0 + +package: + name: xeus-nelson + version: '{{ version }}' + +source: + url: https://github.com/jupyter-xeus/xeus-nelson/archive/refs/tags/{{ version }}.tar.gz + sha256: 3d0383aad07afe7c4e17ea4be9929de7bb944c7d68939d41aa435f2fc6a7a510 + +build: + number: 0 + +requirements: + build: + - '{{ compiler("cxx") }}' + - cmake + - ninja + host: + - nelson >=0.3,<0.4 + - nlohmann_json + - xeus-lite + - xeus >=3.0.5,<4.0 + - xtl >=0.7,<0.8 + +test: + commands: + - test -f $PREFIX/bin/xnelson_wasm.wasm + - test -f $PREFIX/bin/xnelson_wasm.js + +about: + home: https://github.com/jupyter-xeus/xeus-nelson + license: BSD-3 + license_family: BSD-3 + license_file: LICENSE + summary: xeus-nelson + doc_url: https://github.com/jupyter-xeus/xeus-nelson + dev_url: https://github.com/jupyter-xeus/xeus-nelson + +extra: + recipe-maintainers: + - DerThorsten + - martinRenou + - JohanMabille diff --git a/recipes/recipes_emscripten/xeus-python/recipe.yaml b/recipes/recipes_emscripten/xeus-python/recipe.yaml index c7f619ed1..ec4b9797e 100644 --- a/recipes/recipes_emscripten/xeus-python/recipe.yaml +++ b/recipes/recipes_emscripten/xeus-python/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xeus-python - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xeus-python/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jupyter-xeus/xeus-python/archive/refs/tags/${{ version }}.tar.gz sha256: a9936219650dce05b05eeff5c57472004c098b1fd7145fc2c14c95dbea8e9a3b @@ -15,40 +15,36 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - libpython - - nlohmann_json - - xeus - - xeus-lite - - pybind11 - - pybind11_json - - xtl - - pyjs >=2,<3 + - libpython + - nlohmann_json + - xeus + - xeus-lite + - pybind11 + - pybind11_json + - xtl + - pyjs >=2,<3 run: - - python - - ipython - - jedi - - xeus-python-shell >=0.6.0,<0.7 - - pyjs >=2,<3 - -test: - commands: - - sel(emscripten): test -f $PREFIX/bin/xpython.wasm - - sel(emscripten): test -f $PREFIX/bin/xpython.js - + - python + - ipython + - jedi + - xeus-python-shell >=0.6.0,<0.7 + - pyjs >=2,<3 + +tests: +- script: + - test -f $PREFIX/bin/xpython.wasm + - test -f $PREFIX/bin/xpython.js about: - home: https://github.com/jupyter-xeus/xeus-python - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xeus-python - doc_url: https://github.com/jupyter-xeus/xeus-python - dev_url: https://github.com/jupyter-xeus/xeus-python - + homepage: https://github.com/jupyter-xeus/xeus-python extra: recipe-maintainers: - - DerThorsten - - martinRenou + - DerThorsten + - martinRenou diff --git a/recipes/recipes_emscripten/xeus-sqlite/recipe.yaml b/recipes/recipes_emscripten/xeus-sqlite/recipe.yaml index 52760a1ed..6bf8d8fa3 100644 --- a/recipes/recipes_emscripten/xeus-sqlite/recipe.yaml +++ b/recipes/recipes_emscripten/xeus-sqlite/recipe.yaml @@ -3,42 +3,39 @@ context: package: name: xeus-sqlite - version: '{{ version }}' + version: ${{ version }} source: - - url: https://github.com/jupyter-xeus/xeus-sqlite/archive/refs/tags/{{ version }}.tar.gz - sha256: 0ee4ed23d5465106e51e0bc7a653fdc65011311f3693f240654e8416a7663997 - - path: CMakeLists.txt +- url: https://github.com/jupyter-xeus/xeus-sqlite/archive/refs/tags/${{ version }}.tar.gz + sha256: 0ee4ed23d5465106e51e0bc7a653fdc65011311f3693f240654e8416a7663997 +- path: CMakeLists.txt build: number: 4 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - nlohmann_json - - xproperty - - cpp-tabulate - - xvega - - xvega-bindings - - xeus-lite - - xeus >=3.0.5,<4.0 - - xtl >=0.7,<0.8 - - sqlitecpp + - nlohmann_json + - xproperty + - cpp-tabulate + - xvega + - xvega-bindings + - xeus-lite + - xeus >=3.0.5,<4.0 + - xtl >=0.7,<0.8 + - sqlitecpp about: - home: https://github.com/jupyter-xeus/xeus-sqlite - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xeus-sqlite - doc_url: https://github.com/jupyter-xeus/xeus-sqlite - dev_url: https://github.com/jupyter-xeus/xeus-sqlite - + homepage: https://github.com/jupyter-xeus/xeus-sqlite extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/xeus/recipe.yaml b/recipes/recipes_emscripten/xeus/recipe.yaml index c251c426b..3f6cd929c 100644 --- a/recipes/recipes_emscripten/xeus/recipe.yaml +++ b/recipes/recipes_emscripten/xeus/recipe.yaml @@ -5,10 +5,10 @@ context: package: name: xeus - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xeus/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jupyter-xeus/xeus/archive/refs/tags/${{ version }}.tar.gz sha256: 67ca4c714f4157cd2b5ff99750b234f7c7b72b6baec0b878d8724b5ce14ba663 build: @@ -16,27 +16,23 @@ build: requirements: build: - - '{{ compiler("cxx") }}' + - ${{ compiler("cxx") }} - cmake - ninja host: - nlohmann_json - xtl -test: - commands: - - sel(emscripten): test -f $PREFIX/lib/libxeus.a - - sel(emscripten): test -f $PREFIX/include/xeus/xeus.hpp - +tests: +- script: + - test -f $PREFIX/lib/libxeus.a + - test -f $PREFIX/include/xeus/xeus.hpp about: - home: https://github.com/jupyter-xeus/xeus - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xeus - doc_url: https://github.com/jupyter-xeus/xeus - dev_url: https://github.com/jupyter-xeus/xeus - + homepage: https://github.com/jupyter-xeus/xeus extra: recipe-maintainers: - DerThorsten diff --git a/recipes/recipes_emscripten/xplugin/recipe.yaml b/recipes/recipes_emscripten/xplugin/recipe.yaml index f7042f5d9..6c196d452 100644 --- a/recipes/recipes_emscripten/xplugin/recipe.yaml +++ b/recipes/recipes_emscripten/xplugin/recipe.yaml @@ -3,30 +3,27 @@ context: package: name: xplugin - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/QuantStack/xplugin/archive/refs/tags/v{{ version }}.tar.gz + url: https://github.com/QuantStack/xplugin/archive/refs/tags/v${{ version }}.tar.gz sha256: 172b742faa1cde2ff68ccf0d05bbb75c1651c98339c7f12cbf292a52c0ff3b77 build: number: 1 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja about: - home: https://github.com/QuantStack/xplugin - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xplugin - doc_url: https://github.com/QuantStack/xplugin - dev_url: https://github.com/QuantStack/xplugin - + homepage: https://github.com/QuantStack/xplugin extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/xproperty/recipe.yaml b/recipes/recipes_emscripten/xproperty/recipe.yaml index 71a7ee883..c4ef26d09 100644 --- a/recipes/recipes_emscripten/xproperty/recipe.yaml +++ b/recipes/recipes_emscripten/xproperty/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xproperty - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xproperty/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jupyter-xeus/xproperty/archive/refs/tags/${{ version }}.tar.gz sha256: bf86a11c6758308aa0aa0f64d8dd24cd3e9d78378467b74002f552bfb75fc0eb build: @@ -14,25 +14,22 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - xtl >=0.7,<0.8 + - xtl >=0.7,<0.8 run: - - xtl >=0.7,<0.8 + - xtl >=0.7,<0.8 about: - home: https://github.com/jupyter-xeus/xproperty - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xtl - doc_url: https://github.com/jupyter-xeus/xproperty - dev_url: https://github.com/jupyter-xeus/xproperty - + homepage: https://github.com/jupyter-xeus/xproperty extra: recipe-maintainers: - - DerThorsten - - JohanMabille + - DerThorsten + - JohanMabille diff --git a/recipes/recipes_emscripten/xtensor/rattler_recipe.yaml b/recipes/recipes_emscripten/xtensor/rattler_recipe.yaml deleted file mode 100644 index c4856c745..000000000 --- a/recipes/recipes_emscripten/xtensor/rattler_recipe.yaml +++ /dev/null @@ -1,63 +0,0 @@ -context: - name: xtensor - version: 0.24.7 - -package: - name: ${{ name|lower }} - version: ${{ version }} - -source: - url: https://github.com/xtensor-stack/xtensor/archive/${{ version }}.tar.gz - sha256: 0fbbd524dde2199b731b6af99b16063780de6cf1d0d6cb1f3f4d4ceb318f3106 - -build: - number: 1 - script: - - if: win - then: | - cmake -G "Ninja" -D BUILD_TESTS=OFF -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% %SRC_DIR% - ninja install/ - else: | - cmake ${CMAKE_ARGS} -G "Ninja" -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX $SRC_DIR -DCMAKE_INSTALL_LIBDIR=lib - ninja install - -requirements: - build: - - ${{ compiler('cxx') }} - - cmake - - ninja - host: - - xtl >=0.7,<0.8 - run: - - xtl >=0.7,<0.8 - run_constraints: - - xsimd >=8.0.3,<10 - -tests: -- script: - - if: unix or emscripten - then: - - test -d ${PREFIX}/include/xtensor - - test -f ${PREFIX}/include/xtensor/xarray.hpp - - test -f ${PREFIX}/share/cmake/xtensor/xtensorConfig.cmake - - test -f ${PREFIX}/share/cmake/xtensor/xtensorConfigVersion.cmake - - if: win - then: - - if not exist %LIBRARY_PREFIX%\include\xtensor\xarray.hpp (exit 1) - - if not exist %LIBRARY_PREFIX%\share\cmake\xtensor\xtensorConfig.cmake (exit - 1) - - if not exist %LIBRARY_PREFIX%\share\cmake\xtensor\xtensorConfigVersion.cmake - (exit 1) - -about: - homepage: https://github.com/xtensor-stack/xtensor - license: BSD-3-Clause - license_file: LICENSE - summary: The C++ tensor algebra library - description: Multi dimensional arrays with broadcasting and lazy computing - documentation: https://xtensor.readthedocs.io - repository: https://github.com/xtensor-stack/xtensor - -extra: - recipe-maintainers: - - some-maintainer diff --git a/recipes/recipes_emscripten/xtensor/recipe.yaml b/recipes/recipes_emscripten/xtensor/recipe.yaml index 4602beb2d..c4856c745 100644 --- a/recipes/recipes_emscripten/xtensor/recipe.yaml +++ b/recipes/recipes_emscripten/xtensor/recipe.yaml @@ -1,34 +1,63 @@ context: + name: xtensor version: 0.24.7 package: - name: xtensor - version: '{{ version }}' + name: ${{ name|lower }} + version: ${{ version }} source: - url: https://github.com/xtensor-stack/xtensor/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/xtensor-stack/xtensor/archive/${{ version }}.tar.gz sha256: 0fbbd524dde2199b731b6af99b16063780de6cf1d0d6cb1f3f4d4ceb318f3106 build: - number: 0 + number: 1 + script: + - if: win + then: | + cmake -G "Ninja" -D BUILD_TESTS=OFF -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% %SRC_DIR% + ninja install/ + else: | + cmake ${CMAKE_ARGS} -G "Ninja" -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX $SRC_DIR -DCMAKE_INSTALL_LIBDIR=lib + ninja install requirements: build: - - '{{ compiler("cxx") }}' + - ${{ compiler('cxx') }} - cmake - ninja host: - - xtl + - xtl >=0.7,<0.8 + run: + - xtl >=0.7,<0.8 + run_constraints: + - xsimd >=8.0.3,<10 + +tests: +- script: + - if: unix or emscripten + then: + - test -d ${PREFIX}/include/xtensor + - test -f ${PREFIX}/include/xtensor/xarray.hpp + - test -f ${PREFIX}/share/cmake/xtensor/xtensorConfig.cmake + - test -f ${PREFIX}/share/cmake/xtensor/xtensorConfigVersion.cmake + - if: win + then: + - if not exist %LIBRARY_PREFIX%\include\xtensor\xarray.hpp (exit 1) + - if not exist %LIBRARY_PREFIX%\share\cmake\xtensor\xtensorConfig.cmake (exit + 1) + - if not exist %LIBRARY_PREFIX%\share\cmake\xtensor\xtensorConfigVersion.cmake + (exit 1) about: - home: https://github.com/xtensor-stack/xtensor - license: BSD-3 - license_family: BSD-3 + homepage: https://github.com/xtensor-stack/xtensor + license: BSD-3-Clause license_file: LICENSE - summary: xtensor - doc_url: https://github.com/xtensor-stack/xtensor - dev_url: https://github.com/xtensor-stack/xtensor + summary: The C++ tensor algebra library + description: Multi dimensional arrays with broadcasting and lazy computing + documentation: https://xtensor.readthedocs.io + repository: https://github.com/xtensor-stack/xtensor extra: recipe-maintainers: - - DerThorsten + - some-maintainer diff --git a/recipes/recipes_emscripten/xtensor/recipe_legacy.yaml b/recipes/recipes_emscripten/xtensor/recipe_legacy.yaml new file mode 100644 index 000000000..4602beb2d --- /dev/null +++ b/recipes/recipes_emscripten/xtensor/recipe_legacy.yaml @@ -0,0 +1,34 @@ +context: + version: 0.24.7 + +package: + name: xtensor + version: '{{ version }}' + +source: + url: https://github.com/xtensor-stack/xtensor/archive/refs/tags/{{ version }}.tar.gz + sha256: 0fbbd524dde2199b731b6af99b16063780de6cf1d0d6cb1f3f4d4ceb318f3106 + +build: + number: 0 + +requirements: + build: + - '{{ compiler("cxx") }}' + - cmake + - ninja + host: + - xtl + +about: + home: https://github.com/xtensor-stack/xtensor + license: BSD-3 + license_family: BSD-3 + license_file: LICENSE + summary: xtensor + doc_url: https://github.com/xtensor-stack/xtensor + dev_url: https://github.com/xtensor-stack/xtensor + +extra: + recipe-maintainers: + - DerThorsten diff --git a/recipes/recipes_emscripten/xtl/rattler_recipe.yaml b/recipes/recipes_emscripten/xtl/rattler_recipe.yaml deleted file mode 100644 index 8de66aae9..000000000 --- a/recipes/recipes_emscripten/xtl/rattler_recipe.yaml +++ /dev/null @@ -1,30 +0,0 @@ -context: - version: 0.7.7 - -package: - name: xtl - version: ${{ version }} - -source: - url: https://github.com/xtensor-stack/xtl/archive/refs/tags/${{ version }}.tar.gz - sha256: 44fb99fbf5e56af5c43619fc8c29aa58e5fad18f3ba6e7d9c55c111b62df1fbb - -build: - number: 1 - -requirements: - build: - - ${{ compiler("cxx") }} - - cmake - - ninja - -about: - homepage: https://github.com/xtensor-stack/xtl - license: BSD-3-Clause - license_file: LICENSE - summary: xtl - documentation: https://github.com/xtensor-stack/xtl - -extra: - recipe-maintainers: - - DerThorsten diff --git a/recipes/recipes_emscripten/xtl/recipe.yaml b/recipes/recipes_emscripten/xtl/recipe.yaml index f3a5578c6..8de66aae9 100644 --- a/recipes/recipes_emscripten/xtl/recipe.yaml +++ b/recipes/recipes_emscripten/xtl/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xtl - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/xtensor-stack/xtl/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/xtensor-stack/xtl/archive/refs/tags/${{ version }}.tar.gz sha256: 44fb99fbf5e56af5c43619fc8c29aa58e5fad18f3ba6e7d9c55c111b62df1fbb build: @@ -14,18 +14,16 @@ build: requirements: build: - - '{{ compiler("cxx") }}' + - ${{ compiler("cxx") }} - cmake - ninja about: - home: https://github.com/xtensor-stack/xtl - license: BSD-3 - license_family: BSD-3 + homepage: https://github.com/xtensor-stack/xtl + license: BSD-3-Clause license_file: LICENSE summary: xtl - doc_url: https://github.com/xtensor-stack/xtl - dev_url: https://github.com/xtensor-stack/xtl + documentation: https://github.com/xtensor-stack/xtl extra: recipe-maintainers: diff --git a/recipes/recipes_emscripten/xtl/recipe_legacy.yaml b/recipes/recipes_emscripten/xtl/recipe_legacy.yaml new file mode 100644 index 000000000..f3a5578c6 --- /dev/null +++ b/recipes/recipes_emscripten/xtl/recipe_legacy.yaml @@ -0,0 +1,32 @@ +context: + version: 0.7.7 + +package: + name: xtl + version: '{{ version }}' + +source: + url: https://github.com/xtensor-stack/xtl/archive/refs/tags/{{ version }}.tar.gz + sha256: 44fb99fbf5e56af5c43619fc8c29aa58e5fad18f3ba6e7d9c55c111b62df1fbb + +build: + number: 1 + +requirements: + build: + - '{{ compiler("cxx") }}' + - cmake + - ninja + +about: + home: https://github.com/xtensor-stack/xtl + license: BSD-3 + license_family: BSD-3 + license_file: LICENSE + summary: xtl + doc_url: https://github.com/xtensor-stack/xtl + dev_url: https://github.com/xtensor-stack/xtl + +extra: + recipe-maintainers: + - DerThorsten diff --git a/recipes/recipes_emscripten/xvega-bindings/recipe.yaml b/recipes/recipes_emscripten/xvega-bindings/recipe.yaml index 01fbc7d58..a771529a6 100644 --- a/recipes/recipes_emscripten/xvega-bindings/recipe.yaml +++ b/recipes/recipes_emscripten/xvega-bindings/recipe.yaml @@ -3,36 +3,32 @@ context: package: name: xvega-bindings - version: '{{ version }}' + version: ${{ version }} source: - git_url: https://github.com/DerThorsten/xvega-bindings.git + git: https://github.com/DerThorsten/xvega-bindings.git rev: no_var - git_depth: 1 build: number: 0 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - nlohmann_json - - xtl - - xproperty - - xvega + - nlohmann_json + - xtl + - xproperty + - xvega about: - home: https://github.com/QuantStack/xvega - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xvega-bindings - doc_url: https://github.com/jupyter-xeus/xvega-bindings - dev_url: https://github.com/jupyter-xeus/xvega-bindings - + homepage: https://github.com/QuantStack/xvega extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/xvega/recipe.yaml b/recipes/recipes_emscripten/xvega/recipe.yaml index a74331f3a..753acd17e 100644 --- a/recipes/recipes_emscripten/xvega/recipe.yaml +++ b/recipes/recipes_emscripten/xvega/recipe.yaml @@ -3,36 +3,31 @@ context: package: name: xvega - version: '{{ version }}' + version: ${{ version }} source: - # url: https://github.com/QuantStack/xvega/archive/refs/tags/{{ version }}.tar.gz - # sha256: c7e50090b188baf594463cf093638318f96c9aabad9365cfdd660f5d12ef91f4 - git_url: https://github.com/DerThorsten/xvega - git_rev: patch-1 + git: https://github.com/DerThorsten/xvega + rev: patch-1 build: number: 6 requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - nlohmann_json - - xtl - - xproperty + - nlohmann_json + - xtl + - xproperty about: - home: https://github.com/QuantStack/xvega - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xvega - doc_url: https://github.com/QuantStack/xvega - dev_url: https://github.com/QuantStack/xvega - + homepage: https://github.com/QuantStack/xvega extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/recipes/recipes_emscripten/xwidgets/recipe.yaml b/recipes/recipes_emscripten/xwidgets/recipe.yaml index b7e15f804..9a78f328a 100644 --- a/recipes/recipes_emscripten/xwidgets/recipe.yaml +++ b/recipes/recipes_emscripten/xwidgets/recipe.yaml @@ -3,10 +3,10 @@ context: package: name: xwidgets - version: '{{ version }}' + version: ${{ version }} source: - url: https://github.com/jupyter-xeus/xwidgets/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/jupyter-xeus/xwidgets/archive/refs/tags/${{ version }}.tar.gz sha256: ef399a813543e83180b3c4eeaac6d7c6baef94f9911bb74a0ebf2cfc98568ca0 build: @@ -14,31 +14,28 @@ build: requirements: build: - - '{{ compiler("cxx") }}' - - cmake - - ninja + - ${{ compiler("cxx") }} + - cmake + - ninja host: - - xtl >=0.7,<0.8 - - nlohmann_json - - xeus >=3.0,<4.0 - - xproperty >=0.11.0,<0.12 + - xtl >=0.7,<0.8 + - nlohmann_json + - xeus >=3.0,<4.0 + - xproperty >=0.11.0,<0.12 run: - - xtl >=0.7,<0.8 - - nlohmann_json - - xeus >=3.0,<4.0 - - xproperty >=0.11.0,<0.12 + - xtl >=0.7,<0.8 + - nlohmann_json + - xeus >=3.0,<4.0 + - xproperty >=0.11.0,<0.12 about: - home: https://github.com/jupyter-xeus/xwidgets - license: BSD-3 + license: BSD-3-Clause license_family: BSD-3 license_file: LICENSE summary: xtl - doc_url: https://github.com/jupyter-xeus/xwidgets - dev_url: https://github.com/jupyter-xeus/xwidgets - + homepage: https://github.com/jupyter-xeus/xwidgets extra: recipe-maintainers: - - DerThorsten - - JohanMabille + - DerThorsten + - JohanMabille diff --git a/recipes/recipes_emscripten/zarr/recipe.yaml b/recipes/recipes_emscripten/zarr/recipe.yaml index d564838b5..2425723eb 100644 --- a/recipes/recipes_emscripten/zarr/recipe.yaml +++ b/recipes/recipes_emscripten/zarr/recipe.yaml @@ -7,8 +7,8 @@ package: version: 2.10.3 source: -- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version - }}.tar.gz +- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ + version }}.tar.gz sha256: b0873be27af5690738fa158ea7a802eae454904c33995056185acc5a7425b451 patches: - patches/fix-zarrsync.patch @@ -30,8 +30,13 @@ requirements: - asciitree - numcodecs -extra: - emscripten_tests: - python: - pytest_files: - - test_import_zarr.py +tests: +- script: pytester + files: + recipe: + - test_import_zarr.py + requirements: + build: + - pytester + run: + - pytester-run \ No newline at end of file diff --git a/recipes/recipes_emscripten/zlib/recipe.yaml b/recipes/recipes_emscripten/zlib/recipe.yaml index 41d7da4f4..cdbfc2787 100644 --- a/recipes/recipes_emscripten/zlib/recipe.yaml +++ b/recipes/recipes_emscripten/zlib/recipe.yaml @@ -3,36 +3,23 @@ context: package: name: zlib - version: '{{ version }}' + version: ${{ version }} source: - url: https://www.zlib.net/fossils/zlib-{{ version }}.tar.gz + url: https://www.zlib.net/fossils/zlib-${{ version }}.tar.gz sha256: b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30 # url: http://zlib.net/zlib-{{ version }}.tar.gz build: number: 2 - # run_exports: - # mostly OK, but some scary symbol removal. Let's try for trusting them. - # https://abi-laboratory.pro/tracker/timeline/zlib/ - # - '{{ pin_subpackage("zlib", max_pin="x.x") }}' + requirements: build: - - '{{ compiler("c") }}' - - cmake - - ninja -features: - - name: static - default: false - -# test: -# commands: -# - sel(unix): test -f ${PREFIX}/lib/libz.a - + - ${{ compiler("c") }} + - cmake + - ninja about: - home: http://zlib.net/ - # http://zlib.net/zlib_license.html summary: Massively spiffy yet delicately unobtrusive compression library license_family: Other @@ -40,9 +27,7 @@ about: zlib is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system. - doc_url: http://zlib.net/manual.html - dev_url: https://github.com/madler/zlib - + homepage: http://zlib.net/ extra: recipe-maintainers: - - DerThorsten + - DerThorsten diff --git a/test_recipes/only_py_tests/rattler_recipe.yaml b/test_recipes/only_py_tests/rattler_recipe.yaml deleted file mode 100644 index 11eda0034..000000000 --- a/test_recipes/only_py_tests/rattler_recipe.yaml +++ /dev/null @@ -1,39 +0,0 @@ -context: - name: only_py_tests - version: "1.0.0" - -package: - name: ${{ name|lower }} - version: ${{ version }} - - -build: - number: 1 - -requirements: - run: - - python - - pandas - - arrow-python - - matplotlib - - pandas - - matplotlib - - scipy - - ipython - - arrow-python - -tests: - - script: pytester - requirements: - build: - - pytester - run: - - pytester-run - files: - recipe: - - test_it.py - - -extra: - recipe-maintainers: - - DerThorsten diff --git a/test_recipes/only_py_tests/recipe.yaml b/test_recipes/only_py_tests/recipe.yaml index 7f522ec04..11eda0034 100644 --- a/test_recipes/only_py_tests/recipe.yaml +++ b/test_recipes/only_py_tests/recipe.yaml @@ -3,8 +3,8 @@ context: version: "1.0.0" package: - name: '{{ name|lower }}' - version: '{{ version }}' + name: ${{ name|lower }} + version: ${{ version }} build: @@ -21,9 +21,18 @@ requirements: - scipy - ipython - arrow-python - -about: - home: only_py_tests + +tests: + - script: pytester + requirements: + build: + - pytester + run: + - pytester-run + files: + recipe: + - test_it.py + extra: recipe-maintainers: