Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pep517/
Date: Wed, 01 Dec 2021 19:39:35
Message-Id: 1638387501.374c8c03a6ef38d44ccebf9ec987979ab4535e13.andrewammerlaan@gentoo
1 commit: 374c8c03a6ef38d44ccebf9ec987979ab4535e13
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 1 19:38:21 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 1 19:38:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=374c8c03
7
8 dev-python/pep517: remove duplicate
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/pep517/Manifest | 1 -
13 dev-python/pep517/metadata.xml | 18 -------------
14 dev-python/pep517/pep517-0.9.1.ebuild | 48 -----------------------------------
15 3 files changed, 67 deletions(-)
16
17 diff --git a/dev-python/pep517/Manifest b/dev-python/pep517/Manifest
18 deleted file mode 100644
19 index 18a1a13e0..000000000
20 --- a/dev-python/pep517/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST pep517-0.9.1.tar.gz 23213 BLAKE2B 2108178a35baff87657a5e0cc7684adad28e53d57fb4066826a9f5d5b0d8910096d208a3ca159005fa7ca0dad5b172ec0080131d177d03db1b1bc37692379d5b SHA512 7c7d181d52a6d042ad432c4366021f9b2364c77193d99066668acd4c6967dab299644febf0dc4a6efb9a777a0aaae7df2687191cba3f3b93e6bf06ee0769a7df
24
25 diff --git a/dev-python/pep517/metadata.xml b/dev-python/pep517/metadata.xml
26 deleted file mode 100644
27 index ae262366c..000000000
28 --- a/dev-python/pep517/metadata.xml
29 +++ /dev/null
30 @@ -1,18 +0,0 @@
31 -<?xml version="1.0" encoding="UTF-8"?>
32 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 -
34 -<pkgmetadata>
35 - <longdescription lang="en">
36 -PEP 517 specifies a standard API for systems which build Python packages.
37 -
38 -This package contains wrappers around the hooks specified by PEP 517. It provides:
39 -
40 - A mechanism to call the hooks in a subprocess, so they are isolated from the current process.
41 - Fallbacks for the optional hooks, so that frontends can call the hooks without checking which are defined.
42 - Higher-level functions which install the build dependencies into a temporary environment and build a wheel/sdist using them.
43 - </longdescription>
44 - <upstream>
45 - <remote-id type="github">pypa/pep517</remote-id>
46 - <remote-id type="pypi">pep517</remote-id>
47 - </upstream>
48 -</pkgmetadata>
49
50 diff --git a/dev-python/pep517/pep517-0.9.1.ebuild b/dev-python/pep517/pep517-0.9.1.ebuild
51 deleted file mode 100644
52 index 102c4905d..000000000
53 --- a/dev-python/pep517/pep517-0.9.1.ebuild
54 +++ /dev/null
55 @@ -1,48 +0,0 @@
56 -# Copyright 1999-2021 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI="7"
60 -
61 -PYTHON_COMPAT=( python3_{8,9} )
62 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml
63 -
64 -inherit distutils-r1
65 -
66 -DESCRIPTION="standard API for systems which build Python packages"
67 -HOMEPAGE="
68 - https://github.com/pypa/pep517
69 - https://pypi.org/project/pep517
70 -"
71 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
72 -
73 -LICENSE="MIT"
74 -SLOT="0"
75 -KEYWORDS="~amd64"
76 -
77 -RDEPEND="
78 - dev-python/toml[${PYTHON_USEDEP}]
79 -
80 - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7)
81 - $(python_gen_cond_dep 'dev-python/zipp[${PYTHON_USEDEP}]' python3_7)
82 -"
83 -DEPEND="
84 - ${RDEPEND}
85 - test? (
86 - dev-python/mock[${PYTHON_USEDEP}]
87 - dev-python/testpath[${PYTHON_USEDEP}]
88 - )
89 -"
90 -
91 -distutils_enable_tests pytest
92 -
93 -src_prepare() {
94 - sed -i 's|addopts=--flake8||' pytest.ini
95 - default
96 -}
97 -
98 -python_test() {
99 - pytest -vv \
100 - --deselect tests/test_meta.py::test_classic_package \
101 - --deselect tests/test_meta.py::test_meta_output \
102 - --deselect tests/test_meta.py::test_meta_for_this_package || die
103 -}