summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dimitris Zlatanidis2024-05-16 16:05:32 +0200
committer Willy Sudiarto Raharjo2024-05-18 01:55:45 +0200
commit39fec218bfc636ce264444b73dbb7d70193e5b4e (patch)
tree731a3b22873eecd74e00e1d4905a81a67642a18b
parentc2b88f6e55eccfdc3058e360991ae62284ff5edd (diff)
downloadslackbuilds-39fec218bfc636ce264444b73dbb7d70193e5b4e.tar.gz
python/python3-tinydb: Updated for version 4.8.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-tinydb/python3-tinydb.SlackBuild8
-rw-r--r--python/python3-tinydb/python3-tinydb.info10
2 files changed, 9 insertions, 9 deletions
diff --git a/python/python3-tinydb/python3-tinydb.SlackBuild b/python/python3-tinydb/python3-tinydb.SlackBuild
index c2ee8fff16..2012eafabe 100644
--- a/python/python3-tinydb/python3-tinydb.SlackBuild
+++ b/python/python3-tinydb/python3-tinydb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-tinydb
-# Copyright 2023 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2023-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-tinydb
SRCNAM=tinydb
-VERSION=${VERSION:-4.7.1}
+VERSION=${VERSION:-4.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,12 +77,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/python/python3-tinydb/python3-tinydb.info b/python/python3-tinydb/python3-tinydb.info
index 8d2d11d6eb..5d0dbf3ca7 100644
--- a/python/python3-tinydb/python3-tinydb.info
+++ b/python/python3-tinydb/python3-tinydb.info
@@ -1,10 +1,10 @@
PRGNAM="python3-tinydb"
-VERSION="4.7.1"
+VERSION="4.8.0"
HOMEPAGE="https://tinydb.readthedocs.io/en/latest/"
-DOWNLOAD="https://files.pythonhosted.org/packages/32/ed/78f24df0fec08f0fb92fc4b4758adcab780660caa8c3f94c2e175eb7e2ba/tinydb-4.7.1.tar.gz"
-MD5SUM="d570288bdae4338497ed8655261bbf89"
+DOWNLOAD="https://files.pythonhosted.org/packages/30/0b/9e75a8d3333a6a3d9b36de04bf87a37a8d7f100035ea23c9c37bf0a112ab/tinydb-4.8.0.tar.gz"
+MD5SUM="8738999976febfe7e8ea81c4b1910f9b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-poetry-core"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"