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/python-utils/
Date: Fri, 13 May 2022 06:15:37
Message-Id: 1652422521.b265be9aff2622ae20a0d4c9839ab5a255f3ff41.mgorny@gentoo
1 commit: b265be9aff2622ae20a0d4c9839ab5a255f3ff41
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 13 05:11:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 06:15:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b265be9a
7
8 dev-python/python-utils: Bump to 3.2.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-utils/Manifest | 1 +
13 dev-python/python-utils/python-utils-3.2.2.ebuild | 39 +++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest
17 index 77a0c0f32c5a..f72a15bd58e1 100644
18 --- a/dev-python/python-utils/Manifest
19 +++ b/dev-python/python-utils/Manifest
20 @@ -1 +1,2 @@
21 DIST python-utils-3.1.0.tar.gz 24251 BLAKE2B c00f4c45480f0948cddfa65d4f1ce17ac6831e29b24913d225544619ebedaca67c0f143b55698f8e2edd658e5f90ac39e005a5c29e09d75b5643f79992ba878a SHA512 e22ea0dc7aa0e6c5b45c55843011971c5075639424d38a712703b0d5ef8af32e3661d39af63b6015c4edfe11fca7a256f4f02c3705e1724fe8b9015931d85cbf
22 +DIST python-utils-3.2.2.tar.gz 25202 BLAKE2B ae36d918bfd125ed1c01a71f8b448390b70071eca8c404f2ce89312c0de8296b29026cd72baa1eeba940d84e2f0b5275ea0ee96735fdecd1b7fb8f5d42ac1b57 SHA512 cd3a9efbd71e33a343de4793c1b415129fbe280ea6b6bc40e84fc1ada7d409139d8bef6c7e2954ef6cd3b9407d817b07a61093d1a8b9de70f6af0b6aba3ebc8d
23
24 diff --git a/dev-python/python-utils/python-utils-3.2.2.ebuild b/dev-python/python-utils/python-utils-3.2.2.ebuild
25 new file mode 100644
26 index 000000000000..ce049eb48c18
27 --- /dev/null
28 +++ b/dev-python/python-utils/python-utils-3.2.2.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Collection of small Python functions & classes"
41 +HOMEPAGE="
42 + https://github.com/WoLpH/python-utils/
43 + https://pypi.org/project/python-utils/
44 +"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +BDEPEND="
52 + test? (
53 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
54 + )
55 +"
56 +
57 +distutils_enable_tests pytest
58 +
59 +EPYTEST_IGNORE=(
60 + docs
61 + _python_utils_tests/test_logger.py
62 + python_utils/loguru.py
63 +)
64 +
65 +python_prepare_all() {
66 + sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die
67 + distutils-r1_python_prepare_all
68 +}