dev-python/python-lzo: support Prefix.
authorBenda Xu <heroxbd@gentoo.org>
Thu, 18 Jan 2018 02:17:53 +0000 (11:17 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Thu, 18 Jan 2018 02:18:40 +0000 (11:18 +0900)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-python/python-lzo/python-lzo-1.11.ebuild

index 34f5c61abb3f628106816a4979fcd2fb0d727d08..5218fa7e25cbfe06a22471a98cf46593bda6d433 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit distutils-r1
+inherit distutils-r1 prefix
 
 DESCRIPTION="Python interface to lzo"
 HOMEPAGE="https://github.com/jd-boyd/python-lzo"
@@ -24,7 +24,7 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
        distutils-r1_src_prepare
-       PREFIX="${EPREFIX}"
+       hprefixify setup.py
 }
 
 python_test() {