diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-30 19:23:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-30 19:57:42 +0100 |
commit | 550378096105626593bb4ee8b5f565068972873a (patch) | |
tree | e1e406a4def7ae7169d7fd101717e797931a2ec9 /dev-python | |
parent | sci-libs/caffe2: drop 1.11.0-r2 (diff) | |
download | gentoo-550378096105626593bb4ee8b5f565068972873a.tar.gz gentoo-550378096105626593bb4ee8b5f565068972873a.tar.bz2 gentoo-550378096105626593bb4ee8b5f565068972873a.zip |
dev-python/pyproject-api: New dep of dev-python/tox, v1.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyproject-api/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyproject-api/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pyproject-api/pyproject-api-1.1.2.ebuild | 41 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pyproject-api/Manifest b/dev-python/pyproject-api/Manifest new file mode 100644 index 000000000000..74462b39863a --- /dev/null +++ b/dev-python/pyproject-api/Manifest @@ -0,0 +1 @@ +DIST pyproject-api-1.1.2.gh.tar.gz 19058 BLAKE2B 3c8672821baad2ed440474c42818bd37fb7ed7f20f29d9c765190cc8ac6352ff18a17b35d97a73cf4f76001bdff92d2e0e8fd0f29f45d69a5bf7377b2ddc9626 SHA512 e4f2c97d49789fcf231af83758697e5b505c4a9afb6268349da215c3f5f94e3bf78b70beeea4ca51706b71313101dffc15942db394a7994b85e7c5f763e090d7 diff --git a/dev-python/pyproject-api/metadata.xml b/dev-python/pyproject-api/metadata.xml new file mode 100644 index 000000000000..0441a08b409f --- /dev/null +++ b/dev-python/pyproject-api/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> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">tox-dev/pyproject-api</remote-id> + <remote-id type="pypi">pyproject-api</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyproject-api/pyproject-api-1.1.2.ebuild b/dev-python/pyproject-api/pyproject-api-1.1.2.ebuild new file mode 100644 index 000000000000..bceb25a0b8c1 --- /dev/null +++ b/dev-python/pyproject-api/pyproject-api-1.1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="API to interact with the python pyproject.toml based projects" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-api/ + https://pypi.org/project/pyproject-api/ +" +SRC_URI=" + https://github.com/tox-dev/pyproject-api/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) +" +BDEPEND=" + >=dev-python/hatch-vcs-0.2[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + >=dev-python/wheel-0.37.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |