From 65342bb7a0d1031c28024f59acd1bde71bf32134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=BChler?= Date: Mon, 22 Jan 2024 23:19:13 +0100 Subject: [PATCH] python311Packages.readme-renderer: rename from readme_renderer (#279385) --- pkgs/development/python-modules/marisa-trie/default.nix | 4 ++-- pkgs/development/python-modules/python-creole/default.nix | 4 ++-- .../{readme_renderer => readme-renderer}/default.nix | 0 pkgs/development/python-modules/readme/default.nix | 6 +++--- pkgs/development/python-modules/restview/default.nix | 4 ++-- pkgs/development/python-modules/twine/default.nix | 4 ++-- pkgs/development/python-modules/wheel-inspect/default.nix | 4 ++-- pkgs/servers/mail/mailman/postorius.nix | 2 +- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 10 files changed, 16 insertions(+), 15 deletions(-) rename pkgs/development/python-modules/{readme_renderer => readme-renderer}/default.nix (100%) diff --git a/pkgs/development/python-modules/marisa-trie/default.nix b/pkgs/development/python-modules/marisa-trie/default.nix index 8b069fd235a3..544e2196326f 100644 --- a/pkgs/development/python-modules/marisa-trie/default.nix +++ b/pkgs/development/python-modules/marisa-trie/default.nix @@ -4,7 +4,7 @@ , cython , pytestCheckHook , hypothesis -, readme_renderer +, readme-renderer , pythonOlder }: @@ -26,7 +26,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - readme_renderer + readme-renderer hypothesis ]; diff --git a/pkgs/development/python-modules/python-creole/default.nix b/pkgs/development/python-modules/python-creole/default.nix index 52d13d452aff..7f27466fa2be 100644 --- a/pkgs/development/python-modules/python-creole/default.nix +++ b/pkgs/development/python-modules/python-creole/default.nix @@ -12,7 +12,7 @@ # tests , pytestCheckHook -, readme_renderer +, readme-renderer , textile }: @@ -58,7 +58,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - readme_renderer + readme-renderer textile ]; diff --git a/pkgs/development/python-modules/readme_renderer/default.nix b/pkgs/development/python-modules/readme-renderer/default.nix similarity index 100% rename from pkgs/development/python-modules/readme_renderer/default.nix rename to pkgs/development/python-modules/readme-renderer/default.nix diff --git a/pkgs/development/python-modules/readme/default.nix b/pkgs/development/python-modules/readme/default.nix index 3d18bb8df7f5..2e959bf26871 100644 --- a/pkgs/development/python-modules/readme/default.nix +++ b/pkgs/development/python-modules/readme/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchPypi , pytest -, readme_renderer +, readme-renderer }: buildPythonPackage rec { @@ -20,7 +20,7 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - readme_renderer + readme-renderer ]; checkPhase = '' @@ -28,7 +28,7 @@ buildPythonPackage rec { ''; # tests are not included with pypi release - # package is not readme_renderer + # package is not readme-renderer doCheck = false; meta = with lib; { diff --git a/pkgs/development/python-modules/restview/default.nix b/pkgs/development/python-modules/restview/default.nix index 43e877686beb..88004743d73b 100644 --- a/pkgs/development/python-modules/restview/default.nix +++ b/pkgs/development/python-modules/restview/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchPypi , docutils -, readme_renderer +, readme-renderer , packaging , pygments , pytestCheckHook @@ -23,7 +23,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ docutils - readme_renderer + readme-renderer packaging pygments ]; diff --git a/pkgs/development/python-modules/twine/default.nix b/pkgs/development/python-modules/twine/default.nix index 9bd98fd5adbe..e656970ef627 100644 --- a/pkgs/development/python-modules/twine/default.nix +++ b/pkgs/development/python-modules/twine/default.nix @@ -5,7 +5,7 @@ , importlib-metadata , keyring , pkginfo -, readme_renderer +, readme-renderer , requests , requests-toolbelt , rich @@ -31,7 +31,7 @@ buildPythonPackage rec { importlib-metadata keyring pkginfo - readme_renderer + readme-renderer requests requests-toolbelt rfc3986 diff --git a/pkgs/development/python-modules/wheel-inspect/default.nix b/pkgs/development/python-modules/wheel-inspect/default.nix index c8ce155c788f..7d79d18f443b 100644 --- a/pkgs/development/python-modules/wheel-inspect/default.nix +++ b/pkgs/development/python-modules/wheel-inspect/default.nix @@ -8,7 +8,7 @@ , packaging , pytestCheckHook , pythonOlder -, readme_renderer +, readme-renderer , wheel-filename }: @@ -31,7 +31,7 @@ buildPythonPackage rec { entry-points-txt headerparser packaging - readme_renderer + readme-renderer wheel-filename ]; diff --git a/pkgs/servers/mail/mailman/postorius.nix b/pkgs/servers/mail/mailman/postorius.nix index 27b878c38502..1f3171f18a7f 100644 --- a/pkgs/servers/mail/mailman/postorius.nix +++ b/pkgs/servers/mail/mailman/postorius.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o="; }; - propagatedBuildInputs = [ django-mailman3 readme_renderer ]; + propagatedBuildInputs = [ django-mailman3 readme-renderer ]; nativeCheckInputs = [ beautifulsoup4 vcrpy mock ]; # Tries to connect to database. diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 9c167009a8dd..9e5e84a2cd58 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -421,6 +421,7 @@ mapAliases ({ radio_beam = radio-beam; # added 2023-11-04 ratelimiter = throw "ratelimiter has been removed, since it is unmaintained and broken"; # added 2023-10-21 rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05 + readme_renderer = readme-renderer; # added 2024-01-07 recaptcha_client = throw "recaptcha_client has been removed since it is no longer maintained"; # added 2023-10-20 rednose = throw "rednose is no longer maintained (since February 2018)"; # added 2023-08-06 retry_decorator = retry-decorator; # added 2024-01-07 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8910c18f7895..03a3744d9465 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12444,7 +12444,7 @@ self: super: with self; { readme = callPackage ../development/python-modules/readme { }; - readme_renderer = callPackage ../development/python-modules/readme_renderer { }; + readme-renderer = callPackage ../development/python-modules/readme-renderer { }; readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { };