Source: python-pyperclip
Version: 1.5.11-1
Usertags: serious
Tags: patch

python-pyperlip have absolute dependency on xclip and python-qt4, even though one of them (or python-gtk2) is needed for clipboard manipulation. The attached patch relaxes the dependencies.

--
Jakub Wilk
diff -Nru python-pyperclip-1.5.11/debian/control python-pyperclip-1.5.11/debian/control
--- python-pyperclip-1.5.11/debian/control	2015-07-29 20:51:08.000000000 +0200
+++ python-pyperclip-1.5.11/debian/control	2016-03-05 14:55:02.000000000 +0100
@@ -14,16 +14,16 @@
 
 Package: python-pyperclip
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, xclip,
- python-qt4
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+ xclip | python-gtk2 | python-qt4
 Description: Cross-platform clipboard module for Python
  This module is a cross-platform Python module for copy and paste clipboard
  functions. Currently only handles plaintext.
 
 Package: python3-pyperclip
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, xclip,
- python3-pyqt4
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+ xclip | python3-pyqt4
 Description: Cross-platform clipboard module for Python3
  This module is a cross-platform Python3 module for copy and paste clipboard
  functions. Currently only handles plaintext.

Reply via email to