From a4fcc13f08891131e1e95ca8469dc24e28cd8855 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Mon, 3 Feb 2025 09:51:18 +0100 Subject: [PATCH 1/3] python3Packages.python-mapnik: disable broken test --- pkgs/development/python-modules/python-mapnik/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix index 33770c3d8291..6e588bbea701 100644 --- a/pkgs/development/python-modules/python-mapnik/default.nix +++ b/pkgs/development/python-modules/python-mapnik/default.nix @@ -115,6 +115,7 @@ buildPythonPackage rec { "test_passing_pycairo_context_pdf" "test_pdf_printing" "test_render_with_scale_factor" + "test_raster_warping" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_passing_pycairo_context_png" @@ -134,6 +135,5 @@ buildPythonPackage rec { maintainers = [ ]; homepage = "https://mapnik.org"; license = licenses.lgpl21Plus; - broken = true; # At 2024-11-13, test_raster_warping fails. }; } From 05e074850cd339b02983a3ee6174b4f51286d5c4 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Mon, 3 Feb 2025 09:52:23 +0100 Subject: [PATCH 2/3] python3Packages.python-mapnik: remove unused darwin dependency --- pkgs/development/python-modules/python-mapnik/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix index 6e588bbea701..a948f68e3896 100644 --- a/pkgs/development/python-modules/python-mapnik/default.nix +++ b/pkgs/development/python-modules/python-mapnik/default.nix @@ -23,7 +23,6 @@ libxml2, sqlite, pytestCheckHook, - darwin, sparsehash, }: From a52df9cfb6fb0026862f0eccf805327a9c911429 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Mon, 3 Feb 2025 10:08:39 +0100 Subject: [PATCH 3/3] python3Packages.python-mapnik: adopt package under geospatial team --- pkgs/development/python-modules/python-mapnik/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix index a948f68e3896..6e0b93a60907 100644 --- a/pkgs/development/python-modules/python-mapnik/default.nix +++ b/pkgs/development/python-modules/python-mapnik/default.nix @@ -129,10 +129,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "mapnik" ]; - meta = with lib; { + meta = { description = "Python bindings for Mapnik"; - maintainers = [ ]; homepage = "https://mapnik.org"; - license = licenses.lgpl21Plus; + license = lib.licenses.lgpl21Plus; + maintainers = lib.teams.geospatial.members; }; }