summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2023-02-01 19:42:58 +0800
committerBenda Xu <heroxbd@gentoo.org>2023-02-01 23:03:55 +0800
commit0ee9c509b11291ff9614c945093ca94b74366c47 (patch)
treef68290045a14e583319836d3d777259d85483175 /sci-misc
parentsys-kernel/gentoo-kernel-bin: Bump to 5.10.166 (diff)
downloadgentoo-0ee9c509b11291ff9614c945093ca94b74366c47.tar.gz
gentoo-0ee9c509b11291ff9614c945093ca94b74366c47.tar.bz2
gentoo-0ee9c509b11291ff9614c945093ca94b74366c47.zip
sci-misc/vitables: bump to debian 3.0.2_p4, migrate nose to pytest.
Drop old. Closes: https://bugs.gentoo.org/878727 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/vitables/Manifest3
-rw-r--r--sci-misc/vitables/metadata.xml2
-rw-r--r--sci-misc/vitables/vitables-3.0.2.ebuild40
-rw-r--r--sci-misc/vitables/vitables-3.0.2_p4.ebuild (renamed from sci-misc/vitables/vitables-3.0.2-r1.ebuild)29
4 files changed, 17 insertions, 57 deletions
diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest
index 15ae3dc6f25b..93ed8b3c6c20 100644
--- a/sci-misc/vitables/Manifest
+++ b/sci-misc/vitables/Manifest
@@ -1 +1,2 @@
-DIST ViTables-3.0.2.tar.gz 921231 BLAKE2B 5800cf222260f0d4c4c7c652f8ecab32b764f3555d7a19bc3aca6acdb68648b0b381389737a67f8b2d558ba09dc9f9837103a6c3c27ca6f7b9c0b0ca31bf8978 SHA512 d9b5fc0c5c31cd663a5ce8af415b8e7feef89b5d542933dbb8809961b9bdf325d115238526856f928e8326192e73c8cd84879566d569d70c6418921dac444766
+DIST vitables_3.0.2-4.debian.tar.xz 8436 BLAKE2B ec6dcc597244174aeac0270c3d713825ebac716aae07dca1e9e0faf8afd067cb9d506d2164d9866eb4df6f105be01f8a4915ba79482858c839dbcda2b4c365b8 SHA512 e15b3a1d44bfb265a848d882e3f2659f65e8de8057bdfac1f4c605553e9c43670ec1e7cad729ae6ee43d4a21f326a94a71a402b35bab52751148763bfa7de079
+DIST vitables_3.0.2.orig.tar.gz 2094762 BLAKE2B 2a12e170867ff518f8348c42d1b7be5be2e7b39d74e2a4d353973f03b5ca5dc6f952f639682b2f63a2be8e58771233d754f06f9bd048d58ec964930bc4e27839 SHA512 a2c697b36f900d3b46fa61601d6ec029ac66e1e0a3a1b3fd16cc60b5da57fcea04f0031c01a063583d9159338338a0ccab4dd7052e594b7c4d049a489d90778a
diff --git a/sci-misc/vitables/metadata.xml b/sci-misc/vitables/metadata.xml
index b1add31b8026..70c1d901c136 100644
--- a/sci-misc/vitables/metadata.xml
+++ b/sci-misc/vitables/metadata.xml
@@ -12,6 +12,6 @@
it can run on any platform that supports these components.
</longdescription>
<upstream>
- <remote-id type="sourceforge">vitables</remote-id>
+ <remote-id type="github">uvemas/ViTables</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sci-misc/vitables/vitables-3.0.2.ebuild b/sci-misc/vitables/vitables-3.0.2.ebuild
deleted file mode 100644
index 541978d03b28..000000000000
--- a/sci-misc/vitables/vitables-3.0.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_9 )
-
-inherit distutils-r1
-
-MY_PN="ViTables"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats"
-HOMEPAGE="https://vitables.org/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/numexpr[${PYTHON_USEDEP}]
- dev-python/pytables[${PYTHON_USEDEP}]
- dev-python/QtPy[gui,${PYTHON_USEDEP}]
- ')"
-DEPEND="${RDEPEND}"
-BDEPEND="
- test? (
- $(python_gen_cond_dep '
- <dev-python/sip-5[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- ')
- )
-"
-
-distutils_enable_tests pytest
diff --git a/sci-misc/vitables/vitables-3.0.2-r1.ebuild b/sci-misc/vitables/vitables-3.0.2_p4.ebuild
index 26f9d53f8d65..c3764c5fcf38 100644
--- a/sci-misc/vitables/vitables-3.0.2-r1.ebuild
+++ b/sci-misc/vitables/vitables-3.0.2_p4.ebuild
@@ -5,17 +5,15 @@ EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{8..11} )
-inherit distutils-r1
-
-MY_PN="ViTables"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 virtualx
DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats"
HOMEPAGE="https://vitables.org/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_$(ver_cut 1-3).orig.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_$(ver_cut 1-3)-$(ver_cut 5).debian.tar.xz"
+S="${WORKDIR}/ViTables-$(ver_cut 1-3)"
LICENSE="GPL-3"
SLOT="0"
@@ -29,13 +27,14 @@ RDEPEND="
dev-python/QtPy[gui,${PYTHON_USEDEP}]
')"
DEPEND="${RDEPEND}"
-BDEPEND="
- test? (
- $(python_gen_cond_dep '
- <dev-python/sip-5[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- ')
- )
-"
distutils_enable_tests pytest
+
+src_prepare() {
+ eapply ../debian/patches
+ default
+}
+
+python_test() {
+ virtx epytest
+}