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: Sun, 30 Oct 2022 06:40:01
Message-Id: 1667111936.3abaa92202c7224b5aead1282ef827ff3fe33efa.mgorny@gentoo
1 commit: 3abaa92202c7224b5aead1282ef827ff3fe33efa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 05:59:16 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 06:38:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3abaa922
7
8 dev-python/python-utils: Bump to 3.4.5
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.4.5.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 b4c9779b8b92..4f3c7759a189 100644
18 --- a/dev-python/python-utils/Manifest
19 +++ b/dev-python/python-utils/Manifest
20 @@ -1 +1,2 @@
21 DIST python-utils-3.3.3.tar.gz 28031 BLAKE2B d491e5ba1c8e2ab8d7c7797757cb6163f5f4cff223b898b4a9502f85b740df3c128234fd0034fc422d17efb38cfc7056aa7fb3aee9441f1f763fc742930da5b3 SHA512 6becb1873da57f66aec26b98dab22c7917dacddd1a843a0c6e4f2939986a33888cb3b6addfa3b98660f9f35ca54763cf6da34e4099cd3e21987660f12a574b27
22 +DIST python-utils-3.4.5.tar.gz 28608 BLAKE2B c933bf358ad61563fc35bc87329367946a64216afaddb3cd5bff861e0e1fadcc4d18c7a8ff7820bfee5938bc7ede3cea9d450ecc5b7c0825f917c59576d7195c SHA512 35b4b49dfce56e9e530fe979c070889296079d3a1fd548186bf6dbd6fdbce5363818b52a5d7559b7af3bd32561d87639565298386883351168a267fa88e1ff7f
23
24 diff --git a/dev-python/python-utils/python-utils-3.4.5.ebuild b/dev-python/python-utils/python-utils-3.4.5.ebuild
25 new file mode 100644
26 index 000000000000..ce049eb48c18
27 --- /dev/null
28 +++ b/dev-python/python-utils/python-utils-3.4.5.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 +}