Merge pull request #285868 from Stunkymonkey/flufl
This commit is contained in:
commit
4d7ed493ca
@ -18,7 +18,7 @@
|
||||
, dvc-task
|
||||
, fetchFromGitHub
|
||||
, flatten-dict
|
||||
, flufl_lock
|
||||
, flufl-lock
|
||||
, funcy
|
||||
, grandalf
|
||||
, gto
|
||||
@ -98,7 +98,7 @@ buildPythonPackage rec {
|
||||
dvc-studio-client
|
||||
dvc-task
|
||||
flatten-dict
|
||||
flufl_lock
|
||||
flufl-lock
|
||||
funcy
|
||||
grandalf
|
||||
gto
|
||||
|
@ -1,14 +1,49 @@
|
||||
{ buildPythonPackage, fetchPypi, atpublic, zope-interface, nose2 }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, atpublic
|
||||
, zope-interface
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flufl.bounce";
|
||||
pname = "flufl-bounce";
|
||||
version = "4.0";
|
||||
|
||||
buildInputs = [ nose2 ];
|
||||
propagatedBuildInputs = [ atpublic zope-interface ];
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "flufl.bounce";
|
||||
inherit version;
|
||||
hash = "sha256-JVBK65duwP5aGc1sQTo0EMtRT9zb3Kn5tdjTQ6hgODE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
atpublic
|
||||
zope-interface
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flufl.bounce"
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"flufl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Email bounce detectors";
|
||||
homepage = "https://gitlab.com/warsaw/flufl.bounce";
|
||||
changelog = "https://gitlab.com/warsaw/flufl.bounce/-/blob/${version}/flufl/bounce/NEWS.rst";
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
|
@ -1,26 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, atpublic
|
||||
, pdm-pep517
|
||||
, pytestCheckHook
|
||||
, sybil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flufl.i18n";
|
||||
pname = "flufl-i18n";
|
||||
version = "4.1.1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "flufl.i18n";
|
||||
inherit version;
|
||||
hash = "sha256-wKz6aggkJ9YBJ+o75XjC4Ddnn+Zi9hlYDnliwTc7DNs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov=flufl --cov-report=term --cov-report=xml" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pdm-pep517 ];
|
||||
propagatedBuildInputs = [ atpublic ];
|
||||
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ atpublic ];
|
||||
|
||||
pythonImportsCheck = [ "flufl.i18n" ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-wKz6aggkJ9YBJ+o75XjC4Ddnn+Zi9hlYDnliwTc7DNs=";
|
||||
};
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
sybil
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"flufl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A high level API for internationalizing Python libraries and applications";
|
||||
|
@ -1,15 +1,18 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, atpublic, psutil, pytest-cov, sybil
|
||||
, pdm-pep517
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flufl.lock";
|
||||
pname = "flufl-lock";
|
||||
version = "7.1.1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "flufl.lock";
|
||||
inherit version;
|
||||
hash = "sha256-rxQXKzW7xYaHvQa3DRaT/Y1Iy/D/3n5RphjBSK4kBC0=";
|
||||
};
|
||||
|
||||
@ -22,11 +25,19 @@ buildPythonPackage rec {
|
||||
# relevant to the user.
|
||||
pytestFlagsArray = [ "--no-cov" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flufl.lock"
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"flufl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://flufllock.readthedocs.io/";
|
||||
description = "NFS-safe file locking with timeouts for POSIX and Windows";
|
||||
changelog = "https://gitlab.com/warsaw/flufl.lock/-/blob/${version}/docs/NEWS.rst";
|
||||
maintainers = with maintainers; [ qyliss ];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
django-compressor
|
||||
django-extensions
|
||||
djangorestframework
|
||||
flufl_lock
|
||||
flufl-lock
|
||||
mistune
|
||||
networkx
|
||||
psycopg2
|
||||
|
@ -26,9 +26,9 @@ buildPythonPackage rec {
|
||||
click
|
||||
dnspython
|
||||
falcon
|
||||
flufl_bounce
|
||||
flufl_i18n
|
||||
flufl_lock
|
||||
flufl-bounce
|
||||
flufl-i18n
|
||||
flufl-lock
|
||||
gunicorn
|
||||
lazr-config
|
||||
passlib
|
||||
|
@ -168,6 +168,9 @@ mapAliases ({
|
||||
flask-basicauth = throw "flask-basicauth was removed, as it is not compatible with flask 3.0 and unmaintained since 2016.";
|
||||
flask-sessionstore = throw "flask-sessionstore was removed, as it is not compatible with flask 3.0 and unmaintained since 2017.";
|
||||
flowlogs_reader = flowlogs-reader; # added 2024-01-03
|
||||
flufl_bounce = flufl-bounce; # added 2023-11-03
|
||||
flufl_i18n = flufl-i18n; # added 2023-11-03
|
||||
flufl_lock = flufl-lock; # added 2023-11-03
|
||||
FormEncode = formencode; # added 2023-02-19
|
||||
foundationdb51 = throw "foundationdb51 is no longer maintained, use foundationdb71 instead"; # added 2023-06-06
|
||||
foundationdb52 = throw "foundationdb52 is no longer maintained, use foundationdb71 instead"; # added 2023-06-06
|
||||
|
@ -4281,11 +4281,11 @@ self: super: with self; {
|
||||
|
||||
fluent-logger = callPackage ../development/python-modules/fluent-logger { };
|
||||
|
||||
flufl_bounce = callPackage ../development/python-modules/flufl/bounce.nix { };
|
||||
flufl-bounce = callPackage ../development/python-modules/flufl/bounce.nix { };
|
||||
|
||||
flufl_i18n = callPackage ../development/python-modules/flufl/i18n.nix { };
|
||||
flufl-i18n = callPackage ../development/python-modules/flufl/i18n.nix { };
|
||||
|
||||
flufl_lock = callPackage ../development/python-modules/flufl/lock.nix { };
|
||||
flufl-lock = callPackage ../development/python-modules/flufl/lock.nix { };
|
||||
|
||||
flux-led = callPackage ../development/python-modules/flux-led { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user