python3Packages.rtslib-fb: fix build failures (#437511)
This commit is contained in:
@@ -16,12 +16,6 @@ buildPythonPackage rec {
|
||||
version = "2.2.3";
|
||||
pyproject = true;
|
||||
|
||||
# TypeError: 'method' object does not support the context manager protocol
|
||||
postPatch = ''
|
||||
substituteInPlace rtslib/root.py \
|
||||
--replace-fail "Path(restore_file).open" "Path(restore_file).open('r')"
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-iscsi";
|
||||
repo = "rtslib-fb";
|
||||
@@ -38,10 +32,6 @@ buildPythonPackage rec {
|
||||
pyudev
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm555 scripts/targetctl -t $out/bin
|
||||
'';
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user