commit:     d8b23f9379b7ac1f4a3a2403dd942490103adfaa
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 00:50:25 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 00:50:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8b23f93

dev-python/pep517: new package

doesn't install

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pep517/Manifest            |  1 +
 dev-python/pep517/metadata.xml        | 18 +++++++++++++++++
 dev-python/pep517/pep517-0.8.2.ebuild | 38 +++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/dev-python/pep517/Manifest b/dev-python/pep517/Manifest
new file mode 100644
index 0000000..a21985f
--- /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 0000000..ae26236
--- /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 0000000..d606c6d
--- /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

Reply via email to