diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2020-04-25 02:50:25 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2020-04-25 02:50:25 +0200 |
commit | d8b23f9379b7ac1f4a3a2403dd942490103adfaa (patch) | |
tree | 020381df93ab79c649bb440096e299c8ad705809 | |
parent | dev-python/check-manifest: SETUPTOOLS rdepend (diff) | |
download | guru-d8b23f9379b7ac1f4a3a2403dd942490103adfaa.tar.gz guru-d8b23f9379b7ac1f4a3a2403dd942490103adfaa.tar.bz2 guru-d8b23f9379b7ac1f4a3a2403dd942490103adfaa.zip |
dev-python/pep517: new package
doesn't install
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
-rw-r--r-- | dev-python/pep517/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pep517/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/pep517/pep517-0.8.2.ebuild | 38 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pep517/Manifest b/dev-python/pep517/Manifest new file mode 100644 index 000000000..a21985ff7 --- /dev/null +++ b/dev-python/pep517/Manifest @@ -0,0 +1 @@ +DIST pep517-0.8.2.tar.gz 19057 BLAKE2B 44cecac9cb3542680d9f7f7e89d042313d9dcf00a49b94e589cde1918f62f3f527aec3f0c9afb039f280f072b46dbd78472ef197eec19fd7efd10b3573b7b2d5 SHA512 589af6465fe64ad04a8cf4af048df6a8e644423799b9ddd9f246fb314b5809c0415f7738a6c15280714a7454e53c7212c6a2f3f93d379204ee79b8832b53d307 diff --git a/dev-python/pep517/metadata.xml b/dev-python/pep517/metadata.xml new file mode 100644 index 000000000..ae262366c --- /dev/null +++ b/dev-python/pep517/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <longdescription lang="en"> +PEP 517 specifies a standard API for systems which build Python packages. + +This package contains wrappers around the hooks specified by PEP 517. It provides: + + A mechanism to call the hooks in a subprocess, so they are isolated from the current process. + Fallbacks for the optional hooks, so that frontends can call the hooks without checking which are defined. + Higher-level functions which install the build dependencies into a temporary environment and build a wheel/sdist using them. + </longdescription> + <upstream> + <remote-id type="github">pypa/pep517</remote-id> + <remote-id type="pypi">pep517</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pep517/pep517-0.8.2.ebuild b/dev-python/pep517/pep517-0.8.2.ebuild new file mode 100644 index 000000000..d606c6d27 --- /dev/null +++ b/dev-python/pep517/pep517-0.8.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml + +inherit distutils-r1 + +DESCRIPTION="standard API for systems which build Python packages" +HOMEPAGE=" + https://github.com/pypa/pep517 + https://pypi.org/project/pep517 +" +SRC_URI="https://github.com/pypa/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + >=dev-python/flit_core-2[${PYTHON_USEDEP}] + <dev-python/flit_core-3[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_{6,7}) + $(python_gen_cond_dep 'dev-python/zipp[${PYTHON_USEDEP}]' python3_{6,7}) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest |