From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
Date: Wed, 1 Feb 2023 15:04:07 +0000 (UTC) [thread overview]
Message-ID: <1675263835.0ee9c509b11291ff9614c945093ca94b74366c47.heroxbd@gentoo> (raw)
commit: 0ee9c509b11291ff9614c945093ca94b74366c47
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 1 11:42:58 2023 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Feb 1 15:03:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee9c509
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 <AT> gentoo.org>
sci-misc/vitables/Manifest | 3 +-
sci-misc/vitables/metadata.xml | 2 +-
sci-misc/vitables/vitables-3.0.2.ebuild | 40 ----------------------
...es-3.0.2-r1.ebuild => vitables-3.0.2_p4.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
similarity index 61%
rename from sci-misc/vitables/vitables-3.0.2-r1.ebuild
rename to 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
+}
next reply other threads:[~2023-02-01 15:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-01 15:04 Benda XU [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-03 2:58 [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/ Benda XU
2023-02-02 4:12 Benda XU
2022-10-05 14:27 Andrew Ammerlaan
2021-10-06 8:33 Jakov Smolić
2021-07-17 18:18 David Seifert
2021-06-06 14:27 Andrew Ammerlaan
2021-06-06 11:19 Andrew Ammerlaan
2021-06-06 11:17 Andrew Ammerlaan
2021-06-05 17:49 Andrew Ammerlaan
2021-06-05 17:49 Andrew Ammerlaan
2021-01-01 1:56 Michał Górny
2020-06-27 20:45 Andreas K. Hüttel
2020-02-09 16:47 Michał Górny
2020-01-30 17:31 Michał Górny
2017-11-25 17:42 David Seifert
2017-09-16 7:32 Benda XU
2016-09-25 19:51 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1675263835.0ee9c509b11291ff9614c945093ca94b74366c47.heroxbd@gentoo \
--to=heroxbd@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox