diff --git a/srcpkgs/xdot/template b/srcpkgs/xdot/template index af548ef22a0..efb29a98b88 100644 --- a/srcpkgs/xdot/template +++ b/srcpkgs/xdot/template @@ -1,17 +1,21 @@ # Template file for 'xdot' pkgname=xdot version=0.9 -revision=1 +revision=2 +noarch=yes +wrksrc="xdot.py-${version}" build_style=python3-module -hostmakedepends="python3-setuptools git" -makedepends="graphviz pygtk python3-setuptools" -depends="${makedepends} python3-graphviz python3-gobject" -noarch="yes" -pycompile_module="xdot.py" +pycompile_module="xdot" +hostmakedepends="python3-setuptools" +depends="python3-setuptools graphviz gtk+3 python3-gobject" short_desc="Interactive viewer for Graphviz dot files" maintainer="Juan RP " -license="GPL-3" -homepage="https://code.google.com/p/jrfonseca/wiki/XDot" +license="LGPL-3.0-or-later" +homepage="https://github.com/jrfonseca/xdot.py" distfiles="https://github.com/jrfonseca/xdot.py/archive/${version}.tar.gz" checksum=df7790db573d7a5512e6fa618d9051508c43cf64ca432d97c2207c87b6f20dbd -wrksrc="xdot.py-${version}" + +pre_build() { + # https://github.com/jrfonseca/xdot.py/issues/51 + sed -i '/install_requires=/d' setup.py +}