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"
19 S
="${WORKDIR}/conda-libmamba-solver-${PV}"
22 $(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]')
23 $(python_gen_cond_dep 'dev-python/hatch-vcs[${PYTHON_USEDEP}]')
27 $(python_gen_cond_dep 'dev-python/boltons[${PYTHON_USEDEP}]')
28 dev-util/mamba:=[python,${PYTHON_SINGLE_USEDEP}]
31 export SETUPTOOLS_SCM_PRETEND_VERSION
=${PV}
33 distutils_enable_tests pytest