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/pyformance/
Date: Fri, 28 May 2021 14:19:39
Message-Id: 1622211570.89c78543a0a0a229013bd3d565857589ef785cce.mgorny@gentoo
1 commit: 89c78543a0a0a229013bd3d565857589ef785cce
2 Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
3 AuthorDate: Thu May 27 07:37:03 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 28 14:19:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c78543
7
8 dev-python/pyformance: bump python 3.{9,10}
9
10 passes tests
11
12 Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/21004
14 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
15
16 dev-python/pyformance/pyformance-0.4-r1.ebuild | 16 +++++++---------
17 1 file changed, 7 insertions(+), 9 deletions(-)
18
19 diff --git a/dev-python/pyformance/pyformance-0.4-r1.ebuild b/dev-python/pyformance/pyformance-0.4-r1.ebuild
20 index de8932038a8..00c24dde495 100644
21 --- a/dev-python/pyformance/pyformance-0.4-r1.ebuild
22 +++ b/dev-python/pyformance/pyformance-0.4-r1.ebuild
23 @@ -1,32 +1,30 @@
24 -# Copyright 1999-2020 Gentoo Authors
25 +# Copyright 1999-2021 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=7
29 -PYTHON_COMPAT=( python3_7 python3_8 )
30 +
31 +PYTHON_COMPAT=( python3_{7..10} )
32
33 inherit distutils-r1
34
35 DESCRIPTION="Performance metrics, based on Coda Hale's Yammer metrics"
36 HOMEPAGE="https://pyformance.readthedocs.org/ https://github.com/omergertel/pyformance/ https://pypi.org/project/pyformance/"
37 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
38 - https://dev.gentoo.org/~chutzpah/dist/python/pyformance-0.4-patches.tar.xz"
39 + https://dev.gentoo.org/~chutzpah/dist/python/${P}-patches.tar.xz"
40
41 LICENSE="Apache-2.0"
42 SLOT="0"
43 KEYWORDS="~amd64 ~x86"
44 -IUSE="test"
45
46 -DEPEND="
47 - dev-python/setuptools[${PYTHON_USEDEP}]
48 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
49 +BDEPEND="
50 test? ( dev-python/mock[${PYTHON_USEDEP}] )
51 "
52
53 -RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
54 -
55 distutils_enable_tests pytest
56
57 PATCHES=(
58 - "${WORKDIR}/pyformance-0.4-patches"
59 + "${WORKDIR}/${P}-patches"
60 )
61
62 python_prepare() {