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: Tue, 17 May 2022 06:54:41
Message-Id: 1652770468.54c71cc2cf7f081ff023b8e42d8a67066e8f1e02.mgorny@gentoo
1 commit: 54c71cc2cf7f081ff023b8e42d8a67066e8f1e02
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 17 05:56:12 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 06:54:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54c71cc2
7
8 dev-python/pdm-pep517: Bump to 0.12.5
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.5.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 2bde84bc2739..d961118cf2a7 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.4.gh.tar.gz 304353 BLAKE2B ca2b18af38423f7430a40e5cced207bd4bec8d101204902c89f335c5d08131e95fe17c5af7a3ef0e654c9e2106145ef5242c9015924a2711c90dbb0d2f48128e SHA512 2007a84909147cd48e9ea6114119a63855ddf48e220f8c896d516b6bddd5a7bd62046f090d739a5069b9e06700f0318e57bd1a4b3c7531508b41540357639c5e
22 +DIST pdm-pep517-0.12.5.gh.tar.gz 304900 BLAKE2B 0e2b6b126226be4b462a254baedfd689d21250e4cdaf80bc8372a1742c795fc4fc0f4f0c891b5d2546320957223d2be65cd9881ab8a190fc1e928b42ec450990 SHA512 00ab751c69a575c4a51afd39e47265b1a593666649d7b70177c8ce6047c1761b00e3fb2338654a7bbd48063d1f32d03fd59aa3c5e8c82393e23eb797f706c574
23
24 diff --git a/dev-python/pdm-pep517/pdm-pep517-0.12.5.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.12.5.ebuild
25 new file mode 100644
26 index 000000000000..ce38d4f05e82
27 --- /dev/null
28 +++ b/dev-python/pdm-pep517/pdm-pep517-0.12.5.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..11} 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 +}