commit:     f2fc2e1929859c23a4ac5b99f3cf1e9f48501aa5
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 02:17:53 2018 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 02:18:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2fc2e19

dev-python/python-lzo: support Prefix.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/python-lzo/python-lzo-1.11.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/python-lzo/python-lzo-1.11.ebuild 
b/dev-python/python-lzo/python-lzo-1.11.ebuild
index 34f5c61abb3..5218fa7e25c 100644
--- a/dev-python/python-lzo/python-lzo-1.11.ebuild
+++ b/dev-python/python-lzo/python-lzo-1.11.ebuild
@@ -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() {

Reply via email to