pythonPackages: drop dbus-python workarounds

This commit is contained in:
Sandro Jäckel 2022-08-01 19:20:16 +02:00
parent c99ff464e0
commit 35ae59f47b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
4 changed files with 0 additions and 19 deletions

View file

@ -36,11 +36,6 @@ buildPythonApplication rec {
-e '/asyncio/d' \
-e '/datetime/d' \
setup.cfg requirements.txt
# Dependencies not correctly detected
sed -i \
-e '/dbus-python/d' \
setup.cfg requirements.txt
'';
propagatedBuildInputs = [

View file

@ -50,9 +50,6 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
patchShebangs tests po
# dbus-python is correctly passed in propagatedBuildInputs, but for some reason setup.py complains.
# The wrapped terminator has the correct path added, so ignore this.
substituteInPlace setup.py --replace "'dbus-python'," ""
'';
doCheck = false;

View file

@ -21,11 +21,6 @@ buildPythonPackage rec {
sha256 = "sha256-LV94F2f0Ir2Ayzk2YLL76TqeUuC0f7e+bH3vC/xKgfU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"dbus-python"' ""
'';
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [

View file

@ -35,12 +35,6 @@ buildPythonPackage rec {
requests
];
postPatch = ''
# Detection of the platform doesn't always works with 1.2.3
substituteInPlace pyproject.toml \
--replace 'dbus-python = {version = "^1.2.16", platform = "linux"}' ""
'';
# Tests want to use Dbus
doCheck = false;