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