Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-props/
Date: Mon, 24 Jan 2022 16:06:51
Message-Id: 1643036894.22ddf83357181f3e4eefb2044537b4733a392b8c.andrewammerlaan@gentoo
1 commit: 22ddf83357181f3e4eefb2044537b4733a392b8c
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 24 15:08:14 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 24 15:08:14 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=22ddf833
7
8 sci-visualization/fsleyes-props: bump to 1.7.3
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 .../fsleyes-props/fsleyes-props-1.6.7.ebuild | 46 ----------------------
14 ...ops-1.7.0.ebuild => fsleyes-props-1.7.3.ebuild} | 22 +++++------
15 2 files changed, 10 insertions(+), 58 deletions(-)
16
17 diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild
18 deleted file mode 100644
19 index d9983906e..000000000
20 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.6.7.ebuild
21 +++ /dev/null
22 @@ -1,46 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -PYTHON_COMPAT=( python3_{7,8} )
29 -
30 -inherit distutils-r1 virtualx
31 -
32 -MY_PN="props"
33 -
34 -DESCRIPTION="Object attribute management for the FSLeyes viewer"
35 -HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master"
36 -SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.gz"
37 -
38 -LICENSE="BSD"
39 -SLOT="0"
40 -KEYWORDS="~amd64 ~x86"
41 -IUSE="test"
42 -
43 -DEPEND="
44 - test? (
45 - dev-python/pytest[${PYTHON_USEDEP}]
46 - )
47 - dev-python/setuptools[${PYTHON_USEDEP}]
48 - "
49 -RDEPEND="
50 - dev-python/deprecation[${PYTHON_USEDEP}]
51 - dev-python/numpy[${PYTHON_USEDEP}]
52 - dev-python/matplotlib[${PYTHON_USEDEP}]
53 - dev-python/six[${PYTHON_USEDEP}]
54 - dev-python/wxpython[${PYTHON_USEDEP}]
55 - sci-visualization/fsleyes-widgets[${PYTHON_USEDEP}]
56 - dev-python/fslpy[${PYTHON_USEDEP}]
57 - "
58 -
59 -S="${WORKDIR}/${MY_PN}-${PV}"
60 -
61 -PATCHES=(
62 - "${FILESDIR}/fsleyes-props-1.6.7-coverage.patch"
63 - "${FILESDIR}/fsleyes-props-1.6.7-tests.patch"
64 -)
65 -
66 -python_test() {
67 - virtx pytest --verbose || die
68 -}
69
70 diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild
71 similarity index 68%
72 rename from sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild
73 rename to sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild
74 index ea8a11c42..b3440c6ba 100644
75 --- a/sci-visualization/fsleyes-props/fsleyes-props-1.7.0.ebuild
76 +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.7.3.ebuild
77 @@ -1,9 +1,9 @@
78 -# Copyright 1999-2021 Gentoo Authors
79 +# Copyright 1999-2022 Gentoo Authors
80 # Distributed under the terms of the GNU General Public License v2
81
82 -EAPI=7
83 +EAPI=8
84
85 -PYTHON_COMPAT=( python3_{7,8} )
86 +PYTHON_COMPAT=( python3_{8..9} )
87
88 inherit distutils-r1 virtualx
89
90 @@ -12,24 +12,22 @@ MY_PN="props"
91 DESCRIPTION="Object attribute management for the FSLeyes viewer"
92 HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master"
93 SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.gz"
94 +S="${WORKDIR}/${MY_PN}-${PV}"
95
96 LICENSE="BSD"
97 SLOT="0"
98 KEYWORDS="~amd64 ~x86"
99
100 RDEPEND="
101 - dev-python/deprecation[${PYTHON_USEDEP}]
102 dev-python/numpy[${PYTHON_USEDEP}]
103 dev-python/matplotlib[${PYTHON_USEDEP}]
104 - dev-python/six[${PYTHON_USEDEP}]
105 - dev-python/wxpython[${PYTHON_USEDEP}]
106 - sci-visualization/fsleyes-widgets[${PYTHON_USEDEP}]
107 - dev-python/fslpy[${PYTHON_USEDEP}]
108 - "
109 -
110 -S="${WORKDIR}/${MY_PN}-${PV}"
111 + >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}]
112 + >=sci-visualization/fsleyes-widgets-0.6[${PYTHON_USEDEP}]
113 + >=dev-python/fslpy-1.4[${PYTHON_USEDEP}]
114 +"
115
116 distutils_enable_tests pytest
117 +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme
118
119 python_prepare_all() {
120 # do not depend on pytest-cov
121 @@ -39,5 +37,5 @@ python_prepare_all() {
122 }
123
124 python_test() {
125 - virtx pytest --verbose || die
126 + virtx epytest
127 }