diff options
author | Benda Xu <heroxbd@gentoo.org> | 2023-09-03 10:57:01 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2023-09-03 10:58:23 +0800 |
commit | 4eef208ad065a8e327488f48d558ef0fcd371b6f (patch) | |
tree | 8d1081a6178806d6d05fe8c1f628241396a6b656 /sci-misc | |
parent | app-shells/zsh: add myself as a maintainer (diff) | |
download | gentoo-4eef208ad065a8e327488f48d558ef0fcd371b6f.tar.gz gentoo-4eef208ad065a8e327488f48d558ef0fcd371b6f.tar.bz2 gentoo-4eef208ad065a8e327488f48d558ef0fcd371b6f.zip |
sci-misc/vitables: drop unnecessary Debian patches.
Get back to vitables executable.
Install the icons.
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/vitables/vitables-3.0.2_p4-r1.ebuild (renamed from sci-misc/vitables/vitables-3.0.2_p4.ebuild) | 21 |
1 files 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 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() { |