From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F574158089 for ; Sat, 28 Oct 2023 13:26:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B767E2BC013; Sat, 28 Oct 2023 13:26:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A3502BC013 for ; Sat, 28 Oct 2023 13:26:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6CEC335C0F for ; Sat, 28 Oct 2023 13:26:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D5CB11E3 for ; Sat, 28 Oct 2023 13:26:42 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1698499583.0e5b0846d0214e4c0045ec72ac9b5869e70164bc.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-build-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/scikit-build-core/scikit-build-core-0.6.0-r1.ebuild X-VCS-Directories: dev-python/scikit-build-core/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 0e5b0846d0214e4c0045ec72ac9b5869e70164bc X-VCS-Branch: master Date: Sat, 28 Oct 2023 13:26:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7378a82a-702c-4d07-8f8c-b8b4e3da0f67 X-Archives-Hash: 852dd86f7b6f63c32d0b738b3bfc0c33 commit: 0e5b0846d0214e4c0045ec72ac9b5869e70164bc Author: Andrey Grozin gentoo org> AuthorDate: Sat Oct 28 13:26:23 2023 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Sat Oct 28 13:26:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5b0846 dev-python/scikit-build-core: add python3_12 Signed-off-by: Andrey Grozin gentoo.org> .../scikit-build-core-0.6.0-r1.ebuild | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/dev-python/scikit-build-core/scikit-build-core-0.6.0-r1.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.6.0-r1.ebuild new file mode 100644 index 000000000000..0e79f26c9258 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.6.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +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="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + >=dev-python/packaging-20.9[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.1[${PYTHON_USEDEP}] + ' 3.9 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + ) + + epytest -m "not isolated and not network" +}