1 |
commit: ebf592643df86690bf487221f05b0da15791e9b0 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 26 11:36:52 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 26 11:36:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ebf59264 |
7 |
|
8 |
sci-biology/behaviopy: bump to 0.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
.../{behaviopy-0.1.ebuild => behaviopy-0.2.ebuild} | 18 ++++----- |
14 |
sci-biology/behaviopy/behaviopy-9999.ebuild | 46 ---------------------- |
15 |
2 files changed, 8 insertions(+), 56 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/behaviopy/behaviopy-0.1.ebuild b/sci-biology/behaviopy/behaviopy-0.2.ebuild |
18 |
similarity index 77% |
19 |
rename from sci-biology/behaviopy/behaviopy-0.1.ebuild |
20 |
rename to sci-biology/behaviopy/behaviopy-0.2.ebuild |
21 |
index 35bcaab6b..ca6700729 100644 |
22 |
--- a/sci-biology/behaviopy/behaviopy-0.1.ebuild |
23 |
+++ b/sci-biology/behaviopy/behaviopy-0.2.ebuild |
24 |
@@ -1,9 +1,9 @@ |
25 |
-# Copyright 1999-2020 Gentoo Authors |
26 |
+# Copyright 1999-2022 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=7 |
30 |
+EAPI=8 |
31 |
|
32 |
-PYTHON_COMPAT=( python3_{7,8} ) |
33 |
+PYTHON_COMPAT=( python3_{8..10} ) |
34 |
|
35 |
inherit distutils-r1 |
36 |
|
37 |
@@ -13,11 +13,9 @@ SRC_URI="https://github.com/TheChymera/behaviopy/archive/${PV}.tar.gz -> ${P}.ta |
38 |
|
39 |
LICENSE="GPL-3" |
40 |
SLOT="0" |
41 |
-IUSE="evaluation test" |
42 |
+IUSE="evaluation" |
43 |
KEYWORDS="~amd64 ~x86" |
44 |
-RESTRICT="!test? ( test )" |
45 |
|
46 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
47 |
RDEPEND=" |
48 |
dev-python/matplotlib[${PYTHON_USEDEP}] |
49 |
dev-python/numpy[${PYTHON_USEDEP}] |
50 |
@@ -25,17 +23,17 @@ RDEPEND=" |
51 |
dev-python/seaborn[${PYTHON_USEDEP}] |
52 |
dev-python/statsmodels[${PYTHON_USEDEP}] |
53 |
dev-python/scipy[${PYTHON_USEDEP}] |
54 |
- " |
55 |
+" |
56 |
|
57 |
-src_prepare() { |
58 |
+python_prepare_all() { |
59 |
if ! use evaluation; then |
60 |
rm behaviopy/evaluation.py || die |
61 |
fi |
62 |
- default |
63 |
+ distutils-r1_python_prepare_all |
64 |
} |
65 |
|
66 |
python_test() { |
67 |
- cd behaviopy/examples |
68 |
+ cd behaviopy/examples || die |
69 |
echo "backend : Agg" > matplotlibrc || die |
70 |
for i in *py; do |
71 |
echo "Executing $i" |
72 |
|
73 |
diff --git a/sci-biology/behaviopy/behaviopy-9999.ebuild b/sci-biology/behaviopy/behaviopy-9999.ebuild |
74 |
deleted file mode 100644 |
75 |
index a4c087764..000000000 |
76 |
--- a/sci-biology/behaviopy/behaviopy-9999.ebuild |
77 |
+++ /dev/null |
78 |
@@ -1,46 +0,0 @@ |
79 |
-# Copyright 1999-2020 Gentoo Authors |
80 |
-# Distributed under the terms of the GNU General Public License v2 |
81 |
- |
82 |
-EAPI=7 |
83 |
- |
84 |
-PYTHON_COMPAT=( python3_{7,8} ) |
85 |
- |
86 |
-inherit distutils-r1 git-r3 |
87 |
- |
88 |
-DESCRIPTION="Neuroimaging tools for Python" |
89 |
-HOMEPAGE="https://github.com/TheChymera/behaviopy" |
90 |
-SRC_URI="" |
91 |
-EGIT_REPO_URI="https://github.com/TheChymera/behaviopy" |
92 |
- |
93 |
-LICENSE="GPL-3" |
94 |
-SLOT="0" |
95 |
-IUSE="evaluation test" |
96 |
-KEYWORDS="" |
97 |
-RESTRICT="!test? ( test )" |
98 |
- |
99 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
100 |
-RDEPEND=" |
101 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
102 |
- dev-python/numpy[${PYTHON_USEDEP}] |
103 |
- dev-python/pandas[${PYTHON_USEDEP}] |
104 |
- dev-python/seaborn[${PYTHON_USEDEP}] |
105 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
106 |
- dev-python/scipy[${PYTHON_USEDEP}] |
107 |
- " |
108 |
- #evaluation? ( sci-biology/psychopy[${PYTHON_USEDEP}] ) |
109 |
- |
110 |
-src_prepare() { |
111 |
- if ! use evaluation; then |
112 |
- rm behaviopy/evaluation.py || die |
113 |
- fi |
114 |
- default |
115 |
-} |
116 |
- |
117 |
-python_test() { |
118 |
- cd behaviopy/examples |
119 |
- echo "backend : Agg" > matplotlibrc || die |
120 |
- for i in *py; do |
121 |
- echo "Executing $i" |
122 |
- ${EPYTHON} $i || die |
123 |
- done |
124 |
-} |