summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author fourtysixandtwo2023-10-13 12:39:58 +0200
committer Willy Sudiarto Raharjo2024-03-22 00:08:12 +0100
commitba0f8413c2bedb0dacab80151accfb3c740f30e0 (patch)
tree2a648cd4a5d4cba59938d85317ce8edcdf6bae60
parent5f02942c07159d6526cdbd476c0a57a01fddc9cd (diff)
downloadslackbuilds-ba0f8413c2bedb0dacab80151accfb3c740f30e0.tar.gz
development/SQLAlchemy: Updated for version 2.0.28.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/SQLAlchemy/SQLAlchemy.SlackBuild9
-rw-r--r--development/SQLAlchemy/SQLAlchemy.info8
2 files changed, 10 insertions, 7 deletions
diff --git a/development/SQLAlchemy/SQLAlchemy.SlackBuild b/development/SQLAlchemy/SQLAlchemy.SlackBuild
index a28f900923..0b099d2a83 100644
--- a/development/SQLAlchemy/SQLAlchemy.SlackBuild
+++ b/development/SQLAlchemy/SQLAlchemy.SlackBuild
@@ -26,11 +26,13 @@
# 20220512 46and2: Updated version, add greenlet to REQUIRES.
# 20220515 46and2: New maintainer.
+# 20230410 46and2: Change build process, add DEPS for 2.0.x release.
+# 20230612 46and2: Contains ELF binaries, noarch=no
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SQLAlchemy
-VERSION=${VERSION:-1.4.52}
+VERSION=${VERSION:-2.0.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,13 +69,14 @@ 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 --no-isolation
+python3 -m installer -d "$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 AUTHORS CHANGES LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES.rst LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/SQLAlchemy/SQLAlchemy.info b/development/SQLAlchemy/SQLAlchemy.info
index cd53936d89..4d987f4c57 100644
--- a/development/SQLAlchemy/SQLAlchemy.info
+++ b/development/SQLAlchemy/SQLAlchemy.info
@@ -1,10 +1,10 @@
PRGNAM="SQLAlchemy"
-VERSION="1.4.52"
+VERSION="2.0.28"
HOMEPAGE="http://www.sqlalchemy.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sqlalchemy/SQLAlchemy-1.4.52.tar.gz"
-MD5SUM="84e7d5eefd0d48506369d2e748de59dd"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sqlalchemy/SQLAlchemy-2.0.28.tar.gz"
+MD5SUM="7f23ed7bea86aa696c2894845dd311bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="greenlet"
+REQUIRES="python3-wheel typing-extensions greenlet"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"