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: Tue, 10 May 2022 16:27:08
Message-Id: 1652200022.3b0d50246b85693410c283e978931f3c71d49f52.mgorny@gentoo
1 commit: 3b0d50246b85693410c283e978931f3c71d49f52
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 10 16:26:30 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 10 16:27:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0d5024
7
8 dev-python/platformdirs: Bump to 2.5.2
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.2.ebuild | 35 +++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest
17 index 94fc54d292c4..7b40886a312d 100644
18 --- a/dev-python/platformdirs/Manifest
19 +++ b/dev-python/platformdirs/Manifest
20 @@ -1 +1,2 @@
21 DIST platformdirs-2.5.1.gh.tar.gz 20103 BLAKE2B 78df153feabd397e6ab0d3c5edfe899f2e2685e7b287bd17c36346bc109d90ba783b5164605bda448322811312299ce65d49b85537ebd1629448c1d82f4718e5 SHA512 c0f3e79fbb41cda1f543fcb6d3a4ea0c96872d195197aa720864c1ed0efa095e633202878da9b19abfb2aded08f5c736f431b1c615ee0f21cbf1775e87b12356
22 +DIST platformdirs-2.5.2.gh.tar.gz 20335 BLAKE2B 5d11e39d3e7482646e90d57642f0a956633408de5ec9f3cc1954e451ebb3bc3234a453c1e62997bcc74a32082f5d044a1e68ef6d7e75e27876495ad6ffb3c8f5 SHA512 7162050adff66124601359f0c1f73e671444d286e9f00c2694647df233c25e1eae673baf829e3e74e2a54d15a1633d0202dba986d4ed8a2864fc47859af0fd4e
23
24 diff --git a/dev-python/platformdirs/platformdirs-2.5.2.ebuild b/dev-python/platformdirs/platformdirs-2.5.2.ebuild
25 new file mode 100644
26 index 000000000000..475252c18028
27 --- /dev/null
28 +++ b/dev-python/platformdirs/platformdirs-2.5.2.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..10} 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"
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}