Merge pull request #266822 from natsukium/repoze
python311Packages.repoze-{lru,sphinx-autointerface,who}: rename from repoze_{lru,sphinx_autointerface,who}
This commit is contained in:
commit
43a55ee1cb
10 changed files with 110 additions and 39 deletions
|
@ -25,7 +25,7 @@
|
|||
, pyproj
|
||||
, python-dateutil
|
||||
, joblib
|
||||
, repoze_lru
|
||||
, repoze-lru
|
||||
, xmltodict
|
||||
, cloudpickle
|
||||
, scipy
|
||||
|
@ -97,7 +97,7 @@ buildPythonPackage rec {
|
|||
pyproj
|
||||
python-dateutil
|
||||
joblib
|
||||
repoze_lru
|
||||
repoze-lru
|
||||
xmltodict
|
||||
cloudpickle
|
||||
];
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
, pastedeploy
|
||||
, plaster
|
||||
, plaster-pastedeploy
|
||||
, repoze_lru
|
||||
, repoze-lru
|
||||
, translationstring
|
||||
, venusian
|
||||
, webob
|
||||
|
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||
pastedeploy
|
||||
plaster
|
||||
plaster-pastedeploy
|
||||
repoze_lru
|
||||
repoze-lru
|
||||
translationstring
|
||||
venusian
|
||||
webob
|
||||
|
|
48
pkgs/development/python-modules/repoze-lru/default.nix
Normal file
48
pkgs/development/python-modules/repoze-lru/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "repoze-lru";
|
||||
version = "0.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "repoze.lru";
|
||||
inherit version;
|
||||
hash = "sha256-BCmnXhk4Dk7VDAaU4mrIgZtOp4Ue4fx1g8hXLbgK/3c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"repoze/lru/tests.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# time sensitive tests
|
||||
"test_different_timeouts"
|
||||
"test_renew_timeout"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "repoze.lru" ];
|
||||
|
||||
pythonNamespaces = [ "repoze" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tiny LRU cache implementation and decorator";
|
||||
homepage = "http://www.repoze.org/";
|
||||
changelog = "https://github.com/repoze/repoze.lru/blob/${version}/CHANGES.rst";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
|
@ -1,6 +1,8 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, zope_interface
|
||||
, zope_testrunner
|
||||
|
@ -8,15 +10,22 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "repoze.sphinx.autointerface";
|
||||
pname = "repoze-sphinx-autointerface";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "repoze.sphinx.autointerface";
|
||||
inherit version;
|
||||
hash = "sha256-SGvxQjpGlrkVPkiM750ybElv/Bbd6xSwyYh7RsYOKKE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
zope_interface
|
||||
sphinx
|
||||
|
@ -27,10 +36,22 @@ buildPythonPackage rec {
|
|||
zope_testrunner
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"repoze.sphinx.autointerface"
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"repoze"
|
||||
"repoze.sphinx"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/repoze/repoze.sphinx.autointerface";
|
||||
description = "Auto-generate Sphinx API docs from Zope interfaces";
|
||||
changelog = "https://github.com/repoze/repoze.sphinx.autointerface/blob/${version}/CHANGES.rst";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
# https://github.com/repoze/repoze.sphinx.autointerface/issues/21
|
||||
broken = versionAtLeast sphinx.version "7.2";
|
||||
};
|
||||
}
|
|
@ -1,27 +1,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, zope_interface
|
||||
, webob
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "repoze.who";
|
||||
pname = "repoze-who";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "repoze.who";
|
||||
inherit version;
|
||||
hash = "sha256-6VWt8AwfCwxxXoKJeaI37Ev37nCCe9l/Xhe/gnYNyzA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ zope_interface webob ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# skip failing test
|
||||
# OSError: [Errno 22] Invalid argument
|
||||
preCheck = ''
|
||||
rm repoze/who/plugins/tests/test_htpasswd.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"repoze.who"
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"repoze"
|
||||
"repoze.who"
|
||||
"repoze.who.plugins"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "WSGI Authentication Middleware / API";
|
||||
homepage = "http://www.repoze.org";
|
|
@ -1,23 +0,0 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "repoze.lru";
|
||||
version = "0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0429a75e19380e4ed50c0694e26ac8819b4ea7851ee1fc7583c8572db80aff77";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "repoze.lru" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tiny LRU cache implementation and decorator";
|
||||
homepage = "http://www.repoze.org/";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, repoze_lru
|
||||
, repoze-lru
|
||||
, six
|
||||
, soupsieve
|
||||
, webob
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
sha256 = "b6346459a15f0cbab01a45a90c3d25caf980d4733d628b4cc1952b865125d053";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ repoze_lru six soupsieve webob ];
|
||||
propagatedBuildInputs = [ repoze-lru six soupsieve webob ];
|
||||
|
||||
# incompatible with latest soupsieve
|
||||
doCheck = false;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
, py
|
||||
, pyramid
|
||||
, pytestCheckHook
|
||||
, repoze_lru
|
||||
, repoze-lru
|
||||
, setuptools
|
||||
, strictyaml
|
||||
, waitress
|
||||
|
@ -60,7 +60,7 @@ buildPythonApplication rec {
|
|||
platformdirs
|
||||
pluggy
|
||||
pyramid
|
||||
repoze_lru
|
||||
repoze-lru
|
||||
setuptools
|
||||
strictyaml
|
||||
waitress
|
||||
|
|
|
@ -390,6 +390,9 @@ mapAliases ({
|
|||
rednose = throw "rednose is no longer maintained (since February 2018)"; # added 2023-08-06
|
||||
retworkx = rustworkx; # added 2023-05-14
|
||||
repeated_test = repeated-test; # added 2022-11-15
|
||||
repoze_lru = repoze-lru; # added 2023-11-11
|
||||
repoze_sphinx_autointerface = repoze-sphinx-autointerface; # added 2023-11-11
|
||||
repoze_who = repoze-who; # added 2023-11-11
|
||||
requests_oauthlib = requests-oauthlib; # added 2022-02-12
|
||||
requests_toolbelt = requests-toolbelt; # added 2017-09-26
|
||||
restructuredtext_lint = restructuredtext-lint; # added 2023-11-04
|
||||
|
|
|
@ -12444,11 +12444,11 @@ self: super: with self; {
|
|||
|
||||
reportlab = callPackage ../development/python-modules/reportlab { };
|
||||
|
||||
repoze_lru = callPackage ../development/python-modules/repoze_lru { };
|
||||
repoze-lru = callPackage ../development/python-modules/repoze-lru { };
|
||||
|
||||
repoze_sphinx_autointerface = callPackage ../development/python-modules/repoze_sphinx_autointerface { };
|
||||
repoze-sphinx-autointerface = callPackage ../development/python-modules/repoze-sphinx-autointerface { };
|
||||
|
||||
repoze_who = callPackage ../development/python-modules/repoze_who { };
|
||||
repoze-who = callPackage ../development/python-modules/repoze-who { };
|
||||
|
||||
reproject = callPackage ../development/python-modules/reproject { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue