Merge remote-tracking branch 'kapsh/zim'

This commit is contained in:
Julian Ospald 2019-09-02 17:49:16 +08:00
commit 62a4c782ab
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -27,7 +27,7 @@ DEPENDENCIES="
suggestion: suggestion:
app-text/dvipng app-text/dvipng
app-text/texlive-core app-text/texlive-core
dev-libs/zeitgeist dev-libs/zeitgeist:2.0
dev-scm/bzr dev-scm/bzr
media-gfx/ImageMagick media-gfx/ImageMagick
media-gfx/graphviz media-gfx/graphviz
@ -36,12 +36,20 @@ DEPENDENCIES="
sci-apps/gnuplot sci-apps/gnuplot
" "
# Requires X server
RESTRICT="test"
WORK=${WORKBASE}/${PNV/_rc/-rc} WORK=${WORKBASE}/${PNV/_rc/-rc}
pkg_setup() { pkg_setup() {
unset DISPLAY # tries to access X socket unset DISPLAY # tries to access X socket
} }
src_test() {
PYTHONPATH="${PWD}/build/lib" \
edo ${PYTHON} test.py
}
pkg_postinst() { pkg_postinst() {
freedesktop-desktop_pkg_postinst freedesktop-desktop_pkg_postinst
gtk-icon-cache_pkg_postinst gtk-icon-cache_pkg_postinst