aboutsummaryrefslogtreecommitdiff
path: root/development/SQLAlchemy
diff options
context:
space:
mode:
Diffstat (limited to 'development/SQLAlchemy')
-rw-r--r--development/SQLAlchemy/SQLAlchemy.SlackBuild14
-rw-r--r--development/SQLAlchemy/SQLAlchemy.info8
2 files changed, 13 insertions, 9 deletions
diff --git a/development/SQLAlchemy/SQLAlchemy.SlackBuild b/development/SQLAlchemy/SQLAlchemy.SlackBuild
index 2571fedcd0..c3f9b29788 100644
--- a/development/SQLAlchemy/SQLAlchemy.SlackBuild
+++ b/development/SQLAlchemy/SQLAlchemy.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SQLAlchemy
-# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2008 Andrea Maccis (andrea.maccis@gmail.com)
# All rights reserved.
@@ -32,7 +32,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SQLAlchemy
-VERSION=${VERSION:-2.0.31}
+SRCNAM=sqlalchemy
+VERSION=${VERSION:-2.0.43}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,6 +70,9 @@ 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 {} \+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/development/SQLAlchemy/SQLAlchemy.info b/development/SQLAlchemy/SQLAlchemy.info
index fa1f37060c..fc8536ffb2 100644
--- a/development/SQLAlchemy/SQLAlchemy.info
+++ b/development/SQLAlchemy/SQLAlchemy.info
@@ -1,10 +1,10 @@
PRGNAM="SQLAlchemy"
-VERSION="2.0.31"
+VERSION="2.0.43"
HOMEPAGE="http://www.sqlalchemy.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sqlalchemy/SQLAlchemy-2.0.31.tar.gz"
-MD5SUM="dfa687701ddf1416cba19024e6f9ec3d"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sqlalchemy/sqlalchemy-2.0.43.tar.gz"
+MD5SUM="a006c045b1a5610dba083ab3ae5dd991"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-wheel python3-typing-extensions greenlet"
+REQUIRES="python3-setuptools-opt python3-typing-extensions greenlet"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"