Files
gentoo/dev-python/scikit-build-core/scikit-build-core-1.0.2.ebuild
Michał Górny 3155619877 dev-python/scikit-build-core: Bump to 1.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2026-07-10 04:34:51 +02:00

53 lines
1.3 KiB
Bash

# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/scikit-build/scikit-build-core
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
DESCRIPTION="Build backend for CMake based projects"
HOMEPAGE="
https://github.com/scikit-build/scikit-build-core/
https://pypi.org/project/scikit-build-core/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
# we always want [pyproject] extra
RDEPEND="
app-alternatives/ninja
dev-build/cmake
>=dev-python/packaging-23.2[${PYTHON_USEDEP}]
>=dev-python/pathspec-0.12.0[${PYTHON_USEDEP}]
>=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
dev-python/build[${PYTHON_USEDEP}]
>=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}]
dev-python/fastjsonschema[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-subprocess )
distutils_enable_tests pytest
python_test() {
local EPYTEST_IGNORE=(
# needs unpackaged validate_pyproject
tests/test_schema.py
)
epytest -m "not isolated and not network"
}