sys-auth/keystone: fixing uwsgi script
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 25 Mar 2016 18:35:59 +0000 (13:35 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 25 Mar 2016 18:36:20 +0000 (13:36 -0500)
Package-Manager: portage-2.2.26

sys-auth/keystone/keystone-2016.1.9999.ebuild

index 2959f4f40ea3e8b30be4c3e265e3ec8f0982ea2c..f50addbfa4067c3c169df577fcb362920193e3c5 100644 (file)
@@ -108,6 +108,8 @@ python_prepare_all() {
        sed -i '/^hacking/d' test-requirements.txt || die
        mkdir -p ${PN}/tests/tmp/ || die
        cp etc/keystone-paste.ini ${PN}/tests/tmp/ || die
+       sed -i 's|/usr/local|/usr|g' httpd/keystone-uwsgi-* || die
+       sed -i 's|python|python27|g' httpd/keystone-uwsgi-* || die
        distutils-r1_python_prepare_all
 }
 
@@ -123,8 +125,6 @@ python_test() {
 
 python_install() {
        distutils-r1_python_install
-       newconfd "${FILESDIR}/keystone.confd" keystone
-       newinitd "${FILESDIR}/keystone.initd" keystone
 
        diropts -m 0750
        keepdir /etc/keystone /var/log/keystone