summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mouseinfo/fix-xlib-version.patch
blob: d6bd5f71ac57471fa16ce01b15c61439a20c7a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/setup.py b/setup.py
index 37d5f77..894fe78 100644
--- a/setup.py
+++ b/setup.py
@@ -31,8 +31,7 @@ setup(
     test_suite='tests',
     # NOTE: Update the python_version info for Pillow as Pillow supports later versions of Python.
     install_requires=['rubicon-objc;platform_system=="Darwin"',
-                      'python3-Xlib;platform_system=="Linux" and python_version>="3.0"',
-                      'Xlib;platform_system=="Linux" and python_version<"3.0"',
+                      'python-Xlib;platform_system=="Linux"',
                       'pyperclip',
                       'Pillow >= 6.2.1; python_version == "3.8"',
                       'Pillow >= 5.2.0; python_version == "3.7"',