Skip to content

Commit

Permalink
update recipe based on anacondarceipes feedsock
Browse files Browse the repository at this point in the history
  • Loading branch information
dholth committed Oct 28, 2023
1 parent 5de9d52 commit 3ad1545
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package:
name: "conda-libmamba-solver"
version: "{{ GIT_DESCRIBE_TAG }}.{{ GIT_BUILD_STR }}"

source:
# git_url is nice in that it won't capture devenv stuff. However, it only
# captures committed code, so pay attention.
git_url: ../
folder: src/

build:
number: 0
skip: true # [py<38]
script_env:
- SETUPTOOLS_SCM_PRETEND_VERSION={{ GIT_DESCRIBE_TAG }}.{{ GIT_BUILD_STR }}
script: {{ PYTHON }} -m pip install src/ -vv --no-deps --no-build-isolation

requirements:
host:
- python
- pip
- hatchling
- hatch-vcs
run:
- python
- conda >=23.7.4
- libmambapy >=1.5.1
- boltons >=23.0.0

test:
imports:
- conda_libmamba_solver
commands:
- CONDA_SOLVER=libmamba conda create -n test --dry-run scipy # [not win] Not crosss platform.
- conda create --solver libmamba -n test --dry-run scipy

about:
home: https://github.com/conda/conda-libmamba-solver
license: BSD-3-Clause
license_family: BSD
license_file: src/LICENSE
summary: 'The fast mamba solver, now in conda!'
description: |
The conda-libmamba-solver is a new solver for the conda package manager
which uses the solver from the mamba project behind the scenes,
while carefully implementing conda's functionality and expected behaviors on top.
The library used by mamba to do the heavy-lifting is called libsolv.
dev_url: https://github.com/conda/conda-libmamba-solver
doc_url: https://conda.github.io/conda-libmamba-solver/

extra:
recipe-maintainers:
- jaimergp
- jezdez
- wolfv
skip-lints:
- missing_pip_check

0 comments on commit 3ad1545

Please sign in to comment.