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, 31 Aug 2021 07:56:48
Message-Id: 1630396601.c5a92ae3a174173f0aa08ad55923a19b2e69a4a4.mgorny@gentoo
1 commit: c5a92ae3a174173f0aa08ad55923a19b2e69a4a4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 31 06:53:33 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 31 07:56:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a92ae3
7
8 dev-python/platformdirs: Bump to 2.3.0
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.3.0.ebuild | 30 +++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest
17 index 9f95f506c44..0e76e925ac6 100644
18 --- a/dev-python/platformdirs/Manifest
19 +++ b/dev-python/platformdirs/Manifest
20 @@ -1,2 +1,3 @@
21 DIST platformdirs-2.0.2.gh.tar.gz 11365 BLAKE2B 53257c69f26dde3a0031c991cd6b5c72b361084342617f5c0590007a11a1d7d6e3c925dd6a8d73d3553cf1cc1d2b9fdf74fd0553d6b8891ef6b21d64bc0e256f SHA512 7cdfbcb4e37f2b4b551f3d685a40780518f9ba9c333cef0664965abaca320a10f6e944f967c0b0ba2d00e80df04b0e1e03426e6d1291e28d8f64128f50ebc1fc
22 DIST platformdirs-2.2.0.gh.tar.gz 17674 BLAKE2B 1b8e31033194f5682fb8c06be8268cc1ce6172b2bc9f0bfa0d376ab4387547c03c18d46e7c387eb2c36e5db42c09398c95d75cb32e4c5a59f0c7517e867aa1c1 SHA512 fbf4a6929543f5777576a258592e8065195e4d86d728f5c9b4065d1639d53b1c3c5de23c9d58282c291a7f600107af2de097ca2328f632927b9b773140590510
23 +DIST platformdirs-2.3.0.gh.tar.gz 18338 BLAKE2B c7d2b1b7ea65794507153b5c8d4d2e5a0668e4f9ef78024ab08c724e5cc5e91d0b6d7ec115a1ddab8a6fd7d34b4cb84cf3ebec64079d866344d2a7d18ca617e6 SHA512 3d20476d5064b6e300cddb5dcc9ba15346b1a8c3f5bfad869edda05cdd123a00a0c6c18b15af49a74f55fded5e11d69112b77239fe6f8f7da97c9a43ff442d8a
24
25 diff --git a/dev-python/platformdirs/platformdirs-2.3.0.ebuild b/dev-python/platformdirs/platformdirs-2.3.0.ebuild
26 new file mode 100644
27 index 00000000000..ca2a1a33808
28 --- /dev/null
29 +++ b/dev-python/platformdirs/platformdirs-2.3.0.ebuild
30 @@ -0,0 +1,30 @@
31 +# Copyright 2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
40 +HOMEPAGE="
41 + https://pypi.org/project/platformdirs/
42 + https://github.com/platformdirs/platformdirs/"
43 +SRC_URI="
44 + https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz
45 + -> ${P}.gh.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
50 +
51 +BDEPEND="
52 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
53 + test? (
54 + dev-python/appdirs[${PYTHON_USEDEP}]
55 + dev-python/pytest-mock[${PYTHON_USEDEP}]
56 + )"
57 +
58 +distutils_enable_tests pytest
59 +
60 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}