Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-board/rmahjong/
Date: Sat, 24 Apr 2021 23:19:58
Message-Id: 1619260223.ed101e00ee873d95f0d01b2d637dff8e22c8c86e.telans@gentoo
1 commit: ed101e00ee873d95f0d01b2d637dff8e22c8c86e
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Sat Apr 24 10:26:01 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Sat Apr 24 10:30:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed101e00
7
8 games-board/rmahjong: fix bot install path; fix exec permissions
9
10 The bot file is installed wrong path since fix module installation.
11 Without shell-scripts and bot exec permissions app doesn't start.
12
13 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
14
15 games-board/rmahjong/rmahjong-0.4_p20201106.ebuild | 9 ++++++---
16 1 file changed, 6 insertions(+), 3 deletions(-)
17
18 diff --git a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild
19 index 4453adf3c..a8a3e6da8 100644
20 --- a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild
21 +++ b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild
22 @@ -3,7 +3,7 @@
23
24 EAPI=7
25
26 -PYTHON_COMPAT=( python3_{7,8,9} )
27 +PYTHON_COMPAT=( python3_{7..9} )
28
29 inherit desktop python-single-r1 xdg
30
31 @@ -62,9 +62,12 @@ src_test() {
32 src_install() {
33 python_moduleinto ${PN}
34 python_domodule {client/,server/,start.sh}
35 + fperms 755 $(python_get_sitedir)/${PN}/start.sh
36 + fperms 755 $(python_get_sitedir)/${PN}/server/run_server.sh
37
38 - python_moduleinto bot
39 - python_domodule "bot/bot"
40 + python_moduleinto ${PN}/bot
41 + python_domodule bot/bot
42 + fperms 755 $(python_get_sitedir)/${PN}/bot/bot
43
44 python_optimize "${D}/$(python_get_sitedir)/${PN}/"{client,server}/*.py