Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-pep517/
Date: Mon, 24 Jan 2022 22:14:21
Message-Id: 1643062192.a71cb4e2342fe012b2ad94a2cc0db11a10dad10c.mgorny@gentoo
1 commit: a71cb4e2342fe012b2ad94a2cc0db11a10dad10c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 24 21:59:59 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 24 22:09:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71cb4e2
7
8 dev-python/pdm-pep517: Bump to 0.10.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pdm-pep517/Manifest | 1 +
13 dev-python/pdm-pep517/pdm-pep517-0.10.1.ebuild | 50 ++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest
17 index f9273745987d..a2bfe9f63f76 100644
18 --- a/dev-python/pdm-pep517/Manifest
19 +++ b/dev-python/pdm-pep517/Manifest
20 @@ -1 +1,2 @@
21 DIST pdm-pep517-0.10.0.gh.tar.gz 189457 BLAKE2B 5a51b62dbc828aec5bca6ada8c7ecb479dd7491f22251392198a3d8e183f2d3d86fd4264addd9a428c37a24041365f3eeecec0a33c3f1a39ea8a1a8e6827be91 SHA512 7eb76bdf3db99ec1cf76a467617ce15423eaa465800efa9ccb248efb3c3cb5644b8e6a9ce04d6181dc9f3b5287a167f62f25d5e3334929f3e947a62ca9633d01
22 +DIST pdm-pep517-0.10.1.gh.tar.gz 189525 BLAKE2B 10d80fee2ac45fd68c61baf9a8ee7365da19a5daa085fdecd3164b3271cf0c0ee8ad110b1f96a33a4eecdceace72c2d4ee1ce789331c208eb4a67e3b4e3fe56a SHA512 acdf36eeb2baf90c1c80b676901ac06946fbb32f2a5c2bfbdfd85d0889ae22a0851dede4f5898d109d20583504b311cbec6903deadfb77e3f1dd7ff6a1098e04
23
24 diff --git a/dev-python/pdm-pep517/pdm-pep517-0.10.1.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.10.1.ebuild
25 new file mode 100644
26 index 000000000000..9c1dcf99a0c9
27 --- /dev/null
28 +++ b/dev-python/pdm-pep517/pdm-pep517-0.10.1.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=standalone
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata"
40 +HOMEPAGE="
41 + https://pypi.org/project/pdm-pep517/
42 + https://github.com/pdm-project/pdm-pep517/
43 +"
44 +SRC_URI="
45 + https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz
46 + -> ${P}.gh.tar.gz
47 +"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64"
52 +
53 +# setuptools are used to build C extensions
54 +RDEPEND="
55 + dev-python/setuptools[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + test? (
59 + dev-vcs/git
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest
64 +
65 +src_test() {
66 + git config --global user.email "test@×××××××.com" || die
67 + git config --global user.name "Test User" || die
68 + distutils-r1_src_test
69 +}
70 +
71 +python_test() {
72 + local EPYTEST_DESELECT=()
73 + if [[ ${EPYTHON} == pypy3 ]]; then
74 + EPYTEST_DESELECT+=(
75 + tests/test_wheel.py::test_override_tags_in_wheel_filename
76 + )
77 + fi
78 + epytest
79 +}