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/platformdirs/
Date: Fri, 17 Mar 2023 15:58:16
Message-Id: 1679068680.c2919f73b580cd3e2dd0ecb04c5ab72dba0dc453.mgorny@gentoo
1 commit: c2919f73b580cd3e2dd0ecb04c5ab72dba0dc453
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 17 15:54:50 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 17 15:58:00 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2919f73
7
8 dev-python/platformdirs: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/platformdirs/Manifest | 3 --
13 .../platformdirs/platformdirs-2.6.2-r1.ebuild | 53 ----------------------
14 dev-python/platformdirs/platformdirs-3.0.0.ebuild | 53 ----------------------
15 dev-python/platformdirs/platformdirs-3.1.0.ebuild | 53 ----------------------
16 4 files changed, 162 deletions(-)
17
18 diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest
19 index 733835581fec..461a808cb35f 100644
20 --- a/dev-python/platformdirs/Manifest
21 +++ b/dev-python/platformdirs/Manifest
22 @@ -1,4 +1 @@
23 -DIST platformdirs-2.6.2.gh.tar.gz 21184 BLAKE2B 4acc85301f764d4457ace88f9fb409e4d2f8bb17b9133dc3316c4d265a7cf50019298f1ba4cef87f5999b48fd7060687f7008079de26ffe74740a4cefff9309e SHA512 704cc39ba1746055e0459139759e118bd6178fb13cc8ecf580f58d16073fbb8ade0bce8b5eb9230ccc45b19f622a41c84a06f8698ee722da9d5cec44c5f46e25
24 -DIST platformdirs-3.0.0.gh.tar.gz 21358 BLAKE2B b7dd6d55cc07d9e584d2e3f4a8a1e3bcd5b75eac6786c4225c9b249af9d98cbe0c8b1edc7a6180c147ad13d0a7d5c4fbc9f15cf71af03590c011f7fd4ae336a4 SHA512 36885fdb4767e2525eef48e8ede6cec8013d2e8767c7940381d642faa14382583885c2428ce7b27fc36d33048494354cb4d16b42eac2748ca4458b8c124ed01f
25 -DIST platformdirs-3.1.0.gh.tar.gz 21721 BLAKE2B 5f7334c0003d0dcd51473820239068dd441ecc18e7837822f824f8ca2e5f5915aa89363eee27740214b97c1c4bb258a4ffa2ab6b4963bf6e9346c13fed6dc0f0 SHA512 49ad7b15419aff2c5af5c63a8850378d688eb95aadcd0c489d26fe4eea8315caffb17136fa7cbdf4a945bebae2eb8154ddfb771ed6fdc47595eff590e0f32ccb
26 DIST platformdirs-3.1.1.tar.gz 14712 BLAKE2B ddb070cc3c572b03eaa356599d2a0e408f7f0a650378e60b4a7b4fcd740fb9117c73491451588b26d42a4db9b971dbc690f9ddae34ec03e42248120ff5e4e64e SHA512 537557370a05f78279c88cdda4b5abfbe1d2e6d91d69c4dd4049c6b1a8ac3e44a830d787e2b86af85c346e0244a6ba26233db061d7c8d0a3fbd141962609930d
27
28 diff --git a/dev-python/platformdirs/platformdirs-2.6.2-r1.ebuild b/dev-python/platformdirs/platformdirs-2.6.2-r1.ebuild
29 deleted file mode 100644
30 index f35c13ebc2f0..000000000000
31 --- a/dev-python/platformdirs/platformdirs-2.6.2-r1.ebuild
32 +++ /dev/null
33 @@ -1,53 +0,0 @@
34 -# Copyright 2021-2023 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -
39 -DISTUTILS_USE_PEP517=flit
40 -PYTHON_COMPAT=( python3_{9..11} pypy3 )
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
45 -HOMEPAGE="
46 - https://pypi.org/project/platformdirs/
47 - https://github.com/platformdirs/platformdirs/
48 -"
49 -SRC_URI="
50 - https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz
51 - -> ${P}.gh.tar.gz
52 -"
53 -
54 -LICENSE="MIT"
55 -SLOT="0"
56 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
57 -
58 -BDEPEND="
59 - test? (
60 - dev-python/appdirs[${PYTHON_USEDEP}]
61 - dev-python/pytest-mock[${PYTHON_USEDEP}]
62 - )
63 -"
64 -
65 -distutils_enable_tests pytest
66 -
67 -src_configure() {
68 - grep -q 'build-backend = "hatchling' pyproject.toml ||
69 - die "Upstream changed build-backend, recheck"
70 - # write a custom pyproject.toml to ease setuptools bootstrap
71 - cat > pyproject.toml <<-EOF || die
72 - [build-system]
73 - requires = ["flit_core >=3.2,<4"]
74 - build-backend = "flit_core.buildapi"
75 -
76 - [project]
77 - name = "${PN}"
78 - version = "${PV}"
79 - description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".'
80 - EOF
81 - # sigh
82 - cat > src/platformdirs/version.py <<-EOF || die
83 - __version__ = version = '${PV}'
84 - __version_tuple__ = version_tuple = (${PV//./, })
85 - EOF
86 -}
87
88 diff --git a/dev-python/platformdirs/platformdirs-3.0.0.ebuild b/dev-python/platformdirs/platformdirs-3.0.0.ebuild
89 deleted file mode 100644
90 index bb833077f5ae..000000000000
91 --- a/dev-python/platformdirs/platformdirs-3.0.0.ebuild
92 +++ /dev/null
93 @@ -1,53 +0,0 @@
94 -# Copyright 2021-2023 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=8
98 -
99 -DISTUTILS_USE_PEP517=flit
100 -PYTHON_COMPAT=( python3_{9..11} pypy3 )
101 -
102 -inherit distutils-r1
103 -
104 -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
105 -HOMEPAGE="
106 - https://pypi.org/project/platformdirs/
107 - https://github.com/platformdirs/platformdirs/
108 -"
109 -SRC_URI="
110 - https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz
111 - -> ${P}.gh.tar.gz
112 -"
113 -
114 -LICENSE="MIT"
115 -SLOT="0"
116 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
117 -
118 -BDEPEND="
119 - test? (
120 - dev-python/appdirs[${PYTHON_USEDEP}]
121 - dev-python/pytest-mock[${PYTHON_USEDEP}]
122 - )
123 -"
124 -
125 -distutils_enable_tests pytest
126 -
127 -src_configure() {
128 - grep -q 'build-backend = "hatchling' pyproject.toml ||
129 - die "Upstream changed build-backend, recheck"
130 - # write a custom pyproject.toml to ease setuptools bootstrap
131 - cat > pyproject.toml <<-EOF || die
132 - [build-system]
133 - requires = ["flit_core >=3.2,<4"]
134 - build-backend = "flit_core.buildapi"
135 -
136 - [project]
137 - name = "${PN}"
138 - version = "${PV}"
139 - description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".'
140 - EOF
141 - # sigh
142 - cat > src/platformdirs/version.py <<-EOF || die
143 - __version__ = version = '${PV}'
144 - __version_tuple__ = version_tuple = (${PV//./, })
145 - EOF
146 -}
147
148 diff --git a/dev-python/platformdirs/platformdirs-3.1.0.ebuild b/dev-python/platformdirs/platformdirs-3.1.0.ebuild
149 deleted file mode 100644
150 index b876a13536e6..000000000000
151 --- a/dev-python/platformdirs/platformdirs-3.1.0.ebuild
152 +++ /dev/null
153 @@ -1,53 +0,0 @@
154 -# Copyright 2021-2023 Gentoo Authors
155 -# Distributed under the terms of the GNU General Public License v2
156 -
157 -EAPI=8
158 -
159 -DISTUTILS_USE_PEP517=flit
160 -PYTHON_COMPAT=( python3_{9..11} pypy3 )
161 -
162 -inherit distutils-r1
163 -
164 -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
165 -HOMEPAGE="
166 - https://pypi.org/project/platformdirs/
167 - https://github.com/platformdirs/platformdirs/
168 -"
169 -SRC_URI="
170 - https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz
171 - -> ${P}.gh.tar.gz
172 -"
173 -
174 -LICENSE="MIT"
175 -SLOT="0"
176 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
177 -
178 -BDEPEND="
179 - test? (
180 - dev-python/appdirs[${PYTHON_USEDEP}]
181 - dev-python/pytest-mock[${PYTHON_USEDEP}]
182 - )
183 -"
184 -
185 -distutils_enable_tests pytest
186 -
187 -src_configure() {
188 - grep -q 'build-backend = "hatchling' pyproject.toml ||
189 - die "Upstream changed build-backend, recheck"
190 - # write a custom pyproject.toml to ease setuptools bootstrap
191 - cat > pyproject.toml <<-EOF || die
192 - [build-system]
193 - requires = ["flit_core >=3.2,<4"]
194 - build-backend = "flit_core.buildapi"
195 -
196 - [project]
197 - name = "${PN}"
198 - version = "${PV}"
199 - description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".'
200 - EOF
201 - # sigh
202 - cat > src/platformdirs/version.py <<-EOF || die
203 - __version__ = version = '${PV}'
204 - __version_tuple__ = version_tuple = (${PV//./, })
205 - EOF
206 -}