rabbitvcs: 0.17.1 -> 0.18

Also remove dependency to python2
This commit is contained in:
freezeboy 2020-11-01 14:33:21 +01:00 committed by Jonathan Ringer
parent 323536e341
commit 8f94e6566a

View File

@ -1,7 +1,8 @@
{ fetchFromGitHub, lib, python2Packages, meld, subversion, gvfs, xdg_utils }:
python2Packages.buildPythonApplication rec {
{ fetchFromGitHub, lib, python3Packages, meld, subversion, gvfs, xdg_utils, gtk3 }:
python3Packages.buildPythonApplication rec {
pname = "rabbitvcs";
version = "0.17.1";
version = "0.18";
namePrefix = "";
src = fetchFromGitHub {
@ -11,7 +12,8 @@ python2Packages.buildPythonApplication rec {
sha256 = "01cr16zf3gzsci1hhfli79m34fcx5m1pvswl16rkxxn212yc9fhy";
};
pythonPath = with python2Packages; [ configobj dbus-python pygobject2 pygtk simplejson pysvn dulwich tkinter gvfs xdg_utils ];
buildInputs = [ gtk3 ];
pythonPath = with python3Packages; [ configobj pygobject3 pysvn dulwich tkinter gvfs xdg_utils ];
prePatch = ''
sed -ie 's|if sys\.argv\[1\] == "install":|if False:|' ./setup.py