From 015fdd57022ab7a54e47dafe3e81ffc76e502a90 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Sep 2023 10:18:28 +0100 Subject: gentoo auto-resync : 03:09:2023 - 10:18:27 --- sci-misc/vitables/Manifest | 2 +- sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild | 56 +++++++++++++++++++++++++++ sci-misc/vitables/vitables-3.0.2_p4.ebuild | 41 -------------------- 3 files changed, 57 insertions(+), 42 deletions(-) create mode 100644 sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild delete mode 100644 sci-misc/vitables/vitables-3.0.2_p4.ebuild (limited to 'sci-misc/vitables') diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest index b68f6b63a4b8..0f4ee99e2834 100644 --- a/sci-misc/vitables/Manifest +++ b/sci-misc/vitables/Manifest @@ -1,4 +1,4 @@ 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 -EBUILD vitables-3.0.2_p4.ebuild 1014 BLAKE2B 4cb51289842437c3993c2dc507e9741135175a62c35116622cf951ed3b260c107fb36d5ddfc86f8b754bedaf252eebed99db54362f4fa2908b264742b1723edd SHA512 f35f7b4e3874e8c049ede93ef986c1d5f8ecb646dac2413e38c23b2fb056b25274a0f70f83476c3f1fcbff3298834a9f915c8f63b8dce29b6eb0565c0fe14048 +EBUILD vitables-3.0.2_p4-r1.ebuild 1581 BLAKE2B 59659d5e3fb0d1a8b05c590c533ceef53dde68d803e24e6ce0222b64287d5e3f4cb6599d4069451545288e8bff2e31a0099b37bad712c881c867ad6da56c0b57 SHA512 ebcd494c4ec8352c719ff4e534f58a533c3777de16ac6e809d3ec2eee63996b6d9d48c136c103709e12d75b07968ac40c23933beb8ba41e0bfb25e9ebd3a7063 MISC metadata.xml 640 BLAKE2B 620a2b2ea7efebe0a36eac0d9210ca45412192322d911cb1e6229b44185c17e756433cd57e69671255f57cbd4ddb696500af16d541c832f0717e3b2ff0fef930 SHA512 98f603dca60b46992a387d06f56a18d8d105bf996391d212cf804e12fbb0e3044d5ae3747b8b7e9cf74a7a1082eb058dfb4e3eb2028c4951cf946061d421fe10 diff --git a/sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild b/sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild new file mode 100644 index 000000000000..2852bb044e63 --- /dev/null +++ b/sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +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://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" +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}" + +distutils_enable_tests pytest + +python_prepare_all() { + PATCHES=( + ../debian/patches/0001-vtsite.py-use-debian-doc-and-icons-paths.patch + ../debian/patches/0002-setup.py-no-icons-htmldocs-or-license.patch + ../debian/patches/0004-tests-conftest.py-prepare-the-testfile-if-necessary.patch + ../debian/patches/0005-Update-collection-path-for-Python-3.8.patch + ../debian/patches/0006-Fix-version-information-display.patch + ../debian/patches/0007-tests-migrate-from-nose-to-pytest.patch + ) + + distutils-r1_python_prepare_all + sed -e '/QtTest/d' -i tests/test_samples.py || die +} + +python_install_all() { + insinto /usr/share/${PN} + doins -r vitables/icons + dodoc -r doc/* + distutils-r1_python_install_all +} + +python_test() { + virtx epytest +} diff --git a/sci-misc/vitables/vitables-3.0.2_p4.ebuild b/sci-misc/vitables/vitables-3.0.2_p4.ebuild deleted file mode 100644 index 67d4ca2725e6..000000000000 --- a/sci-misc/vitables/vitables-3.0.2_p4.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) - -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://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" -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}" - -distutils_enable_tests pytest - -src_prepare() { - eapply ../debian/patches - sed -e '/QtTest/d' -i tests/test_samples.py || die - default -} - -python_test() { - virtx epytest -} -- cgit v1.2.3