dev-python/pep517: remove duplicate

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-12-01 20:38:21 +01:00
parent 16beb920b2
commit 374c8c03a6
3 changed files with 0 additions and 67 deletions

View File

@@ -1 +0,0 @@
DIST pep517-0.9.1.tar.gz 23213 BLAKE2B 2108178a35baff87657a5e0cc7684adad28e53d57fb4066826a9f5d5b0d8910096d208a3ca159005fa7ca0dad5b172ec0080131d177d03db1b1bc37692379d5b SHA512 7c7d181d52a6d042ad432c4366021f9b2364c77193d99066668acd4c6967dab299644febf0dc4a6efb9a777a0aaae7df2687191cba3f3b93e6bf06ee0769a7df

View File

@@ -1,18 +0,0 @@
<?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>

View File

@@ -1,48 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8,9} )
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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/toml[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7)
$(python_gen_cond_dep 'dev-python/zipp[${PYTHON_USEDEP}]' python3_7)
"
DEPEND="
${RDEPEND}
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/testpath[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
sed -i 's|addopts=--flake8||' pytest.ini
default
}
python_test() {
pytest -vv \
--deselect tests/test_meta.py::test_classic_package \
--deselect tests/test_meta.py::test_meta_output \
--deselect tests/test_meta.py::test_meta_for_this_package || die
}