Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder-line-profiler/, profiles/arch/amd64/x32/
Date: Mon, 05 Sep 2022 12:13:00
Message-Id: 1662379879.89cf15aeea0f2e5363c2c98cb1a6479799facb58.andrewammerlaan@gentoo
1 commit: 89cf15aeea0f2e5363c2c98cb1a6479799facb58
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 11:59:07 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 12:11:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89cf15ae
7
8 dev-python/spyder-line-profiler: re-add package, add 0.3.1
9
10 This reverts commit 03a02eeac7ed5c2588bc6e5a407587fc24287e60.
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 dev-python/spyder-line-profiler/Manifest | 1 +
14 dev-python/spyder-line-profiler/metadata.xml | 12 ++++++++
15 .../spyder-line-profiler-0.3.1.ebuild | 34 ++++++++++++++++++++++
16 profiles/arch/amd64/x32/package.mask | 1 +
17 4 files changed, 48 insertions(+)
18
19 diff --git a/dev-python/spyder-line-profiler/Manifest b/dev-python/spyder-line-profiler/Manifest
20 new file mode 100644
21 index 000000000000..80567234d77f
22 --- /dev/null
23 +++ b/dev-python/spyder-line-profiler/Manifest
24 @@ -0,0 +1 @@
25 +DIST spyder-line-profiler-0.3.1.gh.tar.gz 44042 BLAKE2B a98c5770b44b3e11d2261b371e5a806087ebcb347b54745b5bdfe5c4fe3051ff862c79e96ab9a0048e83217cba65fd48a6368bf3e1d1a3f9ab09d2dd69f8ec7c SHA512 96ddc1817adfd58362ea766b95cd58ad521c1333a6bafe9fef1e117ef7ef602bc7e7bced3990d19b85c2882253d81d27940ab409a9daacf588513a405ae4d8fb
26
27 diff --git a/dev-python/spyder-line-profiler/metadata.xml b/dev-python/spyder-line-profiler/metadata.xml
28 new file mode 100644
29 index 000000000000..7cf2dd3db140
30 --- /dev/null
31 +++ b/dev-python/spyder-line-profiler/metadata.xml
32 @@ -0,0 +1,12 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="person">
37 + <email>andrewammerlaan@g.o</email>
38 + <name>Andrew Ammerlaan</name>
39 + </maintainer>
40 + <upstream>
41 + <remote-id type="pypi">spyder-line-profiler</remote-id>
42 + </upstream>
43 + <stabilize-allarches/>
44 +</pkgmetadata>
45
46 diff --git a/dev-python/spyder-line-profiler/spyder-line-profiler-0.3.1.ebuild b/dev-python/spyder-line-profiler/spyder-line-profiler-0.3.1.ebuild
47 new file mode 100644
48 index 000000000000..dc37126b66a1
49 --- /dev/null
50 +++ b/dev-python/spyder-line-profiler/spyder-line-profiler-0.3.1.ebuild
51 @@ -0,0 +1,34 @@
52 +# Copyright 1999-2022 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=8
56 +
57 +PYTHON_COMPAT=( python3_{8..10} )
58 +
59 +inherit distutils-r1 virtualx
60 +
61 +DESCRIPTION="Plugin to run the python line profiler from within the spyder editor"
62 +HOMEPAGE="https://github.com/spyder-ide/spyder-line-profiler"
63 +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
64 +
65 +LICENSE="MIT"
66 +SLOT="0"
67 +KEYWORDS="~amd64 ~x86"
68 +RESTRICT="test"
69 +
70 +RDEPEND="
71 + dev-python/line_profiler[${PYTHON_USEDEP}]
72 + dev-python/qtawesome[${PYTHON_USEDEP}]
73 + >=dev-python/spyder-5.2.0[${PYTHON_USEDEP}]
74 + <dev-python/spyder-6.0.0[${PYTHON_USEDEP}]
75 +"
76 +
77 +DEPEND="test? (
78 + dev-python/pytest-qt[${PYTHON_USEDEP}]
79 +)"
80 +
81 +distutils_enable_tests pytest
82 +
83 +python_test() {
84 + virtx epytest
85 +}
86
87 diff --git a/profiles/arch/amd64/x32/package.mask b/profiles/arch/amd64/x32/package.mask
88 index 24238bc3899a..143e490dc563 100644
89 --- a/profiles/arch/amd64/x32/package.mask
90 +++ b/profiles/arch/amd64/x32/package.mask
91 @@ -55,6 +55,7 @@ dev-lang/typescript
92 dev-python/spyder
93 dev-python/spyder-terminal
94 dev-python/spyder-unittest
95 +dev-python/spyder-line-profiler
96 dev-util/kdevelop:5
97 dev-util/kdevelop-php:5
98 dev-util/kdevelop-python:5