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: Sun, 20 Feb 2022 14:03:08
Message-Id: 1645365777.9511cfece3ab79a8ccef6bd4bc37d1db20ae9c38.mgorny@gentoo
1 commit: 9511cfece3ab79a8ccef6bd4bc37d1db20ae9c38
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 13:28:07 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 14:02:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9511cfec
7
8 dev-python/platformdirs: Bump to 2.5.1
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.1.ebuild | 32 +++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest
17 index b36ccc07a72c..bcd71171a6fd 100644
18 --- a/dev-python/platformdirs/Manifest
19 +++ b/dev-python/platformdirs/Manifest
20 @@ -1,2 +1,3 @@
21 DIST platformdirs-2.4.1.gh.tar.gz 20051 BLAKE2B 18fd11f7cae7c81c3615c89468d1deb3ceef3337b4a87a806b245b7bb5a4c14c0eb64fc7cfa06adc2da6150969da3a626da16c1f309f3011a9d4c5d1e4ca1d83 SHA512 d410056207506395c922ecc36c481bcc21f8dd97c69f33dc13580c74d0ea3d1aaa97284b79eed47b723f18c663038874edc5b9c4f4def06d92f1e25f7a8d76b4
22 DIST platformdirs-2.5.0.gh.tar.gz 20101 BLAKE2B 420e70bfef15d17f69927809580440a4a9df618be7a93299a963bef236c5f966d0abe88f7bd9bf292109e5ddeb9b87b5615171ea1c70db9c7b2934d8b11fde5d SHA512 a50acf15bc776fdb43f6875055991aa85d5ebe7a931e27c9eada42500305cc1c7892e32687f2f882e850a97748e23dc6f2777f7f54558a32d6a413e35569f6f5
23 +DIST platformdirs-2.5.1.gh.tar.gz 20103 BLAKE2B 78df153feabd397e6ab0d3c5edfe899f2e2685e7b287bd17c36346bc109d90ba783b5164605bda448322811312299ce65d49b85537ebd1629448c1d82f4718e5 SHA512 c0f3e79fbb41cda1f543fcb6d3a4ea0c96872d195197aa720864c1ed0efa095e633202878da9b19abfb2aded08f5c736f431b1c615ee0f21cbf1775e87b12356
24
25 diff --git a/dev-python/platformdirs/platformdirs-2.5.1.ebuild b/dev-python/platformdirs/platformdirs-2.5.1.ebuild
26 new file mode 100644
27 index 000000000000..1549e1aa516e
28 --- /dev/null
29 +++ b/dev-python/platformdirs/platformdirs-2.5.1.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 2021-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
42 +HOMEPAGE="
43 + https://pypi.org/project/platformdirs/
44 + https://github.com/platformdirs/platformdirs/"
45 +SRC_URI="
46 + https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
52 +
53 +BDEPEND="
54 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
55 + test? (
56 + dev-python/appdirs[${PYTHON_USEDEP}]
57 + dev-python/pytest-mock[${PYTHON_USEDEP}]
58 + )"
59 +
60 +distutils_enable_tests pytest
61 +
62 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}