python3Packages.mako: 1.2.4 -> 1.3.0
https://docs.makotemplates.org/en/latest/changelog.html
This commit is contained in:
@@ -4,32 +4,39 @@
|
||||
, fetchPypi
|
||||
, isPyPy
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# propagates
|
||||
, markupsafe
|
||||
|
||||
# extras: Babel
|
||||
# optional-dependencies
|
||||
, babel
|
||||
, lingua
|
||||
|
||||
# tests
|
||||
, chameleon
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, lingua
|
||||
, chameleon
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mako";
|
||||
version = "1.2.4";
|
||||
format = "setuptools";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Mako";
|
||||
inherit version;
|
||||
hash = "sha256-1go5A9w7sBoYrWqJzb4uTq3GnAvI7x43c7pT1Ew/ejQ=";
|
||||
hash = "sha256-46nTiP0A6HBD7b6HkvRYgKwBFOnErcafbpv7LFXjsRs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
markupsafe
|
||||
];
|
||||
@@ -38,14 +45,16 @@ buildPythonPackage rec {
|
||||
babel = [
|
||||
babel
|
||||
];
|
||||
lingua = [
|
||||
lingua
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
chameleon
|
||||
lingua
|
||||
mock
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.babel;
|
||||
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
|
||||
|
||||
disabledTests = lib.optionals isPyPy [
|
||||
# https://github.com/sqlalchemy/mako/issues/315
|
||||
|
||||
Reference in New Issue
Block a user