aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-11-19 14:39:49 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-23 10:50:43 +0700
commit24b944ad07e06e181455bf679dcb601523b0a7ac (patch)
tree66962e071d5f9d98cf4440cc3e0ef3c87fe0df91
parent33014919c95286d30bd8e33fb9df3dfe8380721f (diff)
development/SQLAlchemy: Updated for version 2.0.36.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/SQLAlchemy/SQLAlchemy.SlackBuild12
-rw-r--r--development/SQLAlchemy/SQLAlchemy.info8
2 files changed, 12 insertions, 8 deletions
diff --git a/development/SQLAlchemy/SQLAlchemy.SlackBuild b/development/SQLAlchemy/SQLAlchemy.SlackBuild
index 2571fedcd0..8b6dfabd37 100644
--- a/development/SQLAlchemy/SQLAlchemy.SlackBuild
+++ b/development/SQLAlchemy/SQLAlchemy.SlackBuild
@@ -32,7 +32,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SQLAlchemy
-VERSION=${VERSION:-2.0.31}
+SRCNAM=sqlalchemy
+VERSION=${VERSION:-2.0.36}
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..eb91b01495 100644
--- a/development/SQLAlchemy/SQLAlchemy.info
+++ b/development/SQLAlchemy/SQLAlchemy.info
@@ -1,10 +1,10 @@
PRGNAM="SQLAlchemy"
-VERSION="2.0.31"
+VERSION="2.0.36"
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.36.tar.gz"
+MD5SUM="7a4444524e4930a29f22dbca0cb16d4b"
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"