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, 31 Jan 2023 11:55:04
Message-Id: 1675166093.f80110f12b1a2e1758247dce0ef3567ac9dfd4f3.mgorny@gentoo
1 commit: f80110f12b1a2e1758247dce0ef3567ac9dfd4f3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 11:51:06 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 11:54:53 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80110f1
7
8 dev-python/pdm-pep517: Remove old
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-1.1.0.ebuild | 63 ---------------------------
14 2 files changed, 64 deletions(-)
15
16 diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest
17 index 2223c9ca6d29..2cdd1a386949 100644
18 --- a/dev-python/pdm-pep517/Manifest
19 +++ b/dev-python/pdm-pep517/Manifest
20 @@ -1,3 +1,2 @@
21 DIST pdm-pep517-1.0.6.gh.tar.gz 315755 BLAKE2B 7b221d9ddc9683521e901177cafd2ffd2908af4acbe083b4a7d6525a81ece64d3768331135451d45ffc5c40c67c8c72802d75d52fdf85fa89a13f30110436a13 SHA512 5aeef3179d508d2acaedf4b99df41e64b26537120e586a01870651d2b379e2e5a1bf42934ee28a4b285cb83fe10ead073408b6b7d022ca1f55653533d12a2da1
22 -DIST pdm-pep517-1.1.0.gh.tar.gz 315971 BLAKE2B 679cdd14633a5d745be4dcb215986386464dbdcc91a69a7aaec4910cca7a6c1f65dab8e1a4710715873fae9b0fd07732e8df8a4859155864df330bfda7bfd120 SHA512 b12eeaf294556cdf79e4dc5bfd1d0dc57df64ed632ae678b00452f62b6d48eaf8b7f9437a8f7eec9ecc779d4da3155f3c4923fcdba814cbd1a4575e8f79cecd4
23 DIST pdm-pep517-1.1.1.gh.tar.gz 234424 BLAKE2B 7bf64c741c6e0e135d8d2358c7eee0777af792a32a825813e1d8dddbfeeeacfb232861dec063ba18a8f8f3587748bb63706a225114eaa60dcc02b40ce8a9ae5c SHA512 5ea8beb0275a2faae9b13c0f13da0f6d3ed8f3bf8f46572b9805daec6174fbfadc093158608b7b6ede4b682240d39edf904d2ad412c1fbdf4054ecb0b6d01283
24
25 diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.0.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.0.ebuild
26 deleted file mode 100644
27 index 438b25782acb..000000000000
28 --- a/dev-python/pdm-pep517/pdm-pep517-1.1.0.ebuild
29 +++ /dev/null
30 @@ -1,63 +0,0 @@
31 -# Copyright 2022-2023 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -DISTUTILS_USE_PEP517=standalone
37 -PYTHON_COMPAT=( python3_{9..11} pypy3 )
38 -
39 -inherit distutils-r1
40 -
41 -# upstream has renamed the repo but the legacy branch is still published
42 -# as pdm-pep517, sigh
43 -MY_P=pdm-backend-${PV}
44 -DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata"
45 -HOMEPAGE="
46 - https://pypi.org/project/pdm-pep517/
47 - https://github.com/pdm-project/pdm-backend/
48 -"
49 -SRC_URI="
50 - https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz
51 - -> ${P}.gh.tar.gz
52 -"
53 -S=${WORKDIR}/${MY_P}
54 -
55 -LICENSE="MIT"
56 -SLOT="0"
57 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
58 -
59 -RDEPEND="
60 - >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}]
61 - dev-python/license-expression[${PYTHON_USEDEP}]
62 - =dev-python/packaging-21*[${PYTHON_USEDEP}]
63 - >=dev-python/tomli-2[${PYTHON_USEDEP}]
64 - dev-python/tomli-w[${PYTHON_USEDEP}]
65 -"
66 -BDEPEND="
67 - ${RDEPEND}
68 - test? (
69 - dev-python/setuptools[${PYTHON_USEDEP}]
70 - dev-vcs/git
71 - )
72 -"
73 -# setuptools are used to build C extensions
74 -RDEPEND+="
75 - dev-python/setuptools[${PYTHON_USEDEP}]
76 -"
77 -
78 -distutils_enable_tests pytest
79 -
80 -src_prepare() {
81 - rm -r pdm/pep517/_vendor || die
82 - find -name '*.py' -exec sed \
83 - -e 's:from pdm\.pep517\._vendor\.:from :' \
84 - -e 's:from pdm\.pep517\._vendor ::' \
85 - -i {} + || die
86 - distutils-r1_src_prepare
87 -}
88 -
89 -src_test() {
90 - git config --global user.email "test@×××××××.com" || die
91 - git config --global user.name "Test User" || die
92 - distutils-r1_src_test
93 -}