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: Mon, 07 Nov 2022 05:54:38
Message-Id: 1667799027.47111b7a8ec247f42fe13fb9d2be5d5d331e4766.mgorny@gentoo
1 commit: 47111b7a8ec247f42fe13fb9d2be5d5d331e4766
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 7 05:30:27 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 7 05:30:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47111b7a
7
8 dev-python/platformdirs: Bump to 2.5.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/platformdirs/Manifest | 1 +
13 dev-python/platformdirs/platformdirs-2.5.3.ebuild | 35 +++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest
17 index bb7c55d33e49..29eac4e09f13 100644
18 --- a/dev-python/platformdirs/Manifest
19 +++ b/dev-python/platformdirs/Manifest
20 @@ -1 +1,2 @@
21 DIST platformdirs-2.5.2.gh.tar.gz 20335 BLAKE2B 5d11e39d3e7482646e90d57642f0a956633408de5ec9f3cc1954e451ebb3bc3234a453c1e62997bcc74a32082f5d044a1e68ef6d7e75e27876495ad6ffb3c8f5 SHA512 7162050adff66124601359f0c1f73e671444d286e9f00c2694647df233c25e1eae673baf829e3e74e2a54d15a1633d0202dba986d4ed8a2864fc47859af0fd4e
22 +DIST platformdirs-2.5.3.gh.tar.gz 20644 BLAKE2B db8411c06ddf6cf5628aca2b828654293430cff0db36df5cfddebee2bd10122a50aa66f5c6f724f8f051f8745a0c85a00d59b12778f4478b6632d2d088d2c266 SHA512 9a44673a1f5ce7f3197843c35fb7972baeb7ad586bbf5751b7185aca2ae62fc0e467df13247d57884c68e90db4ef6e96b73744b1528d9c1b3f4c90874fc9c538
23
24 diff --git a/dev-python/platformdirs/platformdirs-2.5.3.ebuild b/dev-python/platformdirs/platformdirs-2.5.3.ebuild
25 new file mode 100644
26 index 000000000000..8a195e51326b
27 --- /dev/null
28 +++ b/dev-python/platformdirs/platformdirs-2.5.3.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 2021-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=hatchling
36 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
41 +HOMEPAGE="
42 + https://pypi.org/project/platformdirs/
43 + https://github.com/platformdirs/platformdirs/
44 +"
45 +SRC_URI="
46 + https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
53 +
54 +BDEPEND="
55 + dev-python/hatch-vcs[${PYTHON_USEDEP}]
56 + test? (
57 + dev-python/appdirs[${PYTHON_USEDEP}]
58 + dev-python/pytest-mock[${PYTHON_USEDEP}]
59 + )
60 +"
61 +
62 +distutils_enable_tests pytest
63 +
64 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}