python3Packages.pyblock: remove
This commit is contained in:
parent
030ba16f5c
commit
870f0ced6d
3 changed files with 1 additions and 39 deletions
|
@ -1,37 +0,0 @@
|
||||||
{ lib, stdenv
|
|
||||||
, python
|
|
||||||
, pkgs
|
|
||||||
, isPy3k
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "pyblock";
|
|
||||||
version = "0.53";
|
|
||||||
md5_path = "f6d33a8362dee358517d0a9e2ebdd044";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://src.fedoraproject.org/repo/pkgs/python-pyblock/"
|
|
||||||
+ "${pname}-${version}.tar.bz2/${md5_path}/${pname}-${version}.tar.bz2";
|
|
||||||
sha256 = "f6cef88969300a6564498557eeea1d8da58acceae238077852ff261a2cb1d815";
|
|
||||||
};
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i -e 's|/usr/include/python|${python}/include/python|' \
|
|
||||||
-e 's/-Werror *//' -e 's|/usr/|'"$out"'/|' Makefile
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ python pkgs.lvm2 pkgs.dmraid ];
|
|
||||||
|
|
||||||
makeFlags = [
|
|
||||||
"USESELINUX=0"
|
|
||||||
"SITELIB=$(out)/${python.sitePackages}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://www.centos.org/docs/5/html/5.4/Technical_Notes/python-pyblock.html";
|
|
||||||
description = "Interface for working with block devices";
|
|
||||||
license = licenses.gpl2Plus;
|
|
||||||
broken = isPy3k; # doesn't build on python 3, 2018-04-11
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
|
@ -207,6 +207,7 @@ mapAliases ({
|
||||||
Pweave = pweave; # added 2023-02-19
|
Pweave = pweave; # added 2023-02-19
|
||||||
pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
|
pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
|
||||||
pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
|
pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
|
||||||
|
pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
|
||||||
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
|
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
|
||||||
PyGithub = pygithub; # added 2023-02-19
|
PyGithub = pygithub; # added 2023-02-19
|
||||||
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
|
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
|
||||||
|
|
|
@ -8319,8 +8319,6 @@ self: super: with self; {
|
||||||
|
|
||||||
pyblackbird = callPackage ../development/python-modules/pyblackbird { };
|
pyblackbird = callPackage ../development/python-modules/pyblackbird { };
|
||||||
|
|
||||||
pyblock = toPythonModule (callPackage ../development/python-modules/pyblock { });
|
|
||||||
|
|
||||||
pybluez = callPackage ../development/python-modules/pybluez {
|
pybluez = callPackage ../development/python-modules/pybluez {
|
||||||
inherit (pkgs) bluez;
|
inherit (pkgs) bluez;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue