mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 14:09:17 +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,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchFromGitLab,
|
||||||
|
pkg-config,
|
||||||
|
setuptools,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
six,
|
six,
|
||||||
icu,
|
icu,
|
||||||
|
@ -9,22 +11,35 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyicu";
|
pname = "pyicu";
|
||||||
version = "2.14";
|
version = "2.15";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitLab {
|
||||||
pname = "PyICU";
|
domain = "gitlab.pyicu.org";
|
||||||
inherit version;
|
owner = "main";
|
||||||
hash = "sha256-rMfrkr1cVU7VdyScaXhFCk/toKpvAUcBUrOns4KgITI=";
|
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 ];
|
buildInputs = [ icu ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
six
|
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" ];
|
pythonImportsCheck = [ "icu" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue