summaryrefslogtreecommitdiff
path: root/dev-python/line-profiler
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-24 07:03:50 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-24 07:03:50 +0000
commita2361b1f4420f07a01571ffc124de5123ca4b0a1 (patch)
tree09c25c65507187a014c7dc3db614b56d5bc914dc /dev-python/line-profiler
parentad7a9ff5544f85de6a54047d6a94942c2ba30cc5 (diff)
downloadbaldeagleos-repo-a2361b1f4420f07a01571ffc124de5123ca4b0a1.tar.gz
baldeagleos-repo-a2361b1f4420f07a01571ffc124de5123ca4b0a1.tar.xz
baldeagleos-repo-a2361b1f4420f07a01571ffc124de5123ca4b0a1.zip
Adding metadata
Diffstat (limited to 'dev-python/line-profiler')
-rw-r--r--dev-python/line-profiler/Manifest1
-rw-r--r--dev-python/line-profiler/line-profiler-5.0.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/line-profiler/Manifest b/dev-python/line-profiler/Manifest
index 2b318912dd46..c8945b92ec81 100644
--- a/dev-python/line-profiler/Manifest
+++ b/dev-python/line-profiler/Manifest
@@ -1 +1,2 @@
DIST line_profiler-4.2.0.gh.tar.gz 105578 BLAKE2B 5ccef934619986e225e338e6e8b99bc2182c571b8c5377df829d83365bafb0a23eefd5cdbe4bba92a728bc6ac3299084fb61177d342c9a0034c4fc1f9d69b45b SHA512 1ed1324445f3189d7a7b9528c96b0251e1a44faace43c9ca14ecafbead60134138803cabb7c355f7b943bed85720f53689fd40260f02c98dc8597128b945ce01
+DIST line_profiler-5.0.0.gh.tar.gz 204040 BLAKE2B 807332539f6c130a65f8dc5ac23f79f5b7e43a2e92b7b077c2f9e620effa49234d96fcf637225b41f377bf72d13aaf3b554342d5babd17df702237ce6a903c10 SHA512 a04f511d49685be3da5c5d8811f3cf7e080af373e4055dbeab36cc493b24a05b1975e0c798bdb1ca25bbd57e6854615f834ce0f01655ca621707d0a739f9a4bc
diff --git a/dev-python/line-profiler/line-profiler-5.0.0.ebuild b/dev-python/line-profiler/line-profiler-5.0.0.ebuild
new file mode 100644
index 000000000000..92dd34d53bec
--- /dev/null
+++ b/dev-python/line-profiler/line-profiler-5.0.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 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_{9,10,11,12,13} )
+
+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"
+
+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
+}