1 |
commit: 0ee9c509b11291ff9614c945093ca94b74366c47 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 11:42:58 2023 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 15:03:55 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee9c509 |
7 |
|
8 |
sci-misc/vitables: bump to debian 3.0.2_p4, migrate nose to pytest. |
9 |
|
10 |
Drop old. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/878727 |
13 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
14 |
|
15 |
sci-misc/vitables/Manifest | 3 +- |
16 |
sci-misc/vitables/metadata.xml | 2 +- |
17 |
sci-misc/vitables/vitables-3.0.2.ebuild | 40 ---------------------- |
18 |
...es-3.0.2-r1.ebuild => vitables-3.0.2_p4.ebuild} | 29 ++++++++-------- |
19 |
4 files changed, 17 insertions(+), 57 deletions(-) |
20 |
|
21 |
diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest |
22 |
index 15ae3dc6f25b..93ed8b3c6c20 100644 |
23 |
--- a/sci-misc/vitables/Manifest |
24 |
+++ b/sci-misc/vitables/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
-DIST ViTables-3.0.2.tar.gz 921231 BLAKE2B 5800cf222260f0d4c4c7c652f8ecab32b764f3555d7a19bc3aca6acdb68648b0b381389737a67f8b2d558ba09dc9f9837103a6c3c27ca6f7b9c0b0ca31bf8978 SHA512 d9b5fc0c5c31cd663a5ce8af415b8e7feef89b5d542933dbb8809961b9bdf325d115238526856f928e8326192e73c8cd84879566d569d70c6418921dac444766 |
27 |
+DIST vitables_3.0.2-4.debian.tar.xz 8436 BLAKE2B ec6dcc597244174aeac0270c3d713825ebac716aae07dca1e9e0faf8afd067cb9d506d2164d9866eb4df6f105be01f8a4915ba79482858c839dbcda2b4c365b8 SHA512 e15b3a1d44bfb265a848d882e3f2659f65e8de8057bdfac1f4c605553e9c43670ec1e7cad729ae6ee43d4a21f326a94a71a402b35bab52751148763bfa7de079 |
28 |
+DIST vitables_3.0.2.orig.tar.gz 2094762 BLAKE2B 2a12e170867ff518f8348c42d1b7be5be2e7b39d74e2a4d353973f03b5ca5dc6f952f639682b2f63a2be8e58771233d754f06f9bd048d58ec964930bc4e27839 SHA512 a2c697b36f900d3b46fa61601d6ec029ac66e1e0a3a1b3fd16cc60b5da57fcea04f0031c01a063583d9159338338a0ccab4dd7052e594b7c4d049a489d90778a |
29 |
|
30 |
diff --git a/sci-misc/vitables/metadata.xml b/sci-misc/vitables/metadata.xml |
31 |
index b1add31b8026..70c1d901c136 100644 |
32 |
--- a/sci-misc/vitables/metadata.xml |
33 |
+++ b/sci-misc/vitables/metadata.xml |
34 |
@@ -12,6 +12,6 @@ |
35 |
it can run on any platform that supports these components. |
36 |
</longdescription> |
37 |
<upstream> |
38 |
- <remote-id type="sourceforge">vitables</remote-id> |
39 |
+ <remote-id type="github">uvemas/ViTables</remote-id> |
40 |
</upstream> |
41 |
</pkgmetadata> |
42 |
|
43 |
diff --git a/sci-misc/vitables/vitables-3.0.2.ebuild b/sci-misc/vitables/vitables-3.0.2.ebuild |
44 |
deleted file mode 100644 |
45 |
index 541978d03b28..000000000000 |
46 |
--- a/sci-misc/vitables/vitables-3.0.2.ebuild |
47 |
+++ /dev/null |
48 |
@@ -1,40 +0,0 @@ |
49 |
-# Copyright 1999-2023 Gentoo Authors |
50 |
-# Distributed under the terms of the GNU General Public License v2 |
51 |
- |
52 |
-EAPI=7 |
53 |
- |
54 |
-DISTUTILS_SINGLE_IMPL=1 |
55 |
-PYTHON_COMPAT=( python3_9 ) |
56 |
- |
57 |
-inherit distutils-r1 |
58 |
- |
59 |
-MY_PN="ViTables" |
60 |
-MY_P="${MY_PN}-${PV}" |
61 |
- |
62 |
-DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" |
63 |
-HOMEPAGE="https://vitables.org/" |
64 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
65 |
-S="${WORKDIR}/${MY_P}" |
66 |
- |
67 |
-LICENSE="GPL-3" |
68 |
-SLOT="0" |
69 |
-KEYWORDS="~amd64 ~x86" |
70 |
- |
71 |
-RDEPEND=" |
72 |
- $(python_gen_cond_dep ' |
73 |
- dev-python/numpy[${PYTHON_USEDEP}] |
74 |
- dev-python/numexpr[${PYTHON_USEDEP}] |
75 |
- dev-python/pytables[${PYTHON_USEDEP}] |
76 |
- dev-python/QtPy[gui,${PYTHON_USEDEP}] |
77 |
- ')" |
78 |
-DEPEND="${RDEPEND}" |
79 |
-BDEPEND=" |
80 |
- test? ( |
81 |
- $(python_gen_cond_dep ' |
82 |
- <dev-python/sip-5[${PYTHON_USEDEP}] |
83 |
- dev-python/nose[${PYTHON_USEDEP}] |
84 |
- ') |
85 |
- ) |
86 |
-" |
87 |
- |
88 |
-distutils_enable_tests pytest |
89 |
|
90 |
diff --git a/sci-misc/vitables/vitables-3.0.2-r1.ebuild b/sci-misc/vitables/vitables-3.0.2_p4.ebuild |
91 |
similarity index 61% |
92 |
rename from sci-misc/vitables/vitables-3.0.2-r1.ebuild |
93 |
rename to sci-misc/vitables/vitables-3.0.2_p4.ebuild |
94 |
index 26f9d53f8d65..c3764c5fcf38 100644 |
95 |
--- a/sci-misc/vitables/vitables-3.0.2-r1.ebuild |
96 |
+++ b/sci-misc/vitables/vitables-3.0.2_p4.ebuild |
97 |
@@ -5,17 +5,15 @@ EAPI=8 |
98 |
|
99 |
DISTUTILS_SINGLE_IMPL=1 |
100 |
DISTUTILS_USE_PEP517=setuptools |
101 |
-PYTHON_COMPAT=( python3_{9..10} ) |
102 |
+PYTHON_COMPAT=( python3_{8..11} ) |
103 |
|
104 |
-inherit distutils-r1 |
105 |
- |
106 |
-MY_PN="ViTables" |
107 |
-MY_P="${MY_PN}-${PV}" |
108 |
+inherit distutils-r1 virtualx |
109 |
|
110 |
DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" |
111 |
HOMEPAGE="https://vitables.org/" |
112 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
113 |
-S="${WORKDIR}/${MY_P}" |
114 |
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_$(ver_cut 1-3).orig.tar.gz |
115 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_$(ver_cut 1-3)-$(ver_cut 5).debian.tar.xz" |
116 |
+S="${WORKDIR}/ViTables-$(ver_cut 1-3)" |
117 |
|
118 |
LICENSE="GPL-3" |
119 |
SLOT="0" |
120 |
@@ -29,13 +27,14 @@ RDEPEND=" |
121 |
dev-python/QtPy[gui,${PYTHON_USEDEP}] |
122 |
')" |
123 |
DEPEND="${RDEPEND}" |
124 |
-BDEPEND=" |
125 |
- test? ( |
126 |
- $(python_gen_cond_dep ' |
127 |
- <dev-python/sip-5[${PYTHON_USEDEP}] |
128 |
- dev-python/nose[${PYTHON_USEDEP}] |
129 |
- ') |
130 |
- ) |
131 |
-" |
132 |
|
133 |
distutils_enable_tests pytest |
134 |
+ |
135 |
+src_prepare() { |
136 |
+ eapply ../debian/patches |
137 |
+ default |
138 |
+} |
139 |
+ |
140 |
+python_test() { |
141 |
+ virtx epytest |
142 |
+} |