summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-12 06:35:45 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-12 07:13:51 +0100
commitb03dc71100e240c588a8c7d953ec27b89a61efa8 (patch)
treee24a12b6df09df3d1736ac6addfb27f39887d155 /dev-python/pyproject-hooks
parentdev-python/cfn-lint: Bump to 0.72.8 (diff)
downloadgentoo-b03dc71100e240c588a8c7d953ec27b89a61efa8.tar.gz
gentoo-b03dc71100e240c588a8c7d953ec27b89a61efa8.tar.bz2
gentoo-b03dc71100e240c588a8c7d953ec27b89a61efa8.zip
dev-python/pyproject-hooks: New package, v1.0.0
Add the new dependency of dev-python/build. Technically, it's a rename of pep517 but since it doesn't provide backwards compatibility, it makes more sense to start it as a new package. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyproject-hooks')
-rw-r--r--dev-python/pyproject-hooks/Manifest1
-rw-r--r--dev-python/pyproject-hooks/metadata.xml12
-rw-r--r--dev-python/pyproject-hooks/pyproject-hooks-1.0.0.ebuild37
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/pyproject-hooks/Manifest b/dev-python/pyproject-hooks/Manifest
new file mode 100644
index 000000000000..62489d7f8552
--- /dev/null
+++ b/dev-python/pyproject-hooks/Manifest
@@ -0,0 +1 @@
+DIST pyproject-hooks-1.0.0.gh.tar.gz 16001 BLAKE2B c90d2fb70ada9414cbbf201bfbb695b4e9055b61fdcdc8e0f8a2548e4f47e7512140fc71fee9f9306577d97b76ca64e77b7c58d526381c5481739e630e5250a1 SHA512 fca9b69859d7e3949b158c2879ba7ebc7305f1edaacdd84b71a92565010176d1194be03a21fd6b9aa65d175cfd8243ba3a50aab617fb56ceac6b263da6613e17
diff --git a/dev-python/pyproject-hooks/metadata.xml b/dev-python/pyproject-hooks/metadata.xml
new file mode 100644
index 000000000000..4788ace41f6a
--- /dev/null
+++ b/dev-python/pyproject-hooks/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">pyproject_hooks</remote-id>
+ <remote-id type="github">pypa/pyproject-hooks</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyproject-hooks/pyproject-hooks-1.0.0.ebuild b/dev-python/pyproject-hooks/pyproject-hooks-1.0.0.ebuild
new file mode 100644
index 000000000000..23c2030d6861
--- /dev/null
+++ b/dev-python/pyproject-hooks/pyproject-hooks-1.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+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/
+"
+SRC_URI="
+ https://github.com/pypa/pyproject-hooks/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.{8..10})
+"
+BDEPEND="
+ test? (
+ dev-python/testpath[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest