Merge pull request #105198 from SuperSandro2000/fix-web-py

authored by

Sandro and committed by
GitHub
2f503744 ada3931e

+47 -8
+3
pkgs/development/python-modules/WSME/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , pbr 5 , six 6 , simplegeneric ··· 22 buildPythonPackage rec { 23 pname = "WSME"; 24 version = "0.10.0"; 25 26 src = fetchPypi { 27 inherit pname version;
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , pythonAtLeast 5 , pbr 6 , six 7 , simplegeneric ··· 23 buildPythonPackage rec { 24 pname = "WSME"; 25 version = "0.10.0"; 26 + 27 + disabled = pythonAtLeast "3.9"; 28 29 src = fetchPypi { 30 inherit pname version;
+8 -2
pkgs/development/python-modules/cheroot/default.nix
··· 1 { lib, stdenv, fetchPypi, buildPythonPackage, isPy3k 2 , jaraco_text 3 , more-itertools 4 , portend ··· 23 24 src = fetchPypi { 25 inherit pname version; 26 - sha256 = "1089c28a9c320d19fdf9a4b0ed6ace23a0948db1c171a36ac985f3741bc62865"; 27 }; 28 29 nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ]; 30 31 - propagatedBuildInputs = [ more-itertools six ]; 32 33 checkInputs = [ 34 jaraco_text
··· 1 { lib, stdenv, fetchPypi, buildPythonPackage, isPy3k 2 + , jaraco_functools 3 , jaraco_text 4 , more-itertools 5 , portend ··· 24 25 src = fetchPypi { 26 inherit pname version; 27 + sha256 = "0r98qqdp9ww5r5ma6wf1n66r9813rrmfvc54z7yij39jkj5c528h"; 28 }; 29 30 nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ]; 31 32 + propagatedBuildInputs = [ 33 + # install_requires 34 + jaraco_functools 35 + 36 + more-itertools six 37 + ]; 38 39 checkInputs = [ 40 jaraco_text
+21
pkgs/development/python-modules/dbutils/default.nix
···
··· 1 + { stdenv, buildPythonPackage, fetchPypi, pytestCheckHook }: 2 + 3 + buildPythonPackage rec { 4 + version = "2.0"; 5 + pname = "dbutils"; 6 + 7 + src = fetchPypi { 8 + inherit version; 9 + pname = "DBUtils"; 10 + sha256 = "131ifm2c2a7bipij597i8fvjka0dk2qv1xr2ghcvbc30jlkvag2g"; 11 + }; 12 + 13 + checkInputs = [ pytestCheckHook ]; 14 + 15 + meta = with stdenv.lib; { 16 + description = "Database connections for multi-threaded environments"; 17 + homepage = "https://webwareforpython.github.io/DBUtils/"; 18 + license = licenses.mit; 19 + maintainers = with maintainers; [ SuperSandro2000 ]; 20 + }; 21 + }
+13 -6
pkgs/development/python-modules/web/default.nix
··· 1 - { stdenv 2 - , buildPythonPackage 3 - , fetchPypi 4 - , isPy3k 5 }: 6 7 buildPythonPackage rec { 8 version = "0.62"; 9 pname = "web.py"; 10 - disabled = isPy3k; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e"; 15 }; 16 17 meta = with stdenv.lib; { 18 description = "Makes web apps"; 19 longDescription = '' ··· 22 ''; 23 homepage = "https://webpy.org/"; 24 license = licenses.publicDomain; 25 - maintainers = with maintainers; [ layus ]; 26 }; 27 28 }
··· 1 + { stdenv, buildPythonPackage, fetchPypi, pytestCheckHook 2 + , cheroot 3 + , dbutils, mysqlclient, pymysql, mysql-connector, psycopg2 4 }: 5 6 buildPythonPackage rec { 7 version = "0.62"; 8 pname = "web.py"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e"; 13 }; 14 15 + propagatedBuildInputs = [ cheroot ]; 16 + 17 + # requires multiple running databases 18 + doCheck = false; 19 + 20 + pythonImportsCheck = [ "web" ]; 21 + 22 + checkInputs = [ pytestCheckHook dbutils mysqlclient pymysql mysql-connector psycopg2 ]; 23 + 24 meta = with stdenv.lib; { 25 description = "Makes web apps"; 26 longDescription = '' ··· 29 ''; 30 homepage = "https://webpy.org/"; 31 license = licenses.publicDomain; 32 + maintainers = with maintainers; [ layus SuperSandro2000 ]; 33 }; 34 35 }
+2
pkgs/top-level/python-packages.nix
··· 1552 1553 dbus-python = callPackage ../development/python-modules/dbus { inherit (pkgs) dbus pkgconfig; }; 1554 1555 dcmstack = callPackage ../development/python-modules/dcmstack { }; 1556 1557 ddt = callPackage ../development/python-modules/ddt { };
··· 1552 1553 dbus-python = callPackage ../development/python-modules/dbus { inherit (pkgs) dbus pkgconfig; }; 1554 1555 + dbutils = callPackage ../development/python-modules/dbutils { }; 1556 + 1557 dcmstack = callPackage ../development/python-modules/dcmstack { }; 1558 1559 ddt = callPackage ../development/python-modules/ddt { };