1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DISTUTILS_USE_PEP517
=hatchling
7 DISTUTILS_SINGLE_IMPL
=1
8 PYTHON_COMPAT
=( python3_
{9.
.12} )
11 DESCRIPTION
="The libmamba based solver for conda"
12 HOMEPAGE
="https://github.com/conda/conda-libmamba-solver"
13 SRC_URI
="https://github.com/conda/conda-libmamba-solver/archive/${PV}.tar.gz -> ${P}.tar.gz"
15 S
="${WORKDIR}/conda-libmamba-solver-${PV}"
21 $(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]')
22 $(python_gen_cond_dep 'dev-python/hatch-vcs[${PYTHON_USEDEP}]')
26 $(python_gen_cond_dep 'dev-python/boltons[${PYTHON_USEDEP}]')
27 dev-util/mamba:=[python,${PYTHON_SINGLE_USEDEP}]
30 export SETUPTOOLS_SCM_PRETEND_VERSION
=${PV}
32 distutils_enable_tests pytest