summaryrefslogtreecommitdiffstats
path: root/python/python3-lazy-object-proxy
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-lazy-object-proxy')
-rw-r--r--python/python3-lazy-object-proxy/README2
-rw-r--r--python/python3-lazy-object-proxy/python3-lazy-object-proxy.SlackBuild19
-rw-r--r--python/python3-lazy-object-proxy/python3-lazy-object-proxy.info12
3 files changed, 21 insertions, 12 deletions
diff --git a/python/python3-lazy-object-proxy/README b/python/python3-lazy-object-proxy/README
index f80f526c40..3cc4c3db0b 100644
--- a/python/python3-lazy-object-proxy/README
+++ b/python/python3-lazy-object-proxy/README
@@ -1,3 +1 @@
A fast and thorough lazy object proxy.
-
-Dependency setuptools-scm needs to have been built with python3 support.
diff --git a/python/python3-lazy-object-proxy/python3-lazy-object-proxy.SlackBuild b/python/python3-lazy-object-proxy/python3-lazy-object-proxy.SlackBuild
index 24a0b8820c..8730d9a9b5 100644
--- a/python/python3-lazy-object-proxy/python3-lazy-object-proxy.SlackBuild
+++ b/python/python3-lazy-object-proxy/python3-lazy-object-proxy.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python3-lazy-object-proxy
+# Copyright 2022-2023 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2018 Markus Rinne Finland
# All rights reserved.
#
@@ -22,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python3-lazy-object-proxy
SRCNAM=lazy-object-proxy
-VERSION=${VERSION:-1.4.3}
+VERSION=${VERSION:-1.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/python/python3-lazy-object-proxy/python3-lazy-object-proxy.info b/python/python3-lazy-object-proxy/python3-lazy-object-proxy.info
index d98934ab96..c35a4f4c8d 100644
--- a/python/python3-lazy-object-proxy/python3-lazy-object-proxy.info
+++ b/python/python3-lazy-object-proxy/python3-lazy-object-proxy.info
@@ -1,10 +1,10 @@
PRGNAM="python3-lazy-object-proxy"
-VERSION="1.4.3"
+VERSION="1.10.0"
HOMEPAGE="https://github.com/ionelmc/python-lazy-object-proxy"
-DOWNLOAD="https://files.pythonhosted.org/packages/07/3f/a3d687f83c7d44970f70ff0400677746c8860b11f0c08f6b4e07205f0cdc/lazy-object-proxy-1.4.3.tar.gz"
-MD5SUM="5c64c06affcd2a7c6ddc848af4280cca"
+DOWNLOAD="https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz"
+MD5SUM="d3addb8e8c28c937f037a2ced723251e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 setuptools-scm"
-MAINTAINER="Markus Rinne"
-EMAIL="markus.ka.rinne@gmail.com"
+REQUIRES=""
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"