summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Kyle Guinn2024-01-02 07:20:56 +0100
committer Willy Sudiarto Raharjo2024-01-06 02:08:46 +0100
commitf065ac18f733c86b01714b8afe29c094120aff5b (patch)
treed8f461741cf54fa059020e3c3ac2bb66a8b74846 /graphics
parent0c001befe06b3a354ddb1713e909966a99a88118 (diff)
downloadslackbuilds-f065ac18f733c86b01714b8afe29c094120aff5b.tar.gz
graphics/xdot: Updated for version 1.3
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xdot/xdot.SlackBuild15
-rw-r--r--graphics/xdot/xdot.info6
2 files changed, 5 insertions, 16 deletions
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild
index 5005e11228..139343e5af 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-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2015-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xdot
SRCNAM=xdot.py
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -65,14 +62,6 @@ 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 52a591c346..3775b8110f 100644
--- a/graphics/xdot/xdot.info
+++ b/graphics/xdot/xdot.info
@@ -1,8 +1,8 @@
PRGNAM="xdot"
-VERSION="1.2"
+VERSION="1.3"
HOMEPAGE="https://github.com/jrfonseca/xdot.py"
-DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.2/xdot.py-1.2.tar.gz"
-MD5SUM="2ba702657b050ee351630ac25f014855"
+DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.3/xdot.py-1.3.tar.gz"
+MD5SUM="418bb65fa4672b3a605941017cb93317"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-numpy graphviz"