commit: 12d5122a8422941a2e77cac0b2260c3878edd0f6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 24 07:03:37 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 24 09:03:34 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d5122a
dev-python/line-profiler: Bump to 5.0.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/line-profiler/Manifest | 1 +
.../line-profiler/line-profiler-5.0.2.ebuild | 54 ++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/dev-python/line-profiler/Manifest
b/dev-python/line-profiler/Manifest
index 610febf03f99..a0eb76bc4e87 100644
--- a/dev-python/line-profiler/Manifest
+++ b/dev-python/line-profiler/Manifest
@@ -1 +1,2 @@
DIST line_profiler-5.0.0.gh.tar.gz 204040 BLAKE2B
807332539f6c130a65f8dc5ac23f79f5b7e43a2e92b7b077c2f9e620effa49234d96fcf637225b41f377bf72d13aaf3b554342d5babd17df702237ce6a903c10
SHA512
a04f511d49685be3da5c5d8811f3cf7e080af373e4055dbeab36cc493b24a05b1975e0c798bdb1ca25bbd57e6854615f834ce0f01655ca621707d0a739f9a4bc
+DIST line_profiler-5.0.2.gh.tar.gz 222335 BLAKE2B
4b5d890de6bb2172550adae338a8cdb62ebbd6afb16bd0d53fed198bd1ba3fdbf7231e236910960af47838f9034fbcc7de109f869ba83edb763531b89f889171
SHA512
1283c37667e34014efd4660285de849ef2059889033f998c4a360db9740c355d740e81309b500ee0f642939f511a8d8d4c4b58e2c043b128294b0733d74a170d
diff --git a/dev-python/line-profiler/line-profiler-5.0.2.ebuild
b/dev-python/line-profiler/line-profiler-5.0.2.ebuild
new file mode 100644
index 000000000000..874bc94e5de5
--- /dev/null
+++ b/dev-python/line-profiler/line-profiler-5.0.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+MY_P=line_profiler-${PV}
+DESCRIPTION="Line-by-line profiler"
+HOMEPAGE="
+ https://github.com/pyutils/line_profiler/
+ https://pypi.org/project/line-profiler/
+"
+SRC_URI="
+ https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+# NB: while building the C extension is optional for some reason, it is
+# unconditionally required at runtime.
+
+RDEPEND="
+ dev-python/ipython[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ test? (
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/ubelt[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+export LINE_PROFILER_BUILD_METHOD=cython
+
+EPYTEST_IGNORE=(
+ # Internet (isolated builds)
+ test_cython.py
+)
+
+python_test() {
+ cd tests || die
+ epytest
+}