mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.translate-toolkit: 3.19.5 -> 3.19.10
Diff: https://github.com/translate/translate/compare/3.19.5...3.19.10
Changelog: https://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/3.19.10.html
(cherry picked from commit 478109bb6c)
This commit is contained in:
parent
be3b7a32fe
commit
134d51630e
1 changed files with 6 additions and 8 deletions
|
|
@ -29,18 +29,19 @@
|
|||
addBinToPathHook,
|
||||
pytest-xdist,
|
||||
gettext,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "translate-toolkit";
|
||||
version = "3.19.5";
|
||||
version = "3.19.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "translate";
|
||||
repo = "translate";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-NJuhkJyXfGO2iwvcHUrfMZi55t1+89RN6jEIxHk8mcs=";
|
||||
hash = "sha256-bDvj+zTD15bCr8xA+ovKWEMabC4xB9Jsdz66RYtdaBU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
|
@ -50,6 +51,8 @@ buildPythonPackage (finalAttrs: {
|
|||
unicode-segmentation-rs
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "lxml" ];
|
||||
|
||||
optional-dependencies = {
|
||||
chardet = [ charset-normalizer ];
|
||||
fluent = [ fluent-syntax ];
|
||||
|
|
@ -69,6 +72,7 @@ buildPythonPackage (finalAttrs: {
|
|||
pytestCheckHook
|
||||
addBinToPathHook
|
||||
pytest-xdist
|
||||
syrupy
|
||||
gettext
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
|
@ -78,12 +82,6 @@ buildPythonPackage (finalAttrs: {
|
|||
"test_timezones"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Require pytest-snapshot but there are no snapshots checked in
|
||||
"tests/translate/tools/test_pocount.py"
|
||||
"tests/translate/tools/test_junitmsgfmt.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "translate" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue