From 407230b409c2df7834cad21c4b29e3f433d42898 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 15 Oct 2022 01:35:53 +0200 Subject: [PATCH] python3Packages.pushbullet-py: rename from pushbullet PEP503 name normalization. --- .../python-modules/{pushbullet => pushbullet-py}/default.nix | 3 ++- pkgs/tools/networking/urlwatch/default.nix | 2 +- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) rename pkgs/development/python-modules/{pushbullet => pushbullet-py}/default.nix (93%) diff --git a/pkgs/development/python-modules/pushbullet/default.nix b/pkgs/development/python-modules/pushbullet-py/default.nix similarity index 93% rename from pkgs/development/python-modules/pushbullet/default.nix rename to pkgs/development/python-modules/pushbullet-py/default.nix index e697683b9b8..3fff30cb6dd 100644 --- a/pkgs/development/python-modules/pushbullet/default.nix +++ b/pkgs/development/python-modules/pushbullet-py/default.nix @@ -9,8 +9,9 @@ }: buildPythonPackage rec { - pname = "pushbullet.py"; + pname = "pushbullet-py"; version = "0.12.0"; + format = "setuptools"; src = fetchPypi { inherit pname version; diff --git a/pkgs/tools/networking/urlwatch/default.nix b/pkgs/tools/networking/urlwatch/default.nix index 472c699a3d8..4142e2323ff 100644 --- a/pkgs/tools/networking/urlwatch/default.nix +++ b/pkgs/tools/networking/urlwatch/default.nix @@ -23,7 +23,7 @@ python3Packages.buildPythonApplication rec { markdown2 matrix-client minidb - pushbullet + pushbullet-py pycodestyle pyppeteer pyyaml diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index e41b075ce71..931de0a0178 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -115,6 +115,7 @@ mapAliases ({ prometheus_client = throw "'prometheus_client' has been renamed to/replaced by 'prometheus-client'"; # Converted to throw 2022-09-24 prompt_toolkit = throw "'prompt_toolkit' has been renamed to/replaced by 'prompt-toolkit'"; # Converted to throw 2022-09-24 pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08 + pushbullet = pushbullet-py; # Added 2022-10-15 pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01 pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b49f7e43e1b..8e5f3094f81 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7474,7 +7474,7 @@ in { push-receiver = callPackage ../development/python-modules/push-receiver { }; - pushbullet = callPackage ../development/python-modules/pushbullet { }; + pushbullet-py = callPackage ../development/python-modules/pushbullet-py { }; pushover-complete = callPackage ../development/python-modules/pushover-complete { };