commit:     5b40752d4e47c47fc73e930814aeb65c24418b0b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 08:11:45 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 08:12:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b40752d

dev-python/spyder-line-profiler: add 0.4.0

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/spyder-line-profiler/Manifest           |  1 +
 .../spyder-line-profiler-0.4.0.ebuild              | 42 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/spyder-line-profiler/Manifest 
b/dev-python/spyder-line-profiler/Manifest
index f9874ec5bd9d..0eb74801ffca 100644
--- a/dev-python/spyder-line-profiler/Manifest
+++ b/dev-python/spyder-line-profiler/Manifest
@@ -1 +1,2 @@
 DIST spyder-line-profiler-0.3.2.gh.tar.gz 88725 BLAKE2B 
9e15a9b88d1b36a39428e7eccafb7a2c3d3609aece2c6e5c2f379c9f9180093863472bd1e071b12bf313e7cb6ccd4993bb407785716cab2dda871a1ebd527d41
 SHA512 
fb2e86cc640c7cd32567852063845567634e7cec365f7f5f5f3d770316b9adabc0447d3ad8334411fe3894aeb086cde4f14b77fd3483c099296db7df15f0b46b
+DIST spyder-line-profiler-0.4.0.gh.tar.gz 89222 BLAKE2B 
7b4b7d2e884c6843c03289fde1351640fa768d1ede3cb7287859968c81a2207864f8039dff68d4bdf5e5d1fbb622d67ed9b5c90efeb615f8eb6bd6ed37cbd1df
 SHA512 
4210a5ce58f11fb6d1453c29c0b363b111e73e01feb58593d9a4b0e31c3ae8d158a4ae052e633f23ac4b78cb116b68610a2b38e7d686d8cc6ec183723f91ffe1

diff --git a/dev-python/spyder-line-profiler/spyder-line-profiler-0.4.0.ebuild 
b/dev-python/spyder-line-profiler/spyder-line-profiler-0.4.0.ebuild
new file mode 100644
index 000000000000..c06691818746
--- /dev/null
+++ b/dev-python/spyder-line-profiler/spyder-line-profiler-0.4.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Plugin to run the python line profiler from within the spyder 
editor"
+HOMEPAGE="
+       https://github.com/spyder-ide/spyder-line-profiler/
+       https://pypi.org/project/spyder-line-profiler/
+"
+SRC_URI="
+       https://github.com/spyder-ide/spyder-line-profiler/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/line-profiler[${PYTHON_USEDEP}]
+       dev-python/qtawesome[${PYTHON_USEDEP}]
+       >=dev-python/spyder-6[${PYTHON_USEDEP}]
+       <dev-python/spyder-7[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               dev-python/pytest-qt[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       virtx epytest
+}

Reply via email to