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: Wed, 01 Jun 2022 07:21:43
Message-Id: 1654068089.e8b9431200ff05b0ee78b5c543d872bd3cb9a1fc.mgorny@gentoo
1 commit: e8b9431200ff05b0ee78b5c543d872bd3cb9a1fc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 06:26:02 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 07:21:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b94312
7
8 dev-python/python-utils: Bump to 3.3.3
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.3.3.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 f8c869790a14..d622857f6f6e 100644
18 --- a/dev-python/python-utils/Manifest
19 +++ b/dev-python/python-utils/Manifest
20 @@ -3,3 +3,4 @@ DIST python-utils-3.2.2.tar.gz 25202 BLAKE2B ae36d918bfd125ed1c01a71f8b448390b70
21 DIST python-utils-3.2.3.tar.gz 25153 BLAKE2B b4e65b647b42288111edc7a90f7c1b1c3a222a999edacc2f0764e378f7c5f0b5c512842d73ea9f2e70052ba43ac48f9eb914a8a410b564bcd965c357672eda57 SHA512 85f1607faacf210c8e377a438c5d2f66e237cc870a91a9ed1ec7150aa8a7bb8f8fd5b3b0fb5e9585afb81801e7048f92b7ea46943205ddd9e271d6087b5e05d5
22 DIST python-utils-3.3.0.tar.gz 27537 BLAKE2B 95570896c9a96161f0bcd2966ab8ffe8cf29ef29d50b8103ed6d0df4824aa3cbb6058d2b1d58b0ab98033775c5ea522c962bded2fd48b156bb57d686c8c872b0 SHA512 94a6ba6d303990cfd976d5676b5383df672d775385327e342b938483033fbd12fc75ce75afc6b66dd9fbf729d13e2a695246cc6a48073f579eeb7c0c82c7730e
23 DIST python-utils-3.3.1.tar.gz 27565 BLAKE2B 79e865342d57ee1a841d9f17f26a26586ab477f5b7538ce514091f2c1f6d9054b34b8642ebc0f3555abdf696f74ce1473d80365844819829b9d8be37d1cc58f0 SHA512 d2c91f50999b3706696c161abd1f3bee5e39cb5078daa8d4604ad9c9905a02a221d0ffb7ae57bdb7c278b8d0c14c763d613305bf3371cb01adf4075ae55fd4f4
24 +DIST python-utils-3.3.3.tar.gz 28031 BLAKE2B d491e5ba1c8e2ab8d7c7797757cb6163f5f4cff223b898b4a9502f85b740df3c128234fd0034fc422d17efb38cfc7056aa7fb3aee9441f1f763fc742930da5b3 SHA512 6becb1873da57f66aec26b98dab22c7917dacddd1a843a0c6e4f2939986a33888cb3b6addfa3b98660f9f35ca54763cf6da34e4099cd3e21987660f12a574b27
25
26 diff --git a/dev-python/python-utils/python-utils-3.3.3.ebuild b/dev-python/python-utils/python-utils-3.3.3.ebuild
27 new file mode 100644
28 index 000000000000..ce049eb48c18
29 --- /dev/null
30 +++ b/dev-python/python-utils/python-utils-3.3.3.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Collection of small Python functions & classes"
43 +HOMEPAGE="
44 + https://github.com/WoLpH/python-utils/
45 + https://pypi.org/project/python-utils/
46 +"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +BDEPEND="
54 + test? (
55 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
56 + )
57 +"
58 +
59 +distutils_enable_tests pytest
60 +
61 +EPYTEST_IGNORE=(
62 + docs
63 + _python_utils_tests/test_logger.py
64 + python_utils/loguru.py
65 +)
66 +
67 +python_prepare_all() {
68 + sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die
69 + distutils-r1_python_prepare_all
70 +}