diff options
author | Kyle Guinn <elyk03@gmail.com> | 2021-01-01 20:22:26 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2021-01-01 20:22:26 -0600 |
commit | c6e3ec56b0ab4abe4fd26e818f1b35f40684a050 (patch) | |
tree | 2ac4b33df1bacda753f4d94ccd80e1ff42820457 /graphics | |
parent | 32b91fd16c6693b8e8c91539c5d28a32ce48de80 (diff) | |
download | slackbuilds-c6e3ec56b0ab4abe4fd26e818f1b35f40684a050.tar.gz |
graphics/xdot: Updated for version 1.2.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xdot/xdot.SlackBuild | 12 | ||||
-rw-r--r-- | graphics/xdot/xdot.info | 8 |
2 files changed, 14 insertions, 6 deletions
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild index 569f8fab3d..76c4ca34ca 100644 --- a/graphics/xdot/xdot.SlackBuild +++ b/graphics/xdot/xdot.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for xdot # # Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> -# Copyright 2015-2019 Kyle Guinn <elyk03@gmail.com> +# Copyright 2015-2021 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=xdot SRCNAM=xdot.py -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,6 +55,14 @@ cd $SRCNAM-$VERSION chown -R root:root . chmod -R u+w,go-w,a+rX-st . +# xdot expects named tuples to be returned by some GDK functions, else it +# spams stderr with stack traces. Likely changed in version 3.19.1 of +# pygobject3-python3, but SBo is still on 3.18.2. Use regular tuples for now. +sed -i \ + -e 's/pointer.x/pointer[1]/' \ + -e 's/pointer.y/pointer[2]/' \ + xdot/ui/actions.py + python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/graphics/xdot/xdot.info b/graphics/xdot/xdot.info index 87fdf507dd..95aa9dd57f 100644 --- a/graphics/xdot/xdot.info +++ b/graphics/xdot/xdot.info @@ -1,10 +1,10 @@ PRGNAM="xdot" -VERSION="1.1" +VERSION="1.2" HOMEPAGE="https://github.com/jrfonseca/xdot.py" -DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.1/xdot.py-1.1.tar.gz" -MD5SUM="600a17f4832c88b34b4ae618999da214" +DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.2/xdot.py-1.2.tar.gz" +MD5SUM="2ba702657b050ee351630ac25f014855" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3 pygobject3-python3 graphviz" +REQUIRES="python3 pygobject3-python3 numpy3 graphviz" MAINTAINER="Kyle Guinn" EMAIL="elyk03@gmail.com" |