sys-auth/keystone: add uwsgi fun
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 25 Mar 2016 15:26:57 +0000 (10:26 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 25 Mar 2016 15:26:57 +0000 (10:26 -0500)
Package-Manager: portage-2.2.26

sys-auth/keystone/keystone-2015.2.9999.ebuild
sys-auth/keystone/keystone-2016.1.9999.ebuild

index 881e4443f868daa919a6d525ce8d19f838acdde6..6e3237e6519603662a705b72ed0d0f927386ca4c 100644 (file)
@@ -159,7 +159,8 @@ RDEPEND="
                >=dev-python/python-ldap-2.4[$(python_gen_usedep 'python2_7')]
                <=dev-python/python-ldap-2.4.20[$(python_gen_usedep 'python2_7')]
                ~dev-python/ldappool-1.0[$(python_gen_usedep 'python2_7')]
-       )"
+       )
+       www-servers/uwsgi[${PYTHON_USEDEP}]"
 
 PATCHES=(
 )
@@ -200,7 +201,7 @@ python_install() {
        doins etc/default_catalog.templates etc/policy.json
        doins etc/policy.v3cloudsample.json etc/keystone-paste.ini
        insinto /etc/keystone/httpd
-       doins httpd/keystone.py httpd/wsgi-keystone.conf
+       doins httpd/*
 
        fowners keystone:keystone /etc/keystone /var/log/keystone
 }
index b5fefc08127ab6d0882b50aa170863b885d71d28..127ce125d11fe0b5bd645a15fc53b2f33c7f6a93 100644 (file)
@@ -92,7 +92,8 @@ RDEPEND="
                >=dev-python/python-ldap-2.4[$(python_gen_usedep 'python2_7')]
                <=dev-python/python-ldap-2.4.20[$(python_gen_usedep 'python2_7')]
                ~dev-python/ldappool-1.0[$(python_gen_usedep 'python2_7')]
-       )"
+       )
+       www-servers/uwsgi[${PYTHON_USEDEP}]"
 
 #PATCHES=(
 #)
@@ -133,7 +134,7 @@ python_install() {
        doins etc/default_catalog.templates etc/policy.json
        doins etc/policy.v3cloudsample.json etc/keystone-paste.ini
        insinto /etc/keystone/httpd
-       doins httpd/keystone.py httpd/wsgi-keystone.conf
+       doins httpd/*
 
        fowners keystone:keystone /etc/keystone /etc/keystone/httpd /var/log/keystone
 }