commit: 35a7a0a16fee62ecd7bd87b350e4c168f86a2e3d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 14:41:14 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 15:20:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a7a0a1
dev-python/pyproject-hooks: Bump to 1.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyproject-hooks/Manifest | 1 +
.../pyproject-hooks/pyproject-hooks-1.2.0.ebuild | 38 ++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/dev-python/pyproject-hooks/Manifest
b/dev-python/pyproject-hooks/Manifest
index e83e095938e2..0f63b86e1965 100644
--- a/dev-python/pyproject-hooks/Manifest
+++ b/dev-python/pyproject-hooks/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/pyproject-hooks/pyproject-hooks-1.2.0.ebuild
b/dev-python/pyproject-hooks/pyproject-hooks-1.2.0.ebuild
new file mode 100644
index 000000000000..3853b5b22281
--- /dev/null
+++ b/dev-python/pyproject-hooks/pyproject-hooks-1.2.0.ebuild
@@ -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
+)