games-strategy/outerspace: Fix installing files into sitedir
authorMichał Górny <mgorny@gentoo.org>
Wed, 28 Aug 2019 17:54:00 +0000 (19:54 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 28 Aug 2019 19:41:13 +0000 (21:41 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
games-strategy/outerspace/outerspace-0.5.68-r1.ebuild

index a7d5680c16a561807c974461855bd8988f7e5f95..ca9da045166ca4b1b8f9adf46cdf7dadef1d856b 100644 (file)
@@ -35,8 +35,8 @@ python_install() {
 
        # source tarball is missing files
        # get them from ubuntu.deb
-       insinto "$(python_get_sitedir)"/ige/ospace/Rules
-       doins "${WORKDIR}"/usr/share/games/outerspace/libsrvr/ige/ospace/Rules/{Tech,techs}.spf
+       python_moduleinto ige.ospace.Rules
+       python_domodule "${WORKDIR}"/usr/share/games/outerspace/libsrvr/ige/ospace/Rules/{Tech,techs}.spf
 }
 
 src_prepare() {