[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 4eef208ad065a8e327488f48d558ef0fcd371b6f Author: Benda Xu gentoo org> AuthorDate: Sun Sep 3 02:57:01 2023 + Commit: Benda XU gentoo org> CommitDate: Sun Sep 3 02:58:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eef208a sci-misc/vitables: drop unnecessary Debian patches. Get back to vitables executable. Install the icons. Signed-off-by: Benda Xu gentoo.org> ...-3.0.2_p4.ebuild => vitables-3.0.2_p4-r1.ebuild} | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.2_p4.ebuild b/sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild similarity index 60% rename from sci-misc/vitables/vitables-3.0.2_p4.ebuild rename to sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild index 67d4ca2725e6..2852bb044e63 100644 --- a/sci-misc/vitables/vitables-3.0.2_p4.ebuild +++ b/sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild @@ -30,10 +30,25 @@ DEPEND="${RDEPEND}" distutils_enable_tests pytest -src_prepare() { - eapply ../debian/patches +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 - default +} + +python_install_all() { + insinto /usr/share/${PN} + doins -r vitables/icons + dodoc -r doc/* + distutils-r1_python_install_all } python_test() {
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 22e4bdde2d8d3c40f27a656592a5e1e42ea41a46 Author: Benda Xu gentoo org> AuthorDate: Thu Feb 2 04:10:14 2023 + Commit: Benda XU gentoo org> CommitDate: Thu Feb 2 04:12:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e4bdde sci-misc/vitables: remove unnecessary QtTest. Closes: https://bugs.gentoo.org/892838 Signed-off-by: Benda Xu gentoo.org> sci-misc/vitables/vitables-3.0.2_p4.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sci-misc/vitables/vitables-3.0.2_p4.ebuild b/sci-misc/vitables/vitables-3.0.2_p4.ebuild index c3764c5fcf38..67d4ca2725e6 100644 --- a/sci-misc/vitables/vitables-3.0.2_p4.ebuild +++ b/sci-misc/vitables/vitables-3.0.2_p4.ebuild @@ -32,6 +32,7 @@ distutils_enable_tests pytest src_prepare() { eapply ../debian/patches + sed -e '/QtTest/d' -i tests/test_samples.py || die default }
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 0ee9c509b11291ff9614c945093ca94b74366c47 Author: Benda Xu gentoo org> AuthorDate: Wed Feb 1 11:42:58 2023 + Commit: Benda XU gentoo org> CommitDate: Wed Feb 1 15:03:55 2023 + 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 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 5800cf60f0d4c4c7c652f8ecab32b764f3555d7a19bc3aca6acdb68648b0b381389737a67f8b2d558ba09dc9f9837103a6c3c27ca6f7b9c0b0ca31bf8978 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. - vitables + uvemas/ViTables 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.. --- 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 ' - 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 ' -
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: ef7a884b7d69b42c30a59c68bcd97f3e9d1fa7a4 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Oct 5 14:26:28 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Oct 5 14:26:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7a884b sci-misc/vitables: update EAPI 7 -> 8, PEP517, enable py3_10 Closes: https://bugs.gentoo.org/846284 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-misc/vitables/vitables-3.0.2-r1.ebuild | 41 ++ 1 file changed, 41 insertions(+) diff --git a/sci-misc/vitables/vitables-3.0.2-r1.ebuild b/sci-misc/vitables/vitables-3.0.2-r1.ebuild new file mode 100644 index ..3b9e8f66f750 --- /dev/null +++ b/sci-misc/vitables/vitables-3.0.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 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..10} ) + +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 ' +
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: fbb78167a2e857b89137ee1d3a0a9feabdbeb985 Author: Jakov Smolić gentoo org> AuthorDate: Wed Oct 6 07:51:16 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Wed Oct 6 08:31:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb78167 sci-misc/vitables: drop 3.0.0-r2 Signed-off-by: Jakov Smolić gentoo.org> sci-misc/vitables/Manifest | 1 - sci-misc/vitables/vitables-3.0.0-r2.ebuild | 38 -- 2 files changed, 39 deletions(-) diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest index 5b5458b97cb..15ae3dc6f25 100644 --- a/sci-misc/vitables/Manifest +++ b/sci-misc/vitables/Manifest @@ -1,2 +1 @@ -DIST ViTables-3.0.0.tar.gz 860411 BLAKE2B 7ef5a7ac681ac7d0d2544987080478deba39db275dc0559db48d0375ebd83f260eb37dc3b9e99b131fd427b81668b882f15549e6f1955615f9dee5927c6cc57d SHA512 0ab0a3529f70111f6d2c1a765398d0c05607e2839a353670eebfa26bedd2092a33afe9f1cad14eec5d23f76fc5f54fa6f61e2e4089d9c2f3fd43396da7b1 DIST ViTables-3.0.2.tar.gz 921231 BLAKE2B 5800cf60f0d4c4c7c652f8ecab32b764f3555d7a19bc3aca6acdb68648b0b381389737a67f8b2d558ba09dc9f9837103a6c3c27ca6f7b9c0b0ca31bf8978 SHA512 d9b5fc0c5c31cd663a5ce8af415b8e7feef89b5d542933dbb8809961b9bdf325d115238526856f928e8326192e73c8cd84879566d569d70c6418921dac444766 diff --git a/sci-misc/vitables/vitables-3.0.0-r2.ebuild b/sci-misc/vitables/vitables-3.0.0-r2.ebuild deleted file mode 100644 index 8d86ddb9e1f..000 --- a/sci-misc/vitables/vitables-3.0.0-r2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{8,9} ) - -inherit distutils-r1 - -MY_P=ViTables-${PV} - -DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" -HOMEPAGE="https://vitables.org/; -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/pytables[${PYTHON_USEDEP}] - dev-python/QtPy[gui,${PYTHON_USEDEP}] - ')" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -python_prepare_all() { - # remove the PyQt5 dependency - # because PyQt5 in Gentoo does not provide egg-info - # see also: https://github.com/pyqt/python-qt5/issues/18 - sed "s:'PyQt5 [^ ]*::" -i setup.py || die - - distutils-r1_python_prepare_all -}
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 555bccd0e73c163cce050215d95f25e918ffbc4f Author: David Seifert gentoo org> AuthorDate: Sat Jul 17 18:17:07 2021 + Commit: David Seifert gentoo org> CommitDate: Sat Jul 17 18:17:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=555bccd0 sci-misc/vitables: PYTHON_MULTI_USEDEP -> PYTHON_USEDEP Signed-off-by: David Seifert gentoo.org> sci-misc/vitables/vitables-3.0.0-r2.ebuild | 8 sci-misc/vitables/vitables-3.0.2.ebuild| 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.0-r2.ebuild b/sci-misc/vitables/vitables-3.0.0-r2.ebuild index 9dcf272e5e6..8d86ddb9e1f 100644 --- a/sci-misc/vitables/vitables-3.0.0-r2.ebuild +++ b/sci-misc/vitables/vitables-3.0.0-r2.ebuild @@ -4,7 +4,7 @@ EAPI=6 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8,9} ) inherit distutils-r1 @@ -20,9 +20,9 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_MULTI_USEDEP}] - dev-python/pytables[${PYTHON_MULTI_USEDEP}] - dev-python/QtPy[gui,${PYTHON_MULTI_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pytables[${PYTHON_USEDEP}] + dev-python/QtPy[gui,${PYTHON_USEDEP}] ')" DEPEND="${RDEPEND}" diff --git a/sci-misc/vitables/vitables-3.0.2.ebuild b/sci-misc/vitables/vitables-3.0.2.ebuild index d334a4dbd1b..9a4c5490d51 100644 --- a/sci-misc/vitables/vitables-3.0.2.ebuild +++ b/sci-misc/vitables/vitables-3.0.2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 2427f4c7fb21177adc3db7256f525fc30c44fdb0 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jun 6 14:25:15 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Jun 6 14:26:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2427f4c7 sci-misc/vitables: add missing test dep Closes: https://bugs.gentoo.org/794577 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-misc/vitables/vitables-3.0.2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.2.ebuild b/sci-misc/vitables/vitables-3.0.2.ebuild index 55b5ddb2846..d334a4dbd1b 100644 --- a/sci-misc/vitables/vitables-3.0.2.ebuild +++ b/sci-misc/vitables/vitables-3.0.2.ebuild @@ -24,14 +24,15 @@ RDEPEND=" $(python_gen_cond_dep ' dev-python/numpy[${PYTHON_USEDEP}] dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pytables[${PYTHON_MULTI_USEDEP}] - dev-python/QtPy[gui,${PYTHON_MULTI_USEDEP}] + dev-python/pytables[${PYTHON_USEDEP}] + dev-python/QtPy[gui,${PYTHON_USEDEP}] ')" DEPEND="${RDEPEND}" BDEPEND=" test? ( $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 42c87812d5ed840a078bd9fba9fc0a35416b8979 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jun 6 11:18:50 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Jun 6 11:18:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c87812 sci-misc/vitables: add missing test conditional Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-misc/vitables/vitables-3.0.2.ebuild | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.2.ebuild b/sci-misc/vitables/vitables-3.0.2.ebuild index ea1a7a8cc56..55b5ddb2846 100644 --- a/sci-misc/vitables/vitables-3.0.2.ebuild +++ b/sci-misc/vitables/vitables-3.0.2.ebuild @@ -29,8 +29,11 @@ RDEPEND=" ')" DEPEND="${RDEPEND}" BDEPEND=" - $(python_gen_cond_dep ' -
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: cdc83c66bc2fa8e969f81f1c74966765e6760617 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jun 6 11:13:46 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Jun 6 11:17:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdc83c66 sci-misc/vitables: add missing test dep Closes: https://bugs.gentoo.org/794526 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-misc/vitables/vitables-3.0.2.ebuild | 4 1 file changed, 4 insertions(+) diff --git a/sci-misc/vitables/vitables-3.0.2.ebuild b/sci-misc/vitables/vitables-3.0.2.ebuild index c2cc242db05..ea1a7a8cc56 100644 --- a/sci-misc/vitables/vitables-3.0.2.ebuild +++ b/sci-misc/vitables/vitables-3.0.2.ebuild @@ -28,5 +28,9 @@ RDEPEND=" dev-python/QtPy[gui,${PYTHON_MULTI_USEDEP}] ')" DEPEND="${RDEPEND}" +BDEPEND=" + $(python_gen_cond_dep ' +
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 1671046a1148d25a44602a64d80d57bd0d3a770f Author: Andrew Ammerlaan gentoo org> AuthorDate: Sat Jun 5 17:48:59 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Jun 5 17:49:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1671046a sci-misc/vitables: add version 3.0.2 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-misc/vitables/Manifest | 1 + sci-misc/vitables/vitables-3.0.2.ebuild | 32 2 files changed, 33 insertions(+) diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest index 54196487cbb..5b5458b97cb 100644 --- a/sci-misc/vitables/Manifest +++ b/sci-misc/vitables/Manifest @@ -1 +1,2 @@ DIST ViTables-3.0.0.tar.gz 860411 BLAKE2B 7ef5a7ac681ac7d0d2544987080478deba39db275dc0559db48d0375ebd83f260eb37dc3b9e99b131fd427b81668b882f15549e6f1955615f9dee5927c6cc57d SHA512 0ab0a3529f70111f6d2c1a765398d0c05607e2839a353670eebfa26bedd2092a33afe9f1cad14eec5d23f76fc5f54fa6f61e2e4089d9c2f3fd43396da7b1 +DIST ViTables-3.0.2.tar.gz 921231 BLAKE2B 5800cf60f0d4c4c7c652f8ecab32b764f3555d7a19bc3aca6acdb68648b0b381389737a67f8b2d558ba09dc9f9837103a6c3c27ca6f7b9c0b0ca31bf8978 SHA512 d9b5fc0c5c31cd663a5ce8af415b8e7feef89b5d542933dbb8809961b9bdf325d115238526856f928e8326192e73c8cd84879566d569d70c6418921dac444766 diff --git a/sci-misc/vitables/vitables-3.0.2.ebuild b/sci-misc/vitables/vitables-3.0.2.ebuild new file mode 100644 index 000..c2cc242db05 --- /dev/null +++ b/sci-misc/vitables/vitables-3.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{7..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_MULTI_USEDEP}] + dev-python/QtPy[gui,${PYTHON_MULTI_USEDEP}] + ')" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 9674bbac32a448e5d1795cb30103f9626f3da103 Author: Bernd Waibel posteo net> AuthorDate: Sat Jun 5 15:19:51 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Jun 5 17:49:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9674bbac sci-misc/vitables: add support for python-3.9 Bugday 2021-06-05 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/21133 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-misc/vitables/vitables-3.0.0-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.0-r2.ebuild b/sci-misc/vitables/vitables-3.0.0-r2.ebuild index 0bf8fafb5f1..9dcf272e5e6 100644 --- a/sci-misc/vitables/vitables-3.0.0-r2.ebuild +++ b/sci-misc/vitables/vitables-3.0.0-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 10fd7ce01ffe16320d5143c89a44f145228a5bdb Author: Michał Górny gentoo org> AuthorDate: Fri Jan 1 01:52:07 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 1 01:55:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10fd7ce0 sci-misc/vitables: Remove old (py3.6) Signed-off-by: Michał Górny gentoo.org> sci-misc/vitables/vitables-3.0.0-r1.ebuild | 38 -- 1 file changed, 38 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.0-r1.ebuild b/sci-misc/vitables/vitables-3.0.0-r1.ebuild deleted file mode 100644 index a39e483b204..000 --- a/sci-misc/vitables/vitables-3.0.0-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 - -MY_P=ViTables-${PV} - -DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" -HOMEPAGE="https://vitables.org/; -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_MULTI_USEDEP}] - dev-python/pytables[${PYTHON_MULTI_USEDEP}] - dev-python/QtPy[gui,${PYTHON_MULTI_USEDEP}] - ')" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -python_prepare_all() { - # remove the PyQt5 dependency - # because PyQt5 in Gentoo does not provide egg-info - # see also: https://github.com/pyqt/python-qt5/issues/18 - sed "s:'PyQt5 [^ ]*::" -i setup.py || die - - distutils-r1_python_prepare_all -}
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/, profiles/
commit: f7c8062f1e60c8aa10726f45ff1c89dc08cd3ad6 Author: Benda Xu gentoo org> AuthorDate: Fri Sep 25 12:33:37 2020 + Commit: Benda XU gentoo org> CommitDate: Fri Sep 25 12:35:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c8062f sci-misc/vitables: tested on Python 3.7 and 3.8. Drop amd64-linux and x86-linux because the dependency QtPy is not keyworded. Unmask the package. Closes: https://bugs.gentoo.org/737414 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Benda Xu gentoo.org> profiles/package.mask | 1 - sci-misc/vitables/vitables-3.0.0-r2.ebuild | 38 ++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/profiles/package.mask b/profiles/package.mask index 125274f201b..77958659898 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -416,7 +416,6 @@ dev-python/redlock-py dev-python/root_numpy dev-python/rootpy dev-util/setconf -sci-misc/vitables # Michał Górny (2020-09-09) # These packages (or package versions) still require Python 2.7. diff --git a/sci-misc/vitables/vitables-3.0.0-r2.ebuild b/sci-misc/vitables/vitables-3.0.0-r2.ebuild new file mode 100644 index 000..3d7da16887d --- /dev/null +++ b/sci-misc/vitables/vitables-3.0.0-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +MY_P=ViTables-${PV} + +DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" +HOMEPAGE="https://vitables.org/; +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_MULTI_USEDEP}] + dev-python/pytables[${PYTHON_MULTI_USEDEP}] + dev-python/QtPy[gui,${PYTHON_MULTI_USEDEP}] + ')" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +python_prepare_all() { + # remove the PyQt5 dependency + # because PyQt5 in Gentoo does not provide egg-info + # see also: https://github.com/pyqt/python-qt5/issues/18 + sed "s:'PyQt5 [^ ]*::" -i setup.py || die + + distutils-r1_python_prepare_all +}
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: b3d6a966c03c611e352732524194c51493433edf Author: Alexey Sokolov google com> AuthorDate: Sat Jun 20 16:04:33 2020 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Jun 27 20:44:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d6a966 sci-misc/vitables: update homepage Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Andreas K. Hüttel gentoo.org> sci-misc/vitables/vitables-3.0.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-misc/vitables/vitables-3.0.0-r1.ebuild b/sci-misc/vitables/vitables-3.0.0-r1.ebuild index c25d11326d4..a39e483b204 100644 --- a/sci-misc/vitables/vitables-3.0.0-r1.ebuild +++ b/sci-misc/vitables/vitables-3.0.0-r1.ebuild @@ -11,7 +11,7 @@ inherit distutils-r1 MY_P=ViTables-${PV} DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" -HOMEPAGE="http://vitables.org/; +HOMEPAGE="https://vitables.org/; SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: c8203f667c8cb7a44fea32d0c3f01c27a10029aa Author: Michał Górny gentoo org> AuthorDate: Sat Feb 8 06:58:23 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 9 16:46:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8203f66 sci-misc/vitables: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny gentoo.org> .../vitables/{vitables-3.0.0.ebuild => vitables-3.0.0-r1.ebuild} | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.0.ebuild b/sci-misc/vitables/vitables-3.0.0-r1.ebuild similarity index 81% rename from sci-misc/vitables/vitables-3.0.0.ebuild rename to sci-misc/vitables/vitables-3.0.0-r1.ebuild index e4f5b2f6448..c25d11326d4 100644 --- a/sci-misc/vitables/vitables-3.0.0.ebuild +++ b/sci-misc/vitables/vitables-3.0.0-r1.ebuild @@ -19,9 +19,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/pytables[${PYTHON_USEDEP}] - dev-python/QtPy[gui,${PYTHON_USEDEP}]" + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_MULTI_USEDEP}] + dev-python/pytables[${PYTHON_MULTI_USEDEP}] + dev-python/QtPy[gui,${PYTHON_MULTI_USEDEP}] + ')" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P}
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: dfcac25610187052f7d6b130dc233cefeeb74c05 Author: Michał Górny gentoo org> AuthorDate: Thu Jan 30 17:30:03 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Jan 30 17:30:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcac256 sci-misc/vitables: Remove py2 Signed-off-by: Michał Górny gentoo.org> sci-misc/vitables/vitables-3.0.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-misc/vitables/vitables-3.0.0.ebuild b/sci-misc/vitables/vitables-3.0.0.ebuild index b649e315da5..e4f5b2f6448 100644 --- a/sci-misc/vitables/vitables-3.0.0.ebuild +++ b/sci-misc/vitables/vitables-3.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/, sci-misc/vitables/files/
commit: e0e366b3396ac55e31df7af6631f2a980e69fdd4 Author: Michael Palimaka gentoo org> AuthorDate: Sat Jan 13 01:28:20 2018 + Commit: Michael Palimaka gentoo org> CommitDate: Sat Jan 13 01:28:29 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e366b3 sci-misc/vitables: remove 2.1-r1 Package-Manager: Portage-2.3.14, Repoman-2.3.6 sci-misc/vitables/Manifest | 1 - sci-misc/vitables/files/vitables-2.1-no-docs.patch | 19 - sci-misc/vitables/vitables-2.1-r1.ebuild | 49 -- 3 files changed, 69 deletions(-) diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest index 404780261aa..54196487cbb 100644 --- a/sci-misc/vitables/Manifest +++ b/sci-misc/vitables/Manifest @@ -1,2 +1 @@ -DIST ViTables-2.1.tar.gz 3111661 BLAKE2B b3f27b0db0d0e864a80194f9ea4cfa670bacfe3265e9ebf47e4eca6fb2906066f87df5099ed15befb58b61d9d8871c5f6897b9386ff0b5ac8f622b7a3641bb8b SHA512 9ca48fbc8aa33dd3e1e02e2cf2055082831a95f5c24a2ab3bb294d7b09a3f09e62e500b0d69f8843a93af0db6dfc25873a57604f3fd433c0168eb335a1816bc8 DIST ViTables-3.0.0.tar.gz 860411 BLAKE2B 7ef5a7ac681ac7d0d2544987080478deba39db275dc0559db48d0375ebd83f260eb37dc3b9e99b131fd427b81668b882f15549e6f1955615f9dee5927c6cc57d SHA512 0ab0a3529f70111f6d2c1a765398d0c05607e2839a353670eebfa26bedd2092a33afe9f1cad14eec5d23f76fc5f54fa6f61e2e4089d9c2f3fd43396da7b1 diff --git a/sci-misc/vitables/files/vitables-2.1-no-docs.patch b/sci-misc/vitables/files/vitables-2.1-no-docs.patch deleted file mode 100644 index 0d76e264f79..000 --- a/sci-misc/vitables/files/vitables-2.1-no-docs.patch +++ /dev/null @@ -1,19 +0,0 @@ a/setup.py -+++ b/setup.py -@@ -34,13 +34,14 @@ - from distutils.dir_util import copy_tree - from distutils.file_util import copy_file - -+sphinx_found = True - try: - from sphinx.setup_command import BuildDoc - except ImportError: --pass -+ sphinx_found = False -+ - - --sphinx_found = True - - - diff --git a/sci-misc/vitables/vitables-2.1-r1.ebuild b/sci-misc/vitables/vitables-2.1-r1.ebuild deleted file mode 100644 index 28354d57da7..000 --- a/sci-misc/vitables/vitables-2.1-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_P=ViTables-${PV} - -DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" -HOMEPAGE="http://vitables.org/; -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples" - -RDEPEND=" - dev-python/pytables[${PYTHON_USEDEP}] - dev-python/PyQt4[X,${PYTHON_USEDEP}]" # FIXME: check if any other useflags are needed -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx )" - -S=${WORKDIR}/${MY_P} - -PATCHES=( "${FILESDIR}"/${P}-no-docs.patch ) - -python_compile_all() { - # fixme: multiple python (anyone cares?) - use doc && esetup.py build_sphinx -} - -python_install_all() { - dodir /usr/share/icons/hicolor/scalable/apps - dodir /usr/share/applications - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - DOCS+=( examples ) - fi - if use doc; then - HTML_DOCS+=( "${BUILD_DIR}"/sphinx/html/. ) - DOCS+=( "${BUILD_DIR}"/sphinx/latex/*.pdf ) - fi - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 6b582ada569e144398400b1f24bea515c37c7357 Author: David Seifert gentoo org> AuthorDate: Sat Nov 25 16:52:56 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Nov 25 17:40:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b582ada sci-misc/vitables: [QA] Consistent whitespace in metadata.xml sci-misc/vitables/metadata.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sci-misc/vitables/metadata.xml b/sci-misc/vitables/metadata.xml index 0a05792d12c..da51e2d07a1 100644 --- a/sci-misc/vitables/metadata.xml +++ b/sci-misc/vitables/metadata.xml @@ -1,4 +1,4 @@ - + http://www.gentoo.org/dtd/metadata.dtd;> @@ -6,10 +6,10 @@ Gentoo Science Project - ViTables is a component of the PyTables family. It is a GUI for - browsing and editing files in both PyTables and HDF5 formats. It is - developed using Python and PyQt (the Python bindings to the Qt), so - it can run on any platform that supports these components. + ViTables is a component of the PyTables family. It is a GUI for + browsing and editing files in both PyTables and HDF5 formats. It is + developed using Python and PyQt (the Python bindings to the Qt), so + it can run on any platform that supports these components. vitables
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: 0aff41e2c1a8c902230e51e8ac3f48a6d854cdb1 Author: Benda Xu gentoo org> AuthorDate: Sat Sep 16 07:22:22 2017 + Commit: Benda XU gentoo org> CommitDate: Sat Sep 16 07:31:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aff41e2 sci-misc/vitables: version bump. Drop USE=doc because vitables bundles documentation in its own help system. Drop USE=examples because it does not distribute examples in the tarball. Closes: https://bugs.gentoo.org/610636 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sci-misc/vitables/Manifest | 1 + sci-misc/vitables/vitables-3.0.0.ebuild | 36 + 2 files changed, 37 insertions(+) diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest index ef109face04..1e3da0a47bb 100644 --- a/sci-misc/vitables/Manifest +++ b/sci-misc/vitables/Manifest @@ -1 +1,2 @@ DIST ViTables-2.1.tar.gz 3111661 SHA256 f0413fa725617fbb3f0be03cb1f41b5b841c6946098a629f3fcb8a99fb9be14a SHA512 9ca48fbc8aa33dd3e1e02e2cf2055082831a95f5c24a2ab3bb294d7b09a3f09e62e500b0d69f8843a93af0db6dfc25873a57604f3fd433c0168eb335a1816bc8 WHIRLPOOL d526744105cea3ef7812db52f5e1a2ef74ca43431de167355afe0c6670a2752d3f4f5613f72f1f11e043cd6de0d4007086b4d548e78f7a3cbeaf4a5c6695babc +DIST ViTables-3.0.0.tar.gz 860411 SHA256 f391f698f3602420f922fc761b28168bbb93993d392c171d97f1d4ba37680180 SHA512 0ab0a3529f70111f6d2c1a765398d0c05607e2839a353670eebfa26bedd2092a33afe9f1cad14eec5d23f76fc5f54fa6f61e2e4089d9c2f3fd43396da7b1 WHIRLPOOL d1e11aae67a27b269940288d2e08447fec1426173fb374475a0bfeb74e73fa8e6b74de6a7aac9a15c348b9b6ca5bc14338d4183dc9d39e1c84b62fbe9a3761bf diff --git a/sci-misc/vitables/vitables-3.0.0.ebuild b/sci-misc/vitables/vitables-3.0.0.ebuild new file mode 100644 index 000..b649e315da5 --- /dev/null +++ b/sci-misc/vitables/vitables-3.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python2_7 python3_6 ) + +inherit distutils-r1 + +MY_P=ViTables-${PV} + +DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" +HOMEPAGE="http://vitables.org/; +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pytables[${PYTHON_USEDEP}] + dev-python/QtPy[gui,${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +python_prepare_all() { + # remove the PyQt5 dependency + # because PyQt5 in Gentoo does not provide egg-info + # see also: https://github.com/pyqt/python-qt5/issues/18 + sed "s:'PyQt5 [^ ]*::" -i setup.py || die + + distutils-r1_python_prepare_all +}
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
commit: d9dfe44904c1bd250bd986aea546d0a93163f735 Author: Gerhard Bräunlich gmx net> AuthorDate: Thu Sep 22 16:28:23 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Sep 25 19:49:07 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9dfe449 sci-misc/vitables: Removing EAPI 4 ebuild Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2389 Signed-off-by: David Seifert gentoo.org> sci-misc/vitables/vitables-2.1-r1.ebuild | 10 +++--- sci-misc/vitables/vitables-2.1.ebuild| 56 2 files changed, 4 insertions(+), 62 deletions(-) diff --git a/sci-misc/vitables/vitables-2.1-r1.ebuild b/sci-misc/vitables/vitables-2.1-r1.ebuild index 5d9cacc..865e085 100644 --- a/sci-misc/vitables/vitables-2.1-r1.ebuild +++ b/sci-misc/vitables/vitables-2.1-r1.ebuild @@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples" RDEPEND=" - dev-python/pytables - dev-python/PyQt4[X]" # FIXME: check if any other useflags are needed + dev-python/pytables[${PYTHON_USEDEP}] + dev-python/PyQt4[X,${PYTHON_USEDEP}]" # FIXME: check if any other useflags are needed DEPEND="${RDEPEND} doc? ( dev-python/sphinx )" @@ -30,7 +30,6 @@ S=${WORKDIR}/${MY_P} PATCHES=( "${FILESDIR}"/${P}-no-docs.patch ) python_compile_all() { - distutils-r1_python_compile # fixme: multiple python (anyone cares?) use doc && esetup.py build_sphinx } @@ -38,15 +37,14 @@ python_compile_all() { python_install_all() { dodir /usr/share/icons/hicolor/scalable/apps dodir /usr/share/applications - distutils-r1_python_install_all if use examples; then docompress -x /usr/share/doc/${PF}/examples DOCS+=( examples ) fi - if use doc ; then + if use doc; then HTML_DOCS+=( "${BUILD_DIR}"/sphinx/html/. ) DOCS+=( "${BUILD_DIR}"/sphinx/latex/*.pdf ) fi - einstalldocs + distutils-r1_python_install_all } diff --git a/sci-misc/vitables/vitables-2.1.ebuild b/sci-misc/vitables/vitables-2.1.ebuild deleted file mode 100644 index 7ed46d1.. --- a/sci-misc/vitables/vitables-2.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -PYTHON_DEPEND="2:2.5" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -MY_PN=ViTables -MY_P=${MY_PN}-${PV} - -inherit distutils eutils - -DESCRIPTION="A graphical tool for browsing and editing files in both PyTables and HDF5 formats" -HOMEPAGE="http://vitables.org/; -SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.tar.gz; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples" - -RDEPEND=" - dev-python/pytables - dev-python/PyQt4[X]" # FIXME: check if any other useflags are needed -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${P}-no-docs.patch -} - -src_compile() { - distutils_src_compile - if use doc; then - # fixme: multiple python (anyone cares?) - python setup.py build_sphinx || die - fi -} - -src_install() { - dodir /usr/share/icons/hicolor/scalable/apps - dodir /usr/share/applications - XDG_DATA_DIRS="${ED}/usr/share" distutils_src_install - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r examples/* - fi - use doc && dohtml -r build/sphinx/html/* && \ - dodoc build/sphinx/latex/*.pdf -}
[gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/files/, sci-misc/vitables/
commit: 4c254551198f8617f06ed860a562ea55c7f6621c Author: Gerhard Bräunlich gmx net> AuthorDate: Thu Sep 22 16:27:23 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Sep 25 19:49:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c254551 sci-misc/vitables: EAPI bump 4 -> 6 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2389 Signed-off-by: David Seifert gentoo.org> sci-misc/vitables/files/vitables-2.1-no-docs.patch | 4 +- sci-misc/vitables/vitables-2.1-r1.ebuild | 52 ++ 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/sci-misc/vitables/files/vitables-2.1-no-docs.patch b/sci-misc/vitables/files/vitables-2.1-no-docs.patch index 307fb65..0d76e26 100644 --- a/sci-misc/vitables/files/vitables-2.1-no-docs.patch +++ b/sci-misc/vitables/files/vitables-2.1-no-docs.patch @@ -1,5 +1,5 @@ setup.py.orig 2011-02-15 11:05:17.0 -0800 -+++ setup.py 2012-08-04 12:00:40.704723726 -0700 +--- a/setup.py b/setup.py @@ -34,13 +34,14 @@ from distutils.dir_util import copy_tree from distutils.file_util import copy_file diff --git a/sci-misc/vitables/vitables-2.1-r1.ebuild b/sci-misc/vitables/vitables-2.1-r1.ebuild new file mode 100644 index ..5d9cacc --- /dev/null +++ b/sci-misc/vitables/vitables-2.1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +MY_P=ViTables-${PV} + +DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats" +HOMEPAGE="http://vitables.org/; +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND=" + dev-python/pytables + dev-python/PyQt4[X]" # FIXME: check if any other useflags are needed +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}"/${P}-no-docs.patch ) + +python_compile_all() { + distutils-r1_python_compile + # fixme: multiple python (anyone cares?) + use doc && esetup.py build_sphinx +} + +python_install_all() { + dodir /usr/share/icons/hicolor/scalable/apps + dodir /usr/share/applications + distutils-r1_python_install_all + + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + DOCS+=( examples ) + fi + if use doc ; then + HTML_DOCS+=( "${BUILD_DIR}"/sphinx/html/. ) + DOCS+=( "${BUILD_DIR}"/sphinx/latex/*.pdf ) + fi + einstalldocs +}