diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2023-10-13 04:39:58 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-22 06:08:12 +0700 |
commit | ba0f8413c2bedb0dacab80151accfb3c740f30e0 (patch) | |
tree | 2a648cd4a5d4cba59938d85317ce8edcdf6bae60 /development | |
parent | 5f02942c07159d6526cdbd476c0a57a01fddc9cd (diff) | |
download | slackbuilds-ba0f8413c2bedb0dacab80151accfb3c740f30e0.tar.xz |
development/SQLAlchemy: Updated for version 2.0.28.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/SQLAlchemy/SQLAlchemy.SlackBuild | 9 | ||||
-rw-r--r-- | development/SQLAlchemy/SQLAlchemy.info | 8 |
2 files changed, 10 insertions, 7 deletions
diff --git a/development/SQLAlchemy/SQLAlchemy.SlackBuild b/development/SQLAlchemy/SQLAlchemy.SlackBuild index a28f90092311..0b099d2a8316 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 cd53936d898b..4d987f4c5796 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" |