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:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user