Skip to content

Commit

Permalink
Merge pull request #279395 from Stunkymonkey/pyqt5-sip-normalize
Browse files Browse the repository at this point in the history
python311Packages.pyqt5-sip: rename from pyqt5_sip
  • Loading branch information
Stunkymonkey authored Jan 14, 2024
2 parents d535f2e + f588864 commit 214925a
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/misc/dupeguru/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {

pythonPath = with python3Packages; [
pyqt5
pyqt5_sip
pyqt5-sip
send2trash
sphinx
polib
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/onthespot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
protobuf
pyogg
pyqt5
pyqt5_sip
pyqt5-sip
pyxdg
requests
setuptools
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/firewalld/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let
pygobject3
] ++ lib.optionals withGui [
pyqt5
pyqt5_sip
pyqt5-sip
]);
in
stdenv.mkDerivation rec {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/chemistry/pymol/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ python3Packages.buildPythonApplication rec {

postInstall = with python3Packages; ''
wrapProgram $out/bin/pymol \
--prefix PYTHONPATH : ${lib.makeSearchPathOutput "lib" python3.sitePackages [ pyqt5 pyqt5.pyqt5_sip ]}
--prefix PYTHONPATH : ${lib.makeSearchPathOutput "lib" python3.sitePackages [ pyqt5 pyqt5.pyqt5-sip ]}
mkdir -p "$out/share/icons/"
ln -s ../../lib/python/pymol/pymol_path/data/pymol/icons/icon2.svg "$out/share/icons/pymol.svg"
Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/pyqt/5.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
, lndir
, dbus-python
, sip
, pyqt5_sip
, pyqt5-sip
, pyqt-builder
, libsForQt5
, enableVerbose ? true
Expand Down Expand Up @@ -41,7 +41,7 @@ buildPythonPackage rec {
# Fix some wrong assumptions by ./project.py
# TODO: figure out how to send this upstream
./pyqt5-fix-dbus-mainloop-support.patch
# confirm license when installing via pyqt5_sip
# confirm license when installing via pyqt5-sip
./pyqt5-confirm-license.patch
];

Expand Down Expand Up @@ -158,11 +158,11 @@ buildPythonPackage rec {

propagatedBuildInputs = [
dbus-python
pyqt5_sip
pyqt5-sip
];

passthru = {
inherit sip pyqt5_sip;
inherit sip pyqt5-sip;
multimediaEnabled = withMultimedia;
webKitEnabled = withWebKit;
WebSocketsEnabled = withWebSockets;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/misc/drivers/hplip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ python3Packages.buildPythonApplication {
distro
] ++ lib.optionals withQt5 [
pyqt5
pyqt5_sip
pyqt5-sip
enum-compat
];

Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ mapAliases ({
pymyq = python-myq; # added 2023-10-20
python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07
pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09
pyqt5_sip = pyqt5-sip; # added 2024-01-07
pyqt5_with_qtwebkit = pyqt5-webkit; # added 2024-01-07
pyramid_beaker = pyramid-beaker; # added 2023-08-23
pyramid_chameleon = pyramid-chameleon; # added 2023-08-23
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11011,7 +11011,7 @@ self: super: with self; {

pyqt5-stubs = callPackage ../development/python-modules/pyqt5-stubs { };

pyqt5_sip = callPackage ../development/python-modules/pyqt/sip.nix { };
pyqt5-sip = callPackage ../development/python-modules/pyqt/sip.nix { };

pyqt5_with_qtmultimedia = self.pyqt5.override {
withMultimedia = true;
Expand Down

0 comments on commit 214925a

Please sign in to comment.