Skip to content

Commit

Permalink
sci-misc/vitables: drop unnecessary Debian patches.
Browse files Browse the repository at this point in the history
Get back to vitables executable.

Install the icons.

Signed-off-by: Benda Xu <[email protected]>
  • Loading branch information
heroxbd committed Sep 3, 2023
1 parent ddca253 commit 4eef208
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4eef208

Please sign in to comment.