openstack: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-19 11:14:40 +02:00
parent 16dd61d6c9
commit bd12c10993
4 changed files with 16 additions and 17 deletions

View File

@ -1,7 +1,6 @@
{ stdenv, fetchurl, python2Packages, sqlite, which, strace }:
{ stdenv, fetchurl, pythonPackages, sqlite, which, strace }:
pythonPackages.buildPythonApplication rec {
python2Packages.buildPythonApplication rec {
name = "glance-${version}";
version = "11.0.0";
namePrefix = "";
@ -14,7 +13,7 @@ pythonPackages.buildPythonApplication rec {
};
# https://github.com/openstack/glance/blob/stable/liberty/requirements.txt
propagatedBuildInputs = with pythonPackages; [
propagatedBuildInputs = with python2Packages; [
pbr sqlalchemy anyjson eventlet PasteDeploy routes webob sqlalchemy_migrate
httplib2 pycrypto iso8601 stevedore futurist keystonemiddleware paste
jsonschema keystoneclient pyopenssl six retrying semantic-version qpid-python
@ -26,7 +25,7 @@ pythonPackages.buildPythonApplication rec {
MySQL_python
];
buildInputs = with pythonPackages; [
buildInputs = with python2Packages; [
Babel coverage fixtures mox3 mock oslosphinx requests2 testrepository pep8
testresources testscenarios testtools psutil_1 oslotest psycopg2
sqlite which strace

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pythonPackages, xmlsec, which, openssl }:
{ stdenv, fetchurl, python2Packages, xmlsec, which, openssl }:
pythonPackages.buildPythonApplication rec {
python2Packages.buildPythonApplication rec {
name = "keystone-${version}";
version = "8.0.0";
namePrefix = "";
@ -16,7 +16,7 @@ pythonPackages.buildPythonApplication rec {
patches = [ ./remove-oslo-policy-tests.patch ];
# https://github.com/openstack/keystone/blob/stable/liberty/requirements.txt
propagatedBuildInputs = with pythonPackages; [
propagatedBuildInputs = with python2Packages; [
pbr webob eventlet greenlet PasteDeploy paste routes cryptography six
sqlalchemy sqlalchemy_migrate stevedore passlib keystoneclient memcached
keystonemiddleware oauthlib pysaml2 dogpile_cache jsonschema pycadf msgpack
@ -28,7 +28,7 @@ pythonPackages.buildPythonApplication rec {
oslo-utils
];
buildInputs = with pythonPackages; [
buildInputs = with python2Packages; [
coverage fixtures mock subunit tempest-lib testtools testrepository
ldap ldappool webtest requests2 oslotest pep8 pymongo which
];

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pythonPackages, xmlsec, which, dnsmasq }:
{ stdenv, fetchurl, python2Packages, xmlsec, which, dnsmasq }:
pythonPackages.buildPythonApplication rec {
python2Packages.buildPythonApplication rec {
name = "neutron-${version}";
version = "7.0.0";
namePrefix = "";
@ -13,7 +13,7 @@ pythonPackages.buildPythonApplication rec {
};
# https://github.com/openstack/neutron/blob/stable/liberty/requirements.txt
propagatedBuildInputs = with pythonPackages; [
propagatedBuildInputs = with python2Packages; [
pbr paste PasteDeploy routes debtcollector eventlet greenlet httplib2 requests2
jinja2 keystonemiddleware netaddr retrying sqlalchemy webob alembic six
stevedore pecan ryu networking-hyperv MySQL_python
@ -34,7 +34,7 @@ pythonPackages.buildPythonApplication rec {
'';
patches = [ ./neutron-iproute-4.patch ];
buildInputs = with pythonPackages; [
buildInputs = with python2Packages; [
cliff coverage fixtures mock subunit requests-mock oslosphinx testrepository
testtools testresources testscenarios webtest oslotest os-testr tempest-lib
ddt pep8

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pythonPackages, openssl, openssh }:
{ stdenv, fetchurl, python2Packages, openssl, openssh }:
pythonPackages.buildPythonApplication rec {
python2Packages.buildPythonApplication rec {
name = "nova-${version}";
version = "12.0.0";
namePrefix = "";
@ -21,7 +21,7 @@ pythonPackages.buildPythonApplication rec {
'';
# https://github.com/openstack/nova/blob/stable/liberty/requirements.txt
propagatedBuildInputs = with pythonPackages; [
propagatedBuildInputs = with python2Packages; [
pbr sqlalchemy boto decorator eventlet jinja2 lxml routes cryptography
webob greenlet PasteDeploy paste prettytable sqlalchemy_migrate netaddr
netifaces paramiko Babel iso8601 jsonschema keystoneclient requests2 six
@ -37,7 +37,7 @@ pythonPackages.buildPythonApplication rec {
cinderclient neutronclient glanceclient
];
buildInputs = with pythonPackages; [
buildInputs = with python2Packages; [
coverage fixtures mock mox3 subunit requests-mock pillow oslosphinx
oslotest testrepository testresources testtools tempest-lib bandit
oslo-vmware pep8 barbicanclient ironicclient openssl openssh