summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2024-12-10 20:51:21 +0100
committerGitHub <noreply@github.com>2024-12-10 20:51:21 +0100
commit1f6571cc42880d09c65855a0118e21d86e67bb5f (patch)
treef3d818ba9c547039a219fb0186b1a0e125de0502 /pkgs/development/python-modules/python-mapnik
parent78e9caf153f5a339bf1d4c000ff6f0a503a369c8 (diff)
parent84d4f874c2bac9f3118cb6907d7113b3318dcb5e (diff)
[staging-next] Treewide Nix reformat pass 1 [skip treewide] (#364000)
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
-rw-r--r--pkgs/development/python-modules/python-mapnik/default.nix35
1 files changed, 19 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix
index 72f26cde2d95..4f467a84484e 100644
--- a/pkgs/development/python-modules/python-mapnik/default.nix
+++ b/pkgs/development/python-modules/python-mapnik/default.nix
@@ -53,7 +53,8 @@ buildPythonPackage rec {
./python-mapnik_std_optional.patch
];
- stdenv = if python.stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else python.stdenv;
+ stdenv =
+ if python.stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else python.stdenv;
build-system = [ setuptools ];
@@ -109,21 +110,23 @@ buildPythonPackage rec {
'';
# https://github.com/mapnik/python-mapnik/issues/255
- disabledTests = [
- "test_geometry_type"
- "test_passing_pycairo_context_pdf"
- "test_pdf_printing"
- "test_render_with_scale_factor"
- ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
- "test_passing_pycairo_context_png"
- "test_passing_pycairo_context_svg"
- "test_pycairo_pdf_surface1"
- "test_pycairo_pdf_surface2"
- "test_pycairo_pdf_surface3"
- "test_pycairo_svg_surface1"
- "test_pycairo_svg_surface2"
- "test_pycairo_svg_surface3"
- ];
+ disabledTests =
+ [
+ "test_geometry_type"
+ "test_passing_pycairo_context_pdf"
+ "test_pdf_printing"
+ "test_render_with_scale_factor"
+ ]
+ ++ lib.optionals stdenv.hostPlatform.isDarwin [
+ "test_passing_pycairo_context_png"
+ "test_passing_pycairo_context_svg"
+ "test_pycairo_pdf_surface1"
+ "test_pycairo_pdf_surface2"
+ "test_pycairo_pdf_surface3"
+ "test_pycairo_svg_surface1"
+ "test_pycairo_svg_surface2"
+ "test_pycairo_svg_surface3"
+ ];
pythonImportsCheck = [ "mapnik" ];