summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-12-13 23:02:53 +0100
committermakefu <github@syntax-fehler.de>2017-12-15 16:08:38 +0100
commit1dc6ee10d7d398893714ef81cece133049028c8e (patch)
tree3ab0a304e6ed98d22acfd87d3ebc9f8b94e1c36a /pkgs/development/python-modules
parent276d2f6c4daed9ab047bde33100b3016ea21a592 (diff)
downloadnixlib-1dc6ee10d7d398893714ef81cece133049028c8e.tar
nixlib-1dc6ee10d7d398893714ef81cece133049028c8e.tar.gz
nixlib-1dc6ee10d7d398893714ef81cece133049028c8e.tar.bz2
nixlib-1dc6ee10d7d398893714ef81cece133049028c8e.tar.lz
nixlib-1dc6ee10d7d398893714ef81cece133049028c8e.tar.xz
nixlib-1dc6ee10d7d398893714ef81cece133049028c8e.tar.zst
nixlib-1dc6ee10d7d398893714ef81cece133049028c8e.zip
oslo-*: rip
oslo-vmware: rip
oslo-serialization: rip
  pycadf: rip
  os-brick: rip
  taskflow: rip
oslo-utils: rip
oslo-middlewar: rip
oslo-versionedobjects: rip
oslo-messaging: rip
oslo-reports: rip
oslo-db: rip
oslo-rootwrap: rip
oslo-service: rip
oslo-cache: rip
oslo-config: rip
  glance_store: rip
  networking-hyperv: rip
  ryu: rip
  keystoneauth1: rip
    os-client-config: rip
oslo-log: rip
  tempest-lib: rip
oslo-context: rip
oslo-i18n: rip
oslotest: rip
  futurist: rip
  bandit: rip
  cliff: rip
    cliff-tablib: rip
oslosphinx: rip
  osprofile: rip
  os-testr: rip
  stevedore: remove oslosphinx from buildInputs
oslo-policy: rip
oslo-concurrency: rip

unused packages:
  swiftclient: rip
  debtcollector: rip
    automaton: rip
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/fix_swiftclient_mocking.patch26
-rw-r--r--pkgs/development/python-modules/keystoneauth1/default.nix37
-rw-r--r--pkgs/development/python-modules/os-testr/default.nix33
-rw-r--r--pkgs/development/python-modules/oslo-config/default.nix32
-rw-r--r--pkgs/development/python-modules/stevedore/default.nix3
5 files changed, 1 insertions, 130 deletions
diff --git a/pkgs/development/python-modules/fix_swiftclient_mocking.patch b/pkgs/development/python-modules/fix_swiftclient_mocking.patch
deleted file mode 100644
index 027ef56b317c..000000000000
--- a/pkgs/development/python-modules/fix_swiftclient_mocking.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From f37947a7e083532676a9f2ed079dff6bdc19a8e9 Mon Sep 17 00:00:00 2001
-From: Sabari Kumar Murugesan <smurugesan@vmware.com>
-Date: Tue, 15 Sep 2015 14:22:11 -0700
-Subject: [PATCH] Fix swift store tests for latest swiftclient
-
-The latest swiftclient (2.6.0) breaks some of the swift store
-tests as a mock function's parameters got changed.
-
-Change-Id: I36512fbe642f4f12cf1382fdf0e37eccbf1acba4
----
- glance_store/tests/unit/test_swift_store.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/glance_store/tests/unit/test_swift_store.py b/glance_store/tests/unit/test_swift_store.py
-index f738cf9..3fe4699 100644
---- a/glance_store/tests/unit/test_swift_store.py
-+++ b/glance_store/tests/unit/test_swift_store.py
-@@ -92,7 +92,7 @@ def fake_head_container(url, token, container, **kwargs):
-     def fake_put_container(url, token, container, **kwargs):
-         fixture_containers.append(container)
- 
--    def fake_post_container(url, token, container, headers, http_conn=None):
-+    def fake_post_container(url, token, container, headers, **kwargs):
-         for key, value in six.iteritems(headers):
-             fixture_container_headers[key] = value
- 
diff --git a/pkgs/development/python-modules/keystoneauth1/default.nix b/pkgs/development/python-modules/keystoneauth1/default.nix
deleted file mode 100644
index 7405f7f74cd5..000000000000
--- a/pkgs/development/python-modules/keystoneauth1/default.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ buildPythonPackage, isPyPy, fetchPypi, python
-, pbr, testtools, testresources, testrepository, mock
-, pep8, fixtures, mox3, requests-mock
-, iso8601, requests, six, stevedore, webob, oslo-config
-, pyyaml, betamax, oauthlib
-}:
-
-buildPythonPackage rec {
-  pname = "keystoneauth1";
-  version = "3.2.0";
-  name = "${pname}-${version}";
-  disabled = isPyPy; # a test fails
-
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "0rg3harfyvai34lrjiqnl1crmvswjvj8nsviasnz4b9pcvp3d03n";
-  };
-
-  buildInputs = [ pbr  ];
-  checkInputs = [ pyyaml betamax oauthlib testtools testresources
-                  testrepository mock pep8 fixtures mox3 requests-mock ];
-  propagatedBuildInputs = [ iso8601 requests six stevedore webob ];
-
-  doCheck = true;
-  # 1. oslo-config
-  # 2. oslo-utils
-  # 3. requests-kerberos
-  preCheck = ''
-    rm keystoneauth1/tests/unit/loading/test_{session,conf,adapter}.py
-    rm keystoneauth1/tests/unit/access/test_v{2,3}_access.py
-    rm keystoneauth1/tests/unit/extras/kerberos/test_fedkerb_loading.py
-  '';
-  postPatch = ''
-    sed -i 's@python@${python.interpreter}@' .testr.conf
-    substituteInPlace requirements.txt --replace "argparse" ""
-  '';
-}
diff --git a/pkgs/development/python-modules/os-testr/default.nix b/pkgs/development/python-modules/os-testr/default.nix
deleted file mode 100644
index baafc44d10d3..000000000000
--- a/pkgs/development/python-modules/os-testr/default.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ stdenv, buildPythonPackage, fetchPypi, python,
-  pbr, Babel, testrepository, subunit, testtools,
-  coverage, oslosphinx, oslotest, testscenarios, six, ddt 
-}:
-buildPythonPackage rec {
-  version = "0.8.2";
-  pname = "os-testr";
-  name = "${pname}-${version}";
-
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "d8a60bd56c541714a5cab4d1996c8ddfdb5c7c35393d55be617803048c170837";
-  };
-
-  patchPhase = ''
-    sed -i 's@python@${python.interpreter}@' .testr.conf
-    sed -i 's@python@${python.interpreter}@' os_testr/tests/files/testr-conf
-  '';
-
-  checkPhase = ''
-    export PATH=$PATH:$out/bin
-    ${python.interpreter} setup.py test
-  '';
-
-  propagatedBuildInputs = [ pbr Babel testrepository subunit testtools ];
-  buildInputs = [ coverage oslosphinx oslotest testscenarios six ddt ];
-
-  meta = with stdenv.lib; {
-    description = "A testr wrapper to provide functionality for OpenStack projects";
-    homepage  = http://docs.openstack.org/developer/os-testr/;
-    license = licenses.asl20;
-  };
-}
diff --git a/pkgs/development/python-modules/oslo-config/default.nix b/pkgs/development/python-modules/oslo-config/default.nix
deleted file mode 100644
index de91a507f179..000000000000
--- a/pkgs/development/python-modules/oslo-config/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ lib, buildPythonPackage, fetchPypi, pbr, six, netaddr, stevedore, mock,
-debtcollector, rfc3986, pyyaml, oslo-i18n }:
-
-buildPythonPackage rec {
-  pname = "oslo.config";
-  version = "4.13.2";
-  name = "${pname}-${version}";
-
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "882e5f1dcc0e5b0d7af877b2df0e2692113c5975db8cbbbf0dd3d2b905aefc0b";
-  };
-
-  propagatedBuildInputs = [ pbr six netaddr stevedore debtcollector rfc3986 pyyaml oslo-i18n ];
-  buildInputs = [ mock ];
-
-  # TODO: circular import on oslo-i18n
-  doCheck = false;
-
-  postPatch = ''
-    substituteInPlace requirements.txt --replace "argparse" ""
-  '';
-
-  meta = with lib; {
-    description = "Oslo Configuration API";
-    homepage = "https://docs.openstack.org/oslo.config/latest/";
-    license = licenses.asl20;
-    maintainers = with maintainers; [ makefu ];
-  };
-
-
-}
diff --git a/pkgs/development/python-modules/stevedore/default.nix b/pkgs/development/python-modules/stevedore/default.nix
index 1955320fd266..326282a39c3d 100644
--- a/pkgs/development/python-modules/stevedore/default.nix
+++ b/pkgs/development/python-modules/stevedore/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildPythonPackage, fetchPypi, oslosphinx, pbr, six, argparse }:
+{ stdenv, buildPythonPackage, fetchPypi, pbr, six, argparse }:
 
 buildPythonPackage rec {
   pname = "stevedore";
@@ -12,7 +12,6 @@ buildPythonPackage rec {
 
   doCheck = false;
 
-  buildInputs = [ oslosphinx ];
   propagatedBuildInputs = [ pbr six argparse ];
 
   meta = with stdenv.lib; {