mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
python3Packages.pyicu: 2.14 -> 2.15
https://gitlab.pyicu.org/main/pyicu/-/raw/v2.15/CHANGES This commit was automatically generated using update-python-libraries.
This commit is contained in:
parent
b13cf2a566
commit
99538f4494
1 changed files with 23 additions and 8 deletions
|
@ -1,7 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitLab,
|
||||
pkg-config,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
six,
|
||||
icu,
|
||||
|
@ -9,22 +11,35 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyicu";
|
||||
version = "2.14";
|
||||
format = "setuptools";
|
||||
version = "2.15";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyICU";
|
||||
inherit version;
|
||||
hash = "sha256-rMfrkr1cVU7VdyScaXhFCk/toKpvAUcBUrOns4KgITI=";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.pyicu.org";
|
||||
owner = "main";
|
||||
repo = "pyicu";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-F3qW0yZBjJ8pmLEW4dWKBFvnyiw5F732DKAI+eLcL+g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ icu ]; # for icu-config, but should be replaced with pkg-config
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ icu ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
six
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# AssertionError: '$' != 'US Dollar'
|
||||
"--deselect=test/test_NumberFormatter.py::TestCurrencyUnit::testGetName"
|
||||
# AssertionError: Lists differ: ['a', 'b', 'c', 'd'] != ['a', 'b', 'c', 'd', ...
|
||||
"--deselect=test/test_UnicodeSet.py::TestUnicodeSet::testIterators"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "icu" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue