summaryrefslogtreecommitdiffstats
path: root/gis
diff options
context:
space:
mode:
author Kyle Guinn2024-01-13 05:26:24 +0100
committer Willy Sudiarto Raharjo2024-01-20 03:16:26 +0100
commit99d6be0343b8b02f4882cb5f064ec7a92a7ac97d (patch)
tree9743f69bf99e85d80cc65d6896edd25e84ce057a /gis
parent32afd0b34349b197379eec7f7cc6b5f89ffab392 (diff)
downloadslackbuilds-99d6be0343b8b02f4882cb5f064ec7a92a7ac97d.tar.gz
gis/pytrainer: Updated for version 2.2.1
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/pytrainer/pytrainer.SlackBuild9
-rw-r--r--gis/pytrainer/pytrainer.info8
2 files changed, 7 insertions, 10 deletions
diff --git a/gis/pytrainer/pytrainer.SlackBuild b/gis/pytrainer/pytrainer.SlackBuild
index 5cde47db15..7165cf0033 100644
--- a/gis/pytrainer/pytrainer.SlackBuild
+++ b/gis/pytrainer/pytrainer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Pytrainer
-# Copyright 2014-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pytrainer
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,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
@@ -63,7 +60,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/gis/pytrainer/pytrainer.info b/gis/pytrainer/pytrainer.info
index ebf37115fc..36c2ae3f51 100644
--- a/gis/pytrainer/pytrainer.info
+++ b/gis/pytrainer/pytrainer.info
@@ -1,10 +1,10 @@
PRGNAM="pytrainer"
-VERSION="2.0.2"
+VERSION="2.2.1"
HOMEPAGE="https://github.com/pytrainer/pytrainer"
-DOWNLOAD="https://github.com/pytrainer/pytrainer/archive/v2.0.2/pytrainer-2.0.2.tar.gz"
-MD5SUM="75e07caa70cf0bb609c26894061b77aa"
+DOWNLOAD="https://github.com/pytrainer/pytrainer/archive/v2.2.1/pytrainer-2.2.1.tar.gz"
+MD5SUM="2fee7f07868d7185554e2d3e4ba1aeed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml sqlalchemy-migrate python2-matplotlib webkit2gtk zenity"
+REQUIRES="lxml SQLAlchemy python3-matplotlib webkit2gtk zenity"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"