dev-python/pyproject-hooks: Sync with Gentoo

It's from Gentoo commit 35a7a0a16fee62ecd7bd87b350e4c168f86a2e3d.
This commit is contained in:
Flatcar Buildbot 2024-10-07 07:05:17 +00:00 committed by Krzesimir Nowak
parent 4b0b9e5a7a
commit 3b4f2f10e8
2 changed files with 39 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST pyproject-hooks-1.1.0.gh.tar.gz 18774 BLAKE2B e6b376188655a5bc188567f412c22f8224209612c4fb0332f8c0c441180c18589139549139957834b3359bf3ced961e22f97e2449edc354047afaa6d2eff58d7 SHA512 256028d13adbe35126a63431a2a49e0c48adddce5ffc3ff2eebad368eee7ce52591ecfd8a8526876de20bc59dfc87156533d6a97b55538a739873e60f9509eff DIST pyproject-hooks-1.1.0.gh.tar.gz 18774 BLAKE2B e6b376188655a5bc188567f412c22f8224209612c4fb0332f8c0c441180c18589139549139957834b3359bf3ced961e22f97e2449edc354047afaa6d2eff58d7 SHA512 256028d13adbe35126a63431a2a49e0c48adddce5ffc3ff2eebad368eee7ce52591ecfd8a8526876de20bc59dfc87156533d6a97b55538a739873e60f9509eff
DIST pyproject_hooks-1.2.0.tar.gz 19228 BLAKE2B e02864220393876639cc459918f48c02e19835b392102d117cb5900c9a4f5228bc21377421f7afdd67300ba15d131194197a3b4b1ce0ad7fef195bca9be4344b SHA512 e098e521f03cfae9a96c0ee5d2e2ef46ef832d8f38c7d8380fc17355776e09ae3a704879e6e4a2bc7999092c4dbf80267b3b56850135c74d275a12607e0ffe83

View File

@ -0,0 +1,38 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Wrappers to build Python packages using PEP 517 hooks"
HOMEPAGE="
https://pypi.org/project/pyproject-hooks/
https://github.com/pypa/pyproject-hooks/
https://pyproject-hooks.readthedocs.io/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
BDEPEND="
test? (
dev-python/testpath[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.10)
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# fails due to setuptools 70.1
# https://bugs.gentoo.org/936052
# https://github.com/pypa/pyproject-hooks/issues/203
tests/test_call_hooks.py::test_setup_py
)