aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2021-04-24 13:26:01 +0300
committerSergey Torokhov <torokhov-s-a@yandex.ru>2021-04-24 13:30:23 +0300
commited101e00ee873d95f0d01b2d637dff8e22c8c86e (patch)
treeac870e27050817249f475403db11232b4b6c80da /games-board
parentdev-util/xdp-tools: Don't call readelf directly (diff)
downloadguru-ed101e00ee873d95f0d01b2d637dff8e22c8c86e.tar.gz
guru-ed101e00ee873d95f0d01b2d637dff8e22c8c86e.tar.bz2
guru-ed101e00ee873d95f0d01b2d637dff8e22c8c86e.zip
games-board/rmahjong: fix bot install path; fix exec permissions
The bot file is installed wrong path since fix module installation. Without shell-scripts and bot exec permissions app doesn't start. Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/rmahjong/rmahjong-0.4_p20201106.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild
index 4453adf3c..a8a3e6da8 100644
--- a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild
+++ b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..9} )
inherit desktop python-single-r1 xdg
@@ -62,9 +62,12 @@ src_test() {
src_install() {
python_moduleinto ${PN}
python_domodule {client/,server/,start.sh}
+ fperms 755 $(python_get_sitedir)/${PN}/start.sh
+ fperms 755 $(python_get_sitedir)/${PN}/server/run_server.sh
- python_moduleinto bot
- python_domodule "bot/bot"
+ python_moduleinto ${PN}/bot
+ python_domodule bot/bot
+ fperms 755 $(python_get_sitedir)/${PN}/bot/bot
python_optimize "${D}/$(python_get_sitedir)/${PN}/"{client,server}/*.py