diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-28 12:04:35 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-28 12:17:43 +0200 |
commit | b594499f8fd768674260352713d666bc7f0210d3 (patch) | |
tree | 7e606866bb99150cffd2e027cb8b6dfd2d980d7a /games-board | |
parent | dev-embedded/mv88e6xxx-dump: Add mv88e6xxx-dump (diff) | |
download | guru-b594499f8fd768674260352713d666bc7f0210d3.tar.gz guru-b594499f8fd768674260352713d666bc7f0210d3.tar.bz2 guru-b594499f8fd768674260352713d666bc7f0210d3.zip |
games-board/rmahjong: fix DoublePrefixInPath
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/rmahjong/rmahjong-0.4_p20201106.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild index 21bf38585..4453adf3c 100644 --- a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild +++ b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -60,14 +60,11 @@ src_test() { } src_install() { - insinto "$(python_get_sitedir)/${PN}" - doins -r {client/,server/,start.sh} - fperms 755 $(python_get_sitedir)/${PN}/start.sh - fperms 755 $(python_get_sitedir)/${PN}/server/run_server.sh - - insinto "$(python_get_sitedir)/${PN}/bot" - doins "bot/bot" - fperms 755 $(python_get_sitedir)/${PN}/bot/bot + python_moduleinto ${PN} + python_domodule {client/,server/,start.sh} + + python_moduleinto bot + python_domodule "bot/bot" python_optimize "${D}/$(python_get_sitedir)/${PN}/"{client,server}/*.py |