summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@kotobank.ch>2023-06-08 10:58:11 +0300
committerJoonas Niilola <juippis@gentoo.org>2023-06-18 15:08:16 +0300
commit6cb97c9aba3fd8d69b66e6052284ed81bef187a1 (patch)
treeb0629580b6bd34091dd2022acc2c475277d2bd6a /media-gfx/hydrus
parentnet-im/synapse: add 1.85.2 (diff)
downloadgentoo-6cb97c9aba3fd8d69b66e6052284ed81bef187a1.tar.gz
gentoo-6cb97c9aba3fd8d69b66e6052284ed81bef187a1.tar.bz2
gentoo-6cb97c9aba3fd8d69b66e6052284ed81bef187a1.zip
media-gfx/hydrus: Update 9999 to match the current ebuild
Signed-off-by: Ekaterina Vaartis <vaartis@kotobank.ch> Closes: https://bugs.gentoo.org/908000 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/hydrus')
-rw-r--r--media-gfx/hydrus/hydrus-9999.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/media-gfx/hydrus/hydrus-9999.ebuild b/media-gfx/hydrus/hydrus-9999.ebuild
index c78c948645a3..851d373d97a8 100644
--- a/media-gfx/hydrus/hydrus-9999.ebuild
+++ b/media-gfx/hydrus/hydrus-9999.ebuild
@@ -69,6 +69,8 @@ BDEPEND="
test? (
dev-python/httmock[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
+
+ dev-python/pyside2[widgets,gui,multimedia,${PYTHON_USEDEP}]
)
')
"
@@ -82,8 +84,6 @@ src_prepare() {
# Contains pre-built binaries for other systems and a broken swf renderer for linux
rm -r bin/ || die
- # Build files used for CI and development, not actually needed
- rm -r static/build_files static/requirements || die
# Python requirements file, not needed
rm requirements.txt || die
# Remove unneeded additional scripts
@@ -99,7 +99,7 @@ src_test() {
# The tests use unittest, but are run with a custom runner script.
# QT_QPA_PLATFORM is required to make them run without X
local -x QT_QPA_PLATFORM=offscreen
- "${EPYTHON}" "${S}/test.py" || die "Tests failed"
+ "${EPYTHON}" "${S}/hydrus_test.py" || die "Tests failed"
}
src_install() {
@@ -114,8 +114,11 @@ src_install() {
einstalldocs
# Files only needed for testing
- rm test.py hydrus/hydrus_test.py || die
+ rm hydrus_test.py hydrus/hydrus_test_boot.py || die
rm -r hydrus/test/ static/testing/ || die
+ # Build files used for CI and development, not actually needed. Has to be deleted after src_compile.
+ # because it contains documentation
+ rm -r static/build_files static/requirements || die
# ${DOCS[@]} files are copied into doc
# ${S}/docs/ is the markdown source code for documentation