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/line_profiler/
Date: Sat, 04 Mar 2023 04:50:41
Message-Id: 1677905430.ed770304950f9074a156bc0dcb18957f07e5361a.mgorny@gentoo
1 commit: ed770304950f9074a156bc0dcb18957f07e5361a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 4 04:27:14 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 04:50:30 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed770304
7
8 dev-python/line_profiler: Bump to 4.0.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/line_profiler/Manifest | 1 +
13 .../line_profiler/line_profiler-4.0.3.ebuild | 43 ++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest
17 index 882f2c75b700..17c0ab984d2c 100644
18 --- a/dev-python/line_profiler/Manifest
19 +++ b/dev-python/line_profiler/Manifest
20 @@ -1 +1,2 @@
21 DIST line_profiler-4.0.2.gh.tar.gz 63855 BLAKE2B e2f077214fb1387504446882396b3b48f5dc309b9de9ff7d7f39dfb96361e0b4ce5461510c878caabbfa4c2723fe65f2eeca5eb4fb261f1a735ebe32beb3b0fe SHA512 ef07d51a33cc71de0409f8dbdae47c738a8088ece577b077e9b7ff6e4f296da30f7843ef01f3bdcedadc1ad778fe625c0880e6a27844f49cda780f2fd6960acf
22 +DIST line_profiler-4.0.3.gh.tar.gz 63873 BLAKE2B b34baa89d6625e0887823a44b89fc1b5c3a069ba5d160b959fd435080cfa64e68f693a03e3ed2741efc6d7ca71a60ac0b0e43bd8ba3101089a4e3d0d6c88303e SHA512 3f7734e3651588b1d40df0836d8c93384541b6a010e70becc419101377ac90374fc8f202b927b42ca4aec3e030d9ed52f4955f9fcae3c8d0396f96e21a29eeac
23
24 diff --git a/dev-python/line_profiler/line_profiler-4.0.3.ebuild b/dev-python/line_profiler/line_profiler-4.0.3.ebuild
25 new file mode 100644
26 index 000000000000..cc5995f63faa
27 --- /dev/null
28 +++ b/dev-python/line_profiler/line_profiler-4.0.3.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2023 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_{9..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Line-by-line profiler"
41 +HOMEPAGE="
42 + https://github.com/pyutils/line_profiler/
43 + https://pypi.org/project/line-profiler/
44 +"
45 +SRC_URI="
46 + https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +SLOT="0"
51 +LICENSE="BSD"
52 +KEYWORDS="~amd64 ~x86"
53 +
54 +RDEPEND="
55 + dev-python/ipython[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + dev-python/cython[${PYTHON_USEDEP}]
59 + test? (
60 + dev-python/coverage[${PYTHON_USEDEP}]
61 + dev-python/ubelt[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +distutils_enable_tests pytest
66 +
67 +export LINE_PROFILER_BUILD_METHOD=cython
68 +
69 +python_test() {
70 + cd tests || die
71 + epytest
72 +}