-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: when extracting name of rendered recipe
- Loading branch information
Showing
6 changed files
with
162 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json | ||
|
||
context: | ||
name: mamba | ||
libmamba_version: "1.5.8" | ||
libmambapy_version: "1.5.8" | ||
mamba_version: "1.5.8" | ||
release: "2024.03.25" | ||
build_number: 2 | ||
|
||
recipe: | ||
name: mamba-split | ||
version: ${{ mamba_version }} | ||
|
||
source: | ||
url: https://github.com/mamba-org/mamba/archive/refs/tags/${{ release }}.tar.gz | ||
sha256: 6ddaf4b0758eb7ca1250f427bc40c2c3ede43257a60bac54e4320a4de66759a6 | ||
|
||
build: | ||
number: ${{ build_number }} | ||
|
||
outputs: | ||
- package: | ||
name: libmamba | ||
version: ${{ libmamba_version }} | ||
build: | ||
script: | ||
- ${{ "build_mamba.sh" if unix }} | ||
- ${{ "build_mamba.bat" if win }} | ||
requirements: | ||
build: | ||
- ${{ compiler('cxx') }} | ||
- cmake | ||
- ninja | ||
- ${{ "python" if win }} | ||
host: | ||
- libsolv >=0.7.23 | ||
- libcurl >=8.4.0 | ||
- fmt | ||
- ${{ "winreg" if win }} | ||
run: | ||
- libsolv >=0.7.23 | ||
run_exports: | ||
- ${{ pin_subpackage('libmamba', upper_bound='x.x') }} | ||
ignore_run_exports: | ||
by_name: | ||
- spdlog | ||
- python | ||
tests: | ||
- script: | ||
- if: unix | ||
then: | ||
- test -d ${PREFIX}/include/mamba # [unix] | ||
else: | ||
- if not exist %LIBRARY_PREFIX%\include\mamba\version.hpp (exit 1) # [win] | ||
|
||
- package: | ||
name: libmambapy | ||
version: ${{ libmambapy_version }} | ||
build: | ||
script: | ||
- ${{ "build_mamba.sh" if unix }} | ||
- ${{ "build_mamba.bat" if win }} | ||
# string: py_sup${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }} | ||
requirements: | ||
build: | ||
- ${{ compiler('cxx') }} | ||
- cmake | ||
- ninja | ||
- if: build_platform != target_platform | ||
then: | ||
- python | ||
- cross-python_${{ target_platform }} | ||
- pybind11 | ||
- pybind11-abi | ||
host: | ||
- python | ||
- nlohmann_json | ||
- ${{ pin_subpackage('libmamba', exact=True) }} | ||
run: | ||
- python | ||
- ${{ pin_subpackage('libmamba', exact=True) }} | ||
run_exports: | ||
- ${{ pin_subpackage('libmambapy', upper_bound='x.x') }} | ||
ignore_run_exports: | ||
by_name: | ||
- spdlog | ||
|
||
- package: | ||
name: mamba | ||
version: ${{ mamba_version }} | ||
build: | ||
script: | ||
- ${{ "build_mamba.sh" if unix }} | ||
- ${{ "build_mamba.bat" if win }} | ||
- ${{ "test_mamba.bat" if target_platform == win }} | ||
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }} | ||
python: | ||
entry_points: | ||
- mamba = mamba.mamba:main | ||
requirements: | ||
build: | ||
- if: build_platform != target_platform | ||
then: | ||
- python | ||
- cross-python_${{ target_platform }} | ||
run: | ||
- python | ||
- conda >=23.9,<24 | ||
- ${{ pin_subpackage('libmambapy', exact=True) }} | ||
|
||
|
||
about: | ||
homepage: https://github.com/mamba-org/mamba | ||
license: BSD-3-Clause | ||
license_file: LICENSE | ||
license_family: BSD | ||
summary: A fast drop-in alternative to conda, using libsolv for dependency resolution | ||
description: Mamba, the Fast Cross-Platform Package Manager | ||
|
||
repository: https://github.com/mamba-org/mamba |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters