diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-03-20 16:13:38 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-03-20 17:32:49 +0100 |
commit | 2773b76f33549f68ca53e4d9f0457314ce87f9e3 (patch) | |
tree | 2fd3b984a30877cd75af248739a8e3f8a5e72625 /pkgs/development/python-modules | |
parent | 9f54b031fdbda6ebf71fb92222537786039abc75 (diff) | |
download | nixlib-2773b76f33549f68ca53e4d9f0457314ce87f9e3.tar nixlib-2773b76f33549f68ca53e4d9f0457314ce87f9e3.tar.gz nixlib-2773b76f33549f68ca53e4d9f0457314ce87f9e3.tar.bz2 nixlib-2773b76f33549f68ca53e4d9f0457314ce87f9e3.tar.lz nixlib-2773b76f33549f68ca53e4d9f0457314ce87f9e3.tar.xz nixlib-2773b76f33549f68ca53e4d9f0457314ce87f9e3.tar.zst nixlib-2773b76f33549f68ca53e4d9f0457314ce87f9e3.zip |
pythonPackages.WSME: 0.8.0 -> 0.9.2
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/WSME/default.nix | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/WSME/default.nix b/pkgs/development/python-modules/WSME/default.nix index fc2b066ce1e9..8cbbd2c767fb 100644 --- a/pkgs/development/python-modules/WSME/default.nix +++ b/pkgs/development/python-modules/WSME/default.nix @@ -1,27 +1,35 @@ { lib, buildPythonPackage, fetchPypi, isPy3k , pbr, six, simplegeneric, netaddr, pytz, webob -, cornice, nose, webtest, pecan, transaction, cherrypy, sphinx }: +, cornice, nose, webtest, pecan, transaction, cherrypy, sphinx +, flask, flask-restful, suds-jurko, glibcLocales }: buildPythonPackage rec { pname = "WSME"; - version = "0.8.0"; + version = "0.9.2"; src = fetchPypi { inherit pname version; - sha256 = "1nw827iz5g9jlfnfbdi8kva565v0kdjzba2lccziimj09r71w900"; + sha256 = "e790ac755a7e36eaa796d3966d3878677896dbc7d1c2685cb85c06b744c21976"; }; - checkPhase = '' + postPatch = '' # remove turbogears tests as we don't have it packaged rm tests/test_tg* - # remove flask since we don't have flask-restful - rm tests/test_flask* + # WSME seems incompatible with recent SQLAlchemy version + rm wsmeext/tests/test_sqlalchemy* # https://bugs.launchpad.net/wsme/+bug/1510823 ${if isPy3k then "rm tests/test_cornice.py" else ""} + ''; - nosetests tests/ + checkPhae = '' + nosetests --exclude test_buildhtml \ + --exlcude test_custom_clientside_error \ + --exclude test_custom_non_http_clientside_error ''; + # UnicodeEncodeError, ImportError, ... + doCheck = !isPy3k; + nativeBuildInputs = [ pbr ]; propagatedBuildInputs = [ @@ -30,6 +38,7 @@ buildPythonPackage rec { checkInputs = [ cornice nose webtest pecan transaction cherrypy sphinx + flask flask-restful suds-jurko glibcLocales ]; meta = with lib; { |