python2Packages.{pygtk,pyGtkGlade}: remove libglade support
This commit is contained in:
parent
a9bbc8be84
commit
724822a79d
3 changed files with 4 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, python, pkg-config, gtk2, pygobject2, pycairo, pango
|
||||
, buildPythonPackage, libglade ? null, isPy3k }:
|
||||
, buildPythonPackage, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygtk";
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
pango
|
||||
] ++ lib.optional (libglade != null) libglade;
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ gtk2 pygobject2 pycairo ];
|
||||
|
||||
|
@ -39,7 +39,7 @@ buildPythonPackage rec {
|
|||
|
||||
installPhase = "installPhase";
|
||||
|
||||
checkPhase = lib.optionalString (libglade == null)
|
||||
checkPhase =
|
||||
''
|
||||
sed -i -e "s/glade = importModule('gtk.glade', buildDir)//" \
|
||||
tests/common.py
|
||||
|
|
|
@ -72,6 +72,7 @@ mapAliases ({
|
|||
prometheus_client = prometheus-client; # added 2021-06-10
|
||||
prompt_toolkit = prompt-toolkit; # added 2021-07-22
|
||||
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
|
||||
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
|
||||
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
|
||||
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
|
||||
pysmart-smartx = pysmart; # added 2021-10-22
|
||||
|
|
|
@ -108,10 +108,6 @@ with self; with super; {
|
|||
|
||||
pygtk = callPackage ../development/python2-modules/pygtk { };
|
||||
|
||||
pyGtkGlade = self.pygtk.override {
|
||||
inherit (pkgs.gnome2) libglade;
|
||||
};
|
||||
|
||||
pyjwt = callPackage ../development/python2-modules/pyjwt { };
|
||||
|
||||
pyroma = callPackage ../development/python2-modules/pyroma { };
|
||||
|
|
Loading…
Reference in a new issue