diff options
author | 2023-01-12 06:35:45 +0100 | |
---|---|---|
committer | 2023-01-12 07:13:51 +0100 | |
commit | b03dc71100e240c588a8c7d953ec27b89a61efa8 (patch) | |
tree | e24a12b6df09df3d1736ac6addfb27f39887d155 /dev-python/pyproject-hooks/pyproject-hooks-1.0.0.ebuild | |
parent | dev-python/cfn-lint: Bump to 0.72.8 (diff) | |
download | gentoo-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/pyproject-hooks-1.0.0.ebuild')
-rw-r--r-- | dev-python/pyproject-hooks/pyproject-hooks-1.0.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
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 |