Merge pull request #236703 from fabaff/fontmath-pytest-runner

python311Packages.fontmath: remove pytest-runner

authored by Fabian Affolter and committed by GitHub d07a4b8d 0fd7e6d4

+25 -10
+25 -10
pkgs/development/python-modules/fontmath/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27 2 - , fonttools, setuptools-scm 3 - , pytest, pytest-runner 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , fonttools 5 + , setuptools-scm 6 + , pytestCheckHook 7 + , pythonOlder 4 8 }: 5 9 6 10 buildPythonPackage rec { 7 - pname = "fontMath"; 11 + pname = "fontmath"; 8 12 version = "0.9.3"; 9 - disabled = isPy27; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 10 16 11 17 src = fetchPypi { 12 - inherit pname version; 18 + pname = "fontMath"; 19 + inherit version; 13 20 hash = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw="; 14 21 extension = "zip"; 15 22 }; 16 23 17 - nativeBuildInputs = [ setuptools-scm ]; 24 + nativeBuildInputs = [ 25 + setuptools-scm 26 + ]; 27 + 28 + propagatedBuildInputs = [ 29 + fonttools 30 + ]; 18 31 19 - propagatedBuildInputs = [ fonttools ]; 20 - nativeCheckInputs = [ pytest pytest-runner ]; 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 21 35 22 36 meta = with lib; { 23 37 description = "A collection of objects that implement fast font, glyph, etc. math"; 24 38 homepage = "https://github.com/robotools/fontMath/"; 39 + changelog = "https://github.com/robotools/fontMath/releases/tag/${version}"; 25 40 license = licenses.mit; 26 - maintainers = [ maintainers.sternenseemann ]; 41 + maintainers = with maintainers; [ sternenseemann ]; 27 42 }; 28 43 }