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: Sat, 02 Apr 2022 09:47:06
Message-Id: 1648892814.2a47be89107c1a046ec3030712ce2d9b7a2adb87.mgorny@gentoo
1 commit: 2a47be89107c1a046ec3030712ce2d9b7a2adb87
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 08:56:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 09:46:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a47be89
7
8 dev-python/pdm-pep517: Bump to 0.12.3
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.12.3.ebuild | 58 ++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest
17 index a9a4b5ba85e5..299d0166e621 100644
18 --- a/dev-python/pdm-pep517/Manifest
19 +++ b/dev-python/pdm-pep517/Manifest
20 @@ -1 +1,2 @@
21 DIST pdm-pep517-0.12.1.gh.tar.gz 303954 BLAKE2B 65344c2571264b9fadcffcf5ae05f42246912dce3e7029a1ea5e91df72f1c9425d603024099146cb7d9ed95d8e3ab0fcf5058ab35346893e28d3595d430548f6 SHA512 a7c27c685eec274798b5d9fa7fd3d7ec7ca77d204110c7c9962a53b1522c4c6dbc56d7413ce5ff6fe8e8f091b0d4e4914b9e3296dc226bcae9f5fbc2cb28444e
22 +DIST pdm-pep517-0.12.3.gh.tar.gz 304242 BLAKE2B ad4beb6ab35c219e1991b585bf9ce087be3e7e957f34b1dbc9de676f7b49c3084471e2b55c634eb6fd1cf6cb88dd4161b5060a17a5ca7e5e3ae57c9610303f6e SHA512 4c0f098d5237353fea73ef62149b8177987881239cb6b1b112bd6789931acd7484c56d413f780db4f23c60f4ff3a37c6956de3e1de472fed114487925b0e3553
23
24 diff --git a/dev-python/pdm-pep517/pdm-pep517-0.12.3.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.12.3.ebuild
25 new file mode 100644
26 index 000000000000..c95abf912f72
27 --- /dev/null
28 +++ b/dev-python/pdm-pep517/pdm-pep517-0.12.3.ebuild
29 @@ -0,0 +1,58 @@
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 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata"
41 +HOMEPAGE="
42 + https://pypi.org/project/pdm-pep517/
43 + https://github.com/pdm-project/pdm-pep517/
44 +"
45 +SRC_URI="
46 + https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +
54 +RDEPEND="
55 + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}]
56 + dev-python/license-expression[${PYTHON_USEDEP}]
57 + >=dev-python/packaging-21.0[${PYTHON_USEDEP}]
58 + >=dev-python/tomli-2[${PYTHON_USEDEP}]
59 + dev-python/tomli-w[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + ${RDEPEND}
63 + test? (
64 + dev-vcs/git
65 + )
66 +"
67 +# setuptools are used to build C extensions
68 +RDEPEND+="
69 + dev-python/setuptools[${PYTHON_USEDEP}]
70 +"
71 +
72 +distutils_enable_tests pytest
73 +
74 +src_prepare() {
75 + rm -r pdm/pep517/_vendor || die
76 + find -name '*.py' -exec sed \
77 + -e 's:from pdm\.pep517\._vendor\.:from :' \
78 + -e 's:from pdm\.pep517\._vendor ::' \
79 + -i {} + || die
80 + distutils-r1_src_prepare
81 +}
82 +
83 +src_test() {
84 + git config --global user.email "test@×××××××.com" || die
85 + git config --global user.name "Test User" || die
86 + distutils-r1_src_test
87 +}