mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
keystoneclient: rip
barbicanclient: rip castellan: rip cinderclient: rip neutronclient: rip glanceclient: rip keystonemiddleware: rip
This commit is contained in:
parent
373d11751b
commit
276d2f6c4d
@ -1,53 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, python
|
||||
|
||||
, pbr, testtools, testresources, testrepository
|
||||
, requests-mock, fixtures, openssl, oslotest, pep8
|
||||
|
||||
, oslo-serialization, oslo-config, oslo-i18n, oslo-utils
|
||||
, Babel, prettytable, requests, six, iso8601, stevedore
|
||||
, netaddr, debtcollector, bandit, webob, mock, pycrypto
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keystoneclient";
|
||||
version = "1.8.1";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openstack";
|
||||
repo = "python-keystoneclient";
|
||||
rev = version;
|
||||
sha256 = "0yayn1hb3mncqb0isy8vy6d519xya7mhf5pcbn60fzdqjrkj2prq";
|
||||
};
|
||||
|
||||
PBR_VERSION = "${version}";
|
||||
|
||||
buildInputs = [
|
||||
pbr testtools testresources testrepository requests-mock fixtures openssl
|
||||
oslotest pep8
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
oslo-serialization oslo-config oslo-i18n oslo-utils
|
||||
Babel prettytable requests six iso8601 stevedore
|
||||
netaddr debtcollector bandit webob mock pycrypto
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's@python@${python.interpreter}@' .testr.conf
|
||||
sed -ie '/argparse/d' requirements.txt
|
||||
'';
|
||||
|
||||
doCheck = false; # The checkPhase below is broken
|
||||
|
||||
checkPhase = ''
|
||||
patchShebangs run_tests.sh
|
||||
./run_tests.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/openstack/python-novaclient/;
|
||||
description = "Client library and command line tool for the OpenStack Nova API";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -3064,29 +3064,6 @@ in {
|
||||
];
|
||||
};
|
||||
|
||||
barbicanclient = buildPythonPackage rec {
|
||||
name = "barbicanclient-${version}";
|
||||
version = "3.3.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-barbicanclient/python-barbicanclient-${version}.tar.gz";
|
||||
sha256 = "1kxnxiijvkkc8ahlfbkslpzxcbah7y5pi86hvkyac62xzda87inm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pbr argparse requests six keystoneclient cliff oslo-i18n oslo-serialization
|
||||
oslo-utils
|
||||
];
|
||||
buildInputs = with self; [
|
||||
oslosphinx oslotest requests-mock
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's@python@${python.interpreter}@' .testr.conf
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
tablib = buildPythonPackage rec {
|
||||
name = "tablib-${version}";
|
||||
version = "0.10.0";
|
||||
@ -12936,61 +12913,6 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
cinderclient = buildPythonPackage rec {
|
||||
name = "cinderclient-${version}";
|
||||
version = "1.4.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-cinderclient/python-cinderclient-${version}.tar.gz";
|
||||
sha256 = "1vfcjljfad3034bfhfcrfhphym1ik6qk42nrxzl0gqb9408n6k3l";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
six Babel simplejson requests keystoneclient prettytable argparse pbr
|
||||
];
|
||||
buildInputs = with self; [
|
||||
testrepository requests-mock
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i 's@python@${python.interpreter}@' .testr.conf
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings to the OpenStack Cinder API";
|
||||
homepage = "http://www.openstack.org/";
|
||||
broken = true;
|
||||
};
|
||||
};
|
||||
|
||||
neutronclient = buildPythonPackage rec {
|
||||
name = "neutronclient-${version}";
|
||||
version = "3.1.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-neutronclient/python-neutronclient-${version}.tar.gz";
|
||||
sha256 = "0g96x5b8lz407in70j6v7jbj613y6sd61b21j1y03x06b2rk5i02";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pbr six simplejson keystoneclient requests oslo-utils oslo-serialization
|
||||
oslo-i18n netaddr iso8601 cliff argparse
|
||||
];
|
||||
buildInputs = with self; [
|
||||
tempest-lib mox3 oslotest requests-mock
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's@python@${python.interpreter}@' .testr.conf
|
||||
# test fails on py3k
|
||||
${if isPy3k then "substituteInPlace neutronclient/tests/unit/test_cli20_port.py --replace 'test_list_ports_with_fixed_ips_in_csv' 'noop'" else ""}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings to the Neutron API";
|
||||
homepage = "http://www.openstack.org/";
|
||||
};
|
||||
};
|
||||
|
||||
cliff = buildPythonPackage rec {
|
||||
name = "cliff-${version}";
|
||||
version = "1.15.0";
|
||||
@ -13082,36 +13004,6 @@ in {
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
glanceclient = buildPythonPackage rec {
|
||||
name = "glanceclient-${version}";
|
||||
version = "1.1.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-glanceclient/python-glanceclient-${version}.tar.gz";
|
||||
sha256 = "0ppjafsmf29ps23jsw6g2xm66pdi5jdzpywglqqm28b8fj931zsr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
oslo-i18n oslo-utils six requests keystoneclient prettytable Babel pbr
|
||||
argparse warlock
|
||||
];
|
||||
buildInputs = with self; [
|
||||
tempest-lib requests-mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m subunit.run discover -t ./ .
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings to the OpenStack Images API";
|
||||
homepage = "http://www.openstack.org/";
|
||||
|
||||
# requires an update, incompatible with current dependencies (pbr)
|
||||
broken = true;
|
||||
};
|
||||
};
|
||||
|
||||
warlock = buildPythonPackage rec {
|
||||
name = "warlock-${version}";
|
||||
version = "1.2.0";
|
||||
@ -13344,35 +13236,6 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
castellan = buildPythonPackage rec {
|
||||
name = "castellan-${version}";
|
||||
version = "0.2.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/c/castellan/${name}.tar.gz";
|
||||
sha256 = "1im9b4qzq4yhn17jjc8927b3hn06h404vsx8chddw2jfp0v4ryfj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pbr Babel cryptography oslo-config oslo-context oslo-log oslo-policy
|
||||
oslo-serialization oslo-utils
|
||||
];
|
||||
buildInputs = with self; [
|
||||
subunit barbicanclient oslosphinx oslotest testrepository testtools
|
||||
testscenarios
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# uses /etc/castellan/castellan-functional.conf
|
||||
rm castellan/tests/functional/key_manager/test_barbican_key_manager.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/yahoo/Zake";
|
||||
};
|
||||
};
|
||||
|
||||
zake = buildPythonPackage rec {
|
||||
name = "zake-${version}";
|
||||
version = "0.2.2";
|
||||
@ -19182,31 +19045,6 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
keystoneclient = callPackage ../development/python-modules/keystoneclient { };
|
||||
|
||||
keystonemiddleware = buildPythonPackage rec {
|
||||
name = "keystonemiddleware-${version}";
|
||||
version = "2.4.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/k/keystonemiddleware/${name}.tar.gz";
|
||||
sha256 = "0avrn1f897rnam9wfdanpdwsmn8is3ncfh3nnzq3d1m31b1yqqr6";
|
||||
};
|
||||
|
||||
buildInputs = with self; [
|
||||
fixtures mock pycrypto oslosphinx oslotest stevedore testrepository
|
||||
testresources testtools bandit requests-mock memcached
|
||||
pkgs.openssl
|
||||
];
|
||||
propagatedBuildInputs = with self; [
|
||||
pbr Babel oslo-config oslo-context oslo-i18n oslo-serialization oslo-utils
|
||||
requests six webob keystoneclient pycadf oslo-messaging
|
||||
];
|
||||
|
||||
# lots of "unhashable type" errors
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
testscenarios = buildPythonPackage rec {
|
||||
name = "testscenarios-${version}";
|
||||
version = "0.4";
|
||||
|
Loading…
Reference in New Issue
Block a user