diff options
Diffstat (limited to 'python')
697 files changed, 7133 insertions, 2355 deletions
diff --git a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild index a5a8b5c1a2..227e95ac8f 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild +++ b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=BeautifulSoup4 -VERSION=${VERSION:-4.13.3} +VERSION=${VERSION:-4.13.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/BeautifulSoup4/BeautifulSoup4.info b/python/BeautifulSoup4/BeautifulSoup4.info index f92e71db16..207fd56850 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.info +++ b/python/BeautifulSoup4/BeautifulSoup4.info @@ -1,8 +1,8 @@ PRGNAM="BeautifulSoup4" -VERSION="4.13.3" +VERSION="4.13.4" HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/" -DOWNLOAD="https://files.pythonhosted.org/packages/f0/3c/adaf39ce1fb4afdd21b611e3d530b183bb7759c9b673d60db0e347fd4439/beautifulsoup4-4.13.3.tar.gz" -MD5SUM="63b9e66839aa5e67701c76455d3be92a" +DOWNLOAD="https://files.pythonhosted.org/packages/d8/e4/0c4c39e18fd76d6a628d4dd8da40543d136ce2d1752bd6eeeab0791f4d6b/beautifulsoup4-4.13.4.tar.gz" +MD5SUM="1c03bc381aff2ba72178fc775d39e991" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-soupsieve python3-typing-extensions" diff --git a/python/Flask/Flask.SlackBuild b/python/Flask/Flask.SlackBuild index d408ffcc8a..c694bf5f3d 100644 --- a/python/Flask/Flask.SlackBuild +++ b/python/Flask/Flask.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Flask SRCNAM=flask -VERSION=${VERSION:-3.1.1} +VERSION=${VERSION:-3.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/Flask/Flask.info b/python/Flask/Flask.info index 8e179729eb..6d0534023d 100644 --- a/python/Flask/Flask.info +++ b/python/Flask/Flask.info @@ -1,8 +1,8 @@ PRGNAM="Flask" -VERSION="3.1.1" +VERSION="3.1.2" HOMEPAGE="http://flask.pocoo.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask/flask-3.1.1.tar.gz" -MD5SUM="59dc1b0772bab098aff83e8008e97af6" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask/flask-3.1.2.tar.gz" +MD5SUM="62ae81cf2e91a376af909a2bc8939e15" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="werkzeug python3-itsdangerous click python3-blinker python-importlib_metadata" diff --git a/python/GeoIP-Python/GeoIP-Python.info b/python/GeoIP-Python/GeoIP-Python.info index 277a5176b2..d920f8fc4e 100644 --- a/python/GeoIP-Python/GeoIP-Python.info +++ b/python/GeoIP-Python/GeoIP-Python.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="GeoIP" MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" +EMAIL="NOEMAIL" diff --git a/python/PyPy/PyPy.SlackBuild b/python/PyPy/PyPy.SlackBuild index 34a9ce7a51..30e9c6160b 100644 --- a/python/PyPy/PyPy.SlackBuild +++ b/python/PyPy/PyPy.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPy -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy2.7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/PyPy/PyPy.info b/python/PyPy/PyPy.info index 478d995830..d7ee6bc5f9 100644 --- a/python/PyPy/PyPy.info +++ b/python/PyPy/PyPy.info @@ -1,8 +1,8 @@ PRGNAM="PyPy" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.19-src.tar.bz2" -MD5SUM="3579908879a8ad33d3eb0d812f535efb" +DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.20-src.tar.bz2" +MD5SUM="d1159d3f5f5f7973bd998b55294b9bb8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pycparser %README%" diff --git a/python/PyPy3/PyPy3.SlackBuild b/python/PyPy3/PyPy3.SlackBuild index b67fbdf3cf..023e70fd96 100644 --- a/python/PyPy3/PyPy3.SlackBuild +++ b/python/PyPy3/PyPy3.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPy3 -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy3.11 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/PyPy3/PyPy3.info b/python/PyPy3/PyPy3.info index 17c7114dd2..3ce9060f38 100644 --- a/python/PyPy3/PyPy3.info +++ b/python/PyPy3/PyPy3.info @@ -1,8 +1,8 @@ PRGNAM="PyPy3" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.19-src.tar.bz2" -MD5SUM="36a344d93a6cac86b356520b74b8e9d2" +DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.20-src.tar.bz2" +MD5SUM="d904f55d67b8b6eb25758334f6f676bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pycparser %README%" diff --git a/python/boolean-py/boolean-py.SlackBuild b/python/boolean-py/boolean-py.SlackBuild index cf8c334d95..224d9c0686 100644 --- a/python/boolean-py/boolean-py.SlackBuild +++ b/python/boolean-py/boolean-py.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for boolean-py -# Copyright 2022 Vijay Marcel +# Copyright 2022-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=boolean-py SRCNAM=boolean.py -VERSION=${VERSION:-4.0} +VERSION=${VERSION:-5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -52,13 +49,13 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" @@ -77,17 +74,17 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 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 + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a docs CHANGELOG.rst LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -av docs CHANGELOG.rst LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/boolean-py/boolean-py.info b/python/boolean-py/boolean-py.info index 2056787b6f..55b68624d4 100644 --- a/python/boolean-py/boolean-py.info +++ b/python/boolean-py/boolean-py.info @@ -1,8 +1,8 @@ PRGNAM="boolean-py" -VERSION="4.0" +VERSION="5.0" HOMEPAGE="https://github.com/bastikr/boolean.py" -DOWNLOAD="https://github.com/bastikr/boolean.py/archive/v4.0/boolean.py-4.0.tar.gz" -MD5SUM="4c73209542bc328e96b5b427e5f55bec" +DOWNLOAD="https://github.com/bastikr/boolean.py/archive/v5.0/boolean.py-5.0.tar.gz" +MD5SUM="d551d6bedc9ac83bf1e7b586280a68b8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/click-plugins/click-plugins.SlackBuild b/python/click-plugins/click-plugins.SlackBuild index 3403c70b34..6bafbf4e8c 100644 --- a/python/click-plugins/click-plugins.SlackBuild +++ b/python/click-plugins/click-plugins.SlackBuild @@ -26,7 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=click-plugins -VERSION=${VERSION:-1.1.1} +SRCNAM=click_plugins +VERSION=${VERSION:-1.1.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,9 +74,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 \ diff --git a/python/click-plugins/click-plugins.info b/python/click-plugins/click-plugins.info index fd99735cc5..a9caadc6dc 100644 --- a/python/click-plugins/click-plugins.info +++ b/python/click-plugins/click-plugins.info @@ -1,8 +1,8 @@ PRGNAM="click-plugins" -VERSION="1.1.1" +VERSION="1.1.1.2" HOMEPAGE="https://github.com/click-contrib/click-plugins" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/click-plugins/click-plugins-1.1.1.tar.gz" -MD5SUM="969268b5b005b2b56115c66c55013252" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/click_plugins/click_plugins-1.1.1.2.tar.gz" +MD5SUM="c7364b4d9df45deb2e46f165d8c882fa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="click" diff --git a/python/colored/colored.SlackBuild b/python/colored/colored.SlackBuild index ba6bb83bc9..fe6151593e 100644 --- a/python/colored/colored.SlackBuild +++ b/python/colored/colored.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=colored -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/colored/colored.info b/python/colored/colored.info index eeaa456cc8..97948f7940 100644 --- a/python/colored/colored.info +++ b/python/colored/colored.info @@ -1,8 +1,8 @@ PRGNAM="colored" -VERSION="2.3.0" +VERSION="2.3.1" HOMEPAGE="https://dslackw.gitlab.io/colored" -DOWNLOAD="https://gitlab.com/dslackw/colored/-/archive/2.3.0/colored-2.3.0.tar.gz" -MD5SUM="d54afdecde68dcd961d541259f89fd1a" +DOWNLOAD="https://gitlab.com/dslackw/colored/-/archive/2.3.1/colored-2.3.1.tar.gz" +MD5SUM="597eaedf56549d49cb7788200d52c806" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/cryptography/README b/python/cryptography/README index 9344751164..e572f28c93 100644 --- a/python/cryptography/README +++ b/python/cryptography/README @@ -3,3 +3,7 @@ recipes and primitives. It's available under either the Apache Software License, Version 2.0, or the BSD license. + +NOTE: Cryptography 45.x is the last version working on Slackware 15.0. +Newer version requires newer cffi and they will drop support for +OpenSSL < 3.0 from future releases. diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 67c19d4024..716a83626e 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for cryptography # Copyright 2014-2018 Markus Reichelt, Aachen, DE -# Copyright 2021-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2021-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cryptography -VERSION=${VERSION:-45.0.3} +VERSION=${VERSION:-45.0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/cryptography/cryptography.info b/python/cryptography/cryptography.info index f06397e9ef..4ab97aa0ca 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,10 +1,10 @@ PRGNAM="cryptography" -VERSION="45.0.3" +VERSION="45.0.7" HOMEPAGE="https://cryptography.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-45.0.3.tar.gz \ - https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-45.0.3-1.tar.xz" -MD5SUM="1e3b6a299fbbe74b9a68e1b2dbdcb96b \ - c1606a52e30eb934969ce30547883705" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-45.0.7.tar.gz \ + https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-45.0.7-1.tar.xz" +MD5SUM="c7c51e216abd722be0e8120e220c2473 \ + b505011af495e4c1d2f620f0baff4b2a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin rust-opt" diff --git a/python/cssselect2/cssselect2.SlackBuild b/python/cssselect2/cssselect2.SlackBuild index 5ba8eb415d..a3482c0035 100644 --- a/python/cssselect2/cssselect2.SlackBuild +++ b/python/cssselect2/cssselect2.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cssselect2 VERSION=${VERSION:-0.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/cssselect2/cssselect2.info b/python/cssselect2/cssselect2.info index eb16825923..d170170ba4 100644 --- a/python/cssselect2/cssselect2.info +++ b/python/cssselect2/cssselect2.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/ad/3d/fb764303deb34cbc1a32fcec MD5SUM="6dfd5963c8a5d85f2634d1650b1ddfe1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="tinycss2" +REQUIRES="python3-tinycss2" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" diff --git a/python/email-validator/email-validator.SlackBuild b/python/email-validator/email-validator.SlackBuild index 601a8cab0b..93669b30eb 100644 --- a/python/email-validator/email-validator.SlackBuild +++ b/python/email-validator/email-validator.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for email-validator -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=email-validator SRCNAM=${PRGNAM/-/_} -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/email-validator/email-validator.info b/python/email-validator/email-validator.info index 39be196926..8a04b1933a 100644 --- a/python/email-validator/email-validator.info +++ b/python/email-validator/email-validator.info @@ -1,8 +1,8 @@ PRGNAM="email-validator" -VERSION="2.2.0" +VERSION="2.3.0" HOMEPAGE="https://github.com/JoshData/python-email-validator" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/email-validator/email_validator-2.2.0.tar.gz" -MD5SUM="593073eca56ac1e947d47b9b314f2f11" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/email-validator/email_validator-2.3.0.tar.gz" +MD5SUM="379aa34f196a66e16c5c0dd0c2abb2da" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-dnspython" diff --git a/python/feedgenerator/feedgenerator.SlackBuild b/python/feedgenerator/feedgenerator.SlackBuild index f6ad208a3c..fc529f441c 100644 --- a/python/feedgenerator/feedgenerator.SlackBuild +++ b/python/feedgenerator/feedgenerator.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for feedgenerator -# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2013-2016 Markus Reichelt, Aachen, DE # All rights reserved. # @@ -24,11 +24,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # 20221011 46and2: Updated version, new maintainer. +# 20250822 46and2: Updated version, new build process and deps. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=feedgenerator -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-2.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,20 +51,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -79,13 +66,17 @@ 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 +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 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 PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/feedgenerator/feedgenerator.info b/python/feedgenerator/feedgenerator.info index 86ea987477..6ebda86b98 100644 --- a/python/feedgenerator/feedgenerator.info +++ b/python/feedgenerator/feedgenerator.info @@ -1,10 +1,10 @@ PRGNAM="feedgenerator" -VERSION="2.1.0" +VERSION="2.2.1" HOMEPAGE="https://pypi.python.org/pypi/feedgenerator" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/feedgenerator/feedgenerator-2.1.0.tar.gz" -MD5SUM="5325b3e8a143760ab68b66db9de7e657" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/feedgenerator/feedgenerator-2.2.1.tar.gz" +MD5SUM="548e9f8abbed8dd81f016029dc671de6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-hatchling" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/feedparser/feedparser.SlackBuild b/python/feedparser/feedparser.SlackBuild index 0b37c60099..79db544fcc 100644 --- a/python/feedparser/feedparser.SlackBuild +++ b/python/feedparser/feedparser.SlackBuild @@ -1,10 +1,10 @@ #!/bin/bash # Slackware build script for feedparser -# Modified by Luis Henrique <lmello.009@gmail.com> -# Maintained 2014-2023 by Christoph Willing <chris.willing@linux.com> - +# # Copyright 2008-2009 Chess Griffin <chess@chessgriffin.com> +# Modified by Luis Henrique <lmello.009@gmail.com> +# Maintained 2014-2025 by Christoph Willing, Sydney Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=feedparser -VERSION=${VERSION:-6.0.11} +VERSION=${VERSION:-6.0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/feedparser/feedparser.info b/python/feedparser/feedparser.info index 1fd13c9066..8e25d93db7 100644 --- a/python/feedparser/feedparser.info +++ b/python/feedparser/feedparser.info @@ -1,8 +1,8 @@ PRGNAM="feedparser" -VERSION="6.0.11" +VERSION="6.0.12" HOMEPAGE="https://github.com/kurtmckee/feedparser" -DOWNLOAD="https://github.com/kurtmckee/feedparser/archive/6.0.11/feedparser-6.0.11.tar.gz" -MD5SUM="bbb8814240ef30c930ad8ea8eeb8e80b" +DOWNLOAD="https://github.com/kurtmckee/feedparser/archive/v6.0.12/feedparser-6.0.12.tar.gz" +MD5SUM="1691ff40cbaace84b11bab29acc8be81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-sgmllib3k" diff --git a/python/freesimplegui/README b/python/freesimplegui/README new file mode 100644 index 0000000000..ad9469e6ec --- /dev/null +++ b/python/freesimplegui/README @@ -0,0 +1,7 @@ +freesimplegui (the free-forever python simple gui software) + +FreeSimpleGUI is a Python package that enables Python programmers +of all levels to create GUIs. You specify your GUI window using +a "layout" which contains widgets (they're called "Elements" in +FreeSimpleGUI). Your layout is used to create a window using one of +the 4 supported frameworks to display and interact with your window. diff --git a/python/freesimplegui/freesimplegui.SlackBuild b/python/freesimplegui/freesimplegui.SlackBuild new file mode 100644 index 0000000000..65b0c0e2d0 --- /dev/null +++ b/python/freesimplegui/freesimplegui.SlackBuild @@ -0,0 +1,64 @@ +#!/bin/bash + +# Slackware build script for freesimplegui + +# Written by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=freesimplegui +VERSION=${VERSION:-5.2.0.post1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +# No need for flags or libdir, setuptools knows what to do. + +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 +chown -R root:root . +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a NOTICE* README* license* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +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 diff --git a/python/freesimplegui/freesimplegui.info b/python/freesimplegui/freesimplegui.info new file mode 100644 index 0000000000..ff46e075d8 --- /dev/null +++ b/python/freesimplegui/freesimplegui.info @@ -0,0 +1,10 @@ +PRGNAM="freesimplegui" +VERSION="5.2.0.post1" +HOMEPAGE="https://pypi.org/project/FreeSimpleGUI/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/freesimplegui/freesimplegui-5.2.0.post1.tar.gz" +MD5SUM="f50b2b915b03ef4a5006925a535ffa1e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/python/freesimplegui/slack-desc b/python/freesimplegui/slack-desc new file mode 100644 index 0000000000..fe8b6f1be9 --- /dev/null +++ b/python/freesimplegui/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +freesimplegui: freesimplegui (the free-forever python simple gui software) +freesimplegui: +freesimplegui: FreeSimpleGUI is a Python package that enables Python programmers +freesimplegui: of all levels to create GUIs. You specify your GUI window using +freesimplegui: a "layout" which contains widgets (they're called "Elements" in +freesimplegui: FreeSimpleGUI). Your layout is used to create a window using one of +freesimplegui: the 4 supported frameworks to display and interact with your window. +freesimplegui: +freesimplegui: +freesimplegui: +freesimplegui: diff --git a/python/git-fame/git-fame.SlackBuild b/python/git-fame/git-fame.SlackBuild index b6f00cb99e..6829fd6365 100644 --- a/python/git-fame/git-fame.SlackBuild +++ b/python/git-fame/git-fame.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=git-fame SRCNAM=${SRCNAM:-$(printf '%s\n' "$PRGNAM" | tr '-' '_')} -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/git-fame/git-fame.info b/python/git-fame/git-fame.info index f7a8a4de5b..1b0ed13d8b 100644 --- a/python/git-fame/git-fame.info +++ b/python/git-fame/git-fame.info @@ -1,8 +1,8 @@ PRGNAM="git-fame" -VERSION="2.1.0" +VERSION="3.1.1" HOMEPAGE="https://pypi.python.org/pypi/git-fame" -DOWNLOAD="https://files.pythonhosted.org/packages/0c/86/e13c918e62315db39d69b653728e03faf8bfa37be880d0ef114322b480c6/git_fame-2.1.0.tar.gz" -MD5SUM="295c5a8fbb2f86c9369eca78dd5a5a44" +DOWNLOAD="https://files.pythonhosted.org/packages/25/ab/ad71516d849d1b6160834b15c00590b9e83ba9f3b1f13c2f2ba43a86a81f/git_fame-3.1.1.tar.gz" +MD5SUM="23df4c4e84df723cfb5693276dda6acc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-argopt python3-docopt tqdm python3-tabulate python3-wheel" diff --git a/python/html2text/html2text.SlackBuild b/python/html2text/html2text.SlackBuild index 306eac94db..0b63a2400d 100644 --- a/python/html2text/html2text.SlackBuild +++ b/python/html2text/html2text.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2011 crocket (email removed) # Copyright 2013-2015 LukenShiro, Italy -# Copyright 2020 B. Watson +# Copyright 2020-2025 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,6 +24,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20251216 bkw: update for v2025.4.15. # 20240814 bkw: update for v2024.2.26. # 20200203 bkw: # - new maintainer @@ -36,7 +37,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=html2text -VERSION=${VERSION:-2024.2.26} +VERSION=${VERSION:-2025.4.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -67,14 +68,20 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.rst *.md COPYING $PKG/usr/doc/$PRGNAM-$VERSION/ -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a *.rst *.md COPYING $PKGDOC/ +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/html2text/html2text.info b/python/html2text/html2text.info index f9cabbe1ae..0e6dc10fd9 100644 --- a/python/html2text/html2text.info +++ b/python/html2text/html2text.info @@ -1,10 +1,10 @@ PRGNAM="html2text" -VERSION="2024.2.26" +VERSION="2025.4.15" HOMEPAGE="https://github.com/Alir3z4/html2text" -DOWNLOAD="https://github.com/Alir3z4/html2text/archive/2024.2.26/html2text-2024.2.26.tar.gz" -MD5SUM="af81376e5368d8f4311cb342c8e96b2c" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/html2text/html2text-2025.4.15.tar.gz" +MD5SUM="d4fb2b23350c6fff96dd1f47e35acb56" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="B. Watson" EMAIL="urchlay@slackware.uk" diff --git a/python/i3expo-ng/i3expo-ng.SlackBuild b/python/i3expo-ng/i3expo-ng.SlackBuild index 54799e1f33..3285ae3a62 100644 --- a/python/i3expo-ng/i3expo-ng.SlackBuild +++ b/python/i3expo-ng/i3expo-ng.SlackBuild @@ -51,20 +51,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -73,6 +59,7 @@ cd $TMP rm -rf $PRGNAM-$COMMIT tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz cd $PRGNAM-$COMMIT +cat i3expo-ng.xdg-base-dirs.patch | patch -p1 || exit chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/python/i3expo-ng/i3expo-ng.info b/python/i3expo-ng/i3expo-ng.info index 0975dda4bc..1e6aac9a4a 100644 --- a/python/i3expo-ng/i3expo-ng.info +++ b/python/i3expo-ng/i3expo-ng.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/morrolinux/i3expo-ng/archive/b55a74b/i3expo-ng-b55a MD5SUM="158026d34b865e3e431380b7d1a7971c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pygame i3ipc python3-xdg" +REQUIRES="python3-pygame i3ipc python3-xdg-base-dirs" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" diff --git a/python/i3expo-ng/i3expo-ng.xdg-base-dirs.patch b/python/i3expo-ng/i3expo-ng.xdg-base-dirs.patch new file mode 100644 index 0000000000..2e9bc26c6c --- /dev/null +++ b/python/i3expo-ng/i3expo-ng.xdg-base-dirs.patch @@ -0,0 +1,48 @@ +--- a/README.md ++++ b/README.md +@@ -40,7 +40,7 @@ Example output: + - PyGame + - i3ipc + - pillow +-- xdg ++- xdg-base-dirs + - pyxdg + # Usage + +diff --git a/i3expod.py b/i3expod.py +index 74150fe..7c1df6b 100755 +--- a/i3expod.py ++++ b/i3expod.py +@@ -18,7 +18,7 @@ + import prtscn + + try: +- from xdg import xdg_config_home ++ from xdg_base_dirs import xdg_config_home + + xdg_config_home = str(xdg_config_home()) + except ImportError: +diff --git a/requirements.txt b/requirements.txt +index 48220d8..94bfe75 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,5 +1,5 @@ + pygame + i3ipc + pillow +-xdg ++xdg-base-dirs + pyxdg +diff --git a/setup.py b/setup.py +index 173aee2..e0ae273 100644 +--- a/setup.py ++++ b/setup.py +@@ -20,7 +20,7 @@ + 'pygame', + 'i3ipc', + 'pillow', +- 'xdg', ++ 'xdg-base-dirs', + 'pyxdg', + ], + entry_points={ diff --git a/python/importlib-resources/importlib-resources.SlackBuild b/python/importlib-resources/importlib-resources.SlackBuild index 1bd0b4388d..dbf5550258 100644 --- a/python/importlib-resources/importlib-resources.SlackBuild +++ b/python/importlib-resources/importlib-resources.SlackBuild @@ -22,11 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20250531 46and2: Updated version, change to pep517 build. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=importlib-resources SRCNAM=$( printf %s $PRGNAM | tr - _ ) -VERSION=${VERSION:-5.1.0} +VERSION=${VERSION:-6.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -66,9 +65,11 @@ 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 {} \; -sed -i "s,^name =.*$,&\nversion = $VERSION," setup.cfg +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -r LICENSE README.rst docs $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/importlib-resources/importlib-resources.info b/python/importlib-resources/importlib-resources.info index 8469aba168..6a0c3736e1 100644 --- a/python/importlib-resources/importlib-resources.info +++ b/python/importlib-resources/importlib-resources.info @@ -1,10 +1,10 @@ PRGNAM="importlib-resources" -VERSION="5.1.0" +VERSION="6.5.2" HOMEPAGE="https://pypi.org/project/importlib-resources/" -DOWNLOAD="https://files.pythonhosted.org/packages/e7/ef/8bf9f2469c2c0a1bf00c39b2a076f71c4e511a3014a296b50eb425a2633d/importlib_resources-5.1.0.tar.gz" -MD5SUM="a3ca1dce486f7fba1691938124e54133" +DOWNLOAD="https://files.pythonhosted.org/packages/source/i/importlib_resources/importlib_resources-6.5.2.tar.gz" +MD5SUM="6ba34e0f24dc7521a5e44e707ed0f28f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-toml" +REQUIRES="python3-toml python-zipp" MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/python/jdcal/jdcal.info b/python/jdcal/jdcal.info index 2c1fb55974..49321a2253 100644 --- a/python/jdcal/jdcal.info +++ b/python/jdcal/jdcal.info @@ -6,5 +6,5 @@ MD5SUM="de6b2f33d60a9e9174b67d7883713357" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python2-lxml python3-lxml" -MAINTAINER="orphaned (no maintainer)" -EMAIL="nobody@domain.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/jellyfish/jellyfish.SlackBuild b/python/jellyfish/jellyfish.SlackBuild index 0f763d8fee..d147367d1b 100644 --- a/python/jellyfish/jellyfish.SlackBuild +++ b/python/jellyfish/jellyfish.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jellyfish -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,11 +79,9 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) # prevent cargo from using the network. # this only works because we have a vendored sources tarball with diff --git a/python/jellyfish/jellyfish.info b/python/jellyfish/jellyfish.info index 2ccf579f0a..752aaee3a1 100644 --- a/python/jellyfish/jellyfish.info +++ b/python/jellyfish/jellyfish.info @@ -1,10 +1,10 @@ PRGNAM="jellyfish" -VERSION="1.2.0" +VERSION="1.2.1" HOMEPAGE="https://github.com/sunlightlabs/jellyfish" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-1.2.0.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/jellyfish-vendored-sources-1.2.0-1.tar.xz" -MD5SUM="ef5c698349c7f729ace83dd00e9306f0 \ - 6369ed33c78b8e5d13c6c1835a1eada8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-1.2.1.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/jellyfish-vendored-sources-1.2.1-1.tar.xz" +MD5SUM="c9abacc7269a77d29674fde13b883a0e \ + 98ca01ce452d884d6fe988a5da75c554" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin" diff --git a/python/josepy/josepy.SlackBuild b/python/josepy/josepy.SlackBuild index 831334fc22..d846e4972f 100644 --- a/python/josepy/josepy.SlackBuild +++ b/python/josepy/josepy.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=josepy -VERSION=${VERSION:-2.0.0} +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/josepy/josepy.info b/python/josepy/josepy.info index 4f41b37116..f75c447b31 100644 --- a/python/josepy/josepy.info +++ b/python/josepy/josepy.info @@ -1,8 +1,8 @@ PRGNAM="josepy" -VERSION="2.0.0" +VERSION="2.2.0" HOMEPAGE="https://github.com/certbot/josepy" -DOWNLOAD="https://files.pythonhosted.org/packages/a9/29/e7c14150f200c5cd49d1a71b413f61b97406f57872ad693857982c0869c9/josepy-2.0.0.tar.gz" -MD5SUM="dd79ee5377afe136643fc6f7cda6e5f8" +DOWNLOAD="https://files.pythonhosted.org/packages/7f/ad/6f520aee9cc9618d33430380741e9ef859b2c560b1e7915e755c084f6bc0/josepy-2.2.0.tar.gz" +MD5SUM="458e452aba5afc2436761c9acddde344" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-wheel python3-poetry-core" diff --git a/python/memory-profiler/memory-profiler.SlackBuild b/python/memory-profiler/memory-profiler.SlackBuild index ac22aeea45..296eea1790 100644 --- a/python/memory-profiler/memory-profiler.SlackBuild +++ b/python/memory-profiler/memory-profiler.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for memory-profiler -# Copyright 2022 Vijay Marcel +# Copyright 2022-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=memory-profiler -VERSION=${VERSION:-0.60.0} +VERSION=${VERSION:-0.61.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -51,13 +48,13 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" @@ -76,15 +73,15 @@ cd memory_profiler-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -python3 setup.py build -python3 setup.py install --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py build +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --root=$PKG --optimize=1 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 + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/memory-profiler/memory-profiler.info b/python/memory-profiler/memory-profiler.info index 3ee384e0da..73fbd62d96 100644 --- a/python/memory-profiler/memory-profiler.info +++ b/python/memory-profiler/memory-profiler.info @@ -1,8 +1,8 @@ PRGNAM="memory-profiler" -VERSION="0.60.0" +VERSION="0.61.0" HOMEPAGE="https://github.com/pythonprofilers/memory_profiler" -DOWNLOAD="https://pypi.io/packages/source/m/memory_profiler/memory_profiler-0.60.0.tar.gz" -MD5SUM="c4d29b47885c32581f5bcefb44d2ca8e" +DOWNLOAD="https://files.pythonhosted.org/packages/b2/88/e1907e1ca3488f2d9507ca8b0ae1add7b1cd5d3ca2bc8e5b329382ea2c7b/memory_profiler-0.61.0.tar.gz" +MD5SUM="5fe93d5035288095c4f86ef69ee19f37" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-psutil" diff --git a/python/mnemonic/README b/python/mnemonic/README deleted file mode 100644 index 39280e54ce..0000000000 --- a/python/mnemonic/README +++ /dev/null @@ -1,8 +0,0 @@ -mnemonic (reference implementation of BIP-0039) - -Reference implementation of BIP-0039: Mnemonic code for generating -deterministic keys. - -This BIP describes the implementation of a mnemonic code or mnemonic -sentence -- a group of easy to remember words -- for the generation of -deterministic wallets. diff --git a/python/mnemonic/mnemonic.info b/python/mnemonic/mnemonic.info deleted file mode 100644 index f5c9cdff0c..0000000000 --- a/python/mnemonic/mnemonic.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="mnemonic" -VERSION="0.15" -HOMEPAGE="https://github.com/trezor/mnemonic" -DOWNLOAD="https://pypi.python.org/packages/d2/07/0d21fc15549dcc916bb6ee3e52d5d18411a1a519d3b44a9ab4b52cabb45f/mnemonic-0.15.tar.gz" -MD5SUM="0ec276e73e7d06064ece8127296cbfef" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Reedych" -EMAIL="reedych@reedych.pw" diff --git a/python/msgpack-python/msgpack-python.SlackBuild b/python/msgpack-python/msgpack-python.SlackBuild index 225218a6e2..ff48bcd15d 100644 --- a/python/msgpack-python/msgpack-python.SlackBuild +++ b/python/msgpack-python/msgpack-python.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for msgpack-python +# Copyright 2025 Andrzej Telszewski, Koszalin # Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # @@ -25,8 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=msgpack-python -SRCNAM=$(echo $PRGNAM | cut -c1-7) -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -51,34 +48,18 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION + +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION + chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +chmod -R a-st,u+rwX,go-w+rX . python setup.py install --root=$PKG python3 setup.py install --root=$PKG @@ -87,8 +68,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md COPYING PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a ChangeLog.rst COPYING DEVELOP.md README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > \ + $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/msgpack-python/msgpack-python.info b/python/msgpack-python/msgpack-python.info index 029c3ac31c..1ee4f56be1 100644 --- a/python/msgpack-python/msgpack-python.info +++ b/python/msgpack-python/msgpack-python.info @@ -1,10 +1,10 @@ PRGNAM="msgpack-python" -VERSION="1.0.2" +VERSION="1.0.5" HOMEPAGE="https://msgpack.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/59/04/87fc6708659c2ed3b0b6d4954f270b6e931def707b227c4554f99bd5401e/msgpack-1.0.2.tar.gz" -MD5SUM="68d5804254642905ba87ede509e68970" +DOWNLOAD="https://github.com/msgpack/msgpack-python/archive/v1.0.5/msgpack-python-1.0.5.tar.gz" +MD5SUM="137363700bcbb962c4eb7c6a630f3102" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +MAINTAINER="Andrzej Telszewski" +EMAIL="andrzej@telszewski.com" diff --git a/python/munch/munch.info b/python/munch/munch.info index daf79e95b4..53249c62e4 100644 --- a/python/munch/munch.info +++ b/python/munch/munch.info @@ -6,5 +6,5 @@ MD5SUM="4e70cf760e3b81dcaa6050803c1dbd72" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/mypy/mypy.SlackBuild b/python/mypy/mypy.SlackBuild index d2e1feae90..3f5fcf1388 100644 --- a/python/mypy/mypy.SlackBuild +++ b/python/mypy/mypy.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mypy -VERSION=${VERSION:-1.15.0} +VERSION=${VERSION:-1.16.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/mypy/mypy.info b/python/mypy/mypy.info index f280a57774..f5d511accc 100644 --- a/python/mypy/mypy.info +++ b/python/mypy/mypy.info @@ -1,8 +1,8 @@ PRGNAM="mypy" -VERSION="1.15.0" +VERSION="1.16.1" HOMEPAGE="https://github.com/python/mypy" -DOWNLOAD="https://files.pythonhosted.org/packages/ce/43/d5e49a86afa64bd3839ea0d5b9c7103487007d728e1293f52525d6d5486a/mypy-1.15.0.tar.gz" -MD5SUM="7ef4185d545d0e296e8c1f12bb653a78" +DOWNLOAD="https://files.pythonhosted.org/packages/81/69/92c7fa98112e4d9eb075a239caa4ef4649ad7d441545ccffbd5e34607cbb/mypy-1.16.1.tar.gz" +MD5SUM="ef112a3b408fbef0ea20fc9abc1f5a92" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-typing-extensions mypy_extensions python3-setuptools-opt" diff --git a/python/nanobind/nanobind.SlackBuild b/python/nanobind/nanobind.SlackBuild index 0217f60d7f..b29e52f8e8 100644 --- a/python/nanobind/nanobind.SlackBuild +++ b/python/nanobind/nanobind.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for nanobind # Copyright 2025, Fernando Lopez Jr. +# Copyright 2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nanobind -VERSION=${VERSION:-2.5.0} +VERSION=${VERSION:-2.10.2} +ROBINVER=${ROBINVER:-4ec1bf1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,6 +73,9 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rmdir $PRGNAM-$VERSION/ext/robin_map +tar xvf $CWD/robin-map-$ROBINVER*.tar.gz +mv robin-map-$ROBINVER* $PRGNAM-$VERSION/ext/robin_map cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -85,12 +90,18 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr/lib${LIBDIRSUFFIX} \ - -DNB_USE_SUBMODULE_DEPS=OFF \ + -DNB_USE_SUBMODULE_DEPS=ON \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG cd .. +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + #rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/nanobind/nanobind.info b/python/nanobind/nanobind.info index 0a1808188e..09c03bcf67 100644 --- a/python/nanobind/nanobind.info +++ b/python/nanobind/nanobind.info @@ -1,10 +1,12 @@ PRGNAM="nanobind" -VERSION="2.5.0" +VERSION="2.10.2" HOMEPAGE="https://github.com/wjakob/nanobind" -DOWNLOAD="https://github.com/wjakob/nanobind/archive/v2.5.0/nanobind-2.5.0.tar.gz" -MD5SUM="f6b94fc28f257c60b54c5d34a472976e" +DOWNLOAD="https://github.com/wjakob/nanobind/archive/v2.10.2/nanobind-2.10.2.tar.gz \ + https://github.com/Tessil/robin-map/archive/4ec1bf1/robin-map-4ec1bf19c6a96125ea22062f38c2cf5b958e448e.tar.gz" +MD5SUM="29106ce3adcabad998164db2880b9820 \ + 9100e1fe0df90bddfb7c907969047ee1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="robin-map python3-typing-extensions" -MAINTAINER="Fernando Lopez Jr" -EMAIL="fernando.lopezjr@gmail.com" +REQUIRES="python3-scikit-build-core" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/numpydoc/README b/python/numpydoc/README deleted file mode 100644 index 47e5dd0544..0000000000 --- a/python/numpydoc/README +++ /dev/null @@ -1,7 +0,0 @@ -Sphinx extension to support docstrings in Numpy format. -Numpy's documentation uses several custom extensions to Sphinx. -These are shipped in this numpydoc package, in case you want to -make use of them in third-party projects. - -numpydoc 1.6.0 is the last available version for Slackware 15.0. Newer -versions require Sphinx >= 6. diff --git a/python/numpydoc/slack-desc b/python/numpydoc/slack-desc deleted file mode 100644 index e227db80b6..0000000000 --- a/python/numpydoc/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -numpydoc: numpydoc (Sphinx extension) -numpydoc: -numpydoc: Numpy's documentation uses several custom extensions to Sphinx. -numpydoc: These are shipped in this numpydoc package, in case you want to -numpydoc: make use of them in third-party projects. -numpydoc: -numpydoc: Homepage: https://github.com/numpy/numpydoc -numpydoc: -numpydoc: -numpydoc: -numpydoc: diff --git a/python/odict/odict.info b/python/odict/odict.info index d0093addcc..a5cf996785 100644 --- a/python/odict/odict.info +++ b/python/odict/odict.info @@ -6,5 +6,5 @@ MD5SUM="a5123a0c2e18df01a2d850dce9bb134b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Cristiano Urban" -EMAIL="cristiano.urban.slack@gmail.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild b/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild index a623dbe8cc..2a1039544e 100644 --- a/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild +++ b/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pallets-sphinx-themes -# Copyright 2022-2024 Vijay Marcel +# Copyright 2022-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pallets-sphinx-themes -VERSION=${VERSION:-2.1.3} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -60,9 +60,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ python3 -m build --wheel --no-isolation python3 -m installer --destdir="$PKG" dist/*.whl diff --git a/python/pallets-sphinx-themes/pallets-sphinx-themes.info b/python/pallets-sphinx-themes/pallets-sphinx-themes.info index 5620a5d824..9550dc4712 100644 --- a/python/pallets-sphinx-themes/pallets-sphinx-themes.info +++ b/python/pallets-sphinx-themes/pallets-sphinx-themes.info @@ -1,8 +1,8 @@ PRGNAM="pallets-sphinx-themes" -VERSION="2.1.3" +VERSION="2.3.0" HOMEPAGE="https://github.com/pallets/pallets-sphinx-themes/" -DOWNLOAD="https://github.com/pallets/pallets-sphinx-themes/archive/2.1.3/pallets-sphinx-themes-2.1.3.tar.gz" -MD5SUM="1fdc10cea907989d3f84694c3c6bd64a" +DOWNLOAD="https://github.com/pallets/pallets-sphinx-themes/archive/2.3.0/pallets-sphinx-themes-2.3.0.tar.gz" +MD5SUM="e48d397be46d048a9ba83211e791f9cb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-flit_core python3-installer python3-pyproject-hooks python3-build Sphinx" diff --git a/python/pkginfo/pkginfo.SlackBuild b/python/pkginfo/pkginfo.SlackBuild index 9047538c7e..d0ad184238 100644 --- a/python/pkginfo/pkginfo.SlackBuild +++ b/python/pkginfo/pkginfo.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pkginfo -# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2016-2025 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pkginfo -VERSION=${VERSION:-1.9.2} +VERSION=${VERSION:-1.12.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pkginfo/pkginfo.info b/python/pkginfo/pkginfo.info index d1899d13a3..be7fdb1ac4 100644 --- a/python/pkginfo/pkginfo.info +++ b/python/pkginfo/pkginfo.info @@ -1,10 +1,10 @@ PRGNAM="pkginfo" -VERSION="1.9.2" +VERSION="1.12.1.2" HOMEPAGE="https://pythonhosted.org/pkginfo/" -DOWNLOAD="https://files.pythonhosted.org/packages/12/d1/03b865975864a30d4a23f87fd5b9f816db2e4b2e8f4fe696a3238b749cc0/pkginfo-1.9.2.tar.gz" -MD5SUM="d482576c79ab81fea22118aa0a6da227" +DOWNLOAD="https://files.pythonhosted.org/packages/24/03/e26bf3d6453b7fda5bd2b84029a426553bb373d6277ef6b5ac8863421f87/pkginfo-1.12.1.2.tar.gz" +MD5SUM="021f56d78ec93965b21e98bc3a3ab370" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/pyOpenSSL/pyOpenSSL.SlackBuild b/python/pyOpenSSL/pyOpenSSL.SlackBuild index 3333e7a51b..6a55228a08 100644 --- a/python/pyOpenSSL/pyOpenSSL.SlackBuild +++ b/python/pyOpenSSL/pyOpenSSL.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyOpenSSL SRCNAM=pyopenssl -VERSION=${VERSION:-25.1.0} +VERSION=${VERSION:-25.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pyOpenSSL/pyOpenSSL.info b/python/pyOpenSSL/pyOpenSSL.info index 0cea715073..0e84133d59 100644 --- a/python/pyOpenSSL/pyOpenSSL.info +++ b/python/pyOpenSSL/pyOpenSSL.info @@ -1,8 +1,8 @@ PRGNAM="pyOpenSSL" -VERSION="25.1.0" +VERSION="25.3.0" HOMEPAGE="https://pypi.python.org/pypi/pyOpenSSL" -DOWNLOAD="https://files.pythonhosted.org/packages/04/8c/cd89ad05804f8e3c17dea8f178c3f40eeab5694c30e0c9f5bcd49f576fc3/pyopenssl-25.1.0.tar.gz" -MD5SUM="ed54c876e38a6f3525008f9054b32ac1" +DOWNLOAD="https://files.pythonhosted.org/packages/80/be/97b83a464498a79103036bc74d1038df4a7ef0e402cfaf4d5e113fb14759/pyopenssl-25.3.0.tar.gz" +MD5SUM="d755732945157fb8ca98c2d66a55755d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cryptography" diff --git a/python/pybind11/README b/python/pybind11/README index d7bc599063..3fd0a83e2d 100644 --- a/python/pybind11/README +++ b/python/pybind11/README @@ -6,3 +6,9 @@ in traditional extension modules by inferring type information using compile-time introspection. This SlackBuild is intended for python3 only. + +ADDITIONAL NOTE: On Slackware 15.0, the pybind11 version is frozen +at 2.11.1 due to other SlackBuilds which depend on it. For example, +python3-scipy is being held at version 1.12.0 due to requiring a +newer Cython than included in Slackware, and python3-scipy-1.12.0 +requires a version of pybind11 which is less than 2.12.0 diff --git a/python/pybind11/pybind11.SlackBuild b/python/pybind11/pybind11.SlackBuild index 8c2162a6e8..7e5113c3af 100644 --- a/python/pybind11/pybind11.SlackBuild +++ b/python/pybind11/pybind11.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pybind11 -# Copyright 2019-2023 Christoph Willing, Brisbane, Australia +# Copyright 2019-2025 Christoph Willing, Sydney Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -50,16 +50,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e diff --git a/python/pyelftools/pyelftools.SlackBuild b/python/pyelftools/pyelftools.SlackBuild index 98b91747a1..ec6a74983a 100644 --- a/python/pyelftools/pyelftools.SlackBuild +++ b/python/pyelftools/pyelftools.SlackBuild @@ -6,13 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20250916 bkw: updated for v0.32. # 20240814 bkw: updated for v0.31. # 20231120 bkw: updated for v0.30. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyelftools -VERSION=${VERSION:-0.31} +VERSION=${VERSION:-0.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pyelftools/pyelftools.info b/python/pyelftools/pyelftools.info index 26fe4751f9..d5f8021c0e 100644 --- a/python/pyelftools/pyelftools.info +++ b/python/pyelftools/pyelftools.info @@ -1,8 +1,8 @@ PRGNAM="pyelftools" -VERSION="0.31" +VERSION="0.32" HOMEPAGE="https://pypi.org/project/pyelftools/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-0.31.tar.gz" -MD5SUM="abd09b11e10bf32bfa6cf968b7a41e57" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-0.32.tar.gz" +MD5SUM="240cf39dc5dad992f25cb5a4e4244f88" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/pyfuse3/pyfuse3.info b/python/pyfuse3/pyfuse3.info index afef81a2fa..40658e8836 100644 --- a/python/pyfuse3/pyfuse3.info +++ b/python/pyfuse3/pyfuse3.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/libfuse/pyfuse3/releases/download/3.4.0/pyfuse3-3.4 MD5SUM="08b7869fb0f0007bd3014c1ebfb212cd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-trio" MAINTAINER="Sean Hinchee" EMAIL="henesy.dev@gmail.com" diff --git a/python/pynacl/README b/python/pynacl/README deleted file mode 100644 index 6e2ecf09ff..0000000000 --- a/python/pynacl/README +++ /dev/null @@ -1 +0,0 @@ -Python binding to the Networking and Cryptography (NaCl) library diff --git a/python/pynacl/pynacl.info b/python/pynacl/pynacl.info deleted file mode 100644 index 8fe4ae7fec..0000000000 --- a/python/pynacl/pynacl.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pynacl" -VERSION="1.4.0" -HOMEPAGE="https://pypi.org/project/pynacl/" -DOWNLOAD="https://files.pythonhosted.org/packages/cf/5a/25aeb636baeceab15c8e57e66b8aa930c011ec1c035f284170cacb05025e/PyNaCl-1.4.0.tar.gz" -MD5SUM="8c6c57893327a694c72510fb620e4744" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="cffi python2-wheel python3-wheel" -MAINTAINER="Pr. HORSTMANN" -EMAIL="wmh@eipg.fr" diff --git a/python/pynacl/slack-desc b/python/pynacl/slack-desc deleted file mode 100644 index 708708b537..0000000000 --- a/python/pynacl/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -pynacl: pynacl (Binding to the Networking and Cryptography (NaCl) library) -pynacl: -pynacl: PyNaCl is a Python binding to libsodium, which is a fork of the -pynacl: Networking and Cryptography library. These libraries have a stated -pynacl: goal of improving usability, security and speed. -pynacl: It supports Python 2.7 and 3.5+ as well as PyPy 2.6+. -pynacl: -pynacl: -pynacl: Homepage: https://pypi.org/project/PyNaCl/ -pynacl: -pynacl: diff --git a/python/pypy/pypy.SlackBuild b/python/pypy/pypy.SlackBuild index ecd4bd17ba..c206af43c2 100644 --- a/python/pypy/pypy.SlackBuild +++ b/python/pypy/pypy.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pypy -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy2.7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/pypy/pypy.info b/python/pypy/pypy.info index 4e68a8c059..241191ad0b 100644 --- a/python/pypy/pypy.info +++ b/python/pypy/pypy.info @@ -1,10 +1,10 @@ PRGNAM="pypy" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.19-linux32.tar.bz2" -MD5SUM="a3a4d33760426da49906299a7f51a408" -DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy2.7-v7.3.19-linux64.tar.bz2" -MD5SUM_x86_64="c1341bda8cfbdaf43f65efc5fc2eaa15" +DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.20-linux32.tar.bz2" +MD5SUM="5e953cb16a351e6038579c9b26147a5c" +DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy2.7-v7.3.20-linux64.tar.bz2" +MD5SUM_x86_64="f6cde5e73cafada0be86c91b16a31ded" REQUIRES="" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/pypy3/pypy3.SlackBuild b/python/pypy3/pypy3.SlackBuild index 2f44efbd43..60fea03e19 100644 --- a/python/pypy3/pypy3.SlackBuild +++ b/python/pypy3/pypy3.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pypy3 -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy3.11 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/pypy3/pypy3.info b/python/pypy3/pypy3.info index 8bb11d2844..7680104a05 100644 --- a/python/pypy3/pypy3.info +++ b/python/pypy3/pypy3.info @@ -1,10 +1,10 @@ PRGNAM="pypy3" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.19-linux32.tar.bz2" -MD5SUM="2538510ef91085d41f8cd53a832fbc61" -DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy3.11-v7.3.19-linux64.tar.bz2" -MD5SUM_x86_64="01e5b6f81aaa35597cfd50c066953b57" +DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.20-linux32.tar.bz2" +MD5SUM="687f9d186e09e64ab66f74510a6c85b1" +DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy3.11-v7.3.20-linux64.tar.bz2" +MD5SUM_x86_64="673acfb14da9b9277d0b760f638396ff" REQUIRES="" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/pyscard/pyscard.SlackBuild b/python/pyscard/pyscard.SlackBuild index 70026bff19..c01e3a691e 100644 --- a/python/pyscard/pyscard.SlackBuild +++ b/python/pyscard/pyscard.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyscard -VERSION=${VERSION:-2.2.2} +VERSION=${VERSION:-2.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -67,13 +64,11 @@ find -L . \ python3 setup.py install --root=$PKG -# Strip binaries and libraries. 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 -# Build additional documentation if [ "${DOCS:-no}" != "no" ]; then sphinx-build src/smartcard/doc $PKG/usr/doc/$PRGNAM-$VERSION/html rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,.doctrees,objects.inv} @@ -84,10 +79,8 @@ cp -aR \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Copy the slack-desc into ./install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -# Make the package cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/pyscard/pyscard.info b/python/pyscard/pyscard.info index e6ee60f177..c364ff6aeb 100644 --- a/python/pyscard/pyscard.info +++ b/python/pyscard/pyscard.info @@ -1,8 +1,8 @@ PRGNAM="pyscard" -VERSION="2.2.2" +VERSION="2.3.1" HOMEPAGE="https://pyscard.sourceforge.io/" -DOWNLOAD="https://github.com/LudovicRousseau/pyscard/archive/2.2.2/pyscard-2.2.2.tar.gz" -MD5SUM="ec069f394f523f4171fdf1e5607c0302" +DOWNLOAD="https://github.com/LudovicRousseau/pyscard/archive/2.3.1/pyscard-2.3.1.tar.gz" +MD5SUM="177da11ea5663c07434116c12002797c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pcsc-lite" diff --git a/python/pyside2-tools/README b/python/pyside2-tools/README new file mode 100644 index 0000000000..2e1c52cc36 --- /dev/null +++ b/python/pyside2-tools/README @@ -0,0 +1 @@ +PySide2 development tools (pyuic and pyrcc) diff --git a/python/pyside2-tools/get-pyside2-tools.sh b/python/pyside2-tools/get-pyside2-tools.sh new file mode 100644 index 0000000000..8ea465a7e6 --- /dev/null +++ b/python/pyside2-tools/get-pyside2-tools.sh @@ -0,0 +1,43 @@ +#!/bin/sh + +# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# Adapted for pyside2-tools 2025 Christoph Willing, Sydney Australia + +# Clear download area: +rm -rf pyside2-tools + +# Clone repository: +git clone https://github.com/pyside/pyside2-tools.git + +HEADISAT="$( cd pyside2-tools && git log -1 --format=%h )" +DATE="$( cd pyside2-tools && git log -1 --format=%cd --date=format:%Y%m%d )" + +# Cleanup. We're not packing up the whole git repo. +( cd pyside2-tools && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null ) +mv pyside2-tools pyside2-tools-${DATE}_${HEADISAT} +tar cf pyside2-tools-${DATE}_${HEADISAT}.tar pyside2-tools-${DATE}_${HEADISAT} +plzip -9 pyside2-tools-${DATE}_${HEADISAT}.tar +rm -rf pyside2-tools-${DATE}_${HEADISAT} +touch -d "$DATE" pyside2-tools-${DATE}_${HEADISAT}.tar.lz +echo +echo "pyside2-tools branch $BRANCH with HEAD at $HEADISAT packaged as pyside2-tools-${DATE}_${HEADISAT}.tar.lz" +echo diff --git a/python/pyside2-tools/pyside2-tools.SlackBuild b/python/pyside2-tools/pyside2-tools.SlackBuild new file mode 100644 index 0000000000..931c8c52e4 --- /dev/null +++ b/python/pyside2-tools/pyside2-tools.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/bash + +# Slackware build script for pyside2-tools + +# Copyright 2025 Christoph Willing, Sydney Australia +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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=pyside2-tools +VERSION=${VERSION:-20170308_f68388c} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi +SLKCFLAGS="$SLKCFLAGS -Wno-deprecated-declarations" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.lz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +sed -i -e 's:#!/usr/bin/env python:#!/usr/bin/env python3:' pyside2-uic +sed -i -e 's:getiterator:iter:' pyside2uic/uiparser.py + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +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/man/man1 +mv $PKG/usr/share/man/man1/* $PKG/usr/man/man1/ && rm -rf $PKG/usr/share +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/pyside2-tools/pyside2-tools.info b/python/pyside2-tools/pyside2-tools.info new file mode 100644 index 0000000000..e16b55e4b0 --- /dev/null +++ b/python/pyside2-tools/pyside2-tools.info @@ -0,0 +1,10 @@ +PRGNAM="pyside2-tools" +VERSION="20170308_f68388c" +HOMEPAGE="https://github.com/pyside/pyside2-tools" +DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/pyside2-tools/pyside2-tools-20170308_f68388c.tar.lz" +MD5SUM="7be22570389eef38d7111328c7a65117" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="pyside2" +MAINTAINER="Christoph Willing" +EMAIL="chris.willing@linux.com" diff --git a/python/pyside2-tools/slack-desc b/python/pyside2-tools/slack-desc new file mode 100644 index 0000000000..eaf4f128d9 --- /dev/null +++ b/python/pyside2-tools/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +pyside2-tools: pyside2-tools (pyside2 development tools) +pyside2-tools: +pyside2-tools: PySide2 development tools (pyuic and pyrcc) +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: diff --git a/python/pyside2/Modify-sendCommand-signatures.patch b/python/pyside2/Modify-sendCommand-signatures.patch new file mode 100644 index 0000000000..7465b109f8 --- /dev/null +++ b/python/pyside2/Modify-sendCommand-signatures.patch @@ -0,0 +1,41 @@ +From: Dmitry Shachnev <mitya57@debian.org> +Date: Sun, 4 Feb 2024 00:29:00 +0300 +Subject: Modify sendCommand signatures to use 0 as default value + +The original default value was QNodeCommand::CommandId(), and shiboken +copies it verbatim from the header file, however it does not work because +we do not generate "using namespace Qt3DCore;". + +0 is the same as QNodeCommand::CommandId(). +--- + sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml +index 8696a12..310595f 100644 +--- a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml ++++ b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml +@@ -58,6 +58,11 @@ + <object-type name="QAspectJob"/> + <object-type name="QBackendNode"> + <enum-type name="Mode"/> ++ <modify-function signature="sendCommand(const QString&,const QVariant&,unsigned long long)"> ++ <modify-argument index="3"> ++ <replace-default-expression with="0"/> ++ </modify-argument> ++ </modify-function> + </object-type> + <!-- TODO: Solve issues related to windows and a unresolved + external symbol +@@ -82,6 +87,11 @@ + </object-type> + <object-type name="QNode"> + <enum-type name="PropertyTrackingMode"/> ++ <modify-function signature="sendCommand(const QString&,const QVariant&,unsigned long long)"> ++ <modify-argument index="3"> ++ <replace-default-expression with="0"/> ++ </modify-argument> ++ </modify-function> + </object-type> + <object-type name="QNodeCommand" since="5.10"/> + <object-type name="QNodeCreatedChangeBase"/> diff --git a/python/pyside2/pyside2.SlackBuild b/python/pyside2/pyside2.SlackBuild index b1991bd9cf..94b1ffae07 100644 --- a/python/pyside2/pyside2.SlackBuild +++ b/python/pyside2/pyside2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyside2 -# Copyright 2021-2023 Christoph Willing Brisbane, Australia +# Copyright 2021-2025 Christoph Willing, Sydney Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,11 +26,16 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyside2 SRCNAM=pyside-setup-opensource-src -VERSION=${VERSION:-5.15.10} +VERSION=${VERSION:-5.15.17} +SRCNAM_PATCHES=pyside2 +SRCNAM_PATCHES_VERSION=5.15.16-3.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +PYTHON_VERSION=${PYTHON_VERSION:-$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')} +PYTHON_LIB_PATH=$(python3 -c "from sysconfig import get_path; print(get_path('platlib'))") + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -39,9 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -65,6 +67,11 @@ else LIBDIRSUFFIX="" fi +cmake_policy_version="" +if pkg-config --atleast-version 1.2.14 alsa ; then + cmake_policy_version="-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ; +fi + set -e rm -rf $PKG @@ -72,7 +79,12 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-${VERSION%.*} tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -cd $SRCNAM-${VERSION}/sources/$PRGNAM +cd $SRCNAM-${VERSION} + +tar xvf $CWD/${SRCNAM_PATCHES}_${SRCNAM_PATCHES_VERSION}.debian.tar.xz +while read -r patch ; do patch -Np1 -i debian/patches/$patch ; done <debian/patches/series +patch -Np1 < $CWD/Modify-sendCommand-signatures.patch + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -82,26 +94,29 @@ find -L . \ mkdir -p build cd build - export CC=/usr/bin/clang - export CXX=/usr/bin/clang++ cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib64 \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DPYTHON_EXECUTABLE=/usr/bin/python3 \ + $cmake_policy_version \ + -DUSE_PYTHON_VERSION=$PYTHON_VERSION \ -DBUILD_TESTS=OFF \ -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG + cmake --build sources/$PRGNAM + DESTDIR=$PKG cmake --install sources/$PRGNAM cd .. +python setup.py egg_info --build-type=pyside2 +mkdir -p $PKG/$PYTHON_LIB_PATH +mv PySide2.egg-info $PKG/$PYTHON_LIB_PATH/ 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 \ - COPYING doc/faq.rst doc \ + sources/$PRGNAM/{COPYING,doc} \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/pyside2/pyside2.info b/python/pyside2/pyside2.info index 25362e0b00..5e30fccd95 100644 --- a/python/pyside2/pyside2.info +++ b/python/pyside2/pyside2.info @@ -1,8 +1,10 @@ PRGNAM="pyside2" -VERSION="5.15.10" +VERSION="5.15.17" HOMEPAGE="https://wiki.qt.io/Qt_for_Python" -DOWNLOAD="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.10-src/pyside-setup-opensource-src-5.15.10.tar.xz" -MD5SUM="60441c2baeccb932ee0636034989ae57" +DOWNLOAD="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.17-src/pyside-setup-opensource-src-5.15.17.tar.xz \ + https://deb.debian.org/debian/pool/main/p/pyside2/pyside2_5.15.16-3.1.debian.tar.xz" +MD5SUM="706dfb88f55768f3944b0eb6737957b2 \ + 405c58187f66358ed7e1d323eebc3c6f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="shiboken2" diff --git a/python/python-bitstring/python-bitstring.SlackBuild b/python/python-bitstring/python-bitstring.SlackBuild index 632bb0b990..e6930419c0 100644 --- a/python/python-bitstring/python-bitstring.SlackBuild +++ b/python/python-bitstring/python-bitstring.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-bitstring -# Copyright 2020 nomnombtc <nomnombtc@arcor.de> +# Copyright 2020-2025 nomnombtc <nomnombtc@arcor.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-bitstring SRCNAM=bitstring -VERSION=${VERSION:-3.1.9} +VERSION=${VERSION:-4.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -51,28 +48,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$SRCNAM-$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 \ @@ -80,18 +63,18 @@ 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 {} \; -python setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 \ - LICENSE README.rst release_notes.txt \ + LICENSE README.md release_notes.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python-bitstring/python-bitstring.info b/python/python-bitstring/python-bitstring.info index 80dd0f1748..7457700510 100644 --- a/python/python-bitstring/python-bitstring.info +++ b/python/python-bitstring/python-bitstring.info @@ -1,10 +1,10 @@ PRGNAM="python-bitstring" -VERSION="3.1.9" +VERSION="4.3.1" HOMEPAGE="https://github.com/scott-griffiths/bitstring" -DOWNLOAD="https://github.com/scott-griffiths/bitstring/archive/bitstring-3.1.9/bitstring-bitstring-3.1.9.tar.gz" -MD5SUM="6ff70e95efbcd28295dbabf6c71635d9" +DOWNLOAD="https://pypi.python.org/packages/source/b/bitstring/bitstring-4.3.1.tar.gz" +MD5SUM="83984560794188b0f1183e115890dd91" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt python3-bitarray" MAINTAINER="nomnombtc" EMAIL="nomnombtc@arcor.de" diff --git a/python/python-colour/python-colour.SlackBuild b/python/python-colour/python-colour.SlackBuild index aa5be78569..7ba42e5154 100644 --- a/python/python-colour/python-colour.SlackBuild +++ b/python/python-colour/python-colour.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-colour VERSION=${VERSION:-0.1.5} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,6 +84,11 @@ patch -p1 < $CWD/66.patch sed -i 's,python,python3,g' setup.py python3 setup.py install --root=$PKG +# Manually copy colour.py only on Slackware 15.0, where setuptools doesn't install it properly +if grep -Fxq "Slackware 15.0" /etc/slackware-version ; then + cp colour.py $PKG/usr/lib${LIBDIRSUFFIX}/python3.9/site-packages/ +fi + 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 diff --git a/python/python-distutils-extra/slack-desc b/python/python-distutils-extra/slack-desc deleted file mode 100644 index 405e4e5dea..0000000000 --- a/python/python-distutils-extra/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-distutils-extra: python-distutils-extra (python library) -python-distutils-extra: -python-distutils-extra: Python-distutils-extra allows to easily integrate themable icons, -python-distutils-extra: scrollkeeper based documentation and gettext based translations in -python-distutils-extra: your python install and build tools. It can be used with python's -python-distutils-extra: distutils or the enhanced setuptools. -python-distutils-extra: -python-distutils-extra: Homepage: https://launchpad.net/python-distutils-extra -python-distutils-extra: -python-distutils-extra: -python-distutils-extra: diff --git a/python/python-fido2/README b/python/python-fido2/README index 4965b35398..8ab6aa779e 100644 --- a/python/python-fido2/README +++ b/python/python-fido2/README @@ -10,3 +10,7 @@ an Authenticator, or when implementing WebAuthn support for a Relying Party. pyscard is an optional dependency. + +Version 1.2.0 is the last version supported by Slackware 15. Version +2.0.0 and newer require Python 3.10+, while Slackware 15 only has +Python 3.9. diff --git a/python/python-gssapi/python-gssapi.SlackBuild b/python/python-gssapi/python-gssapi.SlackBuild index 6566af8de6..668501e8c5 100644 --- a/python/python-gssapi/python-gssapi.SlackBuild +++ b/python/python-gssapi/python-gssapi.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-gssapi -VERSION=${VERSION:-1.9.0} +VERSION=${VERSION:-1.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-gssapi/python-gssapi.info b/python/python-gssapi/python-gssapi.info index a78943919e..6929557bf9 100644 --- a/python/python-gssapi/python-gssapi.info +++ b/python/python-gssapi/python-gssapi.info @@ -1,8 +1,8 @@ PRGNAM="python-gssapi" -VERSION="1.9.0" +VERSION="1.10.1" HOMEPAGE="https://github.com/pythongssapi/python-gssapi" -DOWNLOAD="https://github.com/pythongssapi/python-gssapi/archive/v1.9.0/python-gssapi-1.9.0.tar.gz" -MD5SUM="98b95fd52ef8c7c585045a17406cbee1" +DOWNLOAD="https://github.com/pythongssapi/python-gssapi/archive/v1.10.1/python-gssapi-1.10.1.tar.gz" +MD5SUM="78ba11bd123b03542469057ae4652abb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-decorator" diff --git a/python/python-unicodedata2/python-unicodedata2.SlackBuild b/python/python-unicodedata2/python-unicodedata2.SlackBuild index 20b709e035..40da4185c1 100644 --- a/python/python-unicodedata2/python-unicodedata2.SlackBuild +++ b/python/python-unicodedata2/python-unicodedata2.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-unicodedata2 SRCNAM=unicodedata2 -VERSION=${VERSION:-16.0.0} +VERSION=${VERSION:-17.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-unicodedata2/python-unicodedata2.info b/python/python-unicodedata2/python-unicodedata2.info index f80ccc8afd..2a5c1ae444 100644 --- a/python/python-unicodedata2/python-unicodedata2.info +++ b/python/python-unicodedata2/python-unicodedata2.info @@ -1,8 +1,8 @@ PRGNAM="python-unicodedata2" -VERSION="16.0.0" +VERSION="17.0.0" HOMEPAGE="https://pypi.python.org/pypi/unicodedata2" -DOWNLOAD="https://files.pythonhosted.org/packages/8c/c6/f1aa23ed42259789c1c9bdeac219bfe72cc3046c3fc39ad3155705f81d9b/unicodedata2-16.0.0.tar.gz" -MD5SUM="751d7fd41356e62d333eb219fc851e29" +DOWNLOAD="https://files.pythonhosted.org/packages/a8/cc/2c74acf574a46b00cb3868059d295ac258f5c48929e2bfb5086454abe7bc/unicodedata2-17.0.0.tar.gz" +MD5SUM="e832840a837dcc71d29fe0bf30760f0b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python-distutils-extra/README b/python/python2-distutils-extra/README index 5e652e923f..0ae2b0cbe1 100644 --- a/python/python-distutils-extra/README +++ b/python/python2-distutils-extra/README @@ -1,4 +1,4 @@ -Python-distutils-extra allows to easily integrate themable icons, -scrollkeeper based documentation, and gettext based translations in -your python install and build tools. It can be used with python's -distutils or the enhanced setuptools. +Python-distutils-extra allows to easily integrate themable icons, +scrollkeeper based documentation, and gettext based translations in +your python install and build tools. It can be used with python's +distutils or the enhanced setuptools. diff --git a/python/python2-distutils-extra/python2-distutils-extra.SlackBuild b/python/python2-distutils-extra/python2-distutils-extra.SlackBuild new file mode 100644 index 0000000000..dd1677603c --- /dev/null +++ b/python/python2-distutils-extra/python2-distutils-extra.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python2-distutils-extra + +# Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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=python2-distutils-extra +VERSION=${VERSION:-2.39} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=python-distutils-extra + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python2 setup.py install --root=$PKG + +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 LICENSE doc/{FAQ,README} $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python-distutils-extra/python-distutils-extra.info b/python/python2-distutils-extra/python2-distutils-extra.info index 925246eebf..1f04be3720 100644 --- a/python/python-distutils-extra/python-distutils-extra.info +++ b/python/python2-distutils-extra/python2-distutils-extra.info @@ -1,4 +1,4 @@ -PRGNAM="python-distutils-extra" +PRGNAM="python2-distutils-extra" VERSION="2.39" HOMEPAGE="https://launchpad.net/python-distutils-extra" DOWNLOAD="https://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz" diff --git a/python/python2-distutils-extra/slack-desc b/python/python2-distutils-extra/slack-desc new file mode 100644 index 0000000000..556d86a0a0 --- /dev/null +++ b/python/python2-distutils-extra/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-distutils-extra: python2-distutils-extra (python library) +python2-distutils-extra: +python2-distutils-extra: Python-distutils-extra allows to easily integrate themable icons, +python2-distutils-extra: scrollkeeper based documentation and gettext based translations in +python2-distutils-extra: your python install and build tools. It can be used with python's +python2-distutils-extra: distutils or the enhanced setuptools. +python2-distutils-extra: +python2-distutils-extra: Homepage: https://launchpad.net/python-distutils-extra +python2-distutils-extra: +python2-distutils-extra: +python2-distutils-extra: diff --git a/python/python2-gmpy2/python2-gmpy2.info b/python/python2-gmpy2/python2-gmpy2.info index 590d75ad64..caddb2f8b4 100644 --- a/python/python2-gmpy2/python2-gmpy2.info +++ b/python/python2-gmpy2/python2-gmpy2.info @@ -6,5 +6,5 @@ MD5SUM="0cd8e9d89c2f9d018eb52d2983abaeb4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python2-mpmath/python2-mpmath.SlackBuild b/python/python2-mpmath/python2-mpmath.SlackBuild index f3be7ebe1f..9dcbb7b1ed 100644 --- a/python/python2-mpmath/python2-mpmath.SlackBuild +++ b/python/python2-mpmath/python2-mpmath.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for python2-mpmath -# Copyright SlackBuilds.org Project, David Melik, 2015, Spokane, WA, USA +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2019-2023, Alexander Verbovetsky, Moscow, Russia +# Copyright SlackBuilds.org Project, David Melik, 2015, Spokane, WA, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python2-mpmath/python2-mpmath.info b/python/python2-mpmath/python2-mpmath.info index 496fb91d01..9cd7654749 100644 --- a/python/python2-mpmath/python2-mpmath.info +++ b/python/python2-mpmath/python2-mpmath.info @@ -6,5 +6,5 @@ MD5SUM="d5d17bbefea73eeb959967351d905306" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python2-setuptools-scm" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python2-neovim/python2-neovim.info b/python/python2-neovim/python2-neovim.info index 632ab27a6f..be1462184f 100644 --- a/python/python2-neovim/python2-neovim.info +++ b/python/python2-neovim/python2-neovim.info @@ -6,5 +6,5 @@ MD5SUM="b7370a5b3d2177d2b97ca48695ba1ae3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="greenlet msgpack-python" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python2-nuitka/README b/python/python2-nuitka/README new file mode 100644 index 0000000000..3134b000ce --- /dev/null +++ b/python/python2-nuitka/README @@ -0,0 +1,23 @@ +Nuitka is **the** Python compiler. It is written in Python. It is a +seamless replacement or extension to the Python interpreter and +compiles **every** construct that Python 2 (2.6, 2.7) and Python 3 +(3.4 - 3.13) have, when itself run with that Python version. + +It then executes uncompiled code and compiled code together in an +extremely compatible manner. + +You can use all Python library modules and all extension modules +freely. + +Nuitka translates the Python modules into a C level program that +then uses libpython and static C files of its own to execute in +the same way as CPython does. + +All optimization is aimed at avoiding overhead, where it's unnecessary. +None is aimed at removing compatibility, although slight improvements +will occasionally be done, where not every bug of standard Python is +emulated, e.g. more complete error messages are given, but there is a +full compatibility mode to disable even that. + +Note: executables are called called "nuitka2" and "nuitka2-run" +this is per design to avoid conflict with the python3-nuitka package. diff --git a/python/trezor/trezor.SlackBuild b/python/python2-nuitka/python2-nuitka.SlackBuild index 0de9cd6c29..74933a13dd 100644 --- a/python/trezor/trezor.SlackBuild +++ b/python/python2-nuitka/python2-nuitka.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for trezor +# Slackware build script for python2-nuitka -# Copyright (c) 2016-2017 Reedych <reedych@reedych.pw> +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=trezor -VERSION=${VERSION:-0.7.9.post1} +PRGNAM=python2-nuitka +VERSION=${VERSION:-2.8.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=python-$PRGNAM +TARBALL=Nuitka if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -52,28 +48,24 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi +# if [ "$ARCH" = "i586" ]; then +# SLKCFLAGS="-O2 -march=i586 -mtune=i686" +# elif [ "$ARCH" = "i686" ]; then +# SLKCFLAGS="-O2 -march=i686 -mtune=i686" +# elif [ "$ARCH" = "x86_64" ]; then +# SLKCFLAGS="-O2 -fPIC" +# else +# SLKCFLAGS="-O2" +# fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf ${TARBALL}-${VERSION} +tar xvf $CWD/${TARBALL}-${VERSION}.tar.?z +cd ${TARBALL}-${VERSION} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,13 +73,20 @@ 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 {} \; +python2 setup.py build python2 setup.py install --root=$PKG 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/man/man1 +cat doc/nuitka.1 | gzip > $PKG/usr/man/man1/nuitka2.1.gz +cat doc/nuitka-run.1 | gzip > $PKG/usr/man/man1/nuitka2-run.1.gz + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.txt README.rst Changelog.rst Developer_Manual.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python2-nuitka/python2-nuitka.info b/python/python2-nuitka/python2-nuitka.info new file mode 100644 index 0000000000..15a49a2cec --- /dev/null +++ b/python/python2-nuitka/python2-nuitka.info @@ -0,0 +1,10 @@ +PRGNAM="python2-nuitka" +VERSION="2.8.9" +HOMEPAGE="https://nuitka.net" +DOWNLOAD="https://github.com/Nuitka/Nuitka/archive/2.8.9/Nuitka-2.8.9.tar.gz" +MD5SUM="a0913963679d749ac73cfc1aaa79f895" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python2-nuitka/slack-desc b/python/python2-nuitka/slack-desc new file mode 100644 index 0000000000..5deecbd9cc --- /dev/null +++ b/python/python2-nuitka/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-nuitka: python2-nuitka (python compiler) +python2-nuitka: +python2-nuitka: Nuitka is the Python compiler. It is written in Python. It is a +python2-nuitka: seamless replacement or extension to the Python interpreter and +python2-nuitka: compiles every construct that Python 2 (2.6, 2.7) and Python 3 +python2-nuitka: (3.4 - 3.13) have, when itself run with that Python version. +python2-nuitka: +python2-nuitka: It then executes uncompiled code and compiled code together in +python2-nuitka: an extremely compatible manner. +python2-nuitka: +python2-nuitka: diff --git a/python/python2-pdfrw/python2-pdfrw.info b/python/python2-pdfrw/python2-pdfrw.info index faf64f7d41..caebce86dd 100644 --- a/python/python2-pdfrw/python2-pdfrw.info +++ b/python/python2-pdfrw/python2-pdfrw.info @@ -6,5 +6,5 @@ MD5SUM="8dc599a0c808a15f1499c0116ee3c92d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python2-pycdio/python2-pycdio.info b/python/python2-pycdio/python2-pycdio.info index 7559e5b03a..3e338370fe 100644 --- a/python/python2-pycdio/python2-pycdio.info +++ b/python/python2-pycdio/python2-pycdio.info @@ -6,5 +6,5 @@ MD5SUM="38e16c05d27a96d874812ad9fbea5fdf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python3-APScheduler/python3-APScheduler.SlackBuild b/python/python3-APScheduler/python3-APScheduler.SlackBuild index 3167a7a518..ddd99c4934 100644 --- a/python/python3-APScheduler/python3-APScheduler.SlackBuild +++ b/python/python3-APScheduler/python3-APScheduler.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-APScheduler -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-APScheduler SRCNAM=apscheduler -VERSION=${VERSION:-3.11.0} +VERSION=${VERSION:-3.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-APScheduler/python3-APScheduler.info b/python/python3-APScheduler/python3-APScheduler.info index 9e997c34f0..bc46e018ac 100644 --- a/python/python3-APScheduler/python3-APScheduler.info +++ b/python/python3-APScheduler/python3-APScheduler.info @@ -1,8 +1,8 @@ PRGNAM="python3-APScheduler" -VERSION="3.11.0" +VERSION="3.11.1" HOMEPAGE="https://pypi.python.org/pypi/APScheduler/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/apscheduler/apscheduler-3.11.0.tar.gz" -MD5SUM="1705663d09aeb1b174f964780c57520a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/apscheduler/apscheduler-3.11.1.tar.gz" +MD5SUM="ff8d1731e31d88e2e1fd0794099c920f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="tzlocal python3-setuptools-scm-opt" diff --git a/python/python3-BTrees/python3-BTrees.SlackBuild b/python/python3-BTrees/python3-BTrees.SlackBuild index 3bc9cf2ddd..2365e71a89 100644 --- a/python/python3-BTrees/python3-BTrees.SlackBuild +++ b/python/python3-BTrees/python3-BTrees.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-BTrees SRCNAM=btrees -VERSION=${VERSION:-6.1} +VERSION=${VERSION:-6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-BTrees/python3-BTrees.info b/python/python3-BTrees/python3-BTrees.info index a57a23276d..f37121e3d1 100644 --- a/python/python3-BTrees/python3-BTrees.info +++ b/python/python3-BTrees/python3-BTrees.info @@ -1,8 +1,8 @@ PRGNAM="python3-BTrees" -VERSION="6.1" +VERSION="6.2" HOMEPAGE="https://github.com/zopefoundation/BTrees" -DOWNLOAD="https://pypi.python.org/packages/source/b/btrees/btrees-6.1.tar.gz" -MD5SUM="ab57ba07f73fc5b977421719218649f6" +DOWNLOAD="https://pypi.python.org/packages/source/b/btrees/btrees-6.2.tar.gz" +MD5SUM="d0384f1dc9c92ce6407ef6a8845e0700" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-persistent" diff --git a/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild b/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild index b7815154a0..ed58772afe 100644 --- a/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild +++ b/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-Flask-Cors SRCNAM=flask_cors -VERSION=${VERSION:-6.0.0} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-Flask-Cors/python3-Flask-Cors.info b/python/python3-Flask-Cors/python3-Flask-Cors.info index fab45b16a4..35550a9e52 100644 --- a/python/python3-Flask-Cors/python3-Flask-Cors.info +++ b/python/python3-Flask-Cors/python3-Flask-Cors.info @@ -1,8 +1,8 @@ PRGNAM="python3-Flask-Cors" -VERSION="6.0.0" +VERSION="6.0.1" HOMEPAGE="https://github.com/corydolphin/flask-cors" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask_cors/flask_cors-6.0.0.tar.gz" -MD5SUM="e95f57649580d7cc894e6fc42c99ffb0" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask_cors/flask_cors-6.0.1.tar.gz" +MD5SUM="2879503d54f25a4cacb62f7060b96e14" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="Flask" diff --git a/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild b/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild index c086862cae..48a2c169ed 100644 --- a/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild +++ b/python/python3-Flask-RESTX/python3-Flask-RESTX.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-Flask-RESTX SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) python3 setup.py install --root=$PKG diff --git a/python/python3-Flask-RESTX/python3-Flask-RESTX.info b/python/python3-Flask-RESTX/python3-Flask-RESTX.info index 6e5be3393b..0c2c2cf067 100644 --- a/python/python3-Flask-RESTX/python3-Flask-RESTX.info +++ b/python/python3-Flask-RESTX/python3-Flask-RESTX.info @@ -1,8 +1,8 @@ PRGNAM="python3-Flask-RESTX" -VERSION="1.3.0" +VERSION="1.3.2" HOMEPAGE="https://github.com/python-restx/flask-restx" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-restx/flask-restx-1.3.0.tar.gz" -MD5SUM="262984a0c902db0b6f4afb86a69ea40e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-restx/flask-restx-1.3.2.tar.gz" +MD5SUM="3fe0cd948ae1a0ebcbca569daf069586" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-aniso8601 Flask python3-jsonschema python3-pytz importlib-resources" diff --git a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild index 29b1be6da6..0fa5c4b29c 100644 --- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild +++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-Flask-Security-Too SRCNAM=flask_security_too -VERSION=${VERSION:-5.6.2} +VERSION=${VERSION:-5.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,11 +58,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) # transitional issue as project is dropping the "too" at some point mv pyproject-too.toml pyproject.toml diff --git a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info index 52fa0be211..b32ca43a1a 100644 --- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info +++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info @@ -1,8 +1,8 @@ PRGNAM="python3-Flask-Security-Too" -VERSION="5.6.2" +VERSION="5.7.1" HOMEPAGE="https://github.com/Flask-Middleware/flask-security" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask_security_too/flask_security_too-5.6.2.tar.gz" -MD5SUM="a8efb5da56287a8ae97d60ec901bf29a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask_security_too/flask_security_too-5.7.1.tar.gz" +MD5SUM="944ed398b0ba8a821db4e6b8eba39bde" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-Flask-Login python3-Flask-Principal python3-Flask-WTF python3-passlib email-validator importlib-resources" diff --git a/python/python3-PyGithub/python3-PyGithub.SlackBuild b/python/python3-PyGithub/python3-PyGithub.SlackBuild index 88f85b2d4a..f0f64ee753 100644 --- a/python/python3-PyGithub/python3-PyGithub.SlackBuild +++ b/python/python3-PyGithub/python3-PyGithub.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-PyGithub -VERSION=${VERSION:-2.6.1} +VERSION=${VERSION:-2.8.1} SRCNAM=${SRCNAM:-PyGithub} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-PyGithub/python3-PyGithub.info b/python/python3-PyGithub/python3-PyGithub.info index 7239d15a41..fab24da35a 100644 --- a/python/python3-PyGithub/python3-PyGithub.info +++ b/python/python3-PyGithub/python3-PyGithub.info @@ -1,10 +1,10 @@ PRGNAM="python3-PyGithub" -VERSION="2.6.1" +VERSION="2.8.1" HOMEPAGE="https://pygithub.readthedocs.io/" -DOWNLOAD="https://github.com/PyGithub/PyGithub/archive/refs/tags/v2.6.1/PyGithub-2.6.1.tar.gz" -MD5SUM="a9db29963b81d45cf75465d49406c8d0" +DOWNLOAD="https://github.com/PyGithub/PyGithub/archive/refs/tags/v2.8.1/PyGithub-2.8.1.tar.gz" +MD5SUM="c7edbc6855b486d2aa3b48d1eb2ff387" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-deprecated python3-pyjwt pynacl python3-setuptools-scm-opt" +REQUIRES="python3-deprecated python3-pyjwt python3-pynacl python3-setuptools-scm-opt" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-PyMuPDF/README b/python/python3-PyMuPDF/README index 9a35043dd8..2ff839af0c 100644 --- a/python/python3-PyMuPDF/README +++ b/python/python3-PyMuPDF/README @@ -1,3 +1,5 @@ +python3-PyMuPDF (python bindings for mupdf) + PyMuPDF adds Python bindings and abstractions to MuPDF, a lightweight PDF, XPS, and eBook viewer, renderer, and toolkit. Both PyMuPDF and MuPDF are maintained and developed by Artifex Software, Inc. @@ -22,3 +24,7 @@ To enable Tesseract OCR functions in PyMuPDF, the software must be installed and the system environment variable TESSDATA_PREFIX must be defined as follows: export TESSDATA_PREFIX=/usr/share/tessdata + +Note: this is not the latest version of PyMuPDF. It is the latest +version that will build on Slackware 15.0. Please don't ask for an +upgrade unless you include a patch in your email. diff --git a/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild b/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild index 89c74cdaab..7ca63578da 100644 --- a/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild +++ b/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild @@ -2,30 +2,28 @@ # Slackware build script for python3-PyMuPDF -# Copyright 2023-2024, Alexander Verbovetsky, Moscow, Russia -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Originally written by Alexander Verbovetsky. +# Modified and now maintained by B. Watson (urchlay@slackware.uk). +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20251109 bkw: +# - take over maintenance. +# - relicense as WTFPL (with permission from Alexander). +# - update for v1.24.11, which is the newest version I could get +# to build on 15.0. I suspect we'd need a newer swig for later +# versions. +# - simplify script. + +# Note to self: the PyMuPDF and mupdf version numbers are not kept in +# sync. Look at changes.txt in the PyMuPDF tarball to find the correct +# version of mupdf (and set MUVER to that). cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-PyMuPDF -VERSION=${VERSION:-1.24.10} +SRCNAM=PyMuPDF +VERSION=${VERSION:-1.24.11} +MUVER=${MUVER:-1.24.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,32 +50,30 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM:8}-$VERSION mupdf* -tar xvf $CWD/mupdf-*-source.tar.lz -mv mupdf* mupdf -tar xvf $CWD/${PRGNAM:8}-$VERSION.tar.gz -cd ${PRGNAM:8}-$VERSION -chown -R root:root . ../mupdf -find -L . ../mupdf \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -sed -i -e "s/ret.append([ ]*'libclang'[ ]*)/pass/" \ - -e "s/ret.append([ ]*'swig'[ ]*)/pass/" \ - setup.py - -export PYMUPDF_SETUP_MUPDF_BUILD=../mupdf +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +tar xvf $CWD/mupdf-$MUVER-source.tar.lz +chown -R root:root . +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) + +cd $SRCNAM-$VERSION + +sed -i.bak "s/ret.append([ ]*'\\(libclang\\|swig\\)'[ ]*)/pass/" setup.py + +export PYMUPDF_SETUP_MUPDF_BUILD=../mupdf-$MUVER-source python3 -m build --wheel --no-isolation python3 -m installer --destdir "$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 +strip $PKG/usr/lib*/python3*/site-packages/pymupdf/* &>/dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README* changes.txt docs $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a README* changes.txt docs $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/python3-PyMuPDF/python3-PyMuPDF.info b/python/python3-PyMuPDF/python3-PyMuPDF.info index a8d41d76a3..84c30fe451 100644 --- a/python/python3-PyMuPDF/python3-PyMuPDF.info +++ b/python/python3-PyMuPDF/python3-PyMuPDF.info @@ -1,12 +1,12 @@ PRGNAM="python3-PyMuPDF" -VERSION="1.24.10" +VERSION="1.24.11" HOMEPAGE="https://github.com/pymupdf/PyMuPDF" -DOWNLOAD="https://github.com/pymupdf/PyMuPDF/archive/1.24.10/PyMuPDF-1.24.10.tar.gz \ - https://mupdf.com/downloads/archive/mupdf-1.24.9-source.tar.lz" -MD5SUM="f25c2be01fb95165ad74f329c070b5cf \ - 72bb7fcb940cacd28e640ea86f081895" +DOWNLOAD="https://github.com/pymupdf/PyMuPDF/archive/1.24.11/PyMuPDF-1.24.11.tar.gz \ + https://mupdf.com/downloads/archive/mupdf-1.24.10-source.tar.lz" +MD5SUM="a40719a5d773b6f781c5647d1449fc93 \ + 9634ed1444943a62796c68ec25507619" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-psutil %README%" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/python/python3-PySimpleGUI/README b/python/python3-PySimpleGUI/README deleted file mode 100644 index 3f29e9a958..0000000000 --- a/python/python3-PySimpleGUI/README +++ /dev/null @@ -1,5 +0,0 @@ -PySimpleGUI is a Python library that allows Python programmers of any -level to create graphical interfaces. It has extensive documentation. - -Starting with version 5, PySimpleGUI moved to a commercial model, the -latest free version is 4.60.5. diff --git a/python/python3-PySimpleGUI/python3-PySimpleGUI.info b/python/python3-PySimpleGUI/python3-PySimpleGUI.info deleted file mode 100644 index 3a57320edd..0000000000 --- a/python/python3-PySimpleGUI/python3-PySimpleGUI.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-PySimpleGUI" -VERSION="4.60.5" -HOMEPAGE="https://github.com/PySimpleGUI/PySimpleGUI" -DOWNLOAD="https://pypi.python.org/packages/source/P/PySimpleGUI/PySimpleGUI-4.60.5.tar.gz" -MD5SUM="76d9956dce398cb966f439f06d3b4939" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" diff --git a/python/python3-ZEO/python3-ZEO.SlackBuild b/python/python3-ZEO/python3-ZEO.SlackBuild index 614b88f913..4f608a6b06 100644 --- a/python/python3-ZEO/python3-ZEO.SlackBuild +++ b/python/python3-ZEO/python3-ZEO.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-ZEO -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-6.0.0} +SRCNAM=zeo +VERSION=${VERSION:-6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-ZEO/python3-ZEO.info b/python/python3-ZEO/python3-ZEO.info index f3b80f7210..8abebfa051 100644 --- a/python/python3-ZEO/python3-ZEO.info +++ b/python/python3-ZEO/python3-ZEO.info @@ -1,8 +1,8 @@ PRGNAM="python3-ZEO" -VERSION="6.0.0" +VERSION="6.1" HOMEPAGE="https://github.com/zopefoundation/ZEO" -DOWNLOAD="https://pypi.python.org/packages/source/Z/ZEO/ZEO-6.0.0.tar.gz" -MD5SUM="d13665162cbdc42abfaa8e61305efc67" +DOWNLOAD="https://pypi.python.org/packages/source/z/zeo/zeo-6.1.tar.gz" +MD5SUM="1e255d4cc348ad4e1f740ccb484eba5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-ZODB python3-zdaemon" diff --git a/python/python3-ZODB/python3-ZODB.SlackBuild b/python/python3-ZODB/python3-ZODB.SlackBuild index 9e777d2c75..a3ee1e1690 100644 --- a/python/python3-ZODB/python3-ZODB.SlackBuild +++ b/python/python3-ZODB/python3-ZODB.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-ZODB SRCNAM=zodb -VERSION=${VERSION:-6.0.1} +VERSION=${VERSION:-6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-ZODB/python3-ZODB.info b/python/python3-ZODB/python3-ZODB.info index 4fc491f635..54b79f2d42 100644 --- a/python/python3-ZODB/python3-ZODB.info +++ b/python/python3-ZODB/python3-ZODB.info @@ -1,8 +1,8 @@ PRGNAM="python3-ZODB" -VERSION="6.0.1" +VERSION="6.1" HOMEPAGE="http://www.zodb.org" -DOWNLOAD="https://pypi.python.org/packages/source/z/zodb/zodb-6.0.1.tar.gz" -MD5SUM="2d4d61cc48c56a3234c918d11d454aef" +DOWNLOAD="https://pypi.python.org/packages/source/z/zodb/zodb-6.1.tar.gz" +MD5SUM="885fa2f5c95dd1b12dde5ca330c0a1a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-BTrees python3-transaction python3-zc.lockfile python3-ZConfig python3-zodbpickle" diff --git a/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild b/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild index 3e9b14a76c..ac70643e97 100644 --- a/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild +++ b/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-aiohttp-socks -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-0.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-aiohttp-socks/python3-aiohttp-socks.info b/python/python3-aiohttp-socks/python3-aiohttp-socks.info index 474ff77000..0729d709e0 100644 --- a/python/python3-aiohttp-socks/python3-aiohttp-socks.info +++ b/python/python3-aiohttp-socks/python3-aiohttp-socks.info @@ -1,8 +1,8 @@ PRGNAM="python3-aiohttp-socks" -VERSION="0.10.1" +VERSION="0.11.0" HOMEPAGE="https://github.com/romis2012/aiohttp-socks/" -DOWNLOAD="https://github.com/romis2012/aiohttp-socks/archive/v0.10.1/aiohttp-socks-0.10.1.tar.gz" -MD5SUM="4ad359bcf23071e240ef5c694e0e749d" +DOWNLOAD="https://github.com/romis2012/aiohttp-socks/archive/v0.11.0/aiohttp-socks-0.11.0.tar.gz" +MD5SUM="984af91af0b8d455a4d5aeeb529ca52d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-aiohttp python3-socks" diff --git a/python/python3-aiohttp/python3-aiohttp.SlackBuild b/python/python3-aiohttp/python3-aiohttp.SlackBuild index f522f0585e..4b8f40430c 100644 --- a/python/python3-aiohttp/python3-aiohttp.SlackBuild +++ b/python/python3-aiohttp/python3-aiohttp.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-aiohttp -VERSION=${VERSION:-3.12.4} +VERSION=${VERSION:-3.13.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,6 +65,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 --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-aiohttp/python3-aiohttp.info b/python/python3-aiohttp/python3-aiohttp.info index 93db1c638b..2a2d96f0e9 100644 --- a/python/python3-aiohttp/python3-aiohttp.info +++ b/python/python3-aiohttp/python3-aiohttp.info @@ -1,10 +1,10 @@ PRGNAM="python3-aiohttp" -VERSION="3.12.4" +VERSION="3.13.2" HOMEPAGE="https://aiohttp.readthedocs.io/en/stable/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.12.4.tar.gz" -MD5SUM="ddeb11fbeba209e3077fa26aa5394be7" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.13.2.tar.gz" +MD5SUM="336f47ec48aff07052a7f1dcf38dfbac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-aiohappyeyeballs python3-aiosignal python3-async-timeout python3-attrs python3-pkgconfig python3-yarl" +REQUIRES="python3-aiohappyeyeballs python3-aiosignal python3-async-timeout python3-attrs python3-pkgconfig python3-setuptools-opt python3-yarl" MAINTAINER="Jay Lanagan" EMAIL="j@lngn.net" diff --git a/python/python3-aiosignal/python3-aiosignal.SlackBuild b/python/python3-aiosignal/python3-aiosignal.SlackBuild index 833b11ec9d..323f60ceab 100644 --- a/python/python3-aiosignal/python3-aiosignal.SlackBuild +++ b/python/python3-aiosignal/python3-aiosignal.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-aiosignal -VERSION=${VERSION:-1.3.2} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-aiosignal/python3-aiosignal.info b/python/python3-aiosignal/python3-aiosignal.info index 1bf740fd0f..cd88a45001 100644 --- a/python/python3-aiosignal/python3-aiosignal.info +++ b/python/python3-aiosignal/python3-aiosignal.info @@ -1,8 +1,8 @@ PRGNAM="python3-aiosignal" -VERSION="1.3.2" +VERSION="1.4.0" HOMEPAGE="https://github.com/aio-libs/aiosignal" -DOWNLOAD="https://github.com/aio-libs/aiosignal/releases/download/v1.3.2/aiosignal-1.3.2.tar.gz" -MD5SUM="b40f0e0d5d442b6c1bc79e4e4c8eb7a6" +DOWNLOAD="https://github.com/aio-libs/aiosignal/releases/download/v1.4.0/aiosignal-1.4.0.tar.gz" +MD5SUM="9c692735b1422a94f16bd066ebf1fb7c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-frozenlist" diff --git a/python/python3-alembic/python3-alembic.SlackBuild b/python/python3-alembic/python3-alembic.SlackBuild index 9e93820966..82986312f8 100644 --- a/python/python3-alembic/python3-alembic.SlackBuild +++ b/python/python3-alembic/python3-alembic.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-alembic SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.16.1} +VERSION=${VERSION:-1.17.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-alembic/python3-alembic.info b/python/python3-alembic/python3-alembic.info index bb58537372..675eacc44b 100644 --- a/python/python3-alembic/python3-alembic.info +++ b/python/python3-alembic/python3-alembic.info @@ -1,8 +1,8 @@ PRGNAM="python3-alembic" -VERSION="1.16.1" +VERSION="1.17.1" HOMEPAGE="https://pypi.org/project/alembic/" -DOWNLOAD="https://pypi.python.org/packages/source/a/alembic/alembic-1.16.1.tar.gz" -MD5SUM="8004ee24bce05019555cbdb94c92cb49" +DOWNLOAD="https://pypi.python.org/packages/source/a/alembic/alembic-1.17.1.tar.gz" +MD5SUM="a273b94a21e8a0809a5b3f06b6eb14cf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SQLAlchemy" diff --git a/python/python3-anyio/python3-anyio.SlackBuild b/python/python3-anyio/python3-anyio.SlackBuild index da03cda2db..f65eb83444 100644 --- a/python/python3-anyio/python3-anyio.SlackBuild +++ b/python/python3-anyio/python3-anyio.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-anyio -VERSION=${VERSION:-4.9.0} +VERSION=${VERSION:-4.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-anyio/python3-anyio.info b/python/python3-anyio/python3-anyio.info index 0fe7db3339..e0ef7474ae 100644 --- a/python/python3-anyio/python3-anyio.info +++ b/python/python3-anyio/python3-anyio.info @@ -1,8 +1,8 @@ PRGNAM="python3-anyio" -VERSION="4.9.0" +VERSION="4.12.0" HOMEPAGE="https://github.com/agronholm/anyio" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/anyio/anyio-4.9.0.tar.gz" -MD5SUM="d0e4db5f5e4041d1bc9664042b454218" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/anyio/anyio-4.12.0.tar.gz" +MD5SUM="a026af4a3b485699718761b1b44ad1df" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-exceptiongroup python3-sniffio" diff --git a/python/python3-anysqlite/README b/python/python3-anysqlite/README new file mode 100644 index 0000000000..17a0bda138 --- /dev/null +++ b/python/python3-anysqlite/README @@ -0,0 +1,5 @@ +python3-anysqlite (sqlite3 for asyncio and trio) + +Anysqlite provides an async/await interface to the standard sqlite3 +library and supports both trio and asyncio backends using the power +of Anyio. diff --git a/python/python3-anysqlite/python3-anysqlite.SlackBuild b/python/python3-anysqlite/python3-anysqlite.SlackBuild new file mode 100644 index 0000000000..d231e84478 --- /dev/null +++ b/python/python3-anysqlite/python3-anysqlite.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/bash + +# Slackware build script for python3-anysqlite + +# Copyright 2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-anysqlite +VERSION=${VERSION:-0.0.5} +SRCNAM=${SRCNAM:-anysqlite} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 --wheel --no-isolation +python3 -m installer --destdir=$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 \ + LICENSE.txt README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-anysqlite/python3-anysqlite.info b/python/python3-anysqlite/python3-anysqlite.info new file mode 100644 index 0000000000..08ca665ca6 --- /dev/null +++ b/python/python3-anysqlite/python3-anysqlite.info @@ -0,0 +1,10 @@ +PRGNAM="python3-anysqlite" +VERSION="0.0.5" +HOMEPAGE="https://github.com/karpetrosyan/anysqlite" +DOWNLOAD="https://github.com/karpetrosyan/anysqlite/archive/refs/tags/v0.0.5/anysqlite-0.0.5.tar.gz" +MD5SUM="bd9d22e7ddf36ca2461fd8efc0f8cd11" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-anyio python3-hatch_fancy_pypi_readme" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-pywayland/slack-desc b/python/python3-anysqlite/slack-desc index 1423a834b6..07159d1508 100644 --- a/python/python3-pywayland/slack-desc +++ b/python/python3-anysqlite/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -python3-pywayland: python3-pywayland (Python bindings for the libwayland library) -python3-pywayland: -python3-pywayland: PyWayland provides a wrapper to the libwayland library using the CFFI -python3-pywayland: library to provide access to the Wayland library calls and written in -python3-pywayland: pure Python. -python3-pywayland: -python3-pywayland: -python3-pywayland: -python3-pywayland: -python3-pywayland: -python3-pywayland: +python3-anysqlite: python3-anysqlite (sqlite3 for asyncio and trio) +python3-anysqlite: +python3-anysqlite: Anysqlite provides an async/await interface to the standard sqlite3 +python3-anysqlite: library and supports both trio and asyncio backends using the power +python3-anysqlite: of Anyio. +python3-anysqlite: +python3-anysqlite: HOMEPAGE: https://github.com/karpetrosyan/anysqlite +python3-anysqlite: +python3-anysqlite: +python3-anysqlite: +python3-anysqlite: diff --git a/python/python3-argcomplete/python3-argcomplete.SlackBuild b/python/python3-argcomplete/python3-argcomplete.SlackBuild index d1a51057d8..cfc792df62 100644 --- a/python/python3-argcomplete/python3-argcomplete.SlackBuild +++ b/python/python3-argcomplete/python3-argcomplete.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-argcomplete -VERSION=${VERSION:-3.6.2} +VERSION=${VERSION:-3.6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,9 +78,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -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 diff --git a/python/python3-argcomplete/python3-argcomplete.info b/python/python3-argcomplete/python3-argcomplete.info index 2ac78c6ce7..c0f669b55b 100644 --- a/python/python3-argcomplete/python3-argcomplete.info +++ b/python/python3-argcomplete/python3-argcomplete.info @@ -1,8 +1,8 @@ PRGNAM="python3-argcomplete" -VERSION="3.6.2" +VERSION="3.6.3" HOMEPAGE="https://github.com/kislyuk/argcomplete" -DOWNLOAD="https://pypi.io/packages/source/a/argcomplete/argcomplete-3.6.2.tar.gz" -MD5SUM="b2080e43d19ae6b4eecbca42baac0414" +DOWNLOAD="https://pypi.io/packages/source/a/argcomplete/argcomplete-3.6.3.tar.gz" +MD5SUM="0c612498a4b7b421aa870d47361e2322" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata python3-setuptools-opt python3-hatchling python3-hatch_vcs" diff --git a/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.SlackBuild b/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.SlackBuild index e1a8f6b086..333d3372e0 100644 --- a/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.SlackBuild +++ b/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-argon2-cffi-bindings -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-argon2-cffi-bindings -VERSION=${VERSION:-21.2.0} +VERSION=${VERSION:-25.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=argon2-cffi-bindings +SRCNAM=argon2_cffi_bindings if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -64,13 +64,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -ARGON2_CFFI_USE_SYSTEM=1 python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +ARGON2_CFFI_USE_SYSTEM=1 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 CHANGELOG.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.info b/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.info index 7076894ec2..16af1f9f1d 100644 --- a/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.info +++ b/python/python3-argon2-cffi-bindings/python3-argon2-cffi-bindings.info @@ -1,10 +1,10 @@ PRGNAM="python3-argon2-cffi-bindings" -VERSION="21.2.0" +VERSION="25.1.0" HOMEPAGE="https://github.com/hynek/argon2-cffi-bindings" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0.tar.gz" -MD5SUM="f1591e1af7dea9ef3e5b982e2c196c1d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/argon2_cffi_bindings/argon2_cffi_bindings-25.1.0.tar.gz" +MD5SUM="135e9e3b3a166e602bc0512899254894" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild b/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild index 0330792f14..d41528762e 100644 --- a/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild +++ b/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-argon2-cffi # Copyright 2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-argon2-cffi -VERSION=${VERSION:-23.1.0} +VERSION=${VERSION:-25.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-argon2-cffi/python3-argon2-cffi.info b/python/python3-argon2-cffi/python3-argon2-cffi.info index fc9c867cd0..59e595a72e 100644 --- a/python/python3-argon2-cffi/python3-argon2-cffi.info +++ b/python/python3-argon2-cffi/python3-argon2-cffi.info @@ -1,8 +1,8 @@ PRGNAM="python3-argon2-cffi" -VERSION="23.1.0" +VERSION="25.1.0" HOMEPAGE="https://argon2-cffi.readthedocs.io/" -DOWNLOAD="https://github.com/hynek/argon2-cffi/archive/23.1.0/argon2-cffi-23.1.0.tar.gz" -MD5SUM="62f6865b7b4624d96a568aafef5a37ff" +DOWNLOAD="https://github.com/hynek/argon2-cffi/archive/25.1.0/argon2-cffi-25.1.0.tar.gz" +MD5SUM="3cc5e0be3de4309467d1fb92a3776e2a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-argon2-cffi-bindings python3-hatch_vcs python3-hatch_fancy_pypi_readme" diff --git a/python/python3-arrow/python3-arrow.SlackBuild b/python/python3-arrow/python3-arrow.SlackBuild index fd397ca263..8f5935382f 100644 --- a/python/python3-arrow/python3-arrow.SlackBuild +++ b/python/python3-arrow/python3-arrow.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-arrow -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-arrow/python3-arrow.info b/python/python3-arrow/python3-arrow.info index 8f23eb7f3f..a411acff9f 100644 --- a/python/python3-arrow/python3-arrow.info +++ b/python/python3-arrow/python3-arrow.info @@ -1,10 +1,10 @@ PRGNAM="python3-arrow" -VERSION="1.3.0" +VERSION="1.4.0" HOMEPAGE="https://arrow.readthedocs.io/" -DOWNLOAD="https://github.com/crsmithdev/arrow/archive/1.3.0/arrow-1.3.0.tar.gz" -MD5SUM="0d0d1d9d008ddbfd94ca2db358bb0f7e" +DOWNLOAD="https://github.com/crsmithdev/arrow/archive/1.4.0/arrow-1.4.0.tar.gz" +MD5SUM="4087eccd81736f102e15563bfb583b84" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-dateutil python3-types-python-dateutil" +REQUIRES="python3-dateutil tzdata" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-atpublic/python3-atpublic.SlackBuild b/python/python3-atpublic/python3-atpublic.SlackBuild index 99ba4a9ccc..56b8777672 100644 --- a/python/python3-atpublic/python3-atpublic.SlackBuild +++ b/python/python3-atpublic/python3-atpublic.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-atpublic SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-6.0.1} +VERSION=${VERSION:-6.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-atpublic/python3-atpublic.info b/python/python3-atpublic/python3-atpublic.info index de63d9d414..bf3b23d900 100644 --- a/python/python3-atpublic/python3-atpublic.info +++ b/python/python3-atpublic/python3-atpublic.info @@ -1,8 +1,8 @@ PRGNAM="python3-atpublic" -VERSION="6.0.1" +VERSION="6.0.2" HOMEPAGE="https://public.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/a/atpublic/atpublic-6.0.1.tar.gz" -MD5SUM="1b6e0b69396f34ac963fbf4bc2154dd8" +DOWNLOAD="https://pypi.python.org/packages/source/a/atpublic/atpublic-6.0.2.tar.gz" +MD5SUM="22b1586fa03c39b90a29d79a392dacef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-attrs/python3-attrs.SlackBuild b/python/python3-attrs/python3-attrs.SlackBuild index 19b1724551..797c54e9dc 100644 --- a/python/python3-attrs/python3-attrs.SlackBuild +++ b/python/python3-attrs/python3-attrs.SlackBuild @@ -23,12 +23,13 @@ # 20220512 46and2: Updated version fixes issue with python3-klein. # 20240109 46and2: Updated version, changed to pep517 build. +# 20250531 46and2: Updated version. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-attrs SRCNAM=attrs -VERSION=${VERSION:-23.2.0} +VERSION=${VERSION:-25.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-attrs/python3-attrs.info b/python/python3-attrs/python3-attrs.info index 605986e38c..ce5401d0c8 100644 --- a/python/python3-attrs/python3-attrs.info +++ b/python/python3-attrs/python3-attrs.info @@ -1,8 +1,8 @@ PRGNAM="python3-attrs" -VERSION="23.2.0" +VERSION="25.3.0" HOMEPAGE="https://pypi.python.org/pypi/attrs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/attrs/attrs-23.2.0.tar.gz" -MD5SUM="60588a146fb413a997c7519d77198a5e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/attrs/attrs-25.3.0.tar.gz" +MD5SUM="173fe452e1fe986051d9bc194ed59525" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_fancy_pypi_readme python3-hatch_vcs" diff --git a/python/python3-autobahn/python3-autobahn.SlackBuild b/python/python3-autobahn/python3-autobahn.SlackBuild index a29fddd5e3..c6a2e18c15 100644 --- a/python/python3-autobahn/python3-autobahn.SlackBuild +++ b/python/python3-autobahn/python3-autobahn.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-autobahn SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.4.2} +VERSION=${VERSION:-25.10.2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,7 +83,11 @@ 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 +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation --skip-dependency-check +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 diff --git a/python/python3-autobahn/python3-autobahn.info b/python/python3-autobahn/python3-autobahn.info index 7b875c8530..a7eed1eb1f 100644 --- a/python/python3-autobahn/python3-autobahn.info +++ b/python/python3-autobahn/python3-autobahn.info @@ -1,10 +1,10 @@ PRGNAM="python3-autobahn" -VERSION="24.4.2" +VERSION="25.10.2" HOMEPAGE="https://crossbar.io/autobahn/" -DOWNLOAD="https://pypi.python.org/packages/source/a/autobahn/autobahn-24.4.2.tar.gz" -MD5SUM="cedc5252be771288b19c237cd54a63e9" +DOWNLOAD="https://pypi.python.org/packages/source/a/autobahn/autobahn-25.10.2.tar.gz" +MD5SUM="169027af76e7ffbc7b7f3f0fa3e6538d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-txaio cryptography python3-hyperlink" +REQUIRES="python3-setuptools-opt python3-txaio cryptography python3-hyperlink" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-base58/README b/python/python3-base58/README new file mode 100644 index 0000000000..070740c026 --- /dev/null +++ b/python/python3-base58/README @@ -0,0 +1,2 @@ +Base58 and Base58Check implementation compatible with what is used by +the bitcoin network. diff --git a/python/pynacl/pynacl.SlackBuild b/python/python3-base58/python3-base58.SlackBuild index 655f9bc0ca..be0282c763 100644 --- a/python/pynacl/pynacl.SlackBuild +++ b/python/python3-base58/python3-base58.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# SlackBuild build script for pynacl +# Slackware build script for python3-base58 -# Copyright (c) 2000-2011 Pr. Horstmann <wmh (at) eipg.fr> +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,14 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=pynacl -SRCPKG=${SRCPKG-PyNaCl} -VERSION=${VERSION:-1.4.0} +PRGNAM=python3-base58 +VERSION=${VERSION:-2.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM="$(printf $SRCPKG | cut -d- -f2-)" +SRCNAM=base58 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -53,10 +52,10 @@ OUTPUT=${OUTPUT:-/tmp} set -e rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -65,13 +64,10 @@ 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 {} \; -# Python 2.7 will be dropped in the future. -python2 setup.py install --root=$PKG - python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-base58/python3-base58.info b/python/python3-base58/python3-base58.info new file mode 100644 index 0000000000..249643091e --- /dev/null +++ b/python/python3-base58/python3-base58.info @@ -0,0 +1,10 @@ +PRGNAM="python3-base58" +VERSION="2.1.1" +HOMEPAGE="https://github.com/keis/base58" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/base58/base58-2.1.1.tar.gz" +MD5SUM="3595b886f6d57b947fa8d38d4c92e5b3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-base58/slack-desc b/python/python3-base58/slack-desc new file mode 100644 index 0000000000..5486816a39 --- /dev/null +++ b/python/python3-base58/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-base58: python3-base58 (Base58 and Base58Check implementation) +python3-base58: +python3-base58: Base58 and Base58Check implementation compatible with what is used by +python3-base58: the bitcoin network. +python3-base58: +python3-base58: +python3-base58: Homepage: https://github.com/keis/base58 +python3-base58: +python3-base58: +python3-base58: +python3-base58: diff --git a/python/python3-bcrypt/python3-bcrypt.SlackBuild b/python/python3-bcrypt/python3-bcrypt.SlackBuild index c024496b16..56e62ac1a9 100644 --- a/python/python3-bcrypt/python3-bcrypt.SlackBuild +++ b/python/python3-bcrypt/python3-bcrypt.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-bcrypt SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.3.0} +VERSION=${VERSION:-5.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-bcrypt/python3-bcrypt.info b/python/python3-bcrypt/python3-bcrypt.info index 5d99c09c77..ba31cf09ae 100644 --- a/python/python3-bcrypt/python3-bcrypt.info +++ b/python/python3-bcrypt/python3-bcrypt.info @@ -1,107 +1,91 @@ PRGNAM="python3-bcrypt" -VERSION="4.3.0" +VERSION="5.0.0" HOMEPAGE="https://github.com/pyca/bcrypt/" -DOWNLOAD="https://pypi.python.org/packages/source/b/bcrypt/bcrypt-4.3.0.tar.gz \ - https://static.crates.io/crates/autocfg/autocfg-1.4.0.crate \ +DOWNLOAD="https://pypi.python.org/packages/source/b/bcrypt/bcrypt-5.0.0.tar.gz \ + https://static.crates.io/crates/autocfg/autocfg-1.5.0.crate \ https://static.crates.io/crates/base64/base64-0.22.1.crate \ https://static.crates.io/crates/bcrypt-pbkdf/bcrypt-pbkdf-0.10.0.crate \ - https://static.crates.io/crates/bcrypt/bcrypt-0.17.0.crate \ - https://static.crates.io/crates/bitflags/bitflags-2.8.0.crate \ + https://static.crates.io/crates/bcrypt/bcrypt-0.17.1.crate \ https://static.crates.io/crates/block-buffer/block-buffer-0.10.4.crate \ https://static.crates.io/crates/blowfish/blowfish-0.9.1.crate \ https://static.crates.io/crates/byteorder/byteorder-1.5.0.crate \ - https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \ + https://static.crates.io/crates/cfg-if/cfg-if-1.0.3.crate \ https://static.crates.io/crates/cipher/cipher-0.4.4.crate \ https://static.crates.io/crates/cpufeatures/cpufeatures-0.2.17.crate \ https://static.crates.io/crates/crypto-common/crypto-common-0.1.6.crate \ https://static.crates.io/crates/digest/digest-0.10.7.crate \ https://static.crates.io/crates/generic-array/generic-array-0.14.7.crate \ - https://static.crates.io/crates/getrandom/getrandom-0.3.1.crate \ + https://static.crates.io/crates/getrandom/getrandom-0.3.3.crate \ https://static.crates.io/crates/heck/heck-0.5.0.crate \ - https://static.crates.io/crates/indoc/indoc-2.0.5.crate \ + https://static.crates.io/crates/indoc/indoc-2.0.6.crate \ https://static.crates.io/crates/inout/inout-0.1.4.crate \ - https://static.crates.io/crates/libc/libc-0.2.170.crate \ + https://static.crates.io/crates/libc/libc-0.2.176.crate \ https://static.crates.io/crates/memoffset/memoffset-0.9.1.crate \ - https://static.crates.io/crates/once_cell/once_cell-1.20.3.crate \ + https://static.crates.io/crates/once_cell/once_cell-1.21.3.crate \ https://static.crates.io/crates/pbkdf2/pbkdf2-0.12.2.crate \ - https://static.crates.io/crates/portable-atomic/portable-atomic-1.11.0.crate \ - https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.93.crate \ - https://static.crates.io/crates/pyo3-build-config/pyo3-build-config-0.23.5.crate \ - https://static.crates.io/crates/pyo3-ffi/pyo3-ffi-0.23.5.crate \ - https://static.crates.io/crates/pyo3-macros-backend/pyo3-macros-backend-0.23.5.crate \ - https://static.crates.io/crates/pyo3-macros/pyo3-macros-0.23.5.crate \ - https://static.crates.io/crates/pyo3/pyo3-0.23.5.crate \ - https://static.crates.io/crates/quote/quote-1.0.38.crate \ - https://static.crates.io/crates/sha2/sha2-0.10.8.crate \ + https://static.crates.io/crates/portable-atomic/portable-atomic-1.11.1.crate \ + https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.101.crate \ + https://static.crates.io/crates/pyo3-build-config/pyo3-build-config-0.26.0.crate \ + https://static.crates.io/crates/pyo3-ffi/pyo3-ffi-0.26.0.crate \ + https://static.crates.io/crates/pyo3-macros-backend/pyo3-macros-backend-0.26.0.crate \ + https://static.crates.io/crates/pyo3-macros/pyo3-macros-0.26.0.crate \ + https://static.crates.io/crates/pyo3/pyo3-0.26.0.crate \ + https://static.crates.io/crates/quote/quote-1.0.40.crate \ + https://static.crates.io/crates/r-efi/r-efi-5.3.0.crate \ + https://static.crates.io/crates/sha2/sha2-0.10.9.crate \ https://static.crates.io/crates/subtle/subtle-2.6.1.crate \ - https://static.crates.io/crates/syn/syn-2.0.98.crate \ - https://static.crates.io/crates/target-lexicon/target-lexicon-0.12.16.crate \ + https://static.crates.io/crates/syn/syn-2.0.106.crate \ + https://static.crates.io/crates/target-lexicon/target-lexicon-0.13.3.crate \ https://static.crates.io/crates/typenum/typenum-1.18.0.crate \ - https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.17.crate \ - https://static.crates.io/crates/unindent/unindent-0.2.3.crate \ + https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.19.crate \ + https://static.crates.io/crates/unindent/unindent-0.2.4.crate \ https://static.crates.io/crates/version_check/version_check-0.9.5.crate \ - https://static.crates.io/crates/wasi/wasi-0.13.3+wasi-0.2.2.crate \ - https://static.crates.io/crates/windows-targets/windows-targets-0.52.6.crate \ - https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.52.6.crate \ - https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.52.6.crate \ - https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.52.6.crate \ - https://static.crates.io/crates/windows_i686_gnullvm/windows_i686_gnullvm-0.52.6.crate \ - https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.52.6.crate \ - https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.52.6.crate \ - https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.52.6.crate \ - https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.52.6.crate \ - https://static.crates.io/crates/wit-bindgen-rt/wit-bindgen-rt-0.33.0.crate \ + https://static.crates.io/crates/wasi/wasi-0.14.7+wasi-0.2.4.crate \ + https://static.crates.io/crates/wasip2/wasip2-1.0.1+wasi-0.2.4.crate \ + https://static.crates.io/crates/wit-bindgen/wit-bindgen-0.46.0.crate \ https://static.crates.io/crates/zeroize/zeroize-1.8.1.crate" -MD5SUM="bb9a8674f53c3b61ce3f730811d57f38 \ - 9e038efbd61e6d7cbc54983abc5b3948 \ +MD5SUM="14d72a6f3bc4ccca1dced205cc4e207e \ + 3e70bb53cab36a3ef2a02dfce21bc472 \ 20084c4c04bcc06fd3d7ff662deca706 \ 60cbc9c6df95ebe4e5ecd67569b866a6 \ - 0941c64df7603839f3ab93255ecee4ab \ - 630d0daee61403d4f6e8f3553102de93 \ + 6b4290267fb19bfe52b607e829cb95a9 \ 023b03cf9968b29253a5dfe62051008d \ c0d5296acca72ce01a0058b7b8f56e55 \ 45339d90b2b3a4f123af5ec459954102 \ - 74634128440dbc3766bda76fdf0aaa05 \ + ec75cb6cff21a4cce188ac688aa9a1be \ ef4cc5591659a050ca0de3363b6ab353 \ 08c18a18f452c41072b08e8367778c6a \ 89e88633cab0e4b6f3d3878b84dffe8b \ 3d62bfbbe08bdcee55fcb8cda85554d9 \ 64a6d8fe0c9a450bcefa41894e17d7ac \ - f9441a42065c31ab748e91da21c3e854 \ + f3426774ce46ffb82273b7568411c2dc \ ce5935e8063a452913a61e5405b33cb9 \ - 3081de27c16d004a798de20d4bb6d314 \ + c8afa984728b9caf848d2bf7191a9175 \ 7c7e0fb7becfd41cc236b444597fb170 \ - 6f6caf3c2cfbd1c440274c0a69eed97a \ + 3e56817ed894e9c1d99d21d228827ab6 \ 1fb91af1c97373201990f1baedc58c35 \ - a75d266fccd4dccbc36325bc1c6056aa \ + 76f8e4dcc29ab304e065cced86a344d2 \ 8dcc72ff75b917257f9e9bb29de4b9e1 \ - c1f122d50b1b59e2ff9fc2b3b9708de9 \ - 1d813e5785bd2d72bca9758ba93ad912 \ - a36aa9b9be15a5ba9adeaa8a8df3b068 \ - 547b7a20e150c1531d586cce91a60b0c \ - 58fb56c44708eb01161ac9e6a16a3171 \ - 7b287ff08291718f841cff03398805de \ - 15fc565288c1805eefab2aaf04246683 \ - 52eb2853b626a95fb6caad9516797aa1 \ - 289b776935f2184c6ba2974877285013 \ + 728d8e34babbfa86ab419879265c2d12 \ + c97ebb4706151a5afcbc84b585a51747 \ + d3143796945d98c473318cc90612112f \ + 97a683497679e915cf86e5c900fad5b4 \ + 68eaf29d1aba960e8c1f2ee4b8a7f050 \ + bdd0a9384530c9ceaf54e97058609aa0 \ + ffdf402116ea64d6b94df69effead96e \ + f6471dc7b34a49fca3f64c3c2cb641a4 \ + 751468b1f120283e4f6f266867a03837 \ + 295e503f197dd34556876b97c60b87c1 \ 611730d5a0344bd87742297274631890 \ - 8db13dd2b632de6d77872bf08771aecf \ - 681788f60edd20951a4f993b884d30e9 \ + f263369ce8905fac2351cde21595df94 \ + 423a2d07feb7a56eed6d79f3bc23ce2b \ caced58f08eea4d2ece7418f3cd66482 \ - 8e35d4ef1aacb19d227ae2cd6e438d1e \ - 812b2b925f9734bbc39717f284bc712b \ + 7b5a6f9a0c0de33f26338c3d529e0514 \ + 916099e0363f5e652be0e15d30613c99 \ f9880f1c33a7bc7b0e6e086b504bf38f \ - 03f217a2e69340ae2413bbeb7e7fae4b \ - 9e876a38acd8262d97e9302ecb4e0f72 \ - 8c8adde50f0a531c407c5b68ab928f0b \ - 233b17dfcf7e49ac791eef30b7f406e3 \ - 7cb99b00381f697eaf8a322ed3b8205c \ - 1baf62319b533f3d996993b82305e547 \ - 311ded6588844e072d3fb953a8f994da \ - 3f265cbde7668f38c1229043475470a9 \ - 4e50e886c72204c268c15a3230001d71 \ - b95760e9133ba1bb456d0f0cef74c9a4 \ - c203037eeb993e291f47f76fdbb7602d \ + 6bf3e627effc98ad70ab4a44e4045b10 \ + 6e2c3955a071ff72899af56c2f105a25 \ + 9718141a1e8e00257f5b5d92aece5b21 \ fc484f491cd0c91e5d7343776e055a77" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/python/python3-bech32/README b/python/python3-bech32/README new file mode 100644 index 0000000000..e7247c06a3 --- /dev/null +++ b/python/python3-bech32/README @@ -0,0 +1 @@ +Reference implementation for Bech32 and segwit addresses. diff --git a/python/python3-xkbcommon/python3-xkbcommon.SlackBuild b/python/python3-bech32/python3-bech32.SlackBuild index a2cac2c76b..272f12abb3 100644 --- a/python/python3-xkbcommon/python3-xkbcommon.SlackBuild +++ b/python/python3-bech32/python3-bech32.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-xkbcommon +# Slackware build script for python3-bech32 -# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -16,7 +16,7 @@ # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF @@ -24,13 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-xkbcommon -VERSION=${VERSION:-1.0.1} +PRGNAM=python3-bech32 +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=python-xkbcommon +SRCNAM=bech32 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -70,7 +70,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-bech32/python3-bech32.info b/python/python3-bech32/python3-bech32.info new file mode 100644 index 0000000000..835ddf1aee --- /dev/null +++ b/python/python3-bech32/python3-bech32.info @@ -0,0 +1,10 @@ +PRGNAM="python3-bech32" +VERSION="1.2.0" +HOMEPAGE="https://github.com/fiatjaf/bech32" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/bech32/bech32-1.2.0.tar.gz" +MD5SUM="410353aa23912ce07158955187f1bfcc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-bech32/slack-desc b/python/python3-bech32/slack-desc new file mode 100644 index 0000000000..6cc179db82 --- /dev/null +++ b/python/python3-bech32/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-bech32: python3-bech32 (Reference implementation for Bech32) +python3-bech32: +python3-bech32: Reference implementation for Bech32 and segwit addresses. +python3-bech32: +python3-bech32: +python3-bech32: Homepage: https://github.com/fiatjaf/bech32 +python3-bech32: +python3-bech32: +python3-bech32: +python3-bech32: +python3-bech32: diff --git a/python/python3-beniget/README b/python/python3-beniget/README index c6a6c81962..7786c89c6f 100644 --- a/python/python3-beniget/README +++ b/python/python3-beniget/README @@ -1,3 +1,7 @@ Beniget is a collection of Compile-time analyse on Python Abstract Syntax Tree (AST). It is a building block for writing static analyzer or compiler for Python. + +NOTE: Unable to support newer versions than 0.4.2.post1 due to other +other packages on SBo not being able to be updated due to 15.0 being +stuck with older versions of dependencies. diff --git a/python/python3-billiard/python3-billiard.SlackBuild b/python/python3-billiard/python3-billiard.SlackBuild index 3d2c43d27c..7492dd62fe 100644 --- a/python/python3-billiard/python3-billiard.SlackBuild +++ b/python/python3-billiard/python3-billiard.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-billiard SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.2.1} +VERSION=${VERSION:-4.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-billiard/python3-billiard.info b/python/python3-billiard/python3-billiard.info index bf125d2cc9..4db460e42a 100644 --- a/python/python3-billiard/python3-billiard.info +++ b/python/python3-billiard/python3-billiard.info @@ -1,8 +1,8 @@ PRGNAM="python3-billiard" -VERSION="4.2.1" +VERSION="4.2.2" HOMEPAGE="https://github.com/celery/billiard" -DOWNLOAD="https://pypi.python.org/packages/source/b/billiard/billiard-4.2.1.tar.gz" -MD5SUM="67dfb22a28126cfdbfe9f8e0bcdc177d" +DOWNLOAD="https://pypi.python.org/packages/source/b/billiard/billiard-4.2.2.tar.gz" +MD5SUM="1a8af97920c18df4480ffc1515273f6c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-bitarray/README b/python/python3-bitarray/README new file mode 100644 index 0000000000..6aef40b34a --- /dev/null +++ b/python/python3-bitarray/README @@ -0,0 +1,11 @@ +Efficient arrays of booleans + +This library provides an object type which efficiently represents an +array of booleans. Bitarrays are sequence types and behave very much +like usual lists. Eight bits are represented by one byte in a +contiguous block of memory. The user can select between two +representations: little-endian and big-endian. All functionality is +implemented in C. Methods for accessing the machine representation are +provided, including the ability to import and export buffers. This +allows creating bitarrays that are mapped to other objects, including +memory-mapped files. diff --git a/python/python3-setuptools-rust/python3-setuptools-rust.SlackBuild b/python/python3-bitarray/python3-bitarray.SlackBuild index 96aefd74d8..d03108e2d2 100644 --- a/python/python3-setuptools-rust/python3-setuptools-rust.SlackBuild +++ b/python/python3-bitarray/python3-bitarray.SlackBuild @@ -1,8 +1,9 @@ #!/bin/bash -# Slackware build script for python3-setuptools-rust +# Slackware build script for python3-bitarray -# Copyright 2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014 Google Inc, Germany +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-setuptools-rust -SRCNAM=setuptools-rust -VERSION=${VERSION:-0.12.1} +PRGNAM=python3-bitarray +VERSION=${VERSION:-3.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=bitarray + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -50,16 +52,14 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -77,14 +77,15 @@ 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 {} \; -export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION -python3 setup.py install --root=$PKG +CFLAGS="$SLKCFLAGS" \ + python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 *.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-bitarray/python3-bitarray.info b/python/python3-bitarray/python3-bitarray.info new file mode 100644 index 0000000000..49070cbbdc --- /dev/null +++ b/python/python3-bitarray/python3-bitarray.info @@ -0,0 +1,10 @@ +PRGNAM="python3-bitarray" +VERSION="3.8.0" +HOMEPAGE="https://github.com/ilanschnell/bitarray" +DOWNLOAD="https://pypi.python.org/packages/source/b/bitarray/bitarray-3.8.0.tar.gz" +MD5SUM="eedc882e4497c9b281f95af354f728d9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-wheel" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-bitarray/slack-desc b/python/python3-bitarray/slack-desc new file mode 100644 index 0000000000..12f9c759f1 --- /dev/null +++ b/python/python3-bitarray/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-bitarray: python3-bitarray (efficient arrays of booleans) +python3-bitarray: +python3-bitarray: This library provides an object type which efficiently represents an +python3-bitarray: array of booleans. Bitarrays are sequence types and behave very much +python3-bitarray: like usual lists. Eight bits are represented by one byte in a +python3-bitarray: contiguous block of memory. The user can select between two +python3-bitarray: representations: little-endian and big-endian. All functionality is +python3-bitarray: implemented in C. +python3-bitarray: +python3-bitarray: Homepage: https://github.com/ilanschnell/bitarray/ +python3-bitarray: diff --git a/python/python3-bleach/python3-bleach.SlackBuild b/python/python3-bleach/python3-bleach.SlackBuild index daae8c5bc0..1fc5a01d2d 100644 --- a/python/python3-bleach/python3-bleach.SlackBuild +++ b/python/python3-bleach/python3-bleach.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-bleach SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-6.2.0} +VERSION=${VERSION:-6.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-bleach/python3-bleach.info b/python/python3-bleach/python3-bleach.info index 3b9f76ef05..61cc101707 100644 --- a/python/python3-bleach/python3-bleach.info +++ b/python/python3-bleach/python3-bleach.info @@ -1,8 +1,8 @@ PRGNAM="python3-bleach" -VERSION="6.2.0" +VERSION="6.3.0" HOMEPAGE="https://pypi.org/project/bleach/" -DOWNLOAD="https://pypi.python.org/packages/source/b/bleach/bleach-6.2.0.tar.gz" -MD5SUM="bee79c9f4a17a85945fa54221d5d8391" +DOWNLOAD="https://pypi.python.org/packages/source/b/bleach/bleach-6.3.0.tar.gz" +MD5SUM="a3dd2c185e20be9dce348692d1e705d5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-webencodings" diff --git a/python/python3-boto3/python3-boto3.info b/python/python3-boto3/python3-boto3.info index fdfa013746..08dd647b68 100644 --- a/python/python3-boto3/python3-boto3.info +++ b/python/python3-boto3/python3-boto3.info @@ -6,5 +6,5 @@ MD5SUM="2e39c375626679dc5a171dcb5f7507c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="s3transfer" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python3-bottle/python3-bottle.SlackBuild b/python/python3-bottle/python3-bottle.SlackBuild index 28d758db72..1eb0a530f1 100644 --- a/python/python3-bottle/python3-bottle.SlackBuild +++ b/python/python3-bottle/python3-bottle.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-bottle SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.13.3} +VERSION=${VERSION:-0.13.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-bottle/python3-bottle.info b/python/python3-bottle/python3-bottle.info index 070ccac6ee..0410e41d9b 100644 --- a/python/python3-bottle/python3-bottle.info +++ b/python/python3-bottle/python3-bottle.info @@ -1,8 +1,8 @@ PRGNAM="python3-bottle" -VERSION="0.13.3" +VERSION="0.13.4" HOMEPAGE="https://bottlepy.org/docs/dev/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/bottle/bottle-0.13.3.tar.gz" -MD5SUM="76d42b87250e5eb3cd24946bfe8f1b0f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/bottle/bottle-0.13.4.tar.gz" +MD5SUM="a8dd2700b477b86a38510a2a31d07c78" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-brotlicffi/python3-brotlicffi.SlackBuild b/python/python3-brotlicffi/python3-brotlicffi.SlackBuild index 94d855a0fc..d923d950c9 100644 --- a/python/python3-brotlicffi/python3-brotlicffi.SlackBuild +++ b/python/python3-brotlicffi/python3-brotlicffi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-brotlicffi -# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-brotlicffi SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.1.0.0} +VERSION=${VERSION:-1.2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,23 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -74,11 +57,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) python3 setup.py install --root=$PKG diff --git a/python/python3-brotlicffi/python3-brotlicffi.info b/python/python3-brotlicffi/python3-brotlicffi.info index 116c95048c..373b16ce6a 100644 --- a/python/python3-brotlicffi/python3-brotlicffi.info +++ b/python/python3-brotlicffi/python3-brotlicffi.info @@ -1,8 +1,8 @@ PRGNAM="python3-brotlicffi" -VERSION="1.1.0.0" +VERSION="1.2.0.0" HOMEPAGE="https://github.com/python-hyper/brotlicffi" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/brotlicffi/brotlicffi-1.1.0.0.tar.gz" -MD5SUM="03bcee0a1e577089822ae35b55026a1e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/brotlicffi/brotlicffi-1.2.0.0.tar.gz" +MD5SUM="131da94b8624542f3c36a061b1f37ab4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-build/python3-build.SlackBuild b/python/python3-build/python3-build.SlackBuild index 2070a1a9be..59cf3050ae 100644 --- a/python/python3-build/python3-build.SlackBuild +++ b/python/python3-build/python3-build.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-build -# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2022 toolonely <lonely_@tutanota.com> # All rights reserved. # @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-build SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.2.2.post1} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-build/python3-build.info b/python/python3-build/python3-build.info index 465bf58a69..bd75dedacb 100644 --- a/python/python3-build/python3-build.info +++ b/python/python3-build/python3-build.info @@ -1,8 +1,8 @@ PRGNAM="python3-build" -VERSION="1.2.2.post1" +VERSION="1.3.0" HOMEPAGE="https://github.com/pypa/build" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-1.2.2.post1.tar.gz" -MD5SUM="5492ba887b363f483d64a11bbec0c34a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-1.3.0.tar.gz" +MD5SUM="48f7fbc11051430eab3c1abe216bed7a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pyproject-hooks" diff --git a/python/python3-cachetools/python3-cachetools.SlackBuild b/python/python3-cachetools/python3-cachetools.SlackBuild index ecd3fba369..c8e9db6655 100644 --- a/python/python3-cachetools/python3-cachetools.SlackBuild +++ b/python/python3-cachetools/python3-cachetools.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cachetools -VERSION=${VERSION:-6.0.0} +VERSION=${VERSION:-6.2.2} SRCNAM=${SRCNAM:-cachetools} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-cachetools/python3-cachetools.info b/python/python3-cachetools/python3-cachetools.info index 7ee6a65390..182d28a100 100644 --- a/python/python3-cachetools/python3-cachetools.info +++ b/python/python3-cachetools/python3-cachetools.info @@ -1,8 +1,8 @@ PRGNAM="python3-cachetools" -VERSION="6.0.0" +VERSION="6.2.2" HOMEPAGE="https://github.com/tkem/cachetools" -DOWNLOAD="https://github.com/tkem/cachetools/archive/refs/tags/v6.0.0/cachetools-6.0.0.tar.gz" -MD5SUM="633ce3f2ea6925632771d1c800abe54d" +DOWNLOAD="https://github.com/tkem/cachetools/archive/refs/tags/v6.2.2/cachetools-6.2.2.tar.gz" +MD5SUM="2e35c60eefd0a61e46dc32261b999ed0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-cairocffi/python3-cairocffi.SlackBuild b/python/python3-cairocffi/python3-cairocffi.SlackBuild index 15866c40e5..64e6255e80 100644 --- a/python/python3-cairocffi/python3-cairocffi.SlackBuild +++ b/python/python3-cairocffi/python3-cairocffi.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cairocffi SRCNAM=${PRGNAM#python3-*} VERSION=${VERSION:-1.7.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-cairocffi/python3-cairocffi.info b/python/python3-cairocffi/python3-cairocffi.info index 9ce3384e9e..0c66420be5 100644 --- a/python/python3-cairocffi/python3-cairocffi.info +++ b/python/python3-cairocffi/python3-cairocffi.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-1 MD5SUM="8d08a3e885ac61de281992d9ebe72e81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pytest-runner" +REQUIRES="python3-build" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-caldav/python3-caldav.SlackBuild b/python/python3-caldav/python3-caldav.SlackBuild index 5a45113761..8485282e37 100644 --- a/python/python3-caldav/python3-caldav.SlackBuild +++ b/python/python3-caldav/python3-caldav.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-caldav -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2025 Jeremy Hansen jebrhansen+SBo@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-caldav -VERSION=${VERSION:-1.3.9} +VERSION=${VERSION:-2.0.1} SRCNAM=${SRCNAM:-caldav} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,7 +62,19 @@ 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 +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +# Add unused section to avoid ERROR message from setuptools_scm +# Make it an if statement just in case upstream decides to update +# it and I don't notice. +if ! grep -qF "[tool.setuptools_scm]" pyproject.toml; then + echo "[tool.setuptools_scm]" >> pyproject.toml +fi +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 diff --git a/python/python3-caldav/python3-caldav.info b/python/python3-caldav/python3-caldav.info index fe0246361a..69502c0801 100644 --- a/python/python3-caldav/python3-caldav.info +++ b/python/python3-caldav/python3-caldav.info @@ -1,10 +1,10 @@ PRGNAM="python3-caldav" -VERSION="1.3.9" +VERSION="2.0.1" HOMEPAGE="https://github.com/python-caldav/caldav" -DOWNLOAD="https://github.com/python-caldav/caldav/archive/refs/tags/v1.3.9/caldav-1.3.9.tar.gz" -MD5SUM="10592160a8c191d59429009c0b879764" +DOWNLOAD="https://github.com/python-caldav/caldav/archive/refs/tags/v2.0.1/caldav-2.0.1.tar.gz" +MD5SUM="3d3d7a61806a7180a1079ef5b28816ee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-lxml python3-recurring-ical-events" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-calver/python3-calver.SlackBuild b/python/python3-calver/python3-calver.SlackBuild index 06d94de3bc..2f8843400a 100644 --- a/python/python3-calver/python3-calver.SlackBuild +++ b/python/python3-calver/python3-calver.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-calver SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2025.4.17} +VERSION=${VERSION:-2025.10.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-calver/python3-calver.info b/python/python3-calver/python3-calver.info index b4b2b9578d..d58c0f579b 100644 --- a/python/python3-calver/python3-calver.info +++ b/python/python3-calver/python3-calver.info @@ -1,8 +1,8 @@ PRGNAM="python3-calver" -VERSION="2025.4.17" +VERSION="2025.10.20" HOMEPAGE="https://github.com/di/calver" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/calver/calver-2025.4.17.tar.gz" -MD5SUM="b02f51c61083eb5bd1b84218ec2fffd3" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/calver/calver-2025.10.20.tar.gz" +MD5SUM="35c480c59ceca9dc0d51f214df5523a5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild index 629662a31c..f8f4ef228a 100644 --- a/python/python3-cattrs/python3-cattrs.SlackBuild +++ b/python/python3-cattrs/python3-cattrs.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cattrs SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.1.3} +VERSION=${VERSION:-25.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-cattrs/python3-cattrs.info b/python/python3-cattrs/python3-cattrs.info index 3eb33184be..08b292468e 100644 --- a/python/python3-cattrs/python3-cattrs.info +++ b/python/python3-cattrs/python3-cattrs.info @@ -1,8 +1,8 @@ PRGNAM="python3-cattrs" -VERSION="24.1.3" +VERSION="25.3.0" HOMEPAGE="https://github.com/python-attrs/cattrs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-24.1.3.tar.gz" -MD5SUM="7533cdc746b7680b479e25df6911da9b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-25.3.0.tar.gz" +MD5SUM="9b7b27f64ada35523229b778f4199043" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-typing-extensions python3-attrs python3-exceptiongroup" diff --git a/python/python3-celery/python3-celery.SlackBuild b/python/python3-celery/python3-celery.SlackBuild index 628aff6b4f..81feb12668 100644 --- a/python/python3-celery/python3-celery.SlackBuild +++ b/python/python3-celery/python3-celery.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-celery SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.5.2} +VERSION=${VERSION:-5.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-celery/python3-celery.info b/python/python3-celery/python3-celery.info index 974cc52ae4..0b07a7c006 100644 --- a/python/python3-celery/python3-celery.info +++ b/python/python3-celery/python3-celery.info @@ -1,8 +1,8 @@ PRGNAM="python3-celery" -VERSION="5.5.2" +VERSION="5.5.3" HOMEPAGE="https://docs.celeryproject.org/" -DOWNLOAD="https://pypi.python.org/packages/source/c/celery/celery-5.5.2.tar.gz" -MD5SUM="1b23383f3b1f941ce9c19ab382a8b95f" +DOWNLOAD="https://pypi.python.org/packages/source/c/celery/celery-5.5.3.tar.gz" +MD5SUM="d8e419cdec579b033282d8117b5dfa6c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-kombu python3-billiard python3-prompt_toolkit python3-click-didyoumean click-plugins python3-click-repl python3-dateutil python3-typing-extensions tzdata" diff --git a/python/python3-cheroot/python3-cheroot.SlackBuild b/python/python3-cheroot/python3-cheroot.SlackBuild index 42572eef31..1f38272b07 100644 --- a/python/python3-cheroot/python3-cheroot.SlackBuild +++ b/python/python3-cheroot/python3-cheroot.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-cheroot -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cheroot SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-10.0.1} +VERSION=${VERSION:-11.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,11 +59,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-cheroot/python3-cheroot.info b/python/python3-cheroot/python3-cheroot.info index d8108ff27a..692a452717 100644 --- a/python/python3-cheroot/python3-cheroot.info +++ b/python/python3-cheroot/python3-cheroot.info @@ -1,8 +1,8 @@ PRGNAM="python3-cheroot" -VERSION="10.0.1" +VERSION="11.1.2" HOMEPAGE="https://cheroot.cherrypy.dev" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cheroot/cheroot-10.0.1.tar.gz" -MD5SUM="0fce2608fcb31c16c81945c73e283724" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cheroot/cheroot-11.1.2.tar.gz" +MD5SUM="08ccbea749c4cd35b7371ced995d08b2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt python3-jaraco.functools" diff --git a/python/python3-click-option-group/python3-click-option-group.SlackBuild b/python/python3-click-option-group/python3-click-option-group.SlackBuild index 7c4f47ef9b..1706dfc80b 100644 --- a/python/python3-click-option-group/python3-click-option-group.SlackBuild +++ b/python/python3-click-option-group/python3-click-option-group.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-click-option-group -VERSION=${VERSION:-0.5.7} +VERSION=${VERSION:-0.5.9} SRCNAM=${SRCNAM:-click-option-group} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-click-option-group/python3-click-option-group.info b/python/python3-click-option-group/python3-click-option-group.info index 43b0d102f6..434fa196d8 100644 --- a/python/python3-click-option-group/python3-click-option-group.info +++ b/python/python3-click-option-group/python3-click-option-group.info @@ -1,8 +1,8 @@ PRGNAM="python3-click-option-group" -VERSION="0.5.7" +VERSION="0.5.9" HOMEPAGE="https://click-option-group.readthedocs.io/" -DOWNLOAD="https://github.com/click-contrib/click-option-group/archive/refs/tags/v0.5.7/click-option-group-0.5.7.tar.gz" -MD5SUM="11d5266bd4a2296bf96abc3ed7085de0" +DOWNLOAD="https://github.com/click-contrib/click-option-group/archive/refs/tags/v0.5.9/click-option-group-0.5.9.tar.gz" +MD5SUM="cd227ee8872b0af59b36e9ba6ab5384e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="click python3-hatch_vcs" diff --git a/python/python3-cogapp/README b/python/python3-cogapp/README new file mode 100644 index 0000000000..22fc0fc7bf --- /dev/null +++ b/python/python3-cogapp/README @@ -0,0 +1,9 @@ +python3-cogapp (content generation tool) + +cog lets you use small bits of Python code in otherwise static files +to generate whatever text you need. + +It finds chunks of Python code embedded in input files, runs the +Python code, and inserts its output back into the original file. + +This provides /usr/bin/cog. diff --git a/python/python3-cogapp/python3-cogapp.SlackBuild b/python/python3-cogapp/python3-cogapp.SlackBuild new file mode 100644 index 0000000000..e80b9d92f8 --- /dev/null +++ b/python/python3-cogapp/python3-cogapp.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-cogapp + +# Copyright 2025 xaizek +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-cogapp +SRCNAM=cogapp +# Newer versions have issues building on Slackware 15.0, installation creates +# UNKNOWN-0.0.0.dist-info directory instead of the properly named one. +VERSION=${VERSION:-3.3.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS.txt LICENSE.txt README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-cogapp/python3-cogapp.info b/python/python3-cogapp/python3-cogapp.info new file mode 100644 index 0000000000..f3e48c34d6 --- /dev/null +++ b/python/python3-cogapp/python3-cogapp.info @@ -0,0 +1,10 @@ +PRGNAM="python3-cogapp" +VERSION="3.3.0" +HOMEPAGE="https://github.com/nedbat/cog" +DOWNLOAD="https://files.pythonhosted.org/packages/13/13/07e424430bd52695056af566e8585ef9d97c32ae809257095ebbb850f2ee/cogapp-3.3.0.tar.gz" +MD5SUM="fc4fd1651dc6cbbaece58541d8e13938" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="xaizek" +EMAIL="xaizek@posteo.net" diff --git a/python/python3-cogapp/slack-desc b/python/python3-cogapp/slack-desc new file mode 100644 index 0000000000..e23414895b --- /dev/null +++ b/python/python3-cogapp/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-cogapp: python3-cogapp (content generation tool) +python3-cogapp: +python3-cogapp: cog lets you use small bits of Python code in otherwise static files +python3-cogapp: to generate whatever text you need. +python3-cogapp: +python3-cogapp: It finds chunks of Python code embedded in input files, runs the +python3-cogapp: Python code, and inserts its output back into the original file. +python3-cogapp: +python3-cogapp: This provides /usr/bin/cog. +python3-cogapp: +python3-cogapp: diff --git a/python/python3-colorlog/python3-colorlog.SlackBuild b/python/python3-colorlog/python3-colorlog.SlackBuild index 69319df1fe..5559ec06db 100644 --- a/python/python3-colorlog/python3-colorlog.SlackBuild +++ b/python/python3-colorlog/python3-colorlog.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-colorlog -# Copyright 2023-2024 Vijay Marcel +# Copyright 2023-2025 Vijay Marcel # All rights reserved. # @@ -23,19 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Changelog for python3-colorlog SlackBuild Script -# -------------------------------------------------------------------- - -# 10/06/2023: Submitted to slackbuilds.org -# 16/02/2024: updated to version 6.8.2 -# 20/11/2024: updated to version 6.9.0 - - - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-colorlog -VERSION=${VERSION:-6.9.0} +VERSION=${VERSION:-6.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,9 +61,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ python3 setup.py install --root=$PKG --prefix=/usr --optimize=1 diff --git a/python/python3-colorlog/python3-colorlog.info b/python/python3-colorlog/python3-colorlog.info index 5aa23ddc35..7f1c0dc6b8 100644 --- a/python/python3-colorlog/python3-colorlog.info +++ b/python/python3-colorlog/python3-colorlog.info @@ -1,8 +1,8 @@ PRGNAM="python3-colorlog" -VERSION="6.9.0" +VERSION="6.10.1" HOMEPAGE="https://github.com/borntyping/python-colorlog" -DOWNLOAD="https://pypi.io/packages/source/c/colorlog/colorlog-6.9.0.tar.gz" -MD5SUM="eded3e4cf270c1d1fabc170826f4d735" +DOWNLOAD="https://pypi.io/packages/source/c/colorlog/colorlog-6.10.1.tar.gz" +MD5SUM="177e72715015e36226abdcac193dc82a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-comm/python3-comm.SlackBuild b/python/python3-comm/python3-comm.SlackBuild index ba30537e1c..9feaf10cf2 100644 --- a/python/python3-comm/python3-comm.SlackBuild +++ b/python/python3-comm/python3-comm.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-comm -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-comm -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/python3-comm/python3-comm.info b/python/python3-comm/python3-comm.info index 6227a040af..842fed5c7c 100644 --- a/python/python3-comm/python3-comm.info +++ b/python/python3-comm/python3-comm.info @@ -1,10 +1,10 @@ PRGNAM="python3-comm" -VERSION="0.2.2" +VERSION="0.2.3" HOMEPAGE="https://pypi.org/project/comm/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/comm/comm-0.2.2.tar.gz" -MD5SUM="b9ccfdbe0a7bdad9d18c82d43232ec8d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/comm/comm-0.2.3.tar.gz" +MD5SUM="e712d390dc4d54bc9b90a3a38ddd422d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="traitlets" +REQUIRES="python3-hatchling" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-confuse/python3-confuse.SlackBuild b/python/python3-confuse/python3-confuse.SlackBuild index 72fbf15345..d91573fc59 100644 --- a/python/python3-confuse/python3-confuse.SlackBuild +++ b/python/python3-confuse/python3-confuse.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-confuse -# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-confuse SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,20 +51,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -74,11 +60,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-confuse/python3-confuse.info b/python/python3-confuse/python3-confuse.info index 590fb4eaf0..32e74a33a2 100644 --- a/python/python3-confuse/python3-confuse.info +++ b/python/python3-confuse/python3-confuse.info @@ -1,10 +1,10 @@ PRGNAM="python3-confuse" -VERSION="2.0.1" +VERSION="2.1.0" HOMEPAGE="https://github.com/beetbox/confuse" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/confuse/confuse-2.0.1.tar.gz" -MD5SUM="8aa2b5c90e884af2c8f4b65f3e8d574e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/confuse/confuse-2.1.0.tar.gz" +MD5SUM="8f12861ce346f309e0c6a214db29ea21" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build" +REQUIRES="python3-poetry-core" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-construct-classes/README b/python/python3-construct-classes/README new file mode 100644 index 0000000000..ca126f4179 --- /dev/null +++ b/python/python3-construct-classes/README @@ -0,0 +1,2 @@ +Parse your binary data into dataclasses. +Pack your dataclasses into binary data. diff --git a/python/python3-construct-classes/python3-construct-classes.SlackBuild b/python/python3-construct-classes/python3-construct-classes.SlackBuild new file mode 100644 index 0000000000..caa69cfc6c --- /dev/null +++ b/python/python3-construct-classes/python3-construct-classes.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# Slackware build script for python3-construct-classes + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-construct-classes +VERSION=${VERSION:-0.1.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=construct-classes + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-construct-classes/python3-construct-classes.info b/python/python3-construct-classes/python3-construct-classes.info new file mode 100644 index 0000000000..afcaece2e7 --- /dev/null +++ b/python/python3-construct-classes/python3-construct-classes.info @@ -0,0 +1,10 @@ +PRGNAM="python3-construct-classes" +VERSION="0.1.2" +HOMEPAGE="https://github.com/matejcik/construct-classes" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/construct-classes/construct-classes-0.1.2.tar.gz" +MD5SUM="b4f854e9940445a56eb66d4090d28626" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core python3-construct" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-construct-classes/slack-desc b/python/python3-construct-classes/slack-desc new file mode 100644 index 0000000000..e217ddcaf7 --- /dev/null +++ b/python/python3-construct-classes/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-construct-classes: python3-construct-classes (Parse binary structs into dataclasses) +python3-construct-classes: +python3-construct-classes: Parse your binary data into dataclasses. +python3-construct-classes: Pack your dataclasses into binary data. +python3-construct-classes: +python3-construct-classes: Homepage: https://github.com/matejcik/construct-classes +python3-construct-classes: +python3-construct-classes: +python3-construct-classes: +python3-construct-classes: +python3-construct-classes: diff --git a/python/python3-cookiecutter/python3-cookiecutter.SlackBuild b/python/python3-cookiecutter/python3-cookiecutter.SlackBuild index 8c80314ca9..08d85e6d08 100644 --- a/python/python3-cookiecutter/python3-cookiecutter.SlackBuild +++ b/python/python3-cookiecutter/python3-cookiecutter.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-cookiecutter -# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python3-cookiecutter/python3-cookiecutter.info b/python/python3-cookiecutter/python3-cookiecutter.info index 0db11a8a66..b53a65ddd0 100644 --- a/python/python3-cookiecutter/python3-cookiecutter.info +++ b/python/python3-cookiecutter/python3-cookiecutter.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/cookiecutter/cookiecutter/archive/2.6.0/cookiecutte MD5SUM="fe5c6c2bc42b6ba6352be7b6d258460e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="binaryornot click python3-jinja2-time python3-rich python3-slugify" +REQUIRES="binaryornot click python3-arrow python3-rich python3-slugify" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-cython-opt/python3-cython-opt.SlackBuild b/python/python3-cython-opt/python3-cython-opt.SlackBuild index f43ec218c2..c47727069c 100644 --- a/python/python3-cython-opt/python3-cython-opt.SlackBuild +++ b/python/python3-cython-opt/python3-cython-opt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cython-opt SRCNAM=cython -VERSION=${VERSION:-3.0.12} +VERSION=${VERSION:-3.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-cython-opt/python3-cython-opt.info b/python/python3-cython-opt/python3-cython-opt.info index b9a2a8c586..6ca75dc64a 100644 --- a/python/python3-cython-opt/python3-cython-opt.info +++ b/python/python3-cython-opt/python3-cython-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-cython-opt" -VERSION="3.0.12" +VERSION="3.1.7" HOMEPAGE="https://cython.org/" -DOWNLOAD="https://pypi.python.org/packages/source/c/cython/cython-3.0.12.tar.gz" -MD5SUM="ab61fac00686d611197fba10c37f30e5" +DOWNLOAD="https://pypi.python.org/packages/source/c/cython/cython-3.1.7.tar.gz" +MD5SUM="08c1ee734e2cb43f3b1c4310dfde27c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-dbus-fast/README b/python/python3-dbus-fast/README index 64e9d75815..10e9d48e28 100644 --- a/python/python3-dbus-fast/README +++ b/python/python3-dbus-fast/README @@ -1,3 +1,7 @@ dbus-fast is a Python library for DBus that aims to be a performant fully featured high level library primarily geared towards integration of applications into Linux desktop and mobile environments. + +Note: Unable to upgrade python3-dbus-fast beyond version 2.45.1. +Newer versions require a newer Python than available in Slackware 15.0 +(i.e. at >= 3.10). diff --git a/python/python3-dbus-fast/python3-dbus-fast.SlackBuild b/python/python3-dbus-fast/python3-dbus-fast.SlackBuild index eb8f0b52b2..ce80142767 100644 --- a/python/python3-dbus-fast/python3-dbus-fast.SlackBuild +++ b/python/python3-dbus-fast/python3-dbus-fast.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dbus-fast -VERSION=${VERSION:-2.44.1} +VERSION=${VERSION:-2.45.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-dbus-fast/python3-dbus-fast.info b/python/python3-dbus-fast/python3-dbus-fast.info index 66f1d0666c..9983acad0d 100644 --- a/python/python3-dbus-fast/python3-dbus-fast.info +++ b/python/python3-dbus-fast/python3-dbus-fast.info @@ -1,8 +1,8 @@ PRGNAM="python3-dbus-fast" -VERSION="2.44.1" +VERSION="2.45.1" HOMEPAGE="https://github.com/bluetooth-devices/dbus-fast" -DOWNLOAD="https://github.com/Bluetooth-Devices/dbus-fast/releases/download/v2.44.1/dbus_fast-2.44.1.tar.gz" -MD5SUM="45f1bccaa3e23304d8da1916b05dd646" +DOWNLOAD="https://github.com/Bluetooth-Devices/dbus-fast/releases/download/v2.45.1/dbus_fast-2.45.1.tar.gz" +MD5SUM="680e85fb3e089a8aaedc6bf1f723a172" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-debugpy/python3-debugpy.SlackBuild b/python/python3-debugpy/python3-debugpy.SlackBuild index 80234a773b..2cd8cecd76 100644 --- a/python/python3-debugpy/python3-debugpy.SlackBuild +++ b/python/python3-debugpy/python3-debugpy.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-debugpy -VERSION=${VERSION:-1.8.14} +VERSION=${VERSION:-1.8.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-debugpy/python3-debugpy.info b/python/python3-debugpy/python3-debugpy.info index 7f85e0d885..c324e5be6b 100644 --- a/python/python3-debugpy/python3-debugpy.info +++ b/python/python3-debugpy/python3-debugpy.info @@ -1,8 +1,8 @@ PRGNAM="python3-debugpy" -VERSION="1.8.14" +VERSION="1.8.19" HOMEPAGE="https://github.com/microsoft/debugpy/" -DOWNLOAD="https://github.com/microsoft/debugpy/archive/v1.8.14/debugpy-1.8.14.tar.gz" -MD5SUM="edccafa26340ecbe45e71901dee64930" +DOWNLOAD="https://github.com/microsoft/debugpy/archive/v1.8.19/debugpy-1.8.19.tar.gz" +MD5SUM="b3ea13fb3fe473ecf6ee15164a15a24e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-dep-logic/python3-dep-logic.SlackBuild b/python/python3-dep-logic/python3-dep-logic.SlackBuild index cae62985d2..f5b7aac276 100644 --- a/python/python3-dep-logic/python3-dep-logic.SlackBuild +++ b/python/python3-dep-logic/python3-dep-logic.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dep-logic -VERSION=${VERSION:-0.5.1} +VERSION=${VERSION:-0.5.2} SRCNAM=${SRCNAM:-dep-logic} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-dep-logic/python3-dep-logic.info b/python/python3-dep-logic/python3-dep-logic.info index f0b0cf9998..ce8bc5ee01 100644 --- a/python/python3-dep-logic/python3-dep-logic.info +++ b/python/python3-dep-logic/python3-dep-logic.info @@ -1,8 +1,8 @@ PRGNAM="python3-dep-logic" -VERSION="0.5.1" +VERSION="0.5.2" HOMEPAGE="https://github.com/pdm-project/dep-logic/" -DOWNLOAD="https://github.com/pdm-project/dep-logic/archive/refs/tags/0.5.1/dep-logic-0.5.1.tar.gz" -MD5SUM="6961cc90d47e6bb7cce67f8c202f6d5d" +DOWNLOAD="https://github.com/pdm-project/dep-logic/archive/refs/tags/0.5.2/dep-logic-0.5.2.tar.gz" +MD5SUM="7c133ad090ef4c930e418d0495c080f9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pdm-backend" diff --git a/python/python3-deprecated/python3-deprecated.SlackBuild b/python/python3-deprecated/python3-deprecated.SlackBuild index ba29a4b3bc..ea8d9d69a4 100644 --- a/python/python3-deprecated/python3-deprecated.SlackBuild +++ b/python/python3-deprecated/python3-deprecated.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-deprecated -VERSION=${VERSION:-1.2.18} +VERSION=${VERSION:-1.3.1} SRCNAM=${SRCNAM:-deprecated} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-deprecated/python3-deprecated.info b/python/python3-deprecated/python3-deprecated.info index 935fe59ae7..3b643f6857 100644 --- a/python/python3-deprecated/python3-deprecated.info +++ b/python/python3-deprecated/python3-deprecated.info @@ -1,8 +1,8 @@ PRGNAM="python3-deprecated" -VERSION="1.2.18" +VERSION="1.3.1" HOMEPAGE="https://github.com/tantale/deprecated" -DOWNLOAD="https://github.com/tantale/deprecated/archive/refs/tags/v1.2.18/deprecated-1.2.18.tar.gz" -MD5SUM="16ca3bffc9473458887e59bde0d519e4" +DOWNLOAD="https://github.com/tantale/deprecated/archive/refs/tags/v1.3.1/deprecated-1.3.1.tar.gz" +MD5SUM="581b90e1fdcb855b9ed0a892260f8f0c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-wrapt" diff --git a/python/python3-distlib/python3-distlib.SlackBuild b/python/python3-distlib/python3-distlib.SlackBuild index 1a538e2ab4..fac005b8ac 100644 --- a/python/python3-distlib/python3-distlib.SlackBuild +++ b/python/python3-distlib/python3-distlib.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-distlib # Copyright 2023 Isaac Yu <isaacyu1@isaacyu1.com> -# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-distlib -VERSION=${VERSION:-0.3.9} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-distlib/python3-distlib.info b/python/python3-distlib/python3-distlib.info index 1bcaba3e49..9f70312b24 100644 --- a/python/python3-distlib/python3-distlib.info +++ b/python/python3-distlib/python3-distlib.info @@ -1,8 +1,8 @@ PRGNAM="python3-distlib" -VERSION="0.3.9" +VERSION="0.4.0" HOMEPAGE="https://distlib.readthedocs.io" -DOWNLOAD="https://github.com/pypa/distlib/archive/refs/tags/0.3.9/distlib-0.3.9.tar.gz" -MD5SUM="0c3bb7d1236c6c774cf678b46e4e0da5" +DOWNLOAD="https://github.com/pypa/distlib/archive/refs/tags/0.4.0/distlib-0.4.0.tar.gz" +MD5SUM="a31fb2a7146dbd5fcbdfba57187c3505" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-distutils-extra/README b/python/python3-distutils-extra/README new file mode 100644 index 0000000000..0ae2b0cbe1 --- /dev/null +++ b/python/python3-distutils-extra/README @@ -0,0 +1,4 @@ +Python-distutils-extra allows to easily integrate themable icons, +scrollkeeper based documentation, and gettext based translations in +your python install and build tools. It can be used with python's +distutils or the enhanced setuptools. diff --git a/python/python-distutils-extra/python-distutils-extra.SlackBuild b/python/python3-distutils-extra/python3-distutils-extra.SlackBuild index c31394bf0c..f83133f4b4 100644 --- a/python/python-distutils-extra/python-distutils-extra.SlackBuild +++ b/python/python3-distutils-extra/python3-distutils-extra.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Slackware build script for python-distutils-extra +# Slackware build script for python3-distutils-extra # Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. @@ -24,12 +24,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python-distutils-extra +PRGNAM=python3-distutils-extra VERSION=${VERSION:-2.39} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=python-distutils-extra + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -55,9 +54,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 \ @@ -65,7 +64,6 @@ 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 {} \; -python setup.py install --root=$PKG python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python3-distutils-extra/python3-distutils-extra.info b/python/python3-distutils-extra/python3-distutils-extra.info new file mode 100644 index 0000000000..7f5572fe85 --- /dev/null +++ b/python/python3-distutils-extra/python3-distutils-extra.info @@ -0,0 +1,10 @@ +PRGNAM="python3-distutils-extra" +VERSION="2.39" +HOMEPAGE="https://launchpad.net/python-distutils-extra" +DOWNLOAD="https://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz" +MD5SUM="16e06db0ef73a35b4bff4b9eed5699b5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" diff --git a/python/python3-distutils-extra/slack-desc b/python/python3-distutils-extra/slack-desc new file mode 100644 index 0000000000..f8eb425a10 --- /dev/null +++ b/python/python3-distutils-extra/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-distutils-extra: python3-distutils-extra (python library) +python3-distutils-extra: +python3-distutils-extra: Python-distutils-extra allows to easily integrate themable icons, +python3-distutils-extra: scrollkeeper based documentation and gettext based translations in +python3-distutils-extra: your python install and build tools. It can be used with python's +python3-distutils-extra: distutils or the enhanced setuptools. +python3-distutils-extra: +python3-distutils-extra: Homepage: https://launchpad.net/python-distutils-extra +python3-distutils-extra: +python3-distutils-extra: +python3-distutils-extra: diff --git a/python/python3-dogpile.cache/README b/python/python3-dogpile.cache/README index 3e40e28f6c..e36aeecb09 100644 --- a/python/python3-dogpile.cache/README +++ b/python/python3-dogpile.cache/README @@ -4,3 +4,6 @@ dogpile.cache is a caching API which provides a generic interface to caching backends of any variety, and additionally provides API hooks which integrate these cache backends with the locking mechanism of dogpile. + +NOTE: Unable to support newer versions due to requiring newer version +of python than is available in Slackware 15.0 (python 3.10). diff --git a/python/python3-dogpile.cache/python3-dogpile.cache.SlackBuild b/python/python3-dogpile.cache/python3-dogpile.cache.SlackBuild index a7b01c2240..031ed4fe16 100644 --- a/python/python3-dogpile.cache/python3-dogpile.cache.SlackBuild +++ b/python/python3-dogpile.cache/python3-dogpile.cache.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dogpile.cache -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.4.1} SRCNAM=${SRCNAM:-dogpile.cache} SRCVER=${SRCVER:-rel_$(echo $VERSION | tr . _)} BUILD=${BUILD:-1} diff --git a/python/python3-dogpile.cache/python3-dogpile.cache.info b/python/python3-dogpile.cache/python3-dogpile.cache.info index a6e5285a4f..f8a64d959f 100644 --- a/python/python3-dogpile.cache/python3-dogpile.cache.info +++ b/python/python3-dogpile.cache/python3-dogpile.cache.info @@ -1,8 +1,8 @@ PRGNAM="python3-dogpile.cache" -VERSION="1.4.0" +VERSION="1.4.1" HOMEPAGE="https://dogpilecache.sqlalchemy.org/" -DOWNLOAD="https://github.com/sqlalchemy/dogpile.cache/archive/rel_1_4_0/dogpile.cache-rel_1_4_0.tar.gz" -MD5SUM="fdfcc535a75e87eee133fd30459bf5d6" +DOWNLOAD="https://github.com/sqlalchemy/dogpile.cache/archive/rel_1_4_1/dogpile.cache-rel_1_4_1.tar.gz" +MD5SUM="0e2958504afc3120e807f6fe80896ecd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-stevedore python3-decorator python3-typing-extensions python3-setuptools-opt" diff --git a/python/python3-dotenv/python3-dotenv.SlackBuild b/python/python3-dotenv/python3-dotenv.SlackBuild index 63c45645d6..28db4f1611 100644 --- a/python/python3-dotenv/python3-dotenv.SlackBuild +++ b/python/python3-dotenv/python3-dotenv.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dotenv SRCNAM=python_dotenv -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,13 +57,15 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) -python3 setup.py install --root=$PKG +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-dotenv/python3-dotenv.info b/python/python3-dotenv/python3-dotenv.info index 9ba920edf9..7cec8808a6 100644 --- a/python/python3-dotenv/python3-dotenv.info +++ b/python/python3-dotenv/python3-dotenv.info @@ -1,10 +1,10 @@ PRGNAM="python3-dotenv" -VERSION="1.1.0" +VERSION="1.2.1" HOMEPAGE="https://github.com/theskumar/python-dotenv" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python_dotenv/python_dotenv-1.1.0.tar.gz" -MD5SUM="9bdf50416b1c59832d2f77ad6afdf0d8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python_dotenv/python_dotenv-1.2.1.tar.gz" +MD5SUM="72b43685c14b492ced7ed6fb1e3f1d63" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt click" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-dulwich/python3-dulwich.SlackBuild b/python/python3-dulwich/python3-dulwich.SlackBuild index f7f240e32e..16ffdb4685 100644 --- a/python/python3-dulwich/python3-dulwich.SlackBuild +++ b/python/python3-dulwich/python3-dulwich.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dulwich SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.22.8} +VERSION=${VERSION:-0.24.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,7 +72,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS *.rst COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.rst COPYING NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-dulwich/python3-dulwich.info b/python/python3-dulwich/python3-dulwich.info index 966da60298..63ca8f695e 100644 --- a/python/python3-dulwich/python3-dulwich.info +++ b/python/python3-dulwich/python3-dulwich.info @@ -1,8 +1,8 @@ PRGNAM="python3-dulwich" -VERSION="0.22.8" +VERSION="0.24.10" HOMEPAGE="https://www.dulwich.io/" -DOWNLOAD="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.22.8.tar.gz" -MD5SUM="13dea8a5ca6f613844d22bedbe5adb0f" +DOWNLOAD="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.24.10.tar.gz" +MD5SUM="30c16c5a76bafed8142aca97e283a3f8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-rust-opt" diff --git a/python/python3-dunamai/python3-dunamai.SlackBuild b/python/python3-dunamai/python3-dunamai.SlackBuild index f7164a9db4..0da59c0c9c 100644 --- a/python/python3-dunamai/python3-dunamai.SlackBuild +++ b/python/python3-dunamai/python3-dunamai.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dunamai SRCNAM=dunamai -VERSION=${VERSION:-1.24.1} +VERSION=${VERSION:-1.25.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-dunamai/python3-dunamai.info b/python/python3-dunamai/python3-dunamai.info index eba6ae44e4..4ee6d287b3 100644 --- a/python/python3-dunamai/python3-dunamai.info +++ b/python/python3-dunamai/python3-dunamai.info @@ -1,8 +1,8 @@ PRGNAM="python3-dunamai" -VERSION="1.24.1" +VERSION="1.25.0" HOMEPAGE="https://github.com/mtkennerly/dunamai" -DOWNLOAD="https://files.pythonhosted.org/packages/54/22/7f46b0146ef614cd6f80e4bcb188dabe33e90b4e0af028e16f597f5826ad/dunamai-1.24.1.tar.gz" -MD5SUM="3492ddc926590ba8a21b694036890062" +DOWNLOAD="https://files.pythonhosted.org/packages/f1/2f/194d9a34c4d831c6563d2d990720850f0baef9ab60cb4ad8ae0eff6acd34/dunamai-1.25.0.tar.gz" +MD5SUM="74e16e6b35645ee136c5df3328567862" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core" diff --git a/python/python3-editorconfig/README b/python/python3-editorconfig/README new file mode 100644 index 0000000000..bc82f68d26 --- /dev/null +++ b/python/python3-editorconfig/README @@ -0,0 +1,11 @@ +python3-editorconfig (meta-configuration for text editors) + +EditorConfig Python Core provides the same functionality as the +EditorConfig C Core. EditorConfig Python core can be used as a command +line program or as an importable library. + +EditorConfig makes it easy to maintain the correct coding style +when switching between different text editors and between different +projects. The EditorConfig project maintains a file format and +plugins for various text editors which allow this file format to be +read and used by those editors. diff --git a/python/python3-editorconfig/python3-editorconfig.SlackBuild b/python/python3-editorconfig/python3-editorconfig.SlackBuild new file mode 100644 index 0000000000..514623da67 --- /dev/null +++ b/python/python3-editorconfig/python3-editorconfig.SlackBuild @@ -0,0 +1,62 @@ +#!/bin/bash + +# Slackware build script for python3-editorconfig + +# Written by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-editorconfig +SRCNAM=editorconfig +VERSION=${VERSION:-0.17.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 setup.py install --root=$PKG + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a COPYING* LICENSE* README* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-editorconfig/python3-editorconfig.info b/python/python3-editorconfig/python3-editorconfig.info new file mode 100644 index 0000000000..414f834280 --- /dev/null +++ b/python/python3-editorconfig/python3-editorconfig.info @@ -0,0 +1,10 @@ +PRGNAM="python3-editorconfig" +VERSION="0.17.1" +HOMEPAGE="https://pypi.org/project/EditorConfig/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/editorconfig/editorconfig-0.17.1.tar.gz" +MD5SUM="7c8fa1ddcbe8b9941b83141051b8e1e3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/python/python3-editorconfig/slack-desc b/python/python3-editorconfig/slack-desc new file mode 100644 index 0000000000..d12ed3e70e --- /dev/null +++ b/python/python3-editorconfig/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-editorconfig: python3-editorconfig (meta-configuration for text editors) +python3-editorconfig: +python3-editorconfig: EditorConfig Python Core provides the same functionality as the +python3-editorconfig: EditorConfig C Core. EditorConfig Python core can be used as a command +python3-editorconfig: line program or as an importable library. +python3-editorconfig: +python3-editorconfig: +python3-editorconfig: +python3-editorconfig: +python3-editorconfig: +python3-editorconfig: diff --git a/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild b/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild index ce7ccfe619..5aec731af5 100644 --- a/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild +++ b/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-exceptiongroup SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-exceptiongroup/python3-exceptiongroup.info b/python/python3-exceptiongroup/python3-exceptiongroup.info index df682acfb0..7d429ef8b8 100644 --- a/python/python3-exceptiongroup/python3-exceptiongroup.info +++ b/python/python3-exceptiongroup/python3-exceptiongroup.info @@ -1,8 +1,8 @@ PRGNAM="python3-exceptiongroup" -VERSION="1.3.0" +VERSION="1.3.1" HOMEPAGE="https://github.com/agronholm/exceptiongroup" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/exceptiongroup/exceptiongroup-1.3.0.tar.gz" -MD5SUM="85af34d4754844f5becff4fb0f9f87e2" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/exceptiongroup/exceptiongroup-1.3.1.tar.gz" +MD5SUM="f88685ec75c5715111d65aeae28c9322" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-flit_scm python3-typing-extensions" diff --git a/python/python3-executing/python3-executing.SlackBuild b/python/python3-executing/python3-executing.SlackBuild index a73ddcb387..767b6400a7 100644 --- a/python/python3-executing/python3-executing.SlackBuild +++ b/python/python3-executing/python3-executing.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-executing SRCNAM=executing -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-2.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-executing/python3-executing.info b/python/python3-executing/python3-executing.info index 989953f0db..0fd8eb7e02 100644 --- a/python/python3-executing/python3-executing.info +++ b/python/python3-executing/python3-executing.info @@ -1,8 +1,8 @@ PRGNAM="python3-executing" -VERSION="2.2.0" +VERSION="2.2.1" HOMEPAGE="https://github.com/alexmojaki/executing" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/executing/executing-2.2.0.tar.gz" -MD5SUM="6d79de70b73814ee0ac523140c47714f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/executing/executing-2.2.1.tar.gz" +MD5SUM="02588d10820c930874def80b2fb60c4e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-expandvars/python3-expandvars.SlackBuild b/python/python3-expandvars/python3-expandvars.SlackBuild index f2f16eaa9c..c0e32753f1 100644 --- a/python/python3-expandvars/python3-expandvars.SlackBuild +++ b/python/python3-expandvars/python3-expandvars.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) SRCNAM=expandvars PRGNAM=python3-expandvars -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-expandvars/python3-expandvars.info b/python/python3-expandvars/python3-expandvars.info index 278d07662e..78457a0a01 100644 --- a/python/python3-expandvars/python3-expandvars.info +++ b/python/python3-expandvars/python3-expandvars.info @@ -1,8 +1,8 @@ PRGNAM="python3-expandvars" -VERSION="1.0.0" +VERSION="1.1.2" HOMEPAGE="https://github.com/sayanarijit/expandvars/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/expandvars/expandvars-1.0.0.tar.gz" -MD5SUM="8f36c472b29b8c83a1585dd53b4ed0d1" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/expandvars/expandvars-1.1.2.tar.gz" +MD5SUM="6afc7c8f9c35241333408f34e598f458" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-falcon/python3-falcon.SlackBuild b/python/python3-falcon/python3-falcon.SlackBuild index 5c8c1dbe34..a75b5f4300 100644 --- a/python/python3-falcon/python3-falcon.SlackBuild +++ b/python/python3-falcon/python3-falcon.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-falcon SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.0.2} +VERSION=${VERSION:-4.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-falcon/python3-falcon.info b/python/python3-falcon/python3-falcon.info index 035ee57e56..f844d45198 100644 --- a/python/python3-falcon/python3-falcon.info +++ b/python/python3-falcon/python3-falcon.info @@ -1,8 +1,8 @@ PRGNAM="python3-falcon" -VERSION="4.0.2" +VERSION="4.2.0" HOMEPAGE="https://falconframework.org/" -DOWNLOAD="https://pypi.python.org/packages/source/f/falcon/falcon-4.0.2.tar.gz" -MD5SUM="779e94857aed44e78536a9d36268e76c" +DOWNLOAD="https://pypi.python.org/packages/source/f/falcon/falcon-4.2.0.tar.gz" +MD5SUM="d4d156864d62dfd93abc2fde90ad6fa0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt python3-cython-opt" diff --git a/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild b/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild index a507a9cc1b..949c586089 100644 --- a/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild +++ b/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-fastjsonschema -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-fastjsonschema -VERSION=${VERSION:-2.21.1} +VERSION=${VERSION:-2.21.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-fastjsonschema/python3-fastjsonschema.info b/python/python3-fastjsonschema/python3-fastjsonschema.info index 0aa3a89073..445d552740 100644 --- a/python/python3-fastjsonschema/python3-fastjsonschema.info +++ b/python/python3-fastjsonschema/python3-fastjsonschema.info @@ -1,8 +1,8 @@ PRGNAM="python3-fastjsonschema" -VERSION="2.21.1" +VERSION="2.21.2" HOMEPAGE="https://github.com/horejsek/python-fastjsonschema" -DOWNLOAD="https://github.com/horejsek/python-fastjsonschema/archive/v2.21.1/python-fastjsonschema-2.21.1.tar.gz" -MD5SUM="9d7a184b7bad3b84f2d885077d1554be" +DOWNLOAD="https://github.com/horejsek/python-fastjsonschema/archive/v2.21.2/python-fastjsonschema-2.21.2.tar.gz" +MD5SUM="c7bd2320386f60b93fc30f0777137298" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-filelock/python3-filelock.SlackBuild b/python/python3-filelock/python3-filelock.SlackBuild index 7cdc6f4cc1..4b3f7e183f 100644 --- a/python/python3-filelock/python3-filelock.SlackBuild +++ b/python/python3-filelock/python3-filelock.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-filelock SRCNAM=filelock -VERSION=${VERSION:-3.18.0} +VERSION=${VERSION:-3.20.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-filelock/python3-filelock.info b/python/python3-filelock/python3-filelock.info index e54252410c..1c26f5d015 100644 --- a/python/python3-filelock/python3-filelock.info +++ b/python/python3-filelock/python3-filelock.info @@ -1,8 +1,8 @@ PRGNAM="python3-filelock" -VERSION="3.18.0" +VERSION="3.20.0" HOMEPAGE="https://github.com/tox-dev/filelock" -DOWNLOAD="https://github.com/tox-dev/filelock/archive/3.18.0/filelock-3.18.0.tar.gz" -MD5SUM="60d4a2c97484dd496e3e8983801357b7" +DOWNLOAD="https://github.com/tox-dev/filelock/archive/3.20.0/filelock-3.20.0.tar.gz" +MD5SUM="54c33c88108e3b5c14a2d18b642ef747" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs" diff --git a/python/python3-findpython/python3-findpython.SlackBuild b/python/python3-findpython/python3-findpython.SlackBuild index d7d53161c3..40d1348a72 100644 --- a/python/python3-findpython/python3-findpython.SlackBuild +++ b/python/python3-findpython/python3-findpython.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-findpython -VERSION=${VERSION:-0.6.3} +VERSION=${VERSION:-0.7.1} SRCNAM=${SRCNAM:-findpython} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-findpython/python3-findpython.info b/python/python3-findpython/python3-findpython.info index 94d4e0fedf..1df3c15206 100644 --- a/python/python3-findpython/python3-findpython.info +++ b/python/python3-findpython/python3-findpython.info @@ -1,8 +1,8 @@ PRGNAM="python3-findpython" -VERSION="0.6.3" +VERSION="0.7.1" HOMEPAGE="https://github.com/frostming/findpython/" -DOWNLOAD="https://github.com/frostming/findpython/archive/refs/tags/0.6.3/findpython-0.6.3.tar.gz" -MD5SUM="b46165126ce672b0014055c65d2c30ad" +DOWNLOAD="https://github.com/frostming/findpython/archive/refs/tags/0.7.1/findpython-0.7.1.tar.gz" +MD5SUM="06a59e8878ccf3a509f1be140432ed0e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pdm-backend" diff --git a/python/python3-fontmake/python3-fontmake.SlackBuild b/python/python3-fontmake/python3-fontmake.SlackBuild index bac8942746..0a83928290 100644 --- a/python/python3-fontmake/python3-fontmake.SlackBuild +++ b/python/python3-fontmake/python3-fontmake.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-fontmake -# Copyright 2023-2024 Vijay Marcel +# Copyright 2023-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-fontmake -VERSION=${VERSION:-3.10.0} +VERSION=${VERSION:-3.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,9 +78,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/python3-fontmake/python3-fontmake.info b/python/python3-fontmake/python3-fontmake.info index 1c6d058d54..3a5f561559 100644 --- a/python/python3-fontmake/python3-fontmake.info +++ b/python/python3-fontmake/python3-fontmake.info @@ -1,8 +1,8 @@ PRGNAM="python3-fontmake" -VERSION="3.10.0" +VERSION="3.11.0" HOMEPAGE="https://github.com/googlei18n/fontmake" -DOWNLOAD="https://pypi.io/packages/source/f/fontmake/fontmake-3.10.0.zip" -MD5SUM="97f39fdedff5c6f62785dc5cf023a5f6" +DOWNLOAD="https://pypi.io/packages/source/f/fontmake/fontmake-3.11.0.zip" +MD5SUM="ecde957d9c75cd500d79e0e3057a8be0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pyclipper ttfautohint-py python3-MutatorMath python3-glyphslib" diff --git a/python/python3-fonttools/python3-fonttools.SlackBuild b/python/python3-fonttools/python3-fonttools.SlackBuild index 6626a99312..4ef1d32e07 100644 --- a/python/python3-fonttools/python3-fonttools.SlackBuild +++ b/python/python3-fonttools/python3-fonttools.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-fonttools SRCNAM=fonttools -VERSION=${VERSION:-4.58.0} +VERSION=${VERSION:-4.60.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -75,9 +75,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -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 diff --git a/python/python3-fonttools/python3-fonttools.info b/python/python3-fonttools/python3-fonttools.info index 748cdade7d..5ea7553763 100644 --- a/python/python3-fonttools/python3-fonttools.info +++ b/python/python3-fonttools/python3-fonttools.info @@ -1,8 +1,8 @@ PRGNAM="python3-fonttools" -VERSION="4.58.0" +VERSION="4.60.1" HOMEPAGE="https://github.com/fonttools/fonttools" -DOWNLOAD="https://pypi.io/packages/source/f/fonttools/fonttools-4.58.0.tar.gz" -MD5SUM="d4831e9b477b744848c3133bdd9ec27d" +DOWNLOAD="https://pypi.io/packages/source/f/fonttools/fonttools-4.60.1.tar.gz" +MD5SUM="b4b79d23865d50084d4c05defa186fc9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-unicodedata2 python3-scipy python3-zopfli python3-fs python3-uharfbuzz python3-lxml python3-lz4 python3-setuptools-opt" diff --git a/python/python3-formencode/python3-formencode.info b/python/python3-formencode/python3-formencode.info index fa3330fe2c..cf92eb7894 100644 --- a/python/python3-formencode/python3-formencode.info +++ b/python/python3-formencode/python3-formencode.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/f/formencode/formencode-2.1.1. MD5SUM="d179386d31ae8c32e70d004dca19ac60" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-setuptools_scm_git_archive" +REQUIRES="" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-fritzconnection/README b/python/python3-fritzconnection/README new file mode 100644 index 0000000000..e98ce9cfd5 --- /dev/null +++ b/python/python3-fritzconnection/README @@ -0,0 +1,3 @@ +Python-Interface to communicate with the AVM Fritz!Box. +Supports the TR-064 protocol, the (AHA-)HTTP-Interface +and also allows call-monitoring. diff --git a/python/python3-fritzconnection/python3-fritzconnection.SlackBuild b/python/python3-fritzconnection/python3-fritzconnection.SlackBuild new file mode 100644 index 0000000000..417bbbaf3d --- /dev/null +++ b/python/python3-fritzconnection/python3-fritzconnection.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Slackware build script for python3-fritzconnection + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-fritzconnection +VERSION=${VERSION:-1.15.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=fritzconnection + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 \ + LICENSE.txt README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-fritzconnection/python3-fritzconnection.info b/python/python3-fritzconnection/python3-fritzconnection.info new file mode 100644 index 0000000000..f4b1a02de1 --- /dev/null +++ b/python/python3-fritzconnection/python3-fritzconnection.info @@ -0,0 +1,10 @@ +PRGNAM="python3-fritzconnection" +VERSION="1.15.0" +HOMEPAGE="https://github.com/kbr/fritzconnection" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/fritzconnection/fritzconnection-1.15.0.tar.gz" +MD5SUM="fe2d9695cf947ae26153dc44a8c6134a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-fritzconnection/slack-desc b/python/python3-fritzconnection/slack-desc new file mode 100644 index 0000000000..fa96fe1679 --- /dev/null +++ b/python/python3-fritzconnection/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-fritzconnection: python3-fritzconnection (Communicate with the AVM FRITZ!Box) +python3-fritzconnection: +python3-fritzconnection: Python-Interface to communicate with the AVM Fritz!Box. +python3-fritzconnection: Supports the TR-064 protocol, the (AHA-)HTTP-Interface +python3-fritzconnection: and also allows call-monitoring. +python3-fritzconnection: +python3-fritzconnection: +python3-fritzconnection: Homepage: https://github.com/kbr/fritzconnection +python3-fritzconnection: +python3-fritzconnection: +python3-fritzconnection: diff --git a/python/python3-frozenlist/python3-frozenlist.SlackBuild b/python/python3-frozenlist/python3-frozenlist.SlackBuild index 5845b92575..1a7fcab033 100644 --- a/python/python3-frozenlist/python3-frozenlist.SlackBuild +++ b/python/python3-frozenlist/python3-frozenlist.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-frozenlist -VERSION=${VERSION:-1.6.0} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-frozenlist/python3-frozenlist.info b/python/python3-frozenlist/python3-frozenlist.info index 635d00afff..0f0f99e527 100644 --- a/python/python3-frozenlist/python3-frozenlist.info +++ b/python/python3-frozenlist/python3-frozenlist.info @@ -1,8 +1,8 @@ PRGNAM="python3-frozenlist" -VERSION="1.6.0" +VERSION="1.8.0" HOMEPAGE="https://github.com/aio-libs/frozenlist" -DOWNLOAD="https://github.com/aio-libs/frozenlist/releases/download/v1.6.0/frozenlist-1.6.0.tar.gz" -MD5SUM="79ced69488e2789077d5b969e72badb7" +DOWNLOAD="https://github.com/aio-libs/frozenlist/releases/download/v1.8.0/frozenlist-1.8.0.tar.gz" +MD5SUM="3d8350ebe62603b7be5f516292c7aa6c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-cython-opt python3-expandvars" diff --git a/python/python3-gTTS/README b/python/python3-gTTS/README new file mode 100644 index 0000000000..434c05b19c --- /dev/null +++ b/python/python3-gTTS/README @@ -0,0 +1 @@ +gTTS (Google Text-to-Speech) diff --git a/python/python3-gTTS/python3-gTTS.SlackBuild b/python/python3-gTTS/python3-gTTS.SlackBuild new file mode 100644 index 0000000000..82daed9da9 --- /dev/null +++ b/python/python3-gTTS/python3-gTTS.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/bash + +# Slackware build script for gTTS +# rizitis 2025 + +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-gTTS +SRCNAM=gTTS +VERSION=${VERSION:-2.5.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Slackware.15.0`s python3 is too old, to avoid: +# ERROR Missing dependencies: +# setuptools>=61 + +# we must "hack"... +# Determine Python site-packages +PYTHON_SITE=$(python3 -c "import sysconfig; print(sysconfig.get_path('purelib'))") +mkdir -p "$PKG/$PYTHON_SITE" +cp -R ./gtts "$PKG/$PYTHON_SITE/" +# remove test... +rm -rf "$PKG/$PYTHON_SITE/"{tokenizer,tests} + +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 *.md *.rst LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-gTTS/python3-gTTS.info b/python/python3-gTTS/python3-gTTS.info new file mode 100644 index 0000000000..2f8053522a --- /dev/null +++ b/python/python3-gTTS/python3-gTTS.info @@ -0,0 +1,10 @@ +PRGNAM="python3-gTTS" +VERSION="2.5.4" +HOMEPAGE="https://github.com/pndurette/gTTS" +DOWNLOAD="https://github.com/pndurette/gTTS/archive/v2.5.4/gTTS-2.5.4.tar.gz" +MD5SUM="aa364d23b5d72a33db312f755eda789b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="click" +MAINTAINER="Ioannis Anagnostakis" +EMAIL="rizitis@gmail.com" diff --git a/python/python3-gTTS/slack-desc b/python/python3-gTTS/slack-desc new file mode 100644 index 0000000000..2118659d2d --- /dev/null +++ b/python/python3-gTTS/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-gTTS: python3-gTTS (Google Text-to-Speech) +python3-gTTS: +python3-gTTS: Python library and CLI tool to interface with Google Translate's +python3-gTTS: text-to-speech API. Write spoken mp3 data to a file, a file-like +python3-gTTS: object (bytestring) for further audio manipulation, or stdout. +python3-gTTS: +python3-gTTS: +python3-gTTS: +python3-gTTS: https://gtts.readthedocs.io/ +python3-gTTS: +python3-gTTS: diff --git a/python/python3-gensim/python3-gensim.SlackBuild b/python/python3-gensim/python3-gensim.SlackBuild index 9c559f2e86..a6ec4467a8 100644 --- a/python/python3-gensim/python3-gensim.SlackBuild +++ b/python/python3-gensim/python3-gensim.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-gensim -VERSION=${VERSION:-4.3.3} +VERSION=${VERSION:-4.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-gensim/python3-gensim.info b/python/python3-gensim/python3-gensim.info index 86e21ac862..1cd421e79e 100644 --- a/python/python3-gensim/python3-gensim.info +++ b/python/python3-gensim/python3-gensim.info @@ -1,8 +1,8 @@ PRGNAM="python3-gensim" -VERSION="4.3.3" +VERSION="4.4.0" HOMEPAGE="https://radimrehurek.com/gensim/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/gensim/gensim-4.3.3.tar.gz" -MD5SUM="4cc2e87007cf5047b22555a79c9364fb" +DOWNLOAD="https://files.pythonhosted.org/packages/source/g/gensim/gensim-4.4.0.tar.gz" +MD5SUM="17bc0b1e2f4bd50aae7a657f0abbb7d9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-scipy python3-smart_open" diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild index bf6bbee383..5998f79c59 100644 --- a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild +++ b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-python3-geventhttpclient # -# Copyright 2021-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2021-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-geventhttpclient SRCNAM=geventhttpclient -VERSION=${VERSION:-2.3.3} +VERSION=${VERSION:-2.3.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,20 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.info b/python/python3-geventhttpclient/python3-geventhttpclient.info index 50e74738a9..10762090f7 100644 --- a/python/python3-geventhttpclient/python3-geventhttpclient.info +++ b/python/python3-geventhttpclient/python3-geventhttpclient.info @@ -1,8 +1,8 @@ PRGNAM="python3-geventhttpclient" -VERSION="2.3.3" +VERSION="2.3.4" HOMEPAGE="https://github.com/geventhttpclient/geventhttpclient" -DOWNLOAD="https://files.pythonhosted.org/packages/29/26/018524ea81b2021dc2fe60e1a9c3f5eb347e09a5364cdcb7b92d7e7d3c28/geventhttpclient-2.3.3.tar.gz" -MD5SUM="ec29adc387f88926d4419d3873dbe4b6" +DOWNLOAD="https://files.pythonhosted.org/packages/89/19/1ca8de73dcc0596d3df01be299e940d7fc3bccbeb6f62bb8dd2d427a3a50/geventhttpclient-2.3.4.tar.gz" +MD5SUM="34d06a7fadb54de4aeac889c44643a29" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gevent llhttp python3-setuptools-opt" diff --git a/python/python3-glances/python3-glances.SlackBuild b/python/python3-glances/python3-glances.SlackBuild index 805b434158..44979ceb6f 100644 --- a/python/python3-glances/python3-glances.SlackBuild +++ b/python/python3-glances/python3-glances.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-glances SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.3.1} +VERSION=${VERSION:-4.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,11 +59,9 @@ rm -rf $SRCNAM-$VERSION tar xvzf $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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) #change location to install man pages sed -i 's|share/man|man|g' pyproject.toml diff --git a/python/python3-glances/python3-glances.info b/python/python3-glances/python3-glances.info index 14c843a39c..b2f3e7e572 100644 --- a/python/python3-glances/python3-glances.info +++ b/python/python3-glances/python3-glances.info @@ -1,10 +1,10 @@ PRGNAM="python3-glances" -VERSION="4.3.1" +VERSION="4.4.1" HOMEPAGE="https://github.com/nicolargo/glances" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/glances/glances-4.3.1.tar.gz" -MD5SUM="fc7d3adc4339b5be736c6a1c11a6f1b3" +DOWNLOAD="https://files.pythonhosted.org/packages/source/g/glances/glances-4.4.1.tar.gz" +MD5SUM="250d53f1de86dc912a27b92e96ca5ad2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-psutil python3-defusedxml python3-orjson python3-netifaces python3-pymdstat python3-py-cpuinfo" +REQUIRES="python3-psutil python3-defusedxml python3-orjson python3-netifaces python3-pymdstat python3-py-cpuinfo python3-shtab" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-glyphslib/python3-glyphslib.SlackBuild b/python/python3-glyphslib/python3-glyphslib.SlackBuild index ef01aaaf6f..e60f0e0eec 100644 --- a/python/python3-glyphslib/python3-glyphslib.SlackBuild +++ b/python/python3-glyphslib/python3-glyphslib.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-glyphslib -VERSION=${VERSION:-6.10.1} +VERSION=${VERSION:-6.11.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-glyphslib/python3-glyphslib.info b/python/python3-glyphslib/python3-glyphslib.info index 41422412a8..98a88636fc 100644 --- a/python/python3-glyphslib/python3-glyphslib.info +++ b/python/python3-glyphslib/python3-glyphslib.info @@ -1,8 +1,8 @@ PRGNAM="python3-glyphslib" -VERSION="6.10.1" +VERSION="6.11.6" HOMEPAGE="https://github.com/googlefonts/glyphsLib" -DOWNLOAD="https://pypi.io/packages/source/g/glyphsLib/glyphslib-6.10.1.tar.gz" -MD5SUM="4707691c5fe9083dc4fb77a74ef82d13" +DOWNLOAD="https://pypi.io/packages/source/g/glyphsLib/glyphslib-6.11.6.tar.gz" +MD5SUM="5dc1ac5103170de95670080d7b73a76a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-openstep-plist python3-ufolib2 python3-ufo2ft python3-xmldiff" diff --git a/python/python3-gmpy2/python3-gmpy2.SlackBuild b/python/python3-gmpy2/python3-gmpy2.SlackBuild index 3e01eb4902..55d4907194 100644 --- a/python/python3-gmpy2/python3-gmpy2.SlackBuild +++ b/python/python3-gmpy2/python3-gmpy2.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for python3-gmpy2 +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2019-2023, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-gmpy2 SRCNAM=gmpy2 -VERSION=${VERSION:-2.1.5} +VERSION=${VERSION:-2.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +64,8 @@ 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 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -70,7 +73,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION chmod 644 docs/* -cp -a README docs $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst docs $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-gmpy2/python3-gmpy2.info b/python/python3-gmpy2/python3-gmpy2.info index 4938e07702..d978982802 100644 --- a/python/python3-gmpy2/python3-gmpy2.info +++ b/python/python3-gmpy2/python3-gmpy2.info @@ -1,10 +1,10 @@ PRGNAM="python3-gmpy2" -VERSION="2.1.5" -HOMEPAGE="https://github.com/aleaxit/gmpy" -DOWNLOAD="https://files.pythonhosted.org/packages/d9/2e/2848cb5ab5240cb34b967602990450d0fd715f013806929b2f82821cef7f/gmpy2-2.1.5.tar.gz" -MD5SUM="0cd8e9d89c2f9d018eb52d2983abaeb4" +VERSION="2.2.1" +HOMEPAGE="https://pypi.org/project/gmpy2/" +DOWNLOAD="https://files.pythonhosted.org/packages/07/bd/c6c154ce734a3e6187871b323297d8e5f3bdf9feaafc5212381538bc19e4/gmpy2-2.2.1.tar.gz" +MD5SUM="38961d26ff09cc70ff3cf07fcc892831" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild index afef2e2638..8b1fea4044 100644 --- a/python/python3-grpcio/python3-grpcio.SlackBuild +++ b/python/python3-grpcio/python3-grpcio.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-grpcio -VERSION=${VERSION:-1.72.0} +VERSION=${VERSION:-1.75.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -75,6 +75,11 @@ export GRPC_PYTHON_BUILD_SYSTEM_RE2=1 export GRPC_PYTHON_BUILD_SYSTEM_ABSL=1 export GRPC_BUILD_WITH_BORING_SSL_ASM=0 +# Cython 3 is required for building python3-grpcio >= 1.75.1 +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" + # Build python3-grcpio GRPC_PYTHON_CFLAGS="-fvisibility=hidden -fno-wrapv -fno-exceptions $(pkg-config --cflags protobuf) -std=c++17" \ python3 setup.py install --root=$PKG diff --git a/python/python3-grpcio/python3-grpcio.info b/python/python3-grpcio/python3-grpcio.info index e5cbf23245..402c6007f1 100644 --- a/python/python3-grpcio/python3-grpcio.info +++ b/python/python3-grpcio/python3-grpcio.info @@ -1,10 +1,10 @@ PRGNAM="python3-grpcio" -VERSION="1.72.0" +VERSION="1.75.1" HOMEPAGE="https://grpc.io/" -DOWNLOAD="https://github.com/grpc/grpc/archive/v1.72.0/grpc-1.72.0.tar.gz" -MD5SUM="5ea01c490dceb43b2fa21462c70beea4" +DOWNLOAD="https://github.com/grpc/grpc/archive/v1.75.1/grpc-1.75.1.tar.gz" +MD5SUM="d3154a2dd983ab10784dd0699f4d42a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="protobuf3 re2" +REQUIRES="protobuf3 python3-cython-opt re2" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-h5py/python3-h5py.info b/python/python3-h5py/python3-h5py.info index de3240efa9..c29f46747d 100644 --- a/python/python3-h5py/python3-h5py.info +++ b/python/python3-h5py/python3-h5py.info @@ -6,5 +6,5 @@ MD5SUM="40d0eff953e53df3579ad77bce103694" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="hdf5 liblzf python3-numpy python3-pkgconfig" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild b/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild index c941609e57..7c103b5b19 100644 --- a/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild +++ b/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-hatch-nodejs-version -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-hatch-nodejs-version SRCNAM=$(echo $PRGNAM | sed "s/python3-//") -VERSION=${VERSION:-0.3.2} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,20 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.info b/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.info index 6e7e648b30..e946c2e13a 100644 --- a/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.info +++ b/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.info @@ -1,8 +1,8 @@ PRGNAM="python3-hatch-nodejs-version" -VERSION="0.3.2" +VERSION="0.4.0" HOMEPAGE="https://github.com/agoose77/hatch-nodejs-version" -DOWNLOAD="https://github.com/agoose77/hatch-nodejs-version/archive/v0.3.2/hatch-nodejs-version-0.3.2.tar.gz" -MD5SUM="68a69bd97c62ad0bf0e9d585d3e429e3" +DOWNLOAD="https://github.com/agoose77/hatch-nodejs-version/archive/v0.4.0/hatch-nodejs-version-0.4.0.tar.gz" +MD5SUM="a9b1d6ea30eea7b1b711f6fb7d9ab73f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-hatchling/README b/python/python3-hatchling/README index 23639b967c..8abb2dfcf3 100644 --- a/python/python3-hatchling/README +++ b/python/python3-hatchling/README @@ -8,3 +8,7 @@ Slackbuild as hatchling now requires python3-packaging-opt: PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages + +NOTE: As of version 1.28.0 hatchling has dropped support for python3.9. + However, it still seems to work fine so I will continue updating + it for the time being. diff --git a/python/python3-hatchling/python3-hatchling.SlackBuild b/python/python3-hatchling/python3-hatchling.SlackBuild index 1341f4d561..c1da6ebfbc 100644 --- a/python/python3-hatchling/python3-hatchling.SlackBuild +++ b/python/python3-hatchling/python3-hatchling.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-hatchling SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.27.0} +VERSION=${VERSION:-1.28.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,11 +59,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-hatchling/python3-hatchling.info b/python/python3-hatchling/python3-hatchling.info index 4652ebbd3e..87f68319eb 100644 --- a/python/python3-hatchling/python3-hatchling.info +++ b/python/python3-hatchling/python3-hatchling.info @@ -1,8 +1,8 @@ PRGNAM="python3-hatchling" -VERSION="1.27.0" +VERSION="1.28.0" HOMEPAGE="https://github.com/pypa/hatch/tree/master/backend" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.27.0.tar.gz" -MD5SUM="6ffb3087c9b6a9ffbfc1bb394f7ed1a8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.28.0.tar.gz" +MD5SUM="0d40370d4684147d6e3d1e3800298bd0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-editables python3-pathspec python3-pluggy python3-trove-classifiers python3-setuptools-opt" diff --git a/python/python3-hishel/python3-hishel.SlackBuild b/python/python3-hishel/python3-hishel.SlackBuild index 5967f29956..45c76680af 100644 --- a/python/python3-hishel/python3-hishel.SlackBuild +++ b/python/python3-hishel/python3-hishel.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-hishel -VERSION=${VERSION:-0.1.2} +VERSION=${VERSION:-0.1.3} SRCNAM=${SRCNAM:-hishel} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-hishel/python3-hishel.info b/python/python3-hishel/python3-hishel.info index 4e20a0b3e9..98083a1efa 100644 --- a/python/python3-hishel/python3-hishel.info +++ b/python/python3-hishel/python3-hishel.info @@ -1,8 +1,8 @@ PRGNAM="python3-hishel" -VERSION="0.1.2" +VERSION="0.1.3" HOMEPAGE="https://hishel.com/" -DOWNLOAD="https://github.com/karpetrosyan/hishel/archive/refs/tags/0.1.2/hishel-0.1.2.tar.gz" -MD5SUM="cafcc66cebcb29776cb93c407aeb8a55" +DOWNLOAD="https://github.com/karpetrosyan/hishel/archive/refs/tags/0.1.3/hishel-0.1.3.tar.gz" +MD5SUM="bdbc60f82eca624e249939c1271919d9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-httpx" diff --git a/python/python3-hyperframe/README b/python/python3-hyperframe/README new file mode 100644 index 0000000000..ff3f9d1a45 --- /dev/null +++ b/python/python3-hyperframe/README @@ -0,0 +1,6 @@ +This library contains the HTTP/2 framing code used in the hyper +project. It provides a pure-Python codebase that is capable of +decoding a binary stream into HTTP/2 frames. + +This library is used directly by hyper and a number of other +projects to provide HTTP/2 frame decoding logic. diff --git a/python/python3-xdg/python3-xdg.SlackBuild b/python/python3-hyperframe/python3-hyperframe.SlackBuild index 67fdee4ed1..92f270b5b0 100644 --- a/python/python3-xdg/python3-xdg.SlackBuild +++ b/python/python3-hyperframe/python3-hyperframe.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-xdg +# Slackware build script for python3-hyperframe -# Copyright 2023 Tonus Paris +# Copyright 2025 Tonus Paris # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-xdg -VERSION=${VERSION:-5.1.1} +PRGNAM=python3-hyperframe +VERSION=${VERSION:-6.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=xdg +SRCNAM=hyperframe if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -51,20 +51,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -80,13 +66,19 @@ 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 +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 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 README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-hyperframe/python3-hyperframe.info b/python/python3-hyperframe/python3-hyperframe.info new file mode 100644 index 0000000000..1288d0797b --- /dev/null +++ b/python/python3-hyperframe/python3-hyperframe.info @@ -0,0 +1,10 @@ +PRGNAM="python3-hyperframe" +VERSION="6.1.0" +HOMEPAGE="https://github.com/python-hyper/hyperframe/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-6.1.0.tar.gz" +MD5SUM="fda90f638a3db3e8f1837c2e0ade8f08" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-installer python3-wheel python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-hyperframe/slack-desc b/python/python3-hyperframe/slack-desc new file mode 100644 index 0000000000..0138dedfe3 --- /dev/null +++ b/python/python3-hyperframe/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-hyperframe: python3-hyperframe (library providing HTTP/2 frame decoding logic) +python3-hyperframe: +python3-hyperframe: Library contains the HTTP/2 framing code used in the hyper project. +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: diff --git a/python/python3-iniconfig/README b/python/python3-iniconfig/README index c87311dd9e..3c790e2a7e 100644 --- a/python/python3-iniconfig/README +++ b/python/python3-iniconfig/README @@ -1,3 +1,5 @@ +iniconfig (brain-dead simple config-ini parsing) + iniconfig is a small and simple INI-file parser module having a unique set of features: @@ -7,3 +9,6 @@ set of features: * raises errors with proper line-numbers * no bells and whistles like automatic substitutions * iniconfig raises an Error if two sections have the same name. + +NOTE: Unable to support newer versions due to requiring newer version +of python than is available in Slackware 15.0 (python 3.10). diff --git a/python/python3-iniconfig/slack-desc b/python/python3-iniconfig/slack-desc index 9f9f9ae109..a67421ab7e 100644 --- a/python/python3-iniconfig/slack-desc +++ b/python/python3-iniconfig/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -python3-iniconfig: python3-iniconfig (ini file parsing) +python3-iniconfig: python3-iniconfig (brain-dead simple config-ini parsing) python3-iniconfig: python3-iniconfig: iniconfig is a small and simple INI-file parser module. python3-iniconfig: diff --git a/python/python3-ipython-pygments-lexers/README b/python/python3-ipython-pygments-lexers/README new file mode 100644 index 0000000000..b8d2f0aad3 --- /dev/null +++ b/python/python3-ipython-pygments-lexers/README @@ -0,0 +1,2 @@ +This plugin contains lexers for IPython-specific special convenience +syntax, to use with the Pygments syntax highlighting package. diff --git a/python/python3-ipython-pygments-lexers/python3-ipython-pygments-lexers.SlackBuild b/python/python3-ipython-pygments-lexers/python3-ipython-pygments-lexers.SlackBuild new file mode 100644 index 0000000000..713d84a7d2 --- /dev/null +++ b/python/python3-ipython-pygments-lexers/python3-ipython-pygments-lexers.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-ipython-pygments-lexers + +# Copyright 2025 Isaac Yu <isaacyu@protonmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-ipython-pygments-lexers +VERSION=${VERSION:-1.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=ipython-pygments-lexers + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +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 README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-ipython-pygments-lexers/python3-ipython-pygments-lexers.info b/python/python3-ipython-pygments-lexers/python3-ipython-pygments-lexers.info new file mode 100644 index 0000000000..19b4c5c6eb --- /dev/null +++ b/python/python3-ipython-pygments-lexers/python3-ipython-pygments-lexers.info @@ -0,0 +1,10 @@ +PRGNAM="python3-ipython-pygments-lexers" +VERSION="1.1.1" +HOMEPAGE="https://github.com/ipython/ipython-pygments-lexers" +DOWNLOAD="https://github.com/ipython/ipython-pygments-lexers/archive/1.1.1/ipython-pygments-lexers-1.1.1.tar.gz" +MD5SUM="9d933a25a3a44825fc209ab244dc4dcd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-ipython-pygments-lexers/slack-desc b/python/python3-ipython-pygments-lexers/slack-desc new file mode 100644 index 0000000000..df075d7fcf --- /dev/null +++ b/python/python3-ipython-pygments-lexers/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-ipython-pygments-lexers: python3-ipython-pygments-lexers (Pygments lexers for IPython code) +python3-ipython-pygments-lexers: +python3-ipython-pygments-lexers: This plugin contains lexers for IPython-specific special convenience +python3-ipython-pygments-lexers: syntax, to use with the Pygments syntax highlighting package. +python3-ipython-pygments-lexers: +python3-ipython-pygments-lexers: +python3-ipython-pygments-lexers: +python3-ipython-pygments-lexers: +python3-ipython-pygments-lexers: +python3-ipython-pygments-lexers: +python3-ipython-pygments-lexers: diff --git a/python/python3-janus/README b/python/python3-janus/README new file mode 100644 index 0000000000..0c9abca713 --- /dev/null +++ b/python/python3-janus/README @@ -0,0 +1,9 @@ +Mixed sync-async queue, supposed to be used for communicating between +classic synchronous (threaded) code and asynchronous (in terms of +asyncio) one. + +Like Janus god the queue object from the library has two faces: +synchronous and asynchronous interface. + +Synchronous is fully compatible with standard queue, asynchronous one +follows asyncio queue design. diff --git a/python/python3-janus/python3-janus.SlackBuild b/python/python3-janus/python3-janus.SlackBuild new file mode 100644 index 0000000000..9beb2c7f31 --- /dev/null +++ b/python/python3-janus/python3-janus.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for janus + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-janus +VERSION=${VERSION:-2.0.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=janus + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 CHANGES.rst README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-janus/python3-janus.info b/python/python3-janus/python3-janus.info new file mode 100644 index 0000000000..bc6c65ad61 --- /dev/null +++ b/python/python3-janus/python3-janus.info @@ -0,0 +1,10 @@ +PRGNAM="python3-janus" +VERSION="2.0.0" +HOMEPAGE="https://github.com/aio-libs/janus" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/janus/janus-2.0.0.tar.gz" +MD5SUM="7c8ec257be4e90abc47a7df47df88436" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-janus/slack-desc b/python/python3-janus/slack-desc new file mode 100644 index 0000000000..1a8d7e4b76 --- /dev/null +++ b/python/python3-janus/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-janus: python3-janus (Mixed sync-async queue) +python3-janus: +python3-janus: Project URL: https://github.com/aio-libs/janus +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: diff --git a/python/python3-joblib/python3-joblib.SlackBuild b/python/python3-joblib/python3-joblib.SlackBuild index 156c915918..5e777626ba 100644 --- a/python/python3-joblib/python3-joblib.SlackBuild +++ b/python/python3-joblib/python3-joblib.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-joblib SRCNAM=joblib -VERSION=${VERSION:-1.5.1} +VERSION=${VERSION:-1.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-joblib/python3-joblib.info b/python/python3-joblib/python3-joblib.info index f53bf1d1c3..0d3143876b 100644 --- a/python/python3-joblib/python3-joblib.info +++ b/python/python3-joblib/python3-joblib.info @@ -1,8 +1,8 @@ PRGNAM="python3-joblib" -VERSION="1.5.1" +VERSION="1.5.2" HOMEPAGE="https://joblib.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/joblib/joblib-1.5.1.tar.gz" -MD5SUM="c053323d570ab3c69fda0627a5c22872" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/joblib/joblib-1.5.2.tar.gz" +MD5SUM="560040af32080ce8c4b092a2cd320e26" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-json-logger/python3-json-logger.SlackBuild b/python/python3-json-logger/python3-json-logger.SlackBuild index 2c945192ce..2f124976f7 100644 --- a/python/python3-json-logger/python3-json-logger.SlackBuild +++ b/python/python3-json-logger/python3-json-logger.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-json-logger -VERSION=${VERSION:-3.3.0} +VERSION=${VERSION:-4.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-json-logger/python3-json-logger.info b/python/python3-json-logger/python3-json-logger.info index 1c94165de2..3d2ff4e156 100644 --- a/python/python3-json-logger/python3-json-logger.info +++ b/python/python3-json-logger/python3-json-logger.info @@ -1,8 +1,8 @@ PRGNAM="python3-json-logger" -VERSION="3.3.0" +VERSION="4.0.0" HOMEPAGE="https://github.com/nhairs/python-json-logger" -DOWNLOAD="https://github.com/nhairs/python-json-logger/archive/v3.3.0/python-json-logger-3.3.0.tar.gz" -MD5SUM="c183a4e2db14f0fe76f820599b7e21bf" +DOWNLOAD="https://github.com/nhairs/python-json-logger/archive/v4.0.0/python-json-logger-4.0.0.tar.gz" +MD5SUM="c0848b52c49ae39716c97f5cbcbc20ee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt python3-typing-extensions" diff --git a/python/python3-json5/python3-json5.SlackBuild b/python/python3-json5/python3-json5.SlackBuild index 633db898de..cbe4c4db97 100644 --- a/python/python3-json5/python3-json5.SlackBuild +++ b/python/python3-json5/python3-json5.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-json5 # Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023-2024 Erich Ritz, Jenks, Oklahoma, USA +# Copyright 2023-2025 Erich Ritz, Jenks, Oklahoma, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-json5 -VERSION=${VERSION:-0.10.0} +VERSION=${VERSION:-0.12.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-json5/python3-json5.info b/python/python3-json5/python3-json5.info index ca7912e711..59edf22f6e 100644 --- a/python/python3-json5/python3-json5.info +++ b/python/python3-json5/python3-json5.info @@ -1,8 +1,8 @@ PRGNAM="python3-json5" -VERSION="0.10.0" +VERSION="0.12.1" HOMEPAGE="https://github.com/dpranke/pyjson5/" -DOWNLOAD="https://github.com/dpranke/pyjson5/archive/v0.10.0/pyjson5-0.10.0.tar.gz" -MD5SUM="223493a68d17e765b03c14e17ee88093" +DOWNLOAD="https://github.com/dpranke/pyjson5/archive/v0.12.1/pyjson5-0.12.1.tar.gz" +MD5SUM="dc7d02413d0c1036521ee787deae6521" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-jsonschema-specifications/python3-jsonschema-specifications.SlackBuild b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.SlackBuild index 77043cf4af..d6f91acb8b 100644 --- a/python/python3-jsonschema-specifications/python3-jsonschema-specifications.SlackBuild +++ b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-jsonschema-specifications SRCNAM=jsonschema_specifications -VERSION=${VERSION:-2025.4.1} +VERSION=${VERSION:-2025.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-jsonschema-specifications/python3-jsonschema-specifications.info b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.info index b4ddebc6c7..a8435667ae 100644 --- a/python/python3-jsonschema-specifications/python3-jsonschema-specifications.info +++ b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.info @@ -1,8 +1,8 @@ PRGNAM="python3-jsonschema-specifications" -VERSION="2025.4.1" +VERSION="2025.9.1" HOMEPAGE="https://github.com/python-jsonschema/jsonschema-specifications" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonschema_specifications/jsonschema_specifications-2025.4.1.tar.gz" -MD5SUM="d3919602b067993ba584fb4fe1662b9d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonschema_specifications/jsonschema_specifications-2025.9.1.tar.gz" +MD5SUM="ef8e5a762c7ef39dcfb775c81336a690" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-referencing" diff --git a/python/python3-jsonschema/python3-jsonschema.SlackBuild b/python/python3-jsonschema/python3-jsonschema.SlackBuild index ef7028253c..db79ee45e2 100644 --- a/python/python3-jsonschema/python3-jsonschema.SlackBuild +++ b/python/python3-jsonschema/python3-jsonschema.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-jsonschema SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.24.0} +VERSION=${VERSION:-4.25.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-jsonschema/python3-jsonschema.info b/python/python3-jsonschema/python3-jsonschema.info index 92f7605e8c..f7f267735b 100644 --- a/python/python3-jsonschema/python3-jsonschema.info +++ b/python/python3-jsonschema/python3-jsonschema.info @@ -1,8 +1,8 @@ PRGNAM="python3-jsonschema" -VERSION="4.24.0" +VERSION="4.25.1" HOMEPAGE="https://github.com/Julian/jsonschema" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-4.24.0.tar.gz" -MD5SUM="168a114dcc5c3f977b7a10795fe3d99d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-4.25.1.tar.gz" +MD5SUM="e33f133a5b56b9f9756b38065849c86f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-jsonschema-specifications" diff --git a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild index 2f46b2e26f..c8e4afc039 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild +++ b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2018 Serban Udrea <s.udrea@gsi.de> # Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-kiwisolver SRCNAM=kiwi -VERSION=${VERSION:-1.4.8} +VERSION=${VERSION:-1.4.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-kiwisolver/python3-kiwisolver.info b/python/python3-kiwisolver/python3-kiwisolver.info index a34af048a2..8c4d6e390a 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.info +++ b/python/python3-kiwisolver/python3-kiwisolver.info @@ -1,8 +1,8 @@ PRGNAM="python3-kiwisolver" -VERSION="1.4.8" +VERSION="1.4.9" HOMEPAGE="https://github.com/nucleic/kiwi" -DOWNLOAD="https://github.com/nucleic/kiwi/archive/refs/tags/1.4.8/kiwi-1.4.8.tar.gz" -MD5SUM="14bc02361e0ce5343c7721d1b6cffe47" +DOWNLOAD="https://github.com/nucleic/kiwi/archive/refs/tags/1.4.9/kiwi-1.4.9.tar.gz" +MD5SUM="386838953733ffa18bc2566e4dd13c54" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cppy" diff --git a/python/python3-knowit/python3-knowit.SlackBuild b/python/python3-knowit/python3-knowit.SlackBuild index ff041a009d..6b095a554d 100644 --- a/python/python3-knowit/python3-knowit.SlackBuild +++ b/python/python3-knowit/python3-knowit.SlackBuild @@ -24,9 +24,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-knowit -VERSION=${VERSION:-0.5.6} +VERSION=${VERSION:-0.5.11} SRCNAM=${SRCNAM:-knowit} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,7 +63,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Remove version limit for pymediainfo -sed -i 's|pymediainfo = "^|pymediainfo = ">|' pyproject.toml +sed -i 's|pymediainfo = ".*|pymediainfo = "*"|' pyproject.toml python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-knowit/python3-knowit.info b/python/python3-knowit/python3-knowit.info index 6ef9b39fdd..3eab9e55c2 100644 --- a/python/python3-knowit/python3-knowit.info +++ b/python/python3-knowit/python3-knowit.info @@ -1,8 +1,8 @@ PRGNAM="python3-knowit" -VERSION="0.5.6" +VERSION="0.5.11" HOMEPAGE="https://github.com/ratoaq2/knowit" -DOWNLOAD="https://github.com/ratoaq2/knowit/archive/refs/tags/0.5.6/knowit-0.5.6.tar.gz" -MD5SUM="9de2ebe69323203de65dde779f036e76" +DOWNLOAD="https://github.com/ratoaq2/knowit/archive/refs/tags/0.5.11/knowit-0.5.11.tar.gz" +MD5SUM="a16caf5b1cdfe99a91107bc198d21443" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-enzyme pymediainfo python3-pint python3-trakit" diff --git a/python/python3-kombu/python3-kombu.SlackBuild b/python/python3-kombu/python3-kombu.SlackBuild index d66ef7800e..205d947ab8 100644 --- a/python/python3-kombu/python3-kombu.SlackBuild +++ b/python/python3-kombu/python3-kombu.SlackBuild @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-kombu SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.5.3} -BUILD=${BUILD:-2} +VERSION=${VERSION:-5.6.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -37,9 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 diff --git a/python/python3-kombu/python3-kombu.info b/python/python3-kombu/python3-kombu.info index 3702b6fb8c..95ba415b8e 100644 --- a/python/python3-kombu/python3-kombu.info +++ b/python/python3-kombu/python3-kombu.info @@ -1,8 +1,8 @@ PRGNAM="python3-kombu" -VERSION="5.5.3" +VERSION="5.6.0" HOMEPAGE="https://kombu.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/k/kombu/kombu-5.5.3.tar.gz" -MD5SUM="b87c6d9bc662e186f0c32aaf5ee7368e" +DOWNLOAD="https://pypi.python.org/packages/source/k/kombu/kombu-5.6.0.tar.gz" +MD5SUM="99e45bf64f6fecd1b648940f67f4b6b6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-amqp python3-vine" diff --git a/python/python3-levenshtein/README b/python/python3-levenshtein/README index 6070723701..e5e575d2d7 100644 --- a/python/python3-levenshtein/README +++ b/python/python3-levenshtein/README @@ -3,5 +3,5 @@ python3-levenshtein (Compute string edit distances and similarities) The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity. -NOTE: Unable to support newer versions than 0.17.0 due to requiring a -newer Cython than included in Slackware (needs 3.0.2). +NOTE: Unable to support newer versions due to requiring newer version +of python than is available in Slackware 15.0 (python 3.10). diff --git a/python/python3-levenshtein/python3-levenshtein.SlackBuild b/python/python3-levenshtein/python3-levenshtein.SlackBuild index bdffaa2e39..613afd35be 100644 --- a/python/python3-levenshtein/python3-levenshtein.SlackBuild +++ b/python/python3-levenshtein/python3-levenshtein.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-levenshtein -# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2024-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +24,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-levenshtein -VERSION=${VERSION:-0.17.0} +VERSION=${VERSION:-0.27.1} +RAPIDVER=${RAPIDVER:-fdbcc21} SRCNAM=${SRCNAM:-Levenshtein} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -54,6 +55,9 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +tar xvf $CWD/rapidfuzz-cpp-${RAPIDVER}*.tar.gz +rm -r $SRCNAM-$VERSION/extern/rapidfuzz-cpp +mv rapidfuzz-cpp-${RAPIDVER}* $SRCNAM-$VERSION/extern/rapidfuzz-cpp cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -62,7 +66,15 @@ 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 +# Allows newer Cython +sed -i 's|,<3.1.0||' pyproject.toml + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 diff --git a/python/python3-levenshtein/python3-levenshtein.info b/python/python3-levenshtein/python3-levenshtein.info index 6827bb5f8c..a897b234b2 100644 --- a/python/python3-levenshtein/python3-levenshtein.info +++ b/python/python3-levenshtein/python3-levenshtein.info @@ -1,8 +1,10 @@ PRGNAM="python3-levenshtein" -VERSION="0.17.0" +VERSION="0.27.1" HOMEPAGE="https://rapidfuzz.github.io/Levenshtein" -DOWNLOAD="https://github.com/rapidfuzz/Levenshtein/archive/refs/tags/v0.17.0/Levenshtein-0.17.0.tar.gz" -MD5SUM="707746d77aca4d7da9093001fccfc2e7" +DOWNLOAD="https://github.com/rapidfuzz/Levenshtein/archive/refs/tags/v0.27.1/Levenshtein-0.27.1.tar.gz \ + https://github.com/rapidfuzz/rapidfuzz-cpp/archive/fdbcc21/rapidfuzz-cpp-fdbcc2131515d0621f89a336d33242ef894efda5.tar.gz" +MD5SUM="84833afc0d5b870412693593c412f2c9 \ + fbd1d374822c0b7681dd3269a085c901" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-rapidfuzz" diff --git a/python/python3-libagent/480.diff b/python/python3-libagent/480.diff new file mode 100644 index 0000000000..601513ed2b --- /dev/null +++ b/python/python3-libagent/480.diff @@ -0,0 +1,102 @@ +diff --git a/libagent/age/__init__.py b/libagent/age/__init__.py +index dd2fbe66..e20cb3c4 100644 +--- a/libagent/age/__init__.py ++++ b/libagent/age/__init__.py +@@ -13,9 +13,9 @@ + import logging + import os + import sys ++from importlib import metadata + + import bech32 +-import pkg_resources + from cryptography.exceptions import InvalidTag + from cryptography.hazmat.primitives.ciphers.aead import ChaCha20Poly1305 + +@@ -150,9 +150,8 @@ def main(device_type): + p = argparse.ArgumentParser() + + agent_package = device_type.package_name() +- resources_map = {r.key: r for r in pkg_resources.require(agent_package)} +- resources = [resources_map[agent_package], resources_map['libagent']] +- versions = '\n'.join('{}={}'.format(r.key, r.version) for r in resources) ++ resources = [metadata.distribution(agent_package), metadata.distribution('libagent')] ++ versions = '\n'.join('{}={}'.format(r.metadata['Name'], r.version) for r in resources) + p.add_argument('--version', help='print the version info', + action='version', version=versions) + +diff --git a/libagent/gpg/__init__.py b/libagent/gpg/__init__.py +index 6bad4f65..4f1b166d 100644 +--- a/libagent/gpg/__init__.py ++++ b/libagent/gpg/__init__.py +@@ -17,13 +17,13 @@ + import stat + import subprocess + import sys ++from importlib import metadata + + try: + # TODO: Not supported on Windows. Use daemoniker instead? + import daemon + except ImportError: + daemon = None +-import pkg_resources + import semver + + from .. import device, formats, server, util +@@ -308,9 +308,8 @@ def main(device_type): + parser = argparse.ArgumentParser(epilog=epilog) + + agent_package = device_type.package_name() +- resources_map = {r.key: r for r in pkg_resources.require(agent_package)} +- resources = [resources_map[agent_package], resources_map['libagent']] +- versions = '\n'.join('{}={}'.format(r.key, r.version) for r in resources) ++ resources = [metadata.distribution(agent_package), metadata.distribution('libagent')] ++ versions = '\n'.join('{}={}'.format(r.metadata['Name'], r.version) for r in resources) + parser.add_argument('--version', help='print the version info', + action='version', version=versions) + +diff --git a/libagent/ssh/__init__.py b/libagent/ssh/__init__.py +index dee3ee24..14f2656d 100644 +--- a/libagent/ssh/__init__.py ++++ b/libagent/ssh/__init__.py +@@ -13,6 +13,7 @@ + import sys + import tempfile + import threading ++from importlib import metadata + + import configargparse + +@@ -21,7 +22,6 @@ + import daemon + except ImportError: + daemon = None +-import pkg_resources + + from .. import device, formats, server, util + from . import client, protocol +@@ -83,9 +83,8 @@ def create_agent_parser(device_type): + p.add_argument('-v', '--verbose', default=0, action='count') + + agent_package = device_type.package_name() +- resources_map = {r.key: r for r in pkg_resources.require(agent_package)} +- resources = [resources_map[agent_package], resources_map['libagent']] +- versions = '\n'.join('{}={}'.format(r.key, r.version) for r in resources) ++ resources = [metadata.distribution(agent_package), metadata.distribution('libagent')] ++ versions = '\n'.join('{}={}'.format(r.metadata['Name'], r.version) for r in resources) + p.add_argument('--version', help='print the version info', + action='version', version=versions) + +diff --git a/setup.py b/setup.py +index 10586f2e..4c21923a 100755 +--- a/setup.py ++++ b/setup.py +@@ -8,6 +8,7 @@ + author='Roman Zeyde', + author_email='dev@romanzey.de', + url='http://github.com/romanz/trezor-agent', ++ python_requires='>=3.8', + packages=[ + 'libagent', + 'libagent.age', diff --git a/python/python3-libagent/README b/python/python3-libagent/README new file mode 100644 index 0000000000..5933d41245 --- /dev/null +++ b/python/python3-libagent/README @@ -0,0 +1,8 @@ +This project allows you to use various hardware security devices to +operate GPG, SSH and age. Instead of keeping your key on your computer +and decrypting it with a passphrase when you want to use it, the key +is generated and stored on the device and never reaches your computer. + +You can do things like sign your emails, git commits, and software +packages, manage your passwords (with pass and passage, among others), +authenticate web tunnels and file transfers, and more. diff --git a/python/python3-pywlroots/python3-pywlroots.SlackBuild b/python/python3-libagent/python3-libagent.SlackBuild index 2d02d19475..9b5d2cd352 100644 --- a/python/python3-pywlroots/python3-pywlroots.SlackBuild +++ b/python/python3-libagent/python3-libagent.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-pywlroots +# Slackware build script for python3-libagent -# Copyright 2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -16,7 +16,7 @@ # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF @@ -24,13 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-pywlroots -VERSION=${VERSION:-0.15.24} +PRGNAM=python3-libagent +VERSION=${VERSION:-0.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=pywlroots +SRCNAM=libagent if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -49,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -78,13 +64,19 @@ 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 {} \; +# libagent part of https://github.com/romanz/trezor-agent/pull/480 +# As side effect this fixes a runtime issue caused by pkg_resources. +patch -p1 < $CWD/480.diff + python3 setup.py install --root=$PKG 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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-libagent/python3-libagent.info b/python/python3-libagent/python3-libagent.info new file mode 100644 index 0000000000..9874c11fa2 --- /dev/null +++ b/python/python3-libagent/python3-libagent.info @@ -0,0 +1,10 @@ +PRGNAM="python3-libagent" +VERSION="0.15.0" +HOMEPAGE="https://github.com/romanz/trezor-agent" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libagent/libagent-0.15.0.tar.gz" +MD5SUM="4662d86f7998877e33b1166af2b6fcf2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-pynacl python3-configargparse python3-bech32 python3-daemon python3-semver Unidecode" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-libagent/slack-desc b/python/python3-libagent/slack-desc new file mode 100644 index 0000000000..9c2012f578 --- /dev/null +++ b/python/python3-libagent/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-libagent: python3-libagent (Hardware-based SSH/GPG/age agent) +python3-libagent: +python3-libagent: This project allows you to use various hardware security devices +python3-libagent: to operate GPG, SSH and age. Instead of keeping your key on your +python3-libagent: computer and decrypting it with a passphrase when you want to use +python3-libagent: it, the key is generated and stored on the device and never reaches +python3-libagent: your computer. +python3-libagent: +python3-libagent: Homepage: https://github.com/romanz/trezor-agent +python3-libagent: +python3-libagent: diff --git a/python/python3-libtmux/README b/python/python3-libtmux/README index 5daeb6338c..3d96f7a0cb 100644 --- a/python/python3-libtmux/README +++ b/python/python3-libtmux/README @@ -1,2 +1,4 @@ libtmux is the library that powers tmuxp, a tool that helps tmux users manage their workspaces. Take control of tmux via python. + +NOTE: libtmux 0.46.2 is the last version to support python3.9 diff --git a/python/python3-libtmux/python3-libtmux.SlackBuild b/python/python3-libtmux/python3-libtmux.SlackBuild index d62917d620..77f8686d33 100644 --- a/python/python3-libtmux/python3-libtmux.SlackBuild +++ b/python/python3-libtmux/python3-libtmux.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-libtmux SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.46.1} +VERSION=${VERSION:-0.46.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -61,11 +61,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-libtmux/python3-libtmux.info b/python/python3-libtmux/python3-libtmux.info index 25f4aec021..af1b5fd33b 100644 --- a/python/python3-libtmux/python3-libtmux.info +++ b/python/python3-libtmux/python3-libtmux.info @@ -1,8 +1,8 @@ PRGNAM="python3-libtmux" -VERSION="0.46.1" +VERSION="0.46.2" HOMEPAGE="https://github.com/tony/libtmux" -DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libtmux/libtmux-0.46.1.tar.gz" -MD5SUM="7fa68ef9d11e69e7c35e79a38a3a7679" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libtmux/libtmux-0.46.2.tar.gz" +MD5SUM="50ebb1d543bb74c60a555541fe8f36f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-libusb1/README b/python/python3-libusb1/README new file mode 100644 index 0000000000..4f8f5fabb4 --- /dev/null +++ b/python/python3-libusb1/README @@ -0,0 +1,3 @@ +Python ctype-based wrapper around libusb1 + +Supports all transfer types, both in synchronous and asynchronous mode. diff --git a/python/python3-libusb1/python3-libusb1.SlackBuild b/python/python3-libusb1/python3-libusb1.SlackBuild new file mode 100644 index 0000000000..40c4a05c82 --- /dev/null +++ b/python/python3-libusb1/python3-libusb1.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/bash + +# Slackware build script for python3-libusb1 + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-libusb1 +VERSION=${VERSION:-3.3.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=libusb1 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING COPYING.LESSER README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-libusb1/python3-libusb1.info b/python/python3-libusb1/python3-libusb1.info new file mode 100644 index 0000000000..12583c48a8 --- /dev/null +++ b/python/python3-libusb1/python3-libusb1.info @@ -0,0 +1,10 @@ +PRGNAM="python3-libusb1" +VERSION="3.3.1" +HOMEPAGE="https://github.com/vpelletier/python-libusb1" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-3.3.1.tar.gz" +MD5SUM="f4973afe56c872eb2b8e7a930f566bb4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-libusb1/slack-desc b/python/python3-libusb1/slack-desc new file mode 100644 index 0000000000..8839779ad6 --- /dev/null +++ b/python/python3-libusb1/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-libusb1: python3-libusb1 (Python ctype-based wrapper around libusb1) +python3-libusb1: +python3-libusb1: Supports all transfer types, both in synchronous and asynchronous +python3-libusb1: mode. +python3-libusb1: +python3-libusb1: +python3-libusb1: Homepage: https://github.com/vpelletier/python-libusb1 +python3-libusb1: +python3-libusb1: +python3-libusb1: +python3-libusb1: diff --git a/python/python3-lsp-server/README b/python/python3-lsp-server/README index 39062d7127..1980ac946e 100644 --- a/python/python3-lsp-server/README +++ b/python/python3-lsp-server/README @@ -1,5 +1,6 @@ Python LSP Server is a Python 3.7+ implementation of the Language Server Protocol. -python3-lsp-server 1.6.0 is the last available version for Slackware -15.0. Newer versions require python3-rope > 1.2.0. +python3-lsp-server 1.9.0 is the last available version for Slackware +15.0. Newer versions require spyder >= 5.5.1, which in return requires +python3-lsp-black >= 2.0.0. diff --git a/python/python3-lsp-server/python3-lsp-server.SlackBuild b/python/python3-lsp-server/python3-lsp-server.SlackBuild index 4b77d10462..1e1103c2df 100644 --- a/python/python3-lsp-server/python3-lsp-server.SlackBuild +++ b/python/python3-lsp-server/python3-lsp-server.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-lsp-server -# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-lsp-server -VERSION=${VERSION:-1.6.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.9.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,14 +65,12 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Workarounds for spyder -sed -i "s|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|" -i pyproject.toml -sed -i "s|flake8>=5.0.0,<5.1.0|flake8>=5.0.0|" -i pyproject.toml -sed -i "s|jedi>=0.17.2,<0.19.0|jedi>=0.17.2|" -i pyproject.toml -sed -i "s|pycodestyle>=2.9.0,<2.10.0|pycodestyle>=2.9.0|" -i pyproject.toml -sed -i "s|pyflakes>=2.5.0,<2.6.0|pyflakes>=2.5.0|" -i pyproject.toml -sed -i "s|pylint>=2.5.0,<3|pylint>=2.5.0|" -i pyproject.toml - -# Use newer, non-stock setuptools due to package requirements +sed -i "s|autopep8>=2.0.4,<2.1.0|autopep8>=2.0.4|" -i pyproject.toml +sed -i "s|flake8>=6.1.0,<7|flake8>=6.1.0|" -i pyproject.toml +sed -i "s|pycodestyle>=2.11.0,<2.12.0|pycodestyle>=2.11.0|" -i pyproject.toml +sed -i "s|pyflakes>=3.1.0,<3.2.0|pyflakes>=3.1.0|" -i pyproject.toml +sed -i "s|pylint>=2.5.0,<3.1|pylint>=2.5.0|" -i pyproject.toml + PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ diff --git a/python/python3-lsp-server/python3-lsp-server.info b/python/python3-lsp-server/python3-lsp-server.info index 7fc77d0feb..3469c33017 100644 --- a/python/python3-lsp-server/python3-lsp-server.info +++ b/python/python3-lsp-server/python3-lsp-server.info @@ -1,8 +1,8 @@ PRGNAM="python3-lsp-server" -VERSION="1.6.0" +VERSION="1.9.0" HOMEPAGE="https://github.com/python-lsp/python-lsp-server" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-1.6.0.tar.gz" -MD5SUM="921920b6692d0f00832f63f3edc53c7e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-1.9.0.tar.gz" +MD5SUM="308f20e6b03c73369b3fc09bab612dbc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-docstring-to-markdown python3-jedi python3-lsp-jsonrpc python3-pluggy" diff --git a/python/python3-lxml/python3-lxml.SlackBuild b/python/python3-lxml/python3-lxml.SlackBuild index 1276c6b879..11b2be41cc 100644 --- a/python/python3-lxml/python3-lxml.SlackBuild +++ b/python/python3-lxml/python3-lxml.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-lxml SRCNAM=lxml -VERSION=${VERSION:-5.4.0} +VERSION=${VERSION:-6.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-lxml/python3-lxml.info b/python/python3-lxml/python3-lxml.info index 017d20e4dc..fe27f91d9f 100644 --- a/python/python3-lxml/python3-lxml.info +++ b/python/python3-lxml/python3-lxml.info @@ -1,8 +1,8 @@ PRGNAM="python3-lxml" -VERSION="5.4.0" +VERSION="6.0.2" HOMEPAGE="https://lxml.de/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lxml/lxml-5.4.0.tar.gz" -MD5SUM="687bd12393569b435290da6c599664f9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lxml/lxml-6.0.2.tar.gz" +MD5SUM="ac9a945976227fd854d3e9e034e52ca1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="BeautifulSoup4 html5lib python3-cssselect" diff --git a/python/python3-markdown-it-py/README b/python/python3-markdown-it-py/README index 6f39da25bc..157644bcca 100644 --- a/python/python3-markdown-it-py/README +++ b/python/python3-markdown-it-py/README @@ -9,3 +9,5 @@ python3-markdown-it-py (Markdown parser done right) This is a Python port of markdown-it, and some of its associated plugins. For more details see: https://markdown-it-py.readthedocs.io + ++NOTE: 3.0.0 is last version to support python 3.9. diff --git a/python/python3-markdown-it-py/python3-markdown-it-py.SlackBuild b/python/python3-markdown-it-py/python3-markdown-it-py.SlackBuild index 9d35a3aaa7..564db05a89 100644 --- a/python/python3-markdown-it-py/python3-markdown-it-py.SlackBuild +++ b/python/python3-markdown-it-py/python3-markdown-it-py.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-markdown-it-py -# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python3-matplotlib-inline/python3-matplotlib-inline.SlackBuild b/python/python3-matplotlib-inline/python3-matplotlib-inline.SlackBuild index 3b0561cd84..6162a7cc62 100644 --- a/python/python3-matplotlib-inline/python3-matplotlib-inline.SlackBuild +++ b/python/python3-matplotlib-inline/python3-matplotlib-inline.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-matplotlib-inline # Copyright 2021-2022 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-matplotlib-inline SRCNAM=matplotlib_inline -VERSION=${VERSION:-0.1.7} +VERSION=${VERSION:-0.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-matplotlib-inline/python3-matplotlib-inline.info b/python/python3-matplotlib-inline/python3-matplotlib-inline.info index 66b8129b3a..b60048bd91 100644 --- a/python/python3-matplotlib-inline/python3-matplotlib-inline.info +++ b/python/python3-matplotlib-inline/python3-matplotlib-inline.info @@ -1,8 +1,8 @@ PRGNAM="python3-matplotlib-inline" -VERSION="0.1.7" +VERSION="0.2.1" HOMEPAGE="https://github.com/ipython/matplotlib-inline" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/matplotlib-inline/matplotlib_inline-0.1.7.tar.gz" -MD5SUM="96fe871bf30dc414e6724423c1e2ebb1" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/matplotlib-inline/matplotlib_inline-0.2.1.tar.gz" +MD5SUM="25b1b460ee846df0d4d5d92dc8e6664c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="traitlets python3-setuptools-opt python3-matplotlib" diff --git a/python/python3-matrix-nio/README b/python/python3-matrix-nio/README new file mode 100644 index 0000000000..fea782e233 --- /dev/null +++ b/python/python3-matrix-nio/README @@ -0,0 +1,9 @@ +nio is a multilayered Matrix client library. + +The underlying base layer doesn't do any network IO on its own, but +on top of that is a full-fledged batteries-included asyncio layer +using aiohttp. File IO is only done if you enable end-to-end +encryption (E2EE). + +The full API documentation for nio can be found at +https://matrix-nio.readthedocs.io diff --git a/python/python3-matrix-nio/python3-matrix-nio.SlackBuild b/python/python3-matrix-nio/python3-matrix-nio.SlackBuild new file mode 100644 index 0000000000..a8838c5d0c --- /dev/null +++ b/python/python3-matrix-nio/python3-matrix-nio.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for matrix-nio + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-matrix-nio +VERSION=${VERSION:-0.25.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=matrix_nio + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 README.md LICENSE.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-matrix-nio/python3-matrix-nio.info b/python/python3-matrix-nio/python3-matrix-nio.info new file mode 100644 index 0000000000..3d0a1c0e2b --- /dev/null +++ b/python/python3-matrix-nio/python3-matrix-nio.info @@ -0,0 +1,10 @@ +PRGNAM="python3-matrix-nio" +VERSION="0.25.2" +HOMEPAGE="https://github.com/srstevenson/xdg" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/matrix-nio/matrix_nio-0.25.2.tar.gz" +MD5SUM="2834300e437134a90126fd3be5690238" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt python3-aiohttp python3-aiofiles python3-h11 python3-h2 python3-jsonschema python3-unpaddedbase64 python3-pycryptodome python3-aiohttp-socks python3-atomicwrites python3-cachetools python3-peewee python3-olm python3-hyperframe" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-matrix-nio/slack-desc b/python/python3-matrix-nio/slack-desc new file mode 100644 index 0000000000..7210cf829f --- /dev/null +++ b/python/python3-matrix-nio/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-matrix-nio: python3-matrix-nio (a multilayered Python3-Matrix client library) +python3-matrix-nio: +python3-matrix-nio: +python3-matrix-nio: Project URL: https://github.com/srstevenson/xdg +python3-matrix-nio: +python3-matrix-nio: +python3-matrix-nio: +python3-matrix-nio: +python3-matrix-nio: +python3-matrix-nio: +python3-matrix-nio: diff --git a/python/python3-maturin/python3-maturin.SlackBuild b/python/python3-maturin/python3-maturin.SlackBuild index f10e75592f..3e4f031c41 100644 --- a/python/python3-maturin/python3-maturin.SlackBuild +++ b/python/python3-maturin/python3-maturin.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-maturin SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.8.6} +VERSION=${VERSION:-1.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,11 +76,9 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.?z tar xvf $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) # disable new feature in maturin that would install rust automagically # to a temp dir if rust-opt is not installed diff --git a/python/python3-maturin/python3-maturin.info b/python/python3-maturin/python3-maturin.info index b181496d7b..9f43fb6883 100644 --- a/python/python3-maturin/python3-maturin.info +++ b/python/python3-maturin/python3-maturin.info @@ -1,10 +1,10 @@ PRGNAM="python3-maturin" -VERSION="1.8.6" +VERSION="1.10.2" HOMEPAGE="https://github.com/PyO3/maturin" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/maturin/maturin-1.8.6.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/maturin-vendored-sources-1.8.6-1.tar.xz" -MD5SUM="d4a7cad7caf907e50bdd5e9d93b3d395 \ - 9e747d9722c3ad63d5ea958b74df33d0" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/maturin/maturin-1.10.2.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/maturin-vendored-sources-1.10.2-1.tar.xz" +MD5SUM="f6b86b227fe5d25cc65f8d44738dad13 \ + db0a0938012c7e6b752b2bafadd7948c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rust-opt python3-setuptools-rust-opt" diff --git a/python/python3-meson-opt/python3-meson-opt.SlackBuild b/python/python3-meson-opt/python3-meson-opt.SlackBuild index 4c4e5c01ce..1efa643b05 100644 --- a/python/python3-meson-opt/python3-meson-opt.SlackBuild +++ b/python/python3-meson-opt/python3-meson-opt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-meson-opt SRCNAM=meson -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-meson-opt/python3-meson-opt.info b/python/python3-meson-opt/python3-meson-opt.info index 7e6a35df81..9ed8424098 100644 --- a/python/python3-meson-opt/python3-meson-opt.info +++ b/python/python3-meson-opt/python3-meson-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-meson-opt" -VERSION="1.8.1" +VERSION="1.9.1" HOMEPAGE="https://github.com/mesonbuild/meson" -DOWNLOAD="https://github.com/mesonbuild/meson/releases/download/1.8.1/meson-1.8.1.tar.gz" -MD5SUM="5cfd7e2b2246d874746d68ffd43a0774" +DOWNLOAD="https://github.com/mesonbuild/meson/releases/download/1.9.1/meson-1.9.1.tar.gz" +MD5SUM="19e0a1091cec23d369dd77d852844195" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-mistune/python3-mistune.SlackBuild b/python/python3-mistune/python3-mistune.SlackBuild index 2a99744d3e..d4d526dd14 100644 --- a/python/python3-mistune/python3-mistune.SlackBuild +++ b/python/python3-mistune/python3-mistune.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-mistune -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-mistune -VERSION=${VERSION:-2.0.5} +VERSION=${VERSION:-3.1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,13 +64,19 @@ 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 +# pyproject.toml does not explicitly state a requirement for a newer setuptools +# However, the newer setuptools is still needed (otherwise, the build breaks) +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 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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-mistune/python3-mistune.info b/python/python3-mistune/python3-mistune.info index 3edfd4253d..3166b79c75 100644 --- a/python/python3-mistune/python3-mistune.info +++ b/python/python3-mistune/python3-mistune.info @@ -1,10 +1,10 @@ PRGNAM="python3-mistune" -VERSION="2.0.5" +VERSION="3.1.4" HOMEPAGE="https://github.com/lepture/mistune" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/mistune/mistune-2.0.5.tar.gz" -MD5SUM="f0d333acdc994ecca2a9145ce1c9680e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/mistune/mistune-3.1.4.tar.gz" +MD5SUM="47bd96502dcf22434a329b1814769480" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt python3-typing-extensions" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-mnemonic/README b/python/python3-mnemonic/README new file mode 100644 index 0000000000..81e6fdc5ba --- /dev/null +++ b/python/python3-mnemonic/README @@ -0,0 +1,10 @@ +Reference implementation of BIP-0039: Mnemonic code for generating +deterministic keys. + +This BIP describes the implementation of a mnemonic code or mnemonic +sentence – a group of easy to remember words – for the generation +of deterministic wallets. + +It consists of two parts: generating the mnenomic, and converting +it into a binary seed. This seed can be later used to generate +deterministic wallets using BIP-0032 or similar methods. diff --git a/python/python3-mnemonic/python3-mnemonic.SlackBuild b/python/python3-mnemonic/python3-mnemonic.SlackBuild new file mode 100644 index 0000000000..47bdf21263 --- /dev/null +++ b/python/python3-mnemonic/python3-mnemonic.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# Slackware build script for python3-mnemonic + +# Copyright (c) 2016 Reedych <reedych@reedych.pw> +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-mnemonic +VERSION=${VERSION:-0.21} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=mnemonic + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-mnemonic/python3-mnemonic.info b/python/python3-mnemonic/python3-mnemonic.info new file mode 100644 index 0000000000..03f0799584 --- /dev/null +++ b/python/python3-mnemonic/python3-mnemonic.info @@ -0,0 +1,10 @@ +PRGNAM="python3-mnemonic" +VERSION="0.21" +HOMEPAGE="https://github.com/trezor/mnemonic" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/mnemonic/mnemonic-0.21.tar.gz" +MD5SUM="21de7ae71ecf0a8b7a764bbb9a6268ca" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-mnemonic/slack-desc b/python/python3-mnemonic/slack-desc new file mode 100644 index 0000000000..b3d950698c --- /dev/null +++ b/python/python3-mnemonic/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-mnemonic: python3-mnemonic (Reference implementation of BIP-0039) +python3-mnemonic: +python3-mnemonic: This BIP describes the implementation of a mnemonic code or mnemonic +python3-mnemonic: sentence - a group of easy to remember words - for the generation +python3-mnemonic: of deterministic wallets. +python3-mnemonic: +python3-mnemonic: Homepage: https://github.com/trezor/python-mnemonic +python3-mnemonic: +python3-mnemonic: +python3-mnemonic: +python3-mnemonic: diff --git a/python/python3-more-itertools/python3-more-itertools.SlackBuild b/python/python3-more-itertools/python3-more-itertools.SlackBuild index 8b28664c97..c623f491f0 100644 --- a/python/python3-more-itertools/python3-more-itertools.SlackBuild +++ b/python/python3-more-itertools/python3-more-itertools.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-more-itertools SRCNAM=more_itertools -VERSION=${VERSION:-10.7.0} +VERSION=${VERSION:-10.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-more-itertools/python3-more-itertools.info b/python/python3-more-itertools/python3-more-itertools.info index 17740ccb21..de3ca6db25 100644 --- a/python/python3-more-itertools/python3-more-itertools.info +++ b/python/python3-more-itertools/python3-more-itertools.info @@ -1,8 +1,8 @@ PRGNAM="python3-more-itertools" -VERSION="10.7.0" +VERSION="10.8.0" HOMEPAGE="https://github.com/erikrose/more-itertools" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/more_itertools/more_itertools-10.7.0.tar.gz" -MD5SUM="62eb0a088624e979ae594a2de094ca1c" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/more_itertools/more_itertools-10.8.0.tar.gz" +MD5SUM="05fc46d7baf167d89c82a383c9f0c2fa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/python3-mpmath/python3-mpmath.SlackBuild b/python/python3-mpmath/python3-mpmath.SlackBuild index f4cb5b5605..335ace25f9 100644 --- a/python/python3-mpmath/python3-mpmath.SlackBuild +++ b/python/python3-mpmath/python3-mpmath.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for python3-mpmath -# Copyright SlackBuilds.org Project, David Melik, 2015, Spokane, WA, USA +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2019-2023, Alexander Verbovetsky, Moscow, Russia +# Copyright SlackBuilds.org Project, David Melik, 2015, Spokane, WA, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python3-mpmath/python3-mpmath.info b/python/python3-mpmath/python3-mpmath.info index 4971c2a72f..be6bda7b86 100644 --- a/python/python3-mpmath/python3-mpmath.info +++ b/python/python3-mpmath/python3-mpmath.info @@ -6,5 +6,5 @@ MD5SUM="d5d17bbefea73eeb959967351d905306" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-msal/python3-msal.SlackBuild b/python/python3-msal/python3-msal.SlackBuild index 8cf1b40d84..c98d60760b 100644 --- a/python/python3-msal/python3-msal.SlackBuild +++ b/python/python3-msal/python3-msal.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-msal -VERSION=${VERSION:-1.32.3} +VERSION=${VERSION:-1.34.0} SRCNAM=${SRCNAM:-microsoft-authentication-library-for-python} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-msal/python3-msal.info b/python/python3-msal/python3-msal.info index 15ebbbf9f4..28b358fa62 100644 --- a/python/python3-msal/python3-msal.info +++ b/python/python3-msal/python3-msal.info @@ -1,8 +1,8 @@ PRGNAM="python3-msal" -VERSION="1.32.3" +VERSION="1.34.0" HOMEPAGE="https://msal-python.readthedocs.io/" -DOWNLOAD="https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/1.32.3/microsoft-authentication-library-for-python-1.32.3.tar.gz" -MD5SUM="bc93b91affdd0fba4dd812781e58b7f6" +DOWNLOAD="https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/1.34.0/microsoft-authentication-library-for-python-1.34.0.tar.gz" +MD5SUM="ad7255f24367da824a67cdb104d577f9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cryptography python3-pyjwt" diff --git a/python/python3-multidict/python3-multidict.SlackBuild b/python/python3-multidict/python3-multidict.SlackBuild index 38ea796d7c..b5d200f056 100644 --- a/python/python3-multidict/python3-multidict.SlackBuild +++ b/python/python3-multidict/python3-multidict.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-multidict -VERSION=${VERSION:-6.4.4} +VERSION=${VERSION:-6.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-multidict/python3-multidict.info b/python/python3-multidict/python3-multidict.info index 96c96e4fb7..f37e36d285 100644 --- a/python/python3-multidict/python3-multidict.info +++ b/python/python3-multidict/python3-multidict.info @@ -1,8 +1,8 @@ PRGNAM="python3-multidict" -VERSION="6.4.4" +VERSION="6.7.0" HOMEPAGE="https://multidict.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/multidict/archive/v6.4.4/multidict-6.4.4.tar.gz" -MD5SUM="f8d6818b9313a263d0dff1e37d0734d7" +DOWNLOAD="https://github.com/aio-libs/multidict/archive/v6.7.0/multidict-6.7.0.tar.gz" +MD5SUM="da92535043a0ed997d72983c16090423" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-narwhals/python3-narwhals.SlackBuild b/python/python3-narwhals/python3-narwhals.SlackBuild index a461947acc..ff333a395b 100644 --- a/python/python3-narwhals/python3-narwhals.SlackBuild +++ b/python/python3-narwhals/python3-narwhals.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-narwhals -VERSION=${VERSION:-1.41.0} +VERSION=${VERSION:-2.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-narwhals/python3-narwhals.info b/python/python3-narwhals/python3-narwhals.info index d4d9c900ba..a467cc3676 100644 --- a/python/python3-narwhals/python3-narwhals.info +++ b/python/python3-narwhals/python3-narwhals.info @@ -1,8 +1,8 @@ PRGNAM="python3-narwhals" -VERSION="1.41.0" +VERSION="2.12.0" HOMEPAGE="https://narwhals-dev.github.io/narwhals/" -DOWNLOAD="https://github.com/narwhals-dev/narwhals/releases/download/v1.41.0/narwhals-1.41.0.tar.gz" -MD5SUM="01f309b452f9611ea99bd37954ee11ae" +DOWNLOAD="https://github.com/narwhals-dev/narwhals/releases/download/v2.12.0/narwhals-2.12.0.tar.gz" +MD5SUM="e2608043a3fe9a9e7cb6b5a184f1c6ce" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-neovim/python3-neovim.SlackBuild b/python/python3-neovim/python3-neovim.SlackBuild index 5395ad1cc1..e1233036e3 100644 --- a/python/python3-neovim/python3-neovim.SlackBuild +++ b/python/python3-neovim/python3-neovim.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for python3-neovim -# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2022-2024, Alexander Verbovetsky, Moscow, Russia +# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-neovim SRCNAM=pynvim -VERSION=${VERSION:-0.5.0} +VERSION=${VERSION:-0.6.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-neovim/python3-neovim.info b/python/python3-neovim/python3-neovim.info index 873cc7c4bc..d245133362 100644 --- a/python/python3-neovim/python3-neovim.info +++ b/python/python3-neovim/python3-neovim.info @@ -1,10 +1,10 @@ PRGNAM="python3-neovim" -VERSION="0.5.0" +VERSION="0.6.0" HOMEPAGE="https://github.com/neovim/pynvim" -DOWNLOAD="https://github.com/neovim/pynvim/archive/0.5.0/pynvim-0.5.0.tar.gz" -MD5SUM="29a7142c3e447260d6ec7a88cf79b350" +DOWNLOAD="https://github.com/neovim/pynvim/archive/0.6.0/pynvim-0.6.0.tar.gz" +MD5SUM="b99b8bffb31de33585a5315ac6ab790e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="greenlet msgpack-python" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-netaddr/python3-netaddr.SlackBuild b/python/python3-netaddr/python3-netaddr.SlackBuild index 273934dc9e..f8135c5eea 100644 --- a/python/python3-netaddr/python3-netaddr.SlackBuild +++ b/python/python3-netaddr/python3-netaddr.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-netaddr SRC_PRGNAM=netaddr -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,6 +40,9 @@ if [ -z "$ARCH" ]; then esac fi +# 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 @@ -78,14 +81,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +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 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 docs/* \ - AUTHORS CHANGELOG COPYRIGHT LICENSE README* THANKS \ + AUTHORS* CHANGELOG* COPYRIGHT* LICENSE* MANIFEST* README* THANKS* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-netaddr/python3-netaddr.info b/python/python3-netaddr/python3-netaddr.info index 5d100d29c8..add22d8868 100644 --- a/python/python3-netaddr/python3-netaddr.info +++ b/python/python3-netaddr/python3-netaddr.info @@ -1,10 +1,10 @@ PRGNAM="python3-netaddr" -VERSION="0.10.1" +VERSION="1.3.0" HOMEPAGE="https://github.com/netaddr/netaddr" -DOWNLOAD="https://github.com/netaddr/netaddr/archive/refs/tags/0.10.1/netaddr-0.10.1.tar.gz" -MD5SUM="02ce5aa8af8699d1f0243d74c7535fd2" +DOWNLOAD="https://github.com/netaddr/netaddr/archive/1.3.0/netaddr-1.3.0.tar.gz" +MD5SUM="2f2f89193bccd3f8df16e9c55d4a9718" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Olivier Brouckaert" EMAIL="olivier.b@i-services.be" diff --git a/python/python3-nuitka/README b/python/python3-nuitka/README new file mode 100644 index 0000000000..fc28ed05c3 --- /dev/null +++ b/python/python3-nuitka/README @@ -0,0 +1,20 @@ +Nuitka is **the** Python compiler. It is written in Python. It is a +seamless replacement or extension to the Python interpreter and +compiles **every** construct that Python 2 (2.6, 2.7) and Python 3 +(3.4 - 3.13) have, when itself run with that Python version. + +It then executes uncompiled code and compiled code together in an +extremely compatible manner. + +You can use all Python library modules and all extension modules +freely. + +Nuitka translates the Python modules into a C level program that +then uses libpython and static C files of its own to execute in +the same way as CPython does. + +All optimization is aimed at avoiding overhead, where it's unnecessary. +None is aimed at removing compatibility, although slight improvements +will occasionally be done, where not every bug of standard Python is +emulated, e.g. more complete error messages are given, but there is a +full compatibility mode to disable even that. diff --git a/python/python3-nuitka/python3-nuitka.SlackBuild b/python/python3-nuitka/python3-nuitka.SlackBuild new file mode 100644 index 0000000000..2569aade11 --- /dev/null +++ b/python/python3-nuitka/python3-nuitka.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash + +# Slackware build script for python3-nuitka + +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-nuitka +VERSION=${VERSION:-2.8.9} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +TARBALL=Nuitka + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +# if [ "$ARCH" = "i586" ]; then +# SLKCFLAGS="-O2 -march=i586 -mtune=i686" +# elif [ "$ARCH" = "i686" ]; then +# SLKCFLAGS="-O2 -march=i686 -mtune=i686" +# elif [ "$ARCH" = "x86_64" ]; then +# SLKCFLAGS="-O2 -fPIC" +# else +# SLKCFLAGS="-O2" +# fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf ${TARBALL}-${VERSION} +tar xvf $CWD/${TARBALL}-${VERSION}.tar.?z +cd ${TARBALL}-${VERSION} +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 build +python3 setup.py install --root=$PKG + +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/man/man1 +cat doc/nuitka.1 | gzip > $PKG/usr/man/man1/nuitka.1.gz +cat doc/nuitka-run.1 | gzip > $PKG/usr/man/man1/nuitka-run.1.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.txt README.rst Changelog.rst Developer_Manual.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-nuitka/python3-nuitka.info b/python/python3-nuitka/python3-nuitka.info new file mode 100644 index 0000000000..df948f7ddd --- /dev/null +++ b/python/python3-nuitka/python3-nuitka.info @@ -0,0 +1,10 @@ +PRGNAM="python3-nuitka" +VERSION="2.8.9" +HOMEPAGE="https://nuitka.net" +DOWNLOAD="https://github.com/Nuitka/Nuitka/archive/2.8.9/Nuitka-2.8.9.tar.gz" +MD5SUM="a0913963679d749ac73cfc1aaa79f895" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-nuitka/slack-desc b/python/python3-nuitka/slack-desc new file mode 100644 index 0000000000..1ae1f28968 --- /dev/null +++ b/python/python3-nuitka/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-nuitka: python3-nuitka (python compiler) +python3-nuitka: +python3-nuitka: Nuitka is the Python compiler. It is written in Python. It is a +python3-nuitka: seamless replacement or extension to the Python interpreter and +python3-nuitka: compiles every construct that Python 2 (2.6, 2.7) and Python 3 +python3-nuitka: (3.4 - 3.13) have, when itself run with that Python version. +python3-nuitka: +python3-nuitka: It then executes uncompiled code and compiled code together in +python3-nuitka: an extremely compatible manner. +python3-nuitka: +python3-nuitka: diff --git a/python/python3-numpydoc/README b/python/python3-numpydoc/README new file mode 100644 index 0000000000..c134025820 --- /dev/null +++ b/python/python3-numpydoc/README @@ -0,0 +1,7 @@ +Sphinx extension to support docstrings in Numpy format. +Numpy's documentation uses several custom extensions to Sphinx. +These are shipped in this numpydoc package, in case you want to +make use of them in third-party projects. + +python3-numpydoc 1.6.0 is the last available version for Slackware 15.0. +Newer versions require Sphinx >= 6. diff --git a/python/numpydoc/numpydoc.SlackBuild b/python/python3-numpydoc/python3-numpydoc.SlackBuild index fa510cd48c..e6969b1dc7 100644 --- a/python/numpydoc/numpydoc.SlackBuild +++ b/python/python3-numpydoc/python3-numpydoc.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Slackware build script for numpydoc +# Slackware build script for python3-numpydoc # Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece # Copyright 2024 Isaac Yu <isaacyu@protonmail.com> @@ -25,12 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=numpydoc +PRGNAM=python3-numpydoc VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=numpydoc + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -53,9 +55,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 \ diff --git a/python/numpydoc/numpydoc.info b/python/python3-numpydoc/python3-numpydoc.info index 7ef048b630..b88e915ef0 100644 --- a/python/numpydoc/numpydoc.info +++ b/python/python3-numpydoc/python3-numpydoc.info @@ -1,10 +1,10 @@ -PRGNAM="numpydoc" +PRGNAM="python3-numpydoc" VERSION="1.6.0" HOMEPAGE="https://github.com/numpy/numpydoc" DOWNLOAD="https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-1.6.0.tar.gz" MD5SUM="227e5a257f4bfe488a257d963c2df5bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-setuptools-opt Sphinx python3-tabulate" +REQUIRES="Sphinx python3-tabulate" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-numpydoc/slack-desc b/python/python3-numpydoc/slack-desc new file mode 100644 index 0000000000..31bb3038ea --- /dev/null +++ b/python/python3-numpydoc/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-numpydoc: python3-numpydoc (Sphinx extension) +python3-numpydoc: +python3-numpydoc: Numpy's documentation uses several custom extensions to Sphinx. +python3-numpydoc: These are shipped in this numpydoc package, in case you want to +python3-numpydoc: make use of them in third-party projects. +python3-numpydoc: +python3-numpydoc: Homepage: https://github.com/numpy/numpydoc +python3-numpydoc: +python3-numpydoc: +python3-numpydoc: +python3-numpydoc: diff --git a/python/python3-obspy/python3-obspy.info b/python/python3-obspy/python3-obspy.info index 2d48a6e0d4..bda53b5ad3 100644 --- a/python/python3-obspy/python3-obspy.info +++ b/python/python3-obspy/python3-obspy.info @@ -6,5 +6,5 @@ MD5SUM="9799dcae857151ecb9211cc993835ea4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-decorator python3-scipy python3-lxml SQLAlchemy python3-basemap suds-jurko" -MAINTAINER="Cristiano Urban" -EMAIL="cristiano.urban.slack@gmail.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python3-odfdo/README b/python/python3-odfdo/README new file mode 100644 index 0000000000..b6be4494da --- /dev/null +++ b/python/python3-odfdo/README @@ -0,0 +1,18 @@ +An extremely fast Python package and project manager, written in Rust. + +- A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, + virtualenv, and more. +- 10-100x faster than pip. +- Provides comprehensive project management, with a universal lockfile. +- Runs scripts, with support for inline dependency metadata. +- Installs and manages Python versions. +- Runs and installs tools published as Python packages. +- Includes a pip-compatible interface for a performance boost with a + familiar CLI. +- Supports Cargo-style workspaces for scalable projects. +- Disk-space efficient, with a global cache for dependency + deduplication. +- Installable without Rust or Python via curl or pip. +- Supports macOS, Linux, and Windows. + +uv is backed by Astral, the creators of Ruff. diff --git a/python/python3-odfdo/python3-odfdo.SlackBuild b/python/python3-odfdo/python3-odfdo.SlackBuild new file mode 100644 index 0000000000..5fe6bd3f64 --- /dev/null +++ b/python/python3-odfdo/python3-odfdo.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for python3-odfdo + +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-odfdo +VERSION=${VERSION:-3.18.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +_PRGNAM=odfdo + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) echo "Architecture is supported, but not by this script. Modify it!"; exit 1 ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/${_PRGNAM}-$VERSION.tar.gz +mv ${_PRGNAM}-$VERSION $PRGNAM-$VERSION +cd $PRGNAM-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 +# /uv build --wheel +python3 -m installer --destdir "$PKG" "dist/odfdo-$VERSION-py3-none-any.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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-odfdo/python3-odfdo.info b/python/python3-odfdo/python3-odfdo.info new file mode 100644 index 0000000000..8a4bad2b87 --- /dev/null +++ b/python/python3-odfdo/python3-odfdo.info @@ -0,0 +1,10 @@ +PRGNAM="python3-odfdo" +VERSION="3.18.2" +HOMEPAGE="https://github.com/jdum/odfdo" +DOWNLOAD="https://github.com/jdum/odfdo/archive/v3.18.2/odfdo-3.18.2.tar.gz" +MD5SUM="ac7e365d5c9fad5e92b94e7b73a584c2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-lxml python3-uv_build" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-odfdo/slack-desc b/python/python3-odfdo/slack-desc new file mode 100644 index 0000000000..0db5549c44 --- /dev/null +++ b/python/python3-odfdo/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-odfdo: python3-odfdo (OpenDocument Format library for Python) +python3-odfdo: +python3-odfdo: odfdo is a Python library for programmatically creating, parsing, and +python3-odfdo: editing OpenDocument Format (ODF) files. It provides an interface for +python3-odfdo: interacting with .odt, .ods, .odp, and other ODF file types. +python3-odfdo: The library comes with a set of utilities and recipes for common +python3-odfdo: actions to make it easier to use. +python3-odfdo: +python3-odfdo: +python3-odfdo: +python3-odfdo: diff --git a/python/python3-olm/README b/python/python3-olm/README new file mode 100644 index 0000000000..dbeca026d1 --- /dev/null +++ b/python/python3-olm/README @@ -0,0 +1 @@ +Python bindings for Olm cryptographic library. diff --git a/python/python3-olm/python3-olm.SlackBuild b/python/python3-olm/python3-olm.SlackBuild new file mode 100644 index 0000000000..5a87814c97 --- /dev/null +++ b/python/python3-olm/python3-olm.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for python-olm + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-olm +VERSION=${VERSION:-3.2.16} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=python-olm + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-olm/python3-olm.info b/python/python3-olm/python3-olm.info new file mode 100644 index 0000000000..efa381cf21 --- /dev/null +++ b/python/python3-olm/python3-olm.info @@ -0,0 +1,10 @@ +PRGNAM="python3-olm" +VERSION="3.2.16" +HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm/-/tree/master/python" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-olm/python-olm-3.2.16.tar.gz" +MD5SUM="07380893f6111ddd14c3fa08de80d248" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt cffi python3-build python3-wheel" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-xdg/slack-desc b/python/python3-olm/slack-desc index 21613a8f98..e0e8c8f824 100644 --- a/python/python3-xdg/slack-desc +++ b/python/python3-olm/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -python3-xdg: python3-xdg (Variables defined by the XDG Base Directory Spec) -python3-xdg: -python3-xdg: -python3-xdg: -python3-xdg: -python3-xdg: -python3-xdg: -python3-xdg: -python3-xdg: -python3-xdg: -python3-xdg: +python3-olm: python3-olm (Python bindings for Olm) +python3-olm: +python3-olm: +python3-olm: Project URL: https://gitlab.matrix.org/matrix-org/olm/ +python3-olm: +python3-olm: +python3-olm: +python3-olm: +python3-olm: +python3-olm: +python3-olm: diff --git a/python/python3-opencv/python3-opencv.SlackBuild b/python/python3-opencv/python3-opencv.SlackBuild index 487f7d2206..54099b6e72 100644 --- a/python/python3-opencv/python3-opencv.SlackBuild +++ b/python/python3-opencv/python3-opencv.SlackBuild @@ -92,6 +92,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ $CWD/ocv-test.py LICENSE-3RD-PARTY.txt LICENSE.txt README.md \ $PKG/usr/doc/$PRGNAM-$VERSION +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-ordered-set/README b/python/python3-ordered-set/README new file mode 100644 index 0000000000..0543976668 --- /dev/null +++ b/python/python3-ordered-set/README @@ -0,0 +1,4 @@ +An OrderedSet is a mutable data structure that is a hybrid of a list +and a set. +It remembers the order of its entries, and every entry has an index +number that can be looked up. diff --git a/python/python3-ordered-set/python3-ordered-set.SlackBuild b/python/python3-ordered-set/python3-ordered-set.SlackBuild new file mode 100644 index 0000000000..0d28f58470 --- /dev/null +++ b/python/python3-ordered-set/python3-ordered-set.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-ordered-set + +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-ordered-set +VERSION=${VERSION:-4.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +_PRGNAM=ordered-set + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) echo "Architecture is supported, but not by this script. Modify it!"; exit 1 ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/${_PRGNAM}-release-$VERSION.tar.gz +mv ${_PRGNAM}-release-$VERSION $PRGNAM-$VERSION +cd $PRGNAM-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-ordered-set/python3-ordered-set.info b/python/python3-ordered-set/python3-ordered-set.info new file mode 100644 index 0000000000..fc8e70ccb6 --- /dev/null +++ b/python/python3-ordered-set/python3-ordered-set.info @@ -0,0 +1,10 @@ +PRGNAM="python3-ordered-set" +VERSION="4.1.0" +HOMEPAGE="https://github.com/rspeer/ordered-set" +DOWNLOAD="https://github.com/rspeer/ordered-set/archive/release/4.1.0/ordered-set-release-4.1.0.tar.gz" +MD5SUM="6ad8c131b8fe9f872bf4a16bf747f396" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-installer python3-build" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-PySimpleGUI/slack-desc b/python/python3-ordered-set/slack-desc index ed4a7a2fd1..095d9de39b 100644 --- a/python/python3-PySimpleGUI/slack-desc +++ b/python/python3-ordered-set/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -python3-PySimpleGUI: python3-PySimpleGUI (python library for GUIs) -python3-PySimpleGUI: -python3-PySimpleGUI: -python3-PySimpleGUI: PySimpleGUI is a Python library that allows Python programmers of any -python3-PySimpleGUI: level to create graphical interfaces. It has extensive documentation. -python3-PySimpleGUI: -python3-PySimpleGUI: -python3-PySimpleGUI: Homepage: https://github.com/PySimpleGUI/PySimpleGUI -python3-PySimpleGUI: -python3-PySimpleGUI: -python3-PySimpleGUI: +python3-ordered-set: python3-ordered-set (Python3 hybrid of a list and a set) +python3-ordered-set: +python3-ordered-set: An OrderedSet is a mutable data structure that is a hybrid of a list +python3-ordered-set: and a set. +python3-ordered-set: It remembers the order of its entries, and every entry has an index +python3-ordered-set: number that can be looked up. +python3-ordered-set: +python3-ordered-set: +python3-ordered-set: +python3-ordered-set: +python3-ordered-set: diff --git a/python/python3-orjson/python3-orjson.SlackBuild b/python/python3-orjson/python3-orjson.SlackBuild index cf1e8a34dd..16ae773067 100644 --- a/python/python3-orjson/python3-orjson.SlackBuild +++ b/python/python3-orjson/python3-orjson.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-orjson SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-3.10.18} +VERSION=${VERSION:-3.11.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,11 +74,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) # prevent cargo from using the network. # orjson includes the vendored libs with its source tarball diff --git a/python/python3-orjson/python3-orjson.info b/python/python3-orjson/python3-orjson.info index 1dd9778b62..220d31afaa 100644 --- a/python/python3-orjson/python3-orjson.info +++ b/python/python3-orjson/python3-orjson.info @@ -1,8 +1,8 @@ PRGNAM="python3-orjson" -VERSION="3.10.18" +VERSION="3.11.4" HOMEPAGE="https://github.com/ijl/orjson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/o/orjson/orjson-3.10.18.tar.gz" -MD5SUM="3c1451b54cd31d1a3729871a07a7e3c9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/o/orjson/orjson-3.11.4.tar.gz" +MD5SUM="679eab5cdb68a93e17aab631adb5ed9d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin" diff --git a/python/python3-pandas/README b/python/python3-pandas/README index ca985dbc7a..8a5bef4acb 100644 --- a/python/python3-pandas/README +++ b/python/python3-pandas/README @@ -4,4 +4,5 @@ structures and data analysis tools for the Python programming language. NOTE: Unable to support newer versions than 2.1.4 due to requiring a -newer Cython than included in Slackware (needs 3.0.5). +newer python3-numpy than included on SBo (requires at least 2.0). Will +also require python/python3-cython-opt since 15.0's Cython is too old. diff --git a/python/python3-pandas/python3-pandas.SlackBuild b/python/python3-pandas/python3-pandas.SlackBuild index daa7810213..22f2209c19 100644 --- a/python/python3-pandas/python3-pandas.SlackBuild +++ b/python/python3-pandas/python3-pandas.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Copyright 2022 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python3-pantalaimon/README b/python/python3-pantalaimon/README new file mode 100644 index 0000000000..27d236a0cf --- /dev/null +++ b/python/python3-pantalaimon/README @@ -0,0 +1,6 @@ +Pantalaimon is an end-to-end encryption aware Matrix reverse proxy +daemon. Pantalaimon acts as a good man in the middle that handles the +encryption for you. + +Messages are transparently encrypted and decrypted for clients inside +of pantalaimon. diff --git a/python/python3-PySimpleGUI/python3-PySimpleGUI.SlackBuild b/python/python3-pantalaimon/python3-pantalaimon.SlackBuild index adf4fbf403..d3c83648b5 100644 --- a/python/python3-PySimpleGUI/python3-PySimpleGUI.SlackBuild +++ b/python/python3-pantalaimon/python3-pantalaimon.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-PySimpleGUI +# Slackware build script for pantalaimon -# Copyright 2023, Alexander Verbovetsky, Moscow , Russia +# Copyright 2025 Tonus Paris # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,11 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-PySimpleGUI -VERSION=${VERSION:-4.60.5} +PRGNAM=python3-pantalaimon +VERSION=${VERSION:-0.10.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pantalaimon if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -52,9 +53,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM:8}-$VERSION -tar xvf $CWD/${PRGNAM:8}-$VERSION.tar.gz -cd ${PRGNAM:8}-$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 \ @@ -68,6 +69,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md CHANGELOG.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-pantalaimon/python3-pantalaimon.info b/python/python3-pantalaimon/python3-pantalaimon.info new file mode 100644 index 0000000000..1d9ceda740 --- /dev/null +++ b/python/python3-pantalaimon/python3-pantalaimon.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pantalaimon" +VERSION="0.10.6" +HOMEPAGE="https://github.com/matrix-org/pantalaimon/" +DOWNLOAD="https://github.com/matrix-org/pantalaimon/archive/0.10.6/pantalaimon-0.10.6.tar.gz" +MD5SUM="aa858035a498db03464239eb4575fb1f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="olm python3-attrs python3-aiohttp python3-platformdirs click python3-keyring python3-logbook python3-peewee python3-janus python3-cachetools python3-prompt_toolkit python3-matrix-nio hpack python3-pydbus" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-pantalaimon/slack-desc b/python/python3-pantalaimon/slack-desc new file mode 100644 index 0000000000..a4d8709072 --- /dev/null +++ b/python/python3-pantalaimon/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pantalaimon: python3-pantalaimon (E2EE aware Matrix reverse proxy daemon) +python3-pantalaimon: +python3-pantalaimon: Python3-Pantalaimon acts as a good man in the middle that handles the +python3-pantalaimon: encryption for you. +python3-pantalaimon: +python3-pantalaimon: Messages are transparently encrypted and decrypted for clients inside +python3-pantalaimon: of python3-pantalaimon. +python3-pantalaimon: +python3-pantalaimon: https://github.com/matrix-org/python3-pantalaimon/ +python3-pantalaimon: +python3-pantalaimon: diff --git a/python/python3-paramiko/python3-paramiko.info b/python/python3-paramiko/python3-paramiko.info index cb52464f3d..fe497d211f 100644 --- a/python/python3-paramiko/python3-paramiko.info +++ b/python/python3-paramiko/python3-paramiko.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/87/62/cee9551811c846e9735f749d MD5SUM="38f30306e8198e470e6b4bebcb976792" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="cryptography pynacl python3-bcrypt" +REQUIRES="cryptography python3-pynacl python3-bcrypt" MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@slackbuilds.org" diff --git a/python/python3-parso/python3-parso.SlackBuild b/python/python3-parso/python3-parso.SlackBuild index 13b02453c1..54f57eb699 100644 --- a/python/python3-parso/python3-parso.SlackBuild +++ b/python/python3-parso/python3-parso.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-parso SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.8.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-parso/python3-parso.info b/python/python3-parso/python3-parso.info index 02cf985a1f..e74e13f93b 100644 --- a/python/python3-parso/python3-parso.info +++ b/python/python3-parso/python3-parso.info @@ -1,8 +1,8 @@ PRGNAM="python3-parso" -VERSION="0.8.4" +VERSION="0.8.5" HOMEPAGE="https://github.com/davidhalter/parso" -DOWNLOAD="https://github.com/davidhalter/parso/archive/v0.8.4/parso-0.8.4.tar.gz" -MD5SUM="c9c186cb65cc7bed8e2751ea94185e78" +DOWNLOAD="https://github.com/davidhalter/parso/archive/v0.8.5/parso-0.8.5.tar.gz" +MD5SUM="d8e255b57afb52cbd2880538795588c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-passlib/README b/python/python3-passlib/README index aea3d612fd..b3975f2763 100644 --- a/python/python3-passlib/README +++ b/python/python3-passlib/README @@ -4,3 +4,5 @@ as well as a framework for managing existing password hashes. It's designed to be useful for a wide range of tasks, from verifying a hash found in /etc/shadow, to providing full-strength password hashing for multi-user applications. + +INFO: Switched to https://github.com/notypecheck/passlib fork diff --git a/python/python3-passlib/python3-passlib.SlackBuild b/python/python3-passlib/python3-passlib.SlackBuild index cd1cfc1746..8fdc033493 100644 --- a/python/python3-passlib/python3-passlib.SlackBuild +++ b/python/python3-passlib/python3-passlib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-passlib -# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2015-2017, 2020 Brenton Earl <brent@exitstatusone.com> # All rights reserved. # @@ -23,11 +23,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20251017 46and2: Updating to libpass fork as passlib is unmaintained and has +# issues with python3-bcrypt>=5.0. Thanks to Jonathan Chapman for the heads +# up and also contributing the fix to libpass. +# https://github.com/notypecheck/passlib/pull/21 +# (libpass is the pypi project name) + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-passlib -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.7.4} +SRCNAM=libpass +VERSION=${VERSION:-1.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,23 +55,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -75,19 +64,21 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -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 README LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md README.md LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-passlib/python3-passlib.info b/python/python3-passlib/python3-passlib.info index 64e8e25b44..46b039e88a 100644 --- a/python/python3-passlib/python3-passlib.info +++ b/python/python3-passlib/python3-passlib.info @@ -1,10 +1,10 @@ PRGNAM="python3-passlib" -VERSION="1.7.4" -HOMEPAGE="https://pypi.org/project/passlib/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/passlib/passlib-1.7.4.tar.gz" -MD5SUM="3a229cbd00dfb33e99885b43325e0591" +VERSION="1.9.3" +HOMEPAGE="https://github.com/notypecheck/passlib" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libpass/libpass-1.9.3.tar.gz" +MD5SUM="adb10a034901fe710584ce9e2a1d9da8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-hatchling" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-patsy/python3-patsy.SlackBuild b/python/python3-patsy/python3-patsy.SlackBuild index 3d71a5063c..41d60c5f48 100644 --- a/python/python3-patsy/python3-patsy.SlackBuild +++ b/python/python3-patsy/python3-patsy.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-patsy -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-patsy/python3-patsy.info b/python/python3-patsy/python3-patsy.info index 52e8475288..71ea671a85 100644 --- a/python/python3-patsy/python3-patsy.info +++ b/python/python3-patsy/python3-patsy.info @@ -1,8 +1,8 @@ PRGNAM="python3-patsy" -VERSION="1.0.1" +VERSION="1.0.2" HOMEPAGE="https://patsy.readthedocs.org/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/patsy/patsy-1.0.1.tar.gz" -MD5SUM="38455f3ce8ed13b143c40c9f4b8a572f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/patsy/patsy-1.0.2.tar.gz" +MD5SUM="42cfbbe0d006e529d288726b66fbef12" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-numpy" diff --git a/python/python3-pdfCropMargins/README b/python/python3-pdfCropMargins/README index 470bb39d53..2392b7eb17 100644 --- a/python/python3-pdfCropMargins/README +++ b/python/python3-pdfCropMargins/README @@ -1,3 +1,5 @@ +python3-pdfCropMargins (crop pdf files) + The pdfCropMargins program is a command-line application to automatically crop the margins of PDF files. Cropping the margins can make it easier to read the pages of a PDF document - whether the diff --git a/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild b/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild index e1b0374428..f9d0cd03e3 100644 --- a/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild +++ b/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild @@ -2,30 +2,22 @@ # Slackware build script for python3-pdfCropMargins -# Copyright 2023-2024, Alexander Verbovetsky, Moscow, Russia -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Originally written by Alexander Verbovetsky. +# Modified and now maintained by B. Watson (urchlay@slackware.uk). +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20251111 bkw: +# - take over maintenance. +# - relicense as WTFPL with permissions from Alexander. +# - update for v2.2.1. +# - remove python3-PySimpleGUI dep (source has it 'vendored'). +# - add LICENSE to doc dir. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdfCropMargins -VERSION=${VERSION:-2.1.4} +VERSION=${VERSION:-2.2.1} +SRCDIR=pdfCropMargins-release_$VERSION BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,27 +44,32 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf pdfCropMargins-release_$VERSION -tar xvf $CWD/pdfCropMargins-release_$VERSION.tar.gz -cd pdfCropMargins-release_$VERSION +rm -rf $SRCDIR +tar xvf $CWD/$SRCDIR.tar.gz +cd $SRCDIR chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -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 +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl rm -f $PKG/usr/bin/pdf-crop-margins ln -s pdfcropmargins $PKG/usr/bin/pdf-crop-margins -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.rst $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# 20251111 bkw: use the newer pillow in /opt +sed -i \ + "/^import sys\$/asys.path.insert(0,'/opt/python3.9/site-packages')" \ + $PKG/usr/bin/pdfcropmargins + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a LICENSE* *.rst $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/python3-pdfCropMargins/python3-pdfCropMargins.info b/python/python3-pdfCropMargins/python3-pdfCropMargins.info index 6614933858..32461c7b95 100644 --- a/python/python3-pdfCropMargins/python3-pdfCropMargins.info +++ b/python/python3-pdfCropMargins/python3-pdfCropMargins.info @@ -1,10 +1,10 @@ PRGNAM="python3-pdfCropMargins" -VERSION="2.1.4" +VERSION="2.2.1" HOMEPAGE="https://github.com/abarker/pdfCropMargins" -DOWNLOAD="https://github.com/abarker/pdfCropMargins/archive/release_2.1.4/pdfCropMargins-release_2.1.4.tar.gz" -MD5SUM="8223a203f4e2cf546e7db9aa8e7912f2" +DOWNLOAD="https://github.com/abarker/pdfCropMargins/archive/release_2.2.1/pdfCropMargins-release_2.2.1.tar.gz" +MD5SUM="419dffe081aef150fc3b1edb4d922982" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-PySimpleGUI python3-PyMuPDF" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +REQUIRES="python3-pillow-opt python3-PyMuPDF" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild b/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild index 6e9f8a89cc..055d6f44ec 100644 --- a/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild +++ b/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdfminer.six SRCNAM=pdfminer_six -VERSION=${VERSION:-20250506} +VERSION=${VERSION:-20251107} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,11 +59,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-pdfminer.six/python3-pdfminer.six.info b/python/python3-pdfminer.six/python3-pdfminer.six.info index 7757d71c98..7de0314dfb 100644 --- a/python/python3-pdfminer.six/python3-pdfminer.six.info +++ b/python/python3-pdfminer.six/python3-pdfminer.six.info @@ -1,8 +1,8 @@ PRGNAM="python3-pdfminer.six" -VERSION="20250506" +VERSION="20251107" HOMEPAGE="https://github.com/pdfminer/pdfminer.six" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdfminer_six/pdfminer_six-20250506.tar.gz" -MD5SUM="f6762cc68a84f9dc9e1f418fe5ced91b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdfminer_six/pdfminer_six-20251107.tar.gz" +MD5SUM="c1a0141403b6ce74410d13a514f2d1a3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cryptography python3-setuptools-git-versioning python3-setuptools-scm-opt" diff --git a/python/python3-pdm-backend/python3-pdm-backend.SlackBuild b/python/python3-pdm-backend/python3-pdm-backend.SlackBuild index 8fe96dad45..c4800e12f5 100644 --- a/python/python3-pdm-backend/python3-pdm-backend.SlackBuild +++ b/python/python3-pdm-backend/python3-pdm-backend.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdm-backend -VERSION=${VERSION:-2.4.4} +VERSION=${VERSION:-2.4.6} SRCNAM=${SRCNAM:-pdm_backend} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-pdm-backend/python3-pdm-backend.info b/python/python3-pdm-backend/python3-pdm-backend.info index df0d4ac701..d8be4d5db3 100644 --- a/python/python3-pdm-backend/python3-pdm-backend.info +++ b/python/python3-pdm-backend/python3-pdm-backend.info @@ -1,8 +1,8 @@ PRGNAM="python3-pdm-backend" -VERSION="2.4.4" +VERSION="2.4.6" HOMEPAGE="https://github.com/pdm-project/pdm-backend" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm_backend/pdm_backend-2.4.4.tar.gz" -MD5SUM="ff6df568255465521ecbed95dc388a23" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm_backend/pdm_backend-2.4.6.tar.gz" +MD5SUM="63dd231ba6206cc834b205694208df40" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata" diff --git a/python/python3-pdm/python3-pdm.SlackBuild b/python/python3-pdm/python3-pdm.SlackBuild index 96e5797571..fc151b1e4c 100644 --- a/python/python3-pdm/python3-pdm.SlackBuild +++ b/python/python3-pdm/python3-pdm.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdm -VERSION=${VERSION:-2.24.2} +VERSION=${VERSION:-2.26.2} SRCNAM=${SRCNAM:-pdm} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,6 +68,10 @@ sed -i '/\"pbs-installer.*\",/d' pyproject.toml # Remove hard version requirement on certifi, since it's been working fine sed -i 's|certifi.*|certifi",|' pyproject.toml +# Remove hard version requirement on packaging, since the correct version +# is in /opt/ +sed -i 's|packaging>.*|packaging",|' pyproject.toml + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-pdm/python3-pdm.info b/python/python3-pdm/python3-pdm.info index 6809946e45..abd0c801a0 100644 --- a/python/python3-pdm/python3-pdm.info +++ b/python/python3-pdm/python3-pdm.info @@ -1,8 +1,8 @@ PRGNAM="python3-pdm" -VERSION="2.24.2" +VERSION="2.26.2" HOMEPAGE="https://github.com/pdm-project/pdm" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm/pdm-2.24.2.tar.gz" -MD5SUM="1904110eadde1fcba0a4c5f4c8ebe350" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm/pdm-2.26.2.tar.gz" +MD5SUM="fc89a47d6f2437ab0dc78aa2fc3aa7e1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-blinker python3-dotenv python3-tomlkit python3-dep-logic python3-findpython python3-resolvelib python3-shellingham python3-unearth python3-cachecontrol requests-toolbelt python3-rich python3-hishel python3-pdm-build-locked python3-virtualenv python3-httpcore python3-id" diff --git a/python/python3-peewee/README b/python/python3-peewee/README new file mode 100644 index 0000000000..76e197c733 --- /dev/null +++ b/python/python3-peewee/README @@ -0,0 +1,6 @@ +Peewee is a simple and small ORM. It has few (but expressive) concepts, +making it easy to learn and intuitive to use. +- a small, expressive ORM +- python 2.7+ and 3.4+ +- supports sqlite, mysql, mariadb, postgresql +- tons of extensions diff --git a/python/python3-peewee/python3-peewee.SlackBuild b/python/python3-peewee/python3-peewee.SlackBuild new file mode 100644 index 0000000000..4f8bb3f5dc --- /dev/null +++ b/python/python3-peewee/python3-peewee.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for peewee + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-peewee +VERSION=${VERSION:-3.18.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=peewee + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 CHANGELOG.md README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-peewee/python3-peewee.info b/python/python3-peewee/python3-peewee.info new file mode 100644 index 0000000000..11249dc682 --- /dev/null +++ b/python/python3-peewee/python3-peewee.info @@ -0,0 +1,10 @@ +PRGNAM="python3-peewee" +VERSION="3.18.2" +HOMEPAGE="https://github.com/coleifer/peewee/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/peewee/peewee-3.18.2.tar.gz" +MD5SUM="acad099910f5a0da47b673c705bfd901" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-peewee/slack-desc b/python/python3-peewee/slack-desc new file mode 100644 index 0000000000..168076ab6f --- /dev/null +++ b/python/python3-peewee/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-peewee: python3-peewee (a simple and small ORM) +python3-peewee: +python3-peewee: Peewee is a simple and small ORM +python3-peewee: +python3-peewee: Project URL: https://github.com/coleifer/peewee/ +python3-peewee: +python3-peewee: +python3-peewee: +python3-peewee: +python3-peewee: +python3-peewee: diff --git a/python/python3-persistent/python3-persistent.SlackBuild b/python/python3-persistent/python3-persistent.SlackBuild index 630e8488d4..7b166e54c3 100644 --- a/python/python3-persistent/python3-persistent.SlackBuild +++ b/python/python3-persistent/python3-persistent.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-persistent SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-6.1.1} +VERSION=${VERSION:-6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-persistent/python3-persistent.info b/python/python3-persistent/python3-persistent.info index d8c024628f..9378aa6322 100644 --- a/python/python3-persistent/python3-persistent.info +++ b/python/python3-persistent/python3-persistent.info @@ -1,8 +1,8 @@ PRGNAM="python3-persistent" -VERSION="6.1.1" +VERSION="6.3" HOMEPAGE="https://github.com/zopefoundation/persistent/" -DOWNLOAD="https://pypi.python.org/packages/source/p/persistent/persistent-6.1.1.tar.gz" -MD5SUM="6aba4288accd8016622e03e20a2e6ca5" +DOWNLOAD="https://pypi.python.org/packages/source/p/persistent/persistent-6.3.tar.gz" +MD5SUM="b16cbf8ab1df76030082b5b015e52fd9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="zope.interface" diff --git a/python/python3-pillow-opt/README b/python/python3-pillow-opt/README new file mode 100644 index 0000000000..f744f6a613 --- /dev/null +++ b/python/python3-pillow-opt/README @@ -0,0 +1,23 @@ +python3-pillow-opt (Python Imaging Library, new version) + +The Python Imaging Library (PIL) adds image processing capabilities +to your Python environment. This library provides extensive file +format support, an efficient internal representation, and powerful +image processing capabilities. + +This version of pillow installs to /opt/python3.9/, so it won't +conflict with Slackware's older python-pillow package. This is the +newest version of pillow that will work with Python 3.9 (please don't +ask for an update to >= 12.0.0). + +Any SlackBuild for a python3 program that requires this version of +pillow will have to modify the python script itself. Add the following +code: + +import sys +sys.path.insert(0,'/opt/python3.9/site-packages') + +If there's already an 'import sys', just put the insert() line right +after it. + +Note: the API documentation is not installed as part of the package. diff --git a/python/python3-pillow-opt/python3-pillow-opt.SlackBuild b/python/python3-pillow-opt/python3-pillow-opt.SlackBuild new file mode 100644 index 0000000000..e459ca4063 --- /dev/null +++ b/python/python3-pillow-opt/python3-pillow-opt.SlackBuild @@ -0,0 +1,70 @@ +#!/bin/bash + +# Slackware build script for python3-pillow-opt + +# Written by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-pillow-opt +SRCNAM=pillow +VERSION=${VERSION:-11.3.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +PYDIR=/opt/python$PYVER +export PYTHONPATH=$PYDIR/site-packages +python3 -m build --wheel --no-isolation +python3 -m installer --prefix $PYDIR --destdir "$PKG" dist/*.whl + +# --prefix doesn't quite do what I want, fourtysixandtwo says there's no +# 'installer' option explicitly set the site-packages dir, and that +# moving stuff after the fact is the best solution so far. +mv $PKG/$PYDIR/lib*/python3*/site-packages $PKG/$PYDIR +rm -rf $PKG/$PYDIR/lib* +strip $PKG/$PYDIR/site-packages/PIL/* &> /dev/null || true + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a LICENSE *.rst *.md $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-pillow-opt/python3-pillow-opt.info b/python/python3-pillow-opt/python3-pillow-opt.info new file mode 100644 index 0000000000..0cdf7fa637 --- /dev/null +++ b/python/python3-pillow-opt/python3-pillow-opt.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pillow-opt" +VERSION="11.3.0" +HOMEPAGE="https://pypi.org/project/pillow/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pillow/pillow-11.3.0.tar.gz" +MD5SUM="9464f92bed3be9c68293cb399ec1ec1a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/python/python3-pillow-opt/slack-desc b/python/python3-pillow-opt/slack-desc new file mode 100644 index 0000000000..d33a5d36c1 --- /dev/null +++ b/python/python3-pillow-opt/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pillow-opt: python3-pillow-opt (Python Imaging Library, new version) +python3-pillow-opt: +python3-pillow-opt: The Python Imaging Library (PIL) adds image processing capabilities +python3-pillow-opt: to your Python environment. This library provides extensive file +python3-pillow-opt: format support, an efficient internal representation, and powerful +python3-pillow-opt: image processing capabilities. +python3-pillow-opt: +python3-pillow-opt: This version of pillow installs to /opt/python3.9/, so it won't +python3-pillow-opt: conflict with Slackware's older python-pillow package. +python3-pillow-opt: +python3-pillow-opt: diff --git a/python/python3-pipx/python3-pipx.SlackBuild b/python/python3-pipx/python3-pipx.SlackBuild index c4421db773..4d9f6b4800 100644 --- a/python/python3-pipx/python3-pipx.SlackBuild +++ b/python/python3-pipx/python3-pipx.SlackBuild @@ -26,13 +26,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pipx -VERSION=${VERSION:-1.7.1} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SRCNAM=${SRCNAM:-pipx} - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -79,9 +78,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -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 diff --git a/python/python3-pipx/python3-pipx.info b/python/python3-pipx/python3-pipx.info index 0689ed4c90..c4550bbb9a 100644 --- a/python/python3-pipx/python3-pipx.info +++ b/python/python3-pipx/python3-pipx.info @@ -1,8 +1,8 @@ PRGNAM="python3-pipx" -VERSION="1.7.1" +VERSION="1.8.0" HOMEPAGE="https://github.com/pipxproject/pipx" -DOWNLOAD="https://pypi.io/packages/source/p/pipx/pipx-1.7.1.tar.gz" -MD5SUM="7b2bd7c1397e74e7e7beb04b121702c4" +DOWNLOAD="https://pypi.io/packages/source/p/pipx/pipx-1.8.0.tar.gz" +MD5SUM="db083ad1bda9f45e40bc3399c85cc1a8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs python3-platformdirs python3-argcomplete python3-userpath" diff --git a/python/python3-platformdirs/python3-platformdirs.SlackBuild b/python/python3-platformdirs/python3-platformdirs.SlackBuild index 6f1bacb2d6..728dc163a5 100644 --- a/python/python3-platformdirs/python3-platformdirs.SlackBuild +++ b/python/python3-platformdirs/python3-platformdirs.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-platformdirs -VERSION=${VERSION:-4.3.8} +VERSION=${VERSION:-4.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-platformdirs/python3-platformdirs.info b/python/python3-platformdirs/python3-platformdirs.info index a8ae200f83..2fc0ac6ff2 100644 --- a/python/python3-platformdirs/python3-platformdirs.info +++ b/python/python3-platformdirs/python3-platformdirs.info @@ -1,8 +1,8 @@ PRGNAM="python3-platformdirs" -VERSION="4.3.8" +VERSION="4.5.0" HOMEPAGE="https://github.com/platformdirs/platformdirs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-4.3.8.tar.gz" -MD5SUM="90aef8202386996ce2e4b560a9f1d3e6" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-4.5.0.tar.gz" +MD5SUM="e3a2646918667a859323d03fb6515975" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs python3-setuptools-scm-opt" diff --git a/python/python3-plotly/python3-plotly.SlackBuild b/python/python3-plotly/python3-plotly.SlackBuild index fd2706caba..4dc087fb53 100644 --- a/python/python3-plotly/python3-plotly.SlackBuild +++ b/python/python3-plotly/python3-plotly.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-plotly -VERSION=${VERSION:-6.0.1} +VERSION=${VERSION:-6.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,10 +64,13 @@ 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 {} \; +# Do not try to fetch stuff with npm (code taken from Gentoo repos) +export SKIP_NPM=1 + 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 build --no-isolation --skip-dependency-check python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python3-plotly/python3-plotly.info b/python/python3-plotly/python3-plotly.info index 05f393221c..ed2bde3db1 100644 --- a/python/python3-plotly/python3-plotly.info +++ b/python/python3-plotly/python3-plotly.info @@ -1,8 +1,8 @@ PRGNAM="python3-plotly" -VERSION="6.0.1" +VERSION="6.5.0" HOMEPAGE="https://github.com/plotly/plotly.py" -DOWNLOAD="https://github.com/plotly/plotly.py/archive/v6.0.1/plotly.py-6.0.1.tar.gz" -MD5SUM="d59dea09bda8801794f1a71097656988" +DOWNLOAD="https://github.com/plotly/plotly.py/archive/v6.5.0/plotly.py-6.5.0.tar.gz" +MD5SUM="fa64b402a44157f465b35b5d6b43530c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-narwhals" diff --git a/python/python3-poetry-core/python3-poetry-core.SlackBuild b/python/python3-poetry-core/python3-poetry-core.SlackBuild index d43a1e41b5..4ca04b8028 100644 --- a/python/python3-poetry-core/python3-poetry-core.SlackBuild +++ b/python/python3-poetry-core/python3-poetry-core.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-poetry-core SRCNAM=poetry_core -VERSION=${VERSION:-2.1.3} +VERSION=${VERSION:-2.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-poetry-core/python3-poetry-core.info b/python/python3-poetry-core/python3-poetry-core.info index beb11403aa..2b95416f4f 100644 --- a/python/python3-poetry-core/python3-poetry-core.info +++ b/python/python3-poetry-core/python3-poetry-core.info @@ -1,8 +1,8 @@ PRGNAM="python3-poetry-core" -VERSION="2.1.3" +VERSION="2.2.1" HOMEPAGE="https://github.com/python-poetry/poetry-core" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/poetry_core/poetry_core-2.1.3.tar.gz" -MD5SUM="5cee71d40e2a0dfb6d8afcba8536f110" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/poetry_core/poetry_core-2.2.1.tar.gz" +MD5SUM="a025abe2dd8d096480a87941f30d95ec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild index 7d531989e8..e24a4e5824 100644 --- a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild +++ b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-poetry-dynamic-versioning SRCNAM=poetry_dynamic_versioning -VERSION=${VERSION:-1.8.2} +VERSION=${VERSION:-1.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info index 3bb59553ac..d89faa1cf7 100644 --- a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info +++ b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info @@ -1,8 +1,8 @@ PRGNAM="python3-poetry-dynamic-versioning" -VERSION="1.8.2" +VERSION="1.9.1" HOMEPAGE="https://pypi.org/project/poetry-dynamic-versioning/" -DOWNLOAD="https://files.pythonhosted.org/packages/94/97/01cff7391c4b7d863a1c6cda1152613462524c5d740cbe97371db3d00a59/poetry_dynamic_versioning-1.8.2.tar.gz" -MD5SUM="bf83460396cd3b1d6891f5a84b92769e" +DOWNLOAD="https://files.pythonhosted.org/packages/d6/14/a9109e67fde1b464a9a468c68b106b26480eb04e66ca70408ed51635ae7d/poetry_dynamic_versioning-1.9.1.tar.gz" +MD5SUM="fc7354b8ff0fae0e5c78418e0bcf85b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-tomlkit python3-wheel" diff --git a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild index 5617a3aed7..99f53c50a4 100644 --- a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild +++ b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-prometheus_client -VERSION=${VERSION:-0.22.0} +VERSION=${VERSION:-0.23.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,8 +65,6 @@ 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 {} \; -# pyproject.toml does not explicitly state a requirement for a newer setuptools -# However, the newer setuptools is still needed (otherwise, the build breaks) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-prometheus_client/python3-prometheus_client.info b/python/python3-prometheus_client/python3-prometheus_client.info index c7739ecc3f..6cff765bf7 100644 --- a/python/python3-prometheus_client/python3-prometheus_client.info +++ b/python/python3-prometheus_client/python3-prometheus_client.info @@ -1,8 +1,8 @@ PRGNAM="python3-prometheus_client" -VERSION="0.22.0" +VERSION="0.23.1" HOMEPAGE="https://github.com/prometheus/client_python" -DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.22.0/client_python-0.22.0.tar.gz" -MD5SUM="001e3adcd4ada8c24c61ca8ec33f9570" +DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.23.1/client_python-0.23.1.tar.gz" +MD5SUM="67ad93a6eb9a014a0da7af677a8b7752" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild index e3798609e0..44d9a97af0 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-prompt_toolkit -VERSION=${VERSION:-3.0.51} +VERSION=${VERSION:-3.0.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,7 +89,7 @@ find -L . \ 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 build --wheel --no-isolation --skip-dependency-check python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.info b/python/python3-prompt_toolkit/python3-prompt_toolkit.info index 9b2801f5cc..3d0736b34f 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.info +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.info @@ -1,8 +1,8 @@ PRGNAM="python3-prompt_toolkit" -VERSION="3.0.51" +VERSION="3.0.52" HOMEPAGE="https://github.com/jonathanslenders/python-prompt-toolkit" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.51.tar.gz" -MD5SUM="2466627570566ad36cdb451ede5c6d62" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.52.tar.gz" +MD5SUM="8d75b89a1478259c17130d4fab6de475" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-wcwidth python3-setuptools-opt" diff --git a/python/python3-propcache/python3-propcache.SlackBuild b/python/python3-propcache/python3-propcache.SlackBuild index 38d864797a..a5ff25ac8f 100644 --- a/python/python3-propcache/python3-propcache.SlackBuild +++ b/python/python3-propcache/python3-propcache.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) SRCNAM=propcache PRGNAM=python3-propcache -VERSION=${VERSION:-0.3.1} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-propcache/python3-propcache.info b/python/python3-propcache/python3-propcache.info index 18d859a294..b8dbb1802c 100644 --- a/python/python3-propcache/python3-propcache.info +++ b/python/python3-propcache/python3-propcache.info @@ -1,8 +1,8 @@ PRGNAM="python3-propcache" -VERSION="0.3.1" +VERSION="0.4.1" HOMEPAGE="https://propcache.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/propcache/propcache-0.3.1.tar.gz" -MD5SUM="5e4ae92cad41df24bdcafeaca092004e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/propcache/propcache-0.4.1.tar.gz" +MD5SUM="9efab9358cf05265dbee69297e0de96a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-cython-opt python3-expandvars" diff --git a/python/python3-psutil/python3-psutil.SlackBuild b/python/python3-psutil/python3-psutil.SlackBuild index 7fa53558d2..6b4ec3a6a1 100644 --- a/python/python3-psutil/python3-psutil.SlackBuild +++ b/python/python3-psutil/python3-psutil.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-psutil SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-7.0.0} +VERSION=${VERSION:-7.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-psutil/python3-psutil.info b/python/python3-psutil/python3-psutil.info index be5e502f1a..f3f41cac86 100644 --- a/python/python3-psutil/python3-psutil.info +++ b/python/python3-psutil/python3-psutil.info @@ -1,8 +1,8 @@ PRGNAM="python3-psutil" -VERSION="7.0.0" +VERSION="7.1.3" HOMEPAGE="https://github.com/giampaolo/psutil" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-7.0.0.tar.gz" -MD5SUM="1c074ff5828dff3a3ecfa0e0f9de2e63" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-7.1.3.tar.gz" +MD5SUM="99dbbe92985d5e5a3a45574ea521af67" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-psycopg2/python3-psycopg2.SlackBuild b/python/python3-psycopg2/python3-psycopg2.SlackBuild index 1316f35b90..2fbe1a9497 100644 --- a/python/python3-psycopg2/python3-psycopg2.SlackBuild +++ b/python/python3-psycopg2/python3-psycopg2.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-psycopg2 SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2.9.10} +VERSION=${VERSION:-2.9.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-psycopg2/python3-psycopg2.info b/python/python3-psycopg2/python3-psycopg2.info index a5988e7f97..a7d2ef9178 100644 --- a/python/python3-psycopg2/python3-psycopg2.info +++ b/python/python3-psycopg2/python3-psycopg2.info @@ -1,8 +1,8 @@ PRGNAM="python3-psycopg2" -VERSION="2.9.10" +VERSION="2.9.11" HOMEPAGE="http://initd.org/psycopg/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-2.9.10.tar.gz" -MD5SUM="3a1ed36b492a74789563577edc0b0689" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-2.9.11.tar.gz" +MD5SUM="ea0f76b3d0358db5d8ff84e18c4a7252" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" diff --git a/python/python3-pulsectl-asyncio/README b/python/python3-pulsectl-asyncio/README new file mode 100644 index 0000000000..6fe8a670f5 --- /dev/null +++ b/python/python3-pulsectl-asyncio/README @@ -0,0 +1,3 @@ +This library provides an Python 3 asyncio interface on top of the +pulsectl library for monitoring and controlling the PulseAudio +sound server. diff --git a/python/python3-pulsectl-asyncio/python3-pulsectl-asyncio.SlackBuild b/python/python3-pulsectl-asyncio/python3-pulsectl-asyncio.SlackBuild new file mode 100644 index 0000000000..7e49fc35cd --- /dev/null +++ b/python/python3-pulsectl-asyncio/python3-pulsectl-asyncio.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Slackware build script for python3-pulsectl-asyncio + +# Copyright 2025 Isaac Yu <isaacyu@protonmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-pulsectl-asyncio +VERSION=${VERSION:-1.2.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=pulsectl-asyncio + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +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 README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-pulsectl-asyncio/python3-pulsectl-asyncio.info b/python/python3-pulsectl-asyncio/python3-pulsectl-asyncio.info new file mode 100644 index 0000000000..d84bba8c1d --- /dev/null +++ b/python/python3-pulsectl-asyncio/python3-pulsectl-asyncio.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pulsectl-asyncio" +VERSION="1.2.2" +HOMEPAGE="https://github.com/mhthies/pulsectl-asyncio" +DOWNLOAD="https://github.com/mhthies/pulsectl-asyncio/archive/v1.2.2/pulsectl-asyncio-1.2.2.tar.gz" +MD5SUM="ad393f35db510fc2c23b524813316d63" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-pulsectl python3-build python3-wheel" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pulsectl-asyncio/slack-desc b/python/python3-pulsectl-asyncio/slack-desc new file mode 100644 index 0000000000..5861e4b1ba --- /dev/null +++ b/python/python3-pulsectl-asyncio/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pulsectl-asyncio: python3-pulsectl-asyncio (Asyncio frontend for pulsectl) +python3-pulsectl-asyncio: +python3-pulsectl-asyncio: This library provides an Python 3 asyncio interface on top of the +python3-pulsectl-asyncio: pulsectl library for monitoring and controlling the PulseAudio +python3-pulsectl-asyncio: sound server. +python3-pulsectl-asyncio: +python3-pulsectl-asyncio: +python3-pulsectl-asyncio: +python3-pulsectl-asyncio: +python3-pulsectl-asyncio: +python3-pulsectl-asyncio: diff --git a/python/python3-pycryptodome/README b/python/python3-pycryptodome/README new file mode 100644 index 0000000000..805ebd951b --- /dev/null +++ b/python/python3-pycryptodome/README @@ -0,0 +1,17 @@ +PyCryptodome is a self-contained Python package of low-level +cryptographic primitives. +It supports Python 2.7, Python 3.7 and newer, and PyPy. + +The installation procedure depends on the package you want the library +to be in. + +PyCryptodome is used here as an almost drop-in replacement for the old +PyCrypto library. +In this case, all modules are installed under the Crypto package. +One must avoid having both PyCrypto and PyCryptodome installed at the +same time, as they will interfere with each other. + +For a library independent of the old PyCrypto, install PyCryptodomex. +In this case, all modules are installed under the Cryptodome package. +PyCrypto and PyCryptodome can coexist. There's another SlackBuild for +it in the repo. diff --git a/python/python3-pycryptodome/python3-pycryptodome.SlackBuild b/python/python3-pycryptodome/python3-pycryptodome.SlackBuild new file mode 100644 index 0000000000..f6397407c0 --- /dev/null +++ b/python/python3-pycryptodome/python3-pycryptodome.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Slackware build script for python3-pycryptodome + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-pycryptodome +VERSION=${VERSION:-3.23.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pycryptodome + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +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.rst Changelog.rst LICENSE.rst README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-pycryptodome/python3-pycryptodome.info b/python/python3-pycryptodome/python3-pycryptodome.info new file mode 100644 index 0000000000..07e9857b8b --- /dev/null +++ b/python/python3-pycryptodome/python3-pycryptodome.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pycryptodome" +VERSION="3.23.0" +HOMEPAGE="https://github.com/Legrandin/pycryptodome" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pycryptodome/pycryptodome-3.23.0.tar.gz" +MD5SUM="ced642c05c66d98d90bafcf558f4415e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-wheel" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-pycryptodome/slack-desc b/python/python3-pycryptodome/slack-desc new file mode 100644 index 0000000000..c6f2f32918 --- /dev/null +++ b/python/python3-pycryptodome/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pycryptodome: python3-pycryptodome (Python Cryptography Toolkit) +python3-pycryptodome: +python3-pycryptodome: PyCryptodome is a self-contained Python package of low-level +python3-pycryptodome: cryptographic primitives. +python3-pycryptodome: +python3-pycryptodome: +python3-pycryptodome: +python3-pycryptodome: +python3-pycryptodome: +python3-pycryptodome: +python3-pycryptodome: diff --git a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild index e2c8e4dc7c..6a22f530e1 100644 --- a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild +++ b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pydantic-core SRCNAM=pydantic_core -VERSION=${VERSION:-2.34.1} +VERSION=${VERSION:-2.41.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,11 +78,9 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.?z tar xvf $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) # remove .cargo line from Cargo.toml, breaks using vendored libs sed -i '/^ "\/.cargo",$/d' Cargo.toml diff --git a/python/python3-pydantic-core/python3-pydantic-core.info b/python/python3-pydantic-core/python3-pydantic-core.info index b52ada5384..60f1f44ae2 100644 --- a/python/python3-pydantic-core/python3-pydantic-core.info +++ b/python/python3-pydantic-core/python3-pydantic-core.info @@ -1,10 +1,10 @@ PRGNAM="python3-pydantic-core" -VERSION="2.34.1" +VERSION="2.41.5" HOMEPAGE="https://github.com/pydantic/pydantic-core" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic-core/pydantic_core-2.34.1.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/pydantic_core-vendored-sources-2.34.1-1.tar.xz" -MD5SUM="34d464a2a16b22540edaff749d3e650a \ - cf6c3071b658b7e7649f233ff4ee8a7f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic-core/pydantic_core-2.41.5.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/pydantic_core-vendored-sources-2.41.5-1.tar.xz" +MD5SUM="54a367c4549ec48a8b3a63d38e821506 \ + 3e7c3f4757f219569255bbf9d75729fe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin python3-hatchling" diff --git a/python/python3-pydantic/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild index 5b5be84372..0ea3322e05 100644 --- a/python/python3-pydantic/python3-pydantic.SlackBuild +++ b/python/python3-pydantic/python3-pydantic.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pydantic SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2.11.5} +VERSION=${VERSION:-2.12.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-pydantic/python3-pydantic.info b/python/python3-pydantic/python3-pydantic.info index dfb210f3c7..80a17485b7 100644 --- a/python/python3-pydantic/python3-pydantic.info +++ b/python/python3-pydantic/python3-pydantic.info @@ -1,8 +1,8 @@ PRGNAM="python3-pydantic" -VERSION="2.11.5" +VERSION="2.12.5" HOMEPAGE="https://github.com/pydantic/pydantic" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.11.5.tar.gz" -MD5SUM="85a84b0930556794ba1e95aa6313c071" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.12.5.tar.gz" +MD5SUM="beb5176b58bf266a874ab4d085cdb766" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme python3-typing-inspection" diff --git a/python/python3-pydbus/README b/python/python3-pydbus/README new file mode 100644 index 0000000000..4c81ad5bf9 --- /dev/null +++ b/python/python3-pydbus/README @@ -0,0 +1 @@ +Pythonic DBus library. diff --git a/python/python3-pydbus/python3-pydbus.SlackBuild b/python/python3-pydbus/python3-pydbus.SlackBuild new file mode 100644 index 0000000000..02b3190764 --- /dev/null +++ b/python/python3-pydbus/python3-pydbus.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# Slackware build script for pydbus + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-pydbus +VERSION=${VERSION:-0.6.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pydbus + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 \ + LICENSE README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-pydbus/python3-pydbus.info b/python/python3-pydbus/python3-pydbus.info new file mode 100644 index 0000000000..bbd5ec4ccd --- /dev/null +++ b/python/python3-pydbus/python3-pydbus.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pydbus" +VERSION="0.6.0" +HOMEPAGE="https://github.com/LEW21/pydbus" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydbus/pydbus-0.6.0.tar.gz" +MD5SUM="c6abd44862322679bd4e907bebc3e0d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-wheel python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-pydbus/slack-desc b/python/python3-pydbus/slack-desc new file mode 100644 index 0000000000..3028b3cce1 --- /dev/null +++ b/python/python3-pydbus/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pydbus: python3-pydbus (Pythonic DBus library.) +python3-pydbus: +python3-pydbus: +python3-pydbus: Project URL: https://github.com/LEW21/pydbus +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: diff --git a/python/python3-pyinotify/pyinotify-python-3.12-fix.patch b/python/python3-pyinotify/pyinotify-python-3.12-fix.patch new file mode 100644 index 0000000000..b743d9e334 --- /dev/null +++ b/python/python3-pyinotify/pyinotify-python-3.12-fix.patch @@ -0,0 +1,77 @@ +Make asyncore support optional for Python 3. +Patch taken from Arch Linux: +https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyinotify/-/blob/main/pyinotify-python-3.12-fix.patch +diff --git a/python3/pyinotify.py b/python3/pyinotify.py +index bc24313..f4a5a90 100755 +--- a/python3/pyinotify.py ++++ b/python3/pyinotify.py +@@ -68,7 +68,6 @@ from collections import deque + from datetime import datetime, timedelta + import time + import re +-import asyncore + import glob + import locale + import subprocess +@@ -1494,33 +1493,40 @@ class ThreadedNotifier(threading.Thread, Notifier): + self.loop() + + +-class AsyncNotifier(asyncore.file_dispatcher, Notifier): +- """ +- This notifier inherits from asyncore.file_dispatcher in order to be able to +- use pyinotify along with the asyncore framework. ++try: ++ import asyncore + +- """ +- def __init__(self, watch_manager, default_proc_fun=None, read_freq=0, +- threshold=0, timeout=None, channel_map=None): ++ class AsyncNotifier(asyncore.file_dispatcher, Notifier): + """ +- Initializes the async notifier. The only additional parameter is +- 'channel_map' which is the optional asyncore private map. See +- Notifier class for the meaning of the others parameters. ++ This notifier inherits from asyncore.file_dispatcher in order to be able to ++ use pyinotify along with the asyncore framework. + + """ +- Notifier.__init__(self, watch_manager, default_proc_fun, read_freq, +- threshold, timeout) +- asyncore.file_dispatcher.__init__(self, self._fd, channel_map) ++ def __init__(self, watch_manager, default_proc_fun=None, read_freq=0, ++ threshold=0, timeout=None, channel_map=None): ++ """ ++ Initializes the async notifier. The only additional parameter is ++ 'channel_map' which is the optional asyncore private map. See ++ Notifier class for the meaning of the others parameters. + +- def handle_read(self): +- """ +- When asyncore tells us we can read from the fd, we proceed processing +- events. This method can be overridden for handling a notification +- differently. ++ """ ++ Notifier.__init__(self, watch_manager, default_proc_fun, read_freq, ++ threshold, timeout) ++ asyncore.file_dispatcher.__init__(self, self._fd, channel_map) + +- """ +- self.read_events() +- self.process_events() ++ def handle_read(self): ++ """ ++ When asyncore tells us we can read from the fd, we proceed processing ++ events. This method can be overridden for handling a notification ++ differently. ++ ++ """ ++ self.read_events() ++ self.process_events() ++except ImportError: ++ # asyncore was removed in Python 3.12, but try the import instead of a ++ # version check in case the compatibility package is installed. ++ pass + + + class TornadoAsyncNotifier(Notifier): diff --git a/python/python3-pyinotify/python3-pyinotify.SlackBuild b/python/python3-pyinotify/python3-pyinotify.SlackBuild index 9c96d52a7b..20533c6b6e 100644 --- a/python/python3-pyinotify/python3-pyinotify.SlackBuild +++ b/python/python3-pyinotify/python3-pyinotify.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-pyinotify # Copyright 2012-2015 Larry Hajali <larryhaja[at]gmail[dot]com> -# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2024-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -68,6 +68,15 @@ find -L . \ # Compile the C extension. sed -i '/^compile_ext_mod/s|=.*|= True|' setup.py +# Make asyncore support optional for Python 3. +# This patch is for Slackware current. +# See https://github.com/seb-m/pyinotify/issues/204 for more details +PYVER_MAJOR=$(python3 -c 'import sys; print("%d" % sys.version_info.major)') +PYVER_MINOR=$(python3 -c 'import sys; print("%d" % sys.version_info.minor)') +if [[ $PYVER_MAJOR == 3 ]] && [[ $PYVER_MINOR -ge 12 ]]; then + patch -p1 < $CWD/pyinotify-python-3.12-fix.patch +fi + python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python3-pymupdf_fonts/python3-pymupdf_fonts.info b/python/python3-pymupdf_fonts/python3-pymupdf_fonts.info index 0900a90758..0dc19f67e1 100644 --- a/python/python3-pymupdf_fonts/python3-pymupdf_fonts.info +++ b/python/python3-pymupdf_fonts/python3-pymupdf_fonts.info @@ -6,5 +6,5 @@ MD5SUM="790b579982b0a51d3e3c65e777e9e74e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="orphaned - no maintainer" +EMAIL="NOEMAIL" diff --git a/python/python3-pynacl/README b/python/python3-pynacl/README new file mode 100644 index 0000000000..595b438697 --- /dev/null +++ b/python/python3-pynacl/README @@ -0,0 +1,7 @@ +PyNaCl is a Python binding to libsodium, which is a fork of the +Networking and Cryptography library. These libraries have a stated goal +of improving usability, security and speed. It supports Python 3.8+ as +well as PyPy 3. + +python3-pynacl 1.6.0 is the last available version for Slackware 15.0. +Newer versions require cffi >= 2.0.0. diff --git a/python/python3-pynacl/python3-pynacl.SlackBuild b/python/python3-pynacl/python3-pynacl.SlackBuild new file mode 100644 index 0000000000..e0b3972f3f --- /dev/null +++ b/python/python3-pynacl/python3-pynacl.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# SlackBuild build script for pynacl + +# Copyright (c) 2000-2011 Pr. Horstmann <wmh (at) eipg.fr> +# Copyright 2025 Isaac Yu <isaacyu@protonmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-pynacl +VERSION=${VERSION:-1.6.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=pynacl + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 CHANGELOG.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-pynacl/python3-pynacl.info b/python/python3-pynacl/python3-pynacl.info new file mode 100644 index 0000000000..f6b7764071 --- /dev/null +++ b/python/python3-pynacl/python3-pynacl.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pynacl" +VERSION="1.6.0" +HOMEPAGE="https://pypi.org/project/pynacl/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pynacl/pynacl-1.6.0.tar.gz" +MD5SUM="297e50e469abf0b5ea18b3a158312ba5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pynacl/slack-desc b/python/python3-pynacl/slack-desc new file mode 100644 index 0000000000..b694d9c540 --- /dev/null +++ b/python/python3-pynacl/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pynacl: python3-pynacl (Binding to the Networking and Cryptography library) +python3-pynacl: +python3-pynacl: PyNaCl is a Python binding to libsodium, which is a fork of the +python3-pynacl: Networking and Cryptography library. These libraries have a stated +python3-pynacl: goal of improving usability, security and speed. It supports Python +python3-pynacl: 3.8+ as well as PyPy 3. +python3-pynacl: +python3-pynacl: +python3-pynacl: Homepage: https://pypi.org/project/PyNaCl/ +python3-pynacl: +python3-pynacl: diff --git a/python/python3-pyogrio/python3-pyogrio.SlackBuild b/python/python3-pyogrio/python3-pyogrio.SlackBuild index 9652d6dc94..49ee5eee55 100644 --- a/python/python3-pyogrio/python3-pyogrio.SlackBuild +++ b/python/python3-pyogrio/python3-pyogrio.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for python3-pyogrio # Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2025 Gregory J. L. Tourte <artourter@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python3-pyogrio/python3-pyogrio.info b/python/python3-pyogrio/python3-pyogrio.info index d02c40fc19..4b4fc968c5 100644 --- a/python/python3-pyogrio/python3-pyogrio.info +++ b/python/python3-pyogrio/python3-pyogrio.info @@ -6,5 +6,5 @@ MD5SUM="a82220371300e16b3b809c4e12950997" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gdal python3-versioneer" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" +MAINTAINER="ArTourter" +EMAIL="artourter@gmail.com" diff --git a/python/python3-pypandoc/README b/python/python3-pypandoc/README index 16b7b764a5..8c3cac615d 100644 --- a/python/python3-pypandoc/README +++ b/python/python3-pypandoc/README @@ -1,2 +1,4 @@ Pypandoc provides a thin wrapper for Pandoc, a universal document converter. + +pandoc can be installed instead of pandoc-bin as a dependency. diff --git a/python/python3-pypandoc/python3-pypandoc.SlackBuild b/python/python3-pypandoc/python3-pypandoc.SlackBuild index 2d9ca00540..a2520f0230 100644 --- a/python/python3-pypandoc/python3-pypandoc.SlackBuild +++ b/python/python3-pypandoc/python3-pypandoc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pypandoc -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pypandoc -VERSION=${VERSION:-1.13} +VERSION=${VERSION:-1.16.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pypandoc/python3-pypandoc.info b/python/python3-pypandoc/python3-pypandoc.info index f236cda982..ef80920b88 100644 --- a/python/python3-pypandoc/python3-pypandoc.info +++ b/python/python3-pypandoc/python3-pypandoc.info @@ -1,10 +1,10 @@ PRGNAM="python3-pypandoc" -VERSION="1.13" +VERSION="1.16.2" HOMEPAGE="https://github.com/JessicaTegner/pypandoc" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/JessicaTegner/pypandoc/archive/v1.13/pypandoc-1.13.tar.gz" -MD5SUM_x86_64="b442b31e0ea35b4171f0ca3dac5205c4" +DOWNLOAD_x86_64="https://github.com/JessicaTegner/pypandoc/archive/v1.16.2/pypandoc-1.16.2.tar.gz" +MD5SUM_x86_64="9f6aa4746dd6ed55c7bca8b2b3049b2a" REQUIRES="pandoc-bin python3-wheel" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pypdf/python3-pypdf.SlackBuild b/python/python3-pypdf/python3-pypdf.SlackBuild index 17027e184b..a9c998fb8f 100644 --- a/python/python3-pypdf/python3-pypdf.SlackBuild +++ b/python/python3-pypdf/python3-pypdf.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for python3-pypdf +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2024, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pypdf -VERSION=${VERSION:-4.2.0} +VERSION=${VERSION:-6.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pypdf/python3-pypdf.info b/python/python3-pypdf/python3-pypdf.info index 9f7ff1642e..40538525d2 100644 --- a/python/python3-pypdf/python3-pypdf.info +++ b/python/python3-pypdf/python3-pypdf.info @@ -1,10 +1,10 @@ PRGNAM="python3-pypdf" -VERSION="4.2.0" +VERSION="6.4.2" HOMEPAGE="https://github.com/py-pdf/pypdf" -DOWNLOAD="https://github.com/py-pdf/pypdf/archive/4.2.0/pypdf-4.2.0.tar.gz" -MD5SUM="26feb8968a26c42a974fac391bfe4a22" +DOWNLOAD="https://github.com/py-pdf/pypdf/archive/6.4.2/pypdf-6.4.2.tar.gz" +MD5SUM="bf2be2afefa968c09b0a3773cb4f0c09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-wheel cryptography" -MAINTAINER="Alexander Verbovetsky" -EMAIL="alik@ejik.org" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-pyproject-api/README b/python/python3-pyproject-api/README index c3aa561109..c5895263e9 100644 --- a/python/python3-pyproject-api/README +++ b/python/python3-pyproject-api/README @@ -2,3 +2,6 @@ python3-pyproject-api (API to interact with pyproject.toml projects) pyproject-api aims to abstract away interaction with pyproject.toml style projects in a flexible way. + +NOTE: Unable to support newer versions due to requiring newer version +of python than is available in Slackware 15.0 (python 3.10). diff --git a/python/python3-pyproject-metadata/python3-pyproject-metadata.SlackBuild b/python/python3-pyproject-metadata/python3-pyproject-metadata.SlackBuild index 01f75dae48..2df3a9c00c 100644 --- a/python/python3-pyproject-metadata/python3-pyproject-metadata.SlackBuild +++ b/python/python3-pyproject-metadata/python3-pyproject-metadata.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pyproject-metadata -# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20250625 46and2: 0.9.1 requires newer packaging to build, +# https://github.com/pypa/pyproject-metadata/pull/239 + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pyproject-metadata SRCNAM=pyproject_metadata -VERSION=${VERSION:-0.9.0} +VERSION=${VERSION:-0.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +60,12 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 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/python/python3-pyproject-metadata/python3-pyproject-metadata.info b/python/python3-pyproject-metadata/python3-pyproject-metadata.info index 15a24a7840..1c6df612be 100644 --- a/python/python3-pyproject-metadata/python3-pyproject-metadata.info +++ b/python/python3-pyproject-metadata/python3-pyproject-metadata.info @@ -1,10 +1,10 @@ PRGNAM="python3-pyproject-metadata" -VERSION="0.9.0" +VERSION="0.10.0" HOMEPAGE="https://github.com/FFY00/python-pyproject-metadata" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyproject_metadata/pyproject_metadata-0.9.0.tar.gz" -MD5SUM="d947b3c632f4aee9cf23bb5950ac02f9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyproject_metadata/pyproject_metadata-0.10.0.tar.gz" +MD5SUM="748ebfaeb5c1ca2390450e48d95c20d6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-wheel" +REQUIRES="python3-setuptools-opt" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-pytest-timeout/python3-pytest-timeout.SlackBuild b/python/python3-pytest-timeout/python3-pytest-timeout.SlackBuild index ebca674899..c30146c986 100644 --- a/python/python3-pytest-timeout/python3-pytest-timeout.SlackBuild +++ b/python/python3-pytest-timeout/python3-pytest-timeout.SlackBuild @@ -25,11 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pytest-timeout -VERSION=${VERSION:-2.1.0} +SRCNAM=pytest_timeout +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=${SRCNAM:-pytest-timeout} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -51,26 +51,12 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . diff --git a/python/python3-pytest-timeout/python3-pytest-timeout.info b/python/python3-pytest-timeout/python3-pytest-timeout.info index 7514ad33ce..c0bb05a1fb 100644 --- a/python/python3-pytest-timeout/python3-pytest-timeout.info +++ b/python/python3-pytest-timeout/python3-pytest-timeout.info @@ -1,8 +1,8 @@ PRGNAM="python3-pytest-timeout" -VERSION="2.1.0" +VERSION="2.4.0" HOMEPAGE="https://github.com/pytest-dev/pytest-timeout" -DOWNLOAD="https://files.pythonhosted.org/packages/ef/30/37abbd50f86cb802cbcea50d68688438de1a7446d73c8ed8d048173b4b13/pytest-timeout-2.1.0.tar.gz" -MD5SUM="ebae5a705478cbfc10ad0c7ee1f55c4d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytest_timeout/pytest_timeout-2.4.0.tar.gz" +MD5SUM="dbc9a376438aa779cff375236e505792" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-pytest/python3-pytest.SlackBuild b/python/python3-pytest/python3-pytest.SlackBuild index bb9a116232..4cb50fc520 100644 --- a/python/python3-pytest/python3-pytest.SlackBuild +++ b/python/python3-pytest/python3-pytest.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pytest SRCNAM=pytest -VERSION=${VERSION:-8.3.5} +VERSION=${VERSION:-9.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,6 +70,10 @@ find -L . \ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ +# Remove packaging requirement so we don't have a warning with pip check +# (since it's provided in /opt/, but not detected by default +sed -i 's|"packaging>=.*",|"packaging",|' pyproject.toml + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/python3-pytest/python3-pytest.info b/python/python3-pytest/python3-pytest.info index 2e519e42d9..5d30860ebd 100644 --- a/python/python3-pytest/python3-pytest.info +++ b/python/python3-pytest/python3-pytest.info @@ -1,8 +1,8 @@ PRGNAM="python3-pytest" -VERSION="8.3.5" +VERSION="9.0.0" HOMEPAGE="http://pytest.org" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytest/pytest-8.3.5.tar.gz" -MD5SUM="f22d0f0e12aee3b97225a89504d657cb" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytest/pytest-9.0.0.tar.gz" +MD5SUM="c3b2de20c40c1e75f8bac3236ad7f326" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-iniconfig python3-exceptiongroup python3-setuptools-opt" diff --git a/python/python3-pytoolconfig/README b/python/python3-pytoolconfig/README new file mode 100644 index 0000000000..1117a990e8 --- /dev/null +++ b/python/python3-pytoolconfig/README @@ -0,0 +1,6 @@ +The goal of this project is to manage configuration for python tools, +such as rope and add support for a pyproject.toml configuration file. + +python3-pytoolconfig 1.2.2 is the last available version for Slackware +15.0. Newer versions would require python-packaging >= 21.3 as a +runtime dependency. diff --git a/python/python3-pytoolconfig/change-to-pdm-backend.patch b/python/python3-pytoolconfig/change-to-pdm-backend.patch new file mode 100644 index 0000000000..792a136540 --- /dev/null +++ b/python/python3-pytoolconfig/change-to-pdm-backend.patch @@ -0,0 +1,11 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -70,6 +70,6 @@ + + [build-system] + requires = [ +- "pdm-pep517>=1.0.0", ++ "pdm-backend>=1.0.5", + ] +-build-backend = "pdm.pep517.api" ++build-backend = "pdm.backend" diff --git a/python/python3-zxcvbn-python/python3-zxcvbn-python.SlackBuild b/python/python3-pytoolconfig/python3-pytoolconfig.SlackBuild index c5a5c743cd..a66bfa4910 100644 --- a/python/python3-zxcvbn-python/python3-zxcvbn-python.SlackBuild +++ b/python/python3-pytoolconfig/python3-pytoolconfig.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-zxcvbn-python +# Slackware build script for python3-pytoolconfig -# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-zxcvbn-python -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.4.24} +PRGNAM=python3-pytoolconfig +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pytoolconfig + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -48,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -77,16 +64,30 @@ 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 +# Fix build error +# For instance, a similar error had appeared on video2x: +# https://github.com/k4yt3x/video2x/issues/755 +sed -i "s/license-expression/license/g" pyproject.toml + +# lower tomli version requirement so that other builds do not break +sed -i "s/tomli>=2.0/tomli>=1.2.2/g" pyproject.toml + +# Change build dependency from pdm-pep517 to pdm-backend +# Patch backported from pytoolconfig 1.2.6: +# https://github.com/bagel897/pytoolconfig/commit/6b5a960b5760c17d05d637df163efdbde0b4cb21 +patch -p1 < $CWD/change-to-pdm-backend.patch + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -# rename "binary" so it does not conflict with new slackbuild python3-zxcvbn -mv $PKG/usr/bin/zxcvbn $PKG/usr/bin/zxcvbn-python +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 README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-pytoolconfig/python3-pytoolconfig.info b/python/python3-pytoolconfig/python3-pytoolconfig.info new file mode 100644 index 0000000000..f5698f089c --- /dev/null +++ b/python/python3-pytoolconfig/python3-pytoolconfig.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pytoolconfig" +VERSION="1.2.2" +HOMEPAGE="https://github.com/bagel897/pytoolconfig" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytoolconfig/pytoolconfig-1.2.2.tar.gz" +MD5SUM="778a74212a53c2bd3573246587139f10" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-pdm-backend python3-tomli-opt" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pytoolconfig/slack-desc b/python/python3-pytoolconfig/slack-desc new file mode 100644 index 0000000000..bc3f1544e4 --- /dev/null +++ b/python/python3-pytoolconfig/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pytoolconfig: python3-pytoolconfig (Python Tool Configuration) +python3-pytoolconfig: +python3-pytoolconfig: The goal of this project is to manage configuration for python tools, +python3-pytoolconfig: such as rope and add support for a pyproject.toml configuration file. +python3-pytoolconfig: +python3-pytoolconfig: +python3-pytoolconfig: +python3-pytoolconfig: +python3-pytoolconfig: +python3-pytoolconfig: +python3-pytoolconfig: diff --git a/python/python3-pyudev/python3-pyudev.SlackBuild b/python/python3-pyudev/python3-pyudev.SlackBuild index 2925c8890b..08ca310f3e 100644 --- a/python/python3-pyudev/python3-pyudev.SlackBuild +++ b/python/python3-pyudev/python3-pyudev.SlackBuild @@ -1,9 +1,9 @@ #!/bin/bash -# Slackware build script for pyudev +# Slackware build script for python3-pyudev # Copyright 2012 Jon Ware <jon@waremail.net> -# Copyright 2018-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2018-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pyudev -VERSION=${VERSION:-0.24.3} +VERSION=${VERSION:-0.24.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pyudev/python3-pyudev.info b/python/python3-pyudev/python3-pyudev.info index 20cfe783d6..3aa70a3771 100644 --- a/python/python3-pyudev/python3-pyudev.info +++ b/python/python3-pyudev/python3-pyudev.info @@ -1,8 +1,8 @@ PRGNAM="python3-pyudev" -VERSION="0.24.3" +VERSION="0.24.4" HOMEPAGE="https://github.com/pyudev/pyudev" -DOWNLOAD="https://github.com/pyudev/pyudev/archive/v0.24.3/pyudev-0.24.3.tar.gz" -MD5SUM="6470382b3c4137c63f6bdc578b35cfb2" +DOWNLOAD="https://github.com/pyudev/pyudev/archive/v0.24.4/pyudev-0.24.4.tar.gz" +MD5SUM="d10d7be502fddf7932a3c47cd84c62b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-pywayland/CVE_2007_4559.patch b/python/python3-pywayland/CVE_2007_4559.patch deleted file mode 100644 index 437747cecb..0000000000 --- a/python/python3-pywayland/CVE_2007_4559.patch +++ /dev/null @@ -1,38 +0,0 @@ -This patch was taken from upstream pywayland 0.4.15: -https://github.com/flacjacket/pywayland/pull/42 ---- a/doc/protocol_build.py 2022-07-24 11:03:10.000000000 -0700 -+++ b/doc/protocol_build.py 2022-12-20 20:00:48.659884422 -0800 -@@ -14,6 +14,24 @@ - ) - ) - -+def _is_within_directory(directory, target): -+ """Helper to check for CVE-2007-4559""" -+ abs_directory = os.path.abspath(directory) -+ abs_target = os.path.abspath(target) -+ -+ prefix = os.path.commonprefix([abs_directory, abs_target]) -+ -+ return prefix == abs_directory -+ -+ -+def _safe_extractall(tar, path=".", members=None, *, numeric_owner=False): -+ """Helper to check for CVE-2007-4559""" -+ for member in tar.getmembers(): -+ member_path = os.path.join(path, member.name) -+ if not is_within_directory(path, member_path): -+ raise Exception("Attempted Path Traversal in Tar File") -+ -+ tar.extractall(path, members, numeric_owner=numeric_owner) - - def protocols_build(output_dir): - from pywayland.scanner import Protocol -@@ -26,7 +44,7 @@ - protocol_dest = "wayland-protocols-{}".format(protocols_version) - urllib.request.urlretrieve(protocols_source, protocol_dest + ".tar.xz") - with tarfile.open(protocol_dest + ".tar.xz") as f: -- f.extractall() -+ _safe_extractall(f) - - # walk the directory and generate all the protocols - protocol_files = [wayland_file] + sorted( diff --git a/python/python3-pywayland/README b/python/python3-pywayland/README deleted file mode 100644 index a37152397a..0000000000 --- a/python/python3-pywayland/README +++ /dev/null @@ -1,3 +0,0 @@ -PyWayland provides a wrapper to the libwayland library using the CFFI -library to provide access to the Wayland library calls and written in -pure Python. diff --git a/python/python3-pywayland/python3-pywayland.SlackBuild b/python/python3-pywayland/python3-pywayland.SlackBuild deleted file mode 100644 index 6d68462188..0000000000 --- a/python/python3-pywayland/python3-pywayland.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/bash - -# Slackware build script for python3-pywayland - -# Copyright 2023 Isaac Yu <isaacyu@protonmail.com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# 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-pywayland -VERSION=${VERSION:-0.4.14} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=pywayland - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -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} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -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 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Backport patch from pywayland 0.4.15 for directory traversal vulnerability -# The patch is relevant for building docs -patch -p1 < $CWD/CVE_2007_4559.patch - -python3 setup.py install --root=$PKG - -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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -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 diff --git a/python/python3-pywayland/python3-pywayland.info b/python/python3-pywayland/python3-pywayland.info deleted file mode 100644 index 97a64722d9..0000000000 --- a/python/python3-pywayland/python3-pywayland.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-pywayland" -VERSION="0.4.14" -HOMEPAGE="https://github.com/flacjacket/pywayland" -DOWNLOAD="https://github.com/flacjacket/pywayland/archive/v0.4.14/pywayland-0.4.14.tar.gz" -MD5SUM="bd14adba219986be14f58e4ca9eaa2b5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pywlroots/README b/python/python3-pywlroots/README deleted file mode 100644 index d77c9d533f..0000000000 --- a/python/python3-pywlroots/README +++ /dev/null @@ -1,3 +0,0 @@ -python3-pywlroots is a Python binding to the wlroots library using cffi. -The library uses pywayland to provide the Wayland bindings and -python3-xkbcommon to provide wlroots keyboard functionality. diff --git a/python/python3-pywlroots/python3-pywlroots.info b/python/python3-pywlroots/python3-pywlroots.info deleted file mode 100644 index a527f969f0..0000000000 --- a/python/python3-pywlroots/python3-pywlroots.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-pywlroots" -VERSION="0.15.24" -HOMEPAGE="https://github.com/flacjacket/pywlroots" -DOWNLOAD="https://github.com/flacjacket/pywlroots/archive/v0.15.24/pywlroots-0.15.24.tar.gz" -MD5SUM="7c53af52d0faa649b893d12b7207ea43" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="wlroots python3-pywayland python3-xkbcommon" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pywlroots/slack-desc b/python/python3-pywlroots/slack-desc deleted file mode 100644 index 3ac3f8a96f..0000000000 --- a/python/python3-pywlroots/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-pywlroots: python3-pywlroots (Python binding to the wlroots library using cffi) -python3-pywlroots: -python3-pywlroots: python3-pywlroots is a Python binding to the wlroots library using -python3-pywlroots: cffi. The library uses pywayland to provide the Wayland bindings and -python3-pywlroots: python3-xkbcommon to provide wlroots keyboard functionality. -python3-pywlroots: -python3-pywlroots: -python3-pywlroots: -python3-pywlroots: -python3-pywlroots: -python3-pywlroots: diff --git a/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild b/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild index 010ed862f8..9a00d7038e 100644 --- a/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild +++ b/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-qbittorrent-api -VERSION=${VERSION:-2025.5.0} +VERSION=${VERSION:-2025.11.0} SRCNAM=${SRCNAM:-qbittorrent-api} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-qbittorrent-api/python3-qbittorrent-api.info b/python/python3-qbittorrent-api/python3-qbittorrent-api.info index 323885af0c..c348ee376c 100644 --- a/python/python3-qbittorrent-api/python3-qbittorrent-api.info +++ b/python/python3-qbittorrent-api/python3-qbittorrent-api.info @@ -1,8 +1,8 @@ PRGNAM="python3-qbittorrent-api" -VERSION="2025.5.0" +VERSION="2025.11.0" HOMEPAGE="https://qbittorrent-api.readthedocs.io/" -DOWNLOAD="https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v2025.5.0/qbittorrent-api-2025.5.0.tar.gz" -MD5SUM="a44d4083ccf1e4f1618c5157f89fd25a" +DOWNLOAD="https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v2025.11.0/qbittorrent-api-2025.11.0.tar.gz" +MD5SUM="9e51baca0e20c674c0008564aff5853a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt" diff --git a/python/python3-qstylizer/python3-qstylizer.SlackBuild b/python/python3-qstylizer/python3-qstylizer.SlackBuild index ee078b7d2a..cf03d01383 100644 --- a/python/python3-qstylizer/python3-qstylizer.SlackBuild +++ b/python/python3-qstylizer/python3-qstylizer.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-qstylizer VERSION=${VERSION:-0.2.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-qstylizer/python3-qstylizer.info b/python/python3-qstylizer/python3-qstylizer.info index 33b3e4c012..4715d130dd 100644 --- a/python/python3-qstylizer/python3-qstylizer.info +++ b/python/python3-qstylizer/python3-qstylizer.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/blambright/qstylizer/archive/0.2.4/qstylizer-0.2.4. MD5SUM="1c39914754fbaa5304814f7c7458b94c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-inflection tinycss2" +REQUIRES="python3-inflection python3-tinycss2" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-rapidfuzz/README b/python/python3-rapidfuzz/README index 90107c0967..137d37ce76 100644 --- a/python/python3-rapidfuzz/README +++ b/python/python3-rapidfuzz/README @@ -2,6 +2,3 @@ python3-rapidfuzz (Rapid fuzzy string matching) RapidFuzz is a fast string matching library for Python and C++, which is using the string similarity calculations from FuzzyWuzzy. - -NOTE: Unable to support newer versions than 1.9.1 due to requiring a -newer Cython than included in Slackware (needs 3.0.9). diff --git a/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild b/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild index 9f6e500559..55af2d511a 100644 --- a/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild +++ b/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-rapidfuzz -# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2024-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +24,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rapidfuzz -VERSION=${VERSION:-1.9.1} -RAPIDCPPVER=${RAPIDCPPVER:-103674db0785f6c1c8e247abc850e48c75c22e1c} -TASKVER=${TASKVER:-2.7.0} +VERSION=${VERSION:-3.14.1} +RAPIDCPPVER=${RAPIDCPPVER:-2440ffa} +TASKVER=${TASKVER:-130f795} SRCNAM=${SRCNAM:-RapidFuzz} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,11 +56,11 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -tar xvf $CWD/rapidfuzz-cpp-$RAPIDCPPVER.tar.gz -tar xvf $CWD/taskflow-$TASKVER.tar.gz +tar xvf $CWD/rapidfuzz-cpp-$RAPIDCPPVER*.tar.gz +tar xvf $CWD/taskflow-$TASKVER*.tar.gz rmdir $SRCNAM-$VERSION/extern/{rapidfuzz-cpp,taskflow} -mv rapidfuzz-cpp-$RAPIDCPPVER $SRCNAM-$VERSION/extern/rapidfuzz-cpp -mv taskflow-$TASKVER $SRCNAM-$VERSION/extern/taskflow +mv rapidfuzz-cpp-$RAPIDCPPVER* $SRCNAM-$VERSION/extern/rapidfuzz-cpp +mv taskflow-$TASKVER* $SRCNAM-$VERSION/extern/taskflow cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -69,8 +69,12 @@ 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 {} \; -# Just allow any numpy -sed -i 's|oldest-supported-numpy|numpy|' pyproject.toml +# Just allow any numpy, and newer Cython +sed -i 's|oldest-supported-numpy|numpy|;s|, <3.1.0||' pyproject.toml + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-rapidfuzz/python3-rapidfuzz.info b/python/python3-rapidfuzz/python3-rapidfuzz.info index 2774991711..64d2cbe5ba 100644 --- a/python/python3-rapidfuzz/python3-rapidfuzz.info +++ b/python/python3-rapidfuzz/python3-rapidfuzz.info @@ -1,14 +1,14 @@ PRGNAM="python3-rapidfuzz" -VERSION="1.9.1" +VERSION="3.14.1" HOMEPAGE="https://rapidfuzz.github.io/RapidFuzz/" -DOWNLOAD="https://github.com/rapidfuzz/RapidFuzz/archive/refs/tags/v1.9.1/RapidFuzz-1.9.1.tar.gz \ - https://github.com/rapidfuzz/rapidfuzz-cpp/archive/103674d/rapidfuzz-cpp-103674db0785f6c1c8e247abc850e48c75c22e1c.tar.gz \ - https://github.com/taskflow/taskflow/archive/refs/tags/v2.7.0/taskflow-2.7.0.tar.gz" -MD5SUM="07e3b7e4f00c1d339293682d22a60bd9 \ - ae491afac82458bf6387628199a5babe \ - 76273b0a4489d3c32fc0c8a093ebe902" +DOWNLOAD="https://github.com/rapidfuzz/RapidFuzz/archive/refs/tags/v3.14.1/RapidFuzz-3.14.1.tar.gz \ + https://github.com/rapidfuzz/rapidfuzz-cpp/archive/2440ffa/rapidfuzz-cpp-2440ffa67452f2feb8677deafd8abee995a20a87.tar.gz \ + https://github.com/taskflow/taskflow/archive/130f795/taskflow-130f7952469c01eef8d7b635710bf9a8043f3172.tar.gz" +MD5SUM="9a4e172637dd00c59229b211aa9573f6 \ + 27fd0d3bf57102a7ad4cdb5194139a5a \ + a05e339da966f3e1e5bb2cfb2f50e9b1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-numpy" +REQUIRES="python3-numpy python3-cython-opt python3-scikit-build-core" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-recurring-ical-events/README b/python/python3-recurring-ical-events/README new file mode 100644 index 0000000000..0b23c00d3f --- /dev/null +++ b/python/python3-recurring-ical-events/README @@ -0,0 +1,5 @@ +python3-recurring-ical-events (Library for recurrence of ical events) + +ICal has some complexity to it: Events, TODOs and Journal entries +can be repeated, removed from the feed and edited later on. This +tool takes care of these circumstances. diff --git a/python/python3-recurring-ical-events/python3-recurring-ical-events.SlackBuild b/python/python3-recurring-ical-events/python3-recurring-ical-events.SlackBuild new file mode 100644 index 0000000000..6179b1faee --- /dev/null +++ b/python/python3-recurring-ical-events/python3-recurring-ical-events.SlackBuild @@ -0,0 +1,127 @@ +#!/bin/bash + +# Slackware build script for python3-recurring-ical-events + +# Copyright 2024-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-recurring-ical-events +VERSION=${VERSION:-3.8.0} +SRCNAM=${SRCNAM:-recurring_ical_events} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Open up version requirements +#sed -i 's|5\.0\.9|4\.0\.9|;s|2023\.3|2021\.3|' requirements.txt + +# Use newer, non-stock setuptools due to package requirements +# Requres python/python3-setuptools-opt build-time dependency +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +# Add unused section to avoid ERROR message from setuptools_scm +# Make it an if statement just in case upstream decides to update +# it and I don't notice. +#if ! grep -qF "[tool.setuptools_scm]" pyproject.toml; then +# echo "[tool.setuptools_scm]" >> pyproject.toml +#fi +#export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION +#export PDM_BUILD_SCM_VERSION=$VERSION + +# Fix error complaining it's not a git repository (duh, since it is a release tarball) +# First remove the tool.hatch.version section entirely +#sed -i '/^\[tool\.hatch\.version\]/,/^$/d' pyproject.toml +# And then add the version section to the project section +#sed -i "/^\[project\]/a version = \"$VERSION\"" pyproject.toml +# And finally remove the dynamic version determination +#sed -i 's|, "version"||' pyproject.toml +#sed -i 's|"vcs"|"env"|' pyproject.toml +#sed -i '/^\[tool\.hatch\.version\.raw-options\]/a variable = "HATCH_VERSION"' pyproject.toml +#sed -i '/^local_scheme = \"no-local-version\"/a variable = "HATCH_VERSION"' pyproject.toml +#sed -i 's|"vcs"|"env"\n\n\[tool\.hatch\.version\.raw-options\]\nvariable \= \"HATCH_VERSION\"|' pyproject.toml +#sed -i '/source = "vcs"/ { +# s|"vcs"|"env"| +# a\ +#\ +#[tool.hatch.version.raw-options]\ +#variable = "HATCH_VERSION" +#}' pyproject.toml +#export HATCH_VERSION="3.8.0" +#sed -i -E '/^\[tool\.hatch\.version\]/,/^\[/{ +# s/^source = .*/source = "static"/ +# t +# s/^version = .*/version = "3.8.0"/ +# t +# /^source = /!{/^\[tool\.hatch\.version\]/a\ +#version = "3.8.0" +#} +#}' pyproject.toml + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 \ + LICENSE README.rst PKG-INFO \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-recurring-ical-events/python3-recurring-ical-events.info b/python/python3-recurring-ical-events/python3-recurring-ical-events.info new file mode 100644 index 0000000000..9896ad9df6 --- /dev/null +++ b/python/python3-recurring-ical-events/python3-recurring-ical-events.info @@ -0,0 +1,10 @@ +PRGNAM="python3-recurring-ical-events" +VERSION="3.8.0" +HOMEPAGE="https://github.com/niccokunzmann/python-recurring-ical-events" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/recurring_ical_events/recurring_ical_events-3.8.0.tar.gz" +MD5SUM="5f09768fec6c6223d424ff1be45b8489" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-x-wr-timezone" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-recurring-ical-events/slack-desc b/python/python3-recurring-ical-events/slack-desc new file mode 100644 index 0000000000..df8f1b6b95 --- /dev/null +++ b/python/python3-recurring-ical-events/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-recurring-ical-events: python3-recurring-ical-events (Library for recurrence of ical events) +python3-recurring-ical-events: +python3-recurring-ical-events: ICal has some complexity to it: Events, TODOs and Journal entries +python3-recurring-ical-events: can be repeated, removed from the feed and edited later on. This +python3-recurring-ical-events: tool takes care of these circumstances. +python3-recurring-ical-events: +python3-recurring-ical-events: +python3-recurring-ical-events: +python3-recurring-ical-events: +python3-recurring-ical-events: +python3-recurring-ical-events: diff --git a/python/python3-regex/python3-regex.SlackBuild b/python/python3-regex/python3-regex.SlackBuild index ea87a6a676..9507ae9e2c 100644 --- a/python/python3-regex/python3-regex.SlackBuild +++ b/python/python3-regex/python3-regex.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-regex -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-regex -VERSION=${VERSION:-2024.11.6} +VERSION=${VERSION:-2025.11.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,13 +64,17 @@ 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 +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 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 LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-regex/python3-regex.info b/python/python3-regex/python3-regex.info index 4a58974c40..946e7ed95c 100644 --- a/python/python3-regex/python3-regex.info +++ b/python/python3-regex/python3-regex.info @@ -1,10 +1,10 @@ PRGNAM="python3-regex" -VERSION="2024.11.6" +VERSION="2025.11.3" HOMEPAGE="https://github.com/mrabarnett/mrab-regex" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/regex/regex-2024.11.6.tar.gz" -MD5SUM="02b86394591ba39d34bc35d11e9e7d96" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/regex/regex-2025.11.3.tar.gz" +MD5SUM="23b45104a418985aa934ce00b094ec5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-reportlab/python3-reportlab.SlackBuild b/python/python3-reportlab/python3-reportlab.SlackBuild index 74986fa4af..71097a67e8 100644 --- a/python/python3-reportlab/python3-reportlab.SlackBuild +++ b/python/python3-reportlab/python3-reportlab.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-reportlab -VERSION=${VERSION:-4.3.1} +VERSION=${VERSION:-4.4.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -61,9 +61,9 @@ cd $PYNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py --no-download-t1-files --verbose install --prefix=/usr --root=$PKG --optimize=1 @@ -79,4 +79,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 +/sbin/makepkg -l y -c n --remove-rpaths --remove-tmp-rpaths $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-reportlab/python3-reportlab.info b/python/python3-reportlab/python3-reportlab.info index fabf7c739a..9f66de8588 100644 --- a/python/python3-reportlab/python3-reportlab.info +++ b/python/python3-reportlab/python3-reportlab.info @@ -1,8 +1,8 @@ PRGNAM="python3-reportlab" -VERSION="4.3.1" +VERSION="4.4.5" HOMEPAGE="https://reportlab.com" -DOWNLOAD="https://pypi.org/packages/source/r/reportlab/reportlab-4.3.1.tar.gz" -MD5SUM="7aae020243884242f00a3f5ee887798b" +DOWNLOAD="https://pypi.org/packages/source/r/reportlab/reportlab-4.4.5.tar.gz" +MD5SUM="bd78418612c192a11e8bf7a70266928d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild b/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild index aae8a6e47b..2f5a69b4d5 100644 --- a/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild +++ b/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-requests-unixsocket -# Copyright 2022 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-requests-unixsocket -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=requests-unixsocket +SRCNAM=requests_unixsocket if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -81,7 +64,11 @@ 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 +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 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 @@ -91,7 +78,7 @@ SITE_PACKAGES=$(python3 -c "import site; print(site.getsitepackages()[0])") rm -rf "$PKG$SITE_PACKAGES/${SRCNAM/-/_}/tests" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog LICENSE PKG-INFO README.rst requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-requests-unixsocket/python3-requests-unixsocket.info b/python/python3-requests-unixsocket/python3-requests-unixsocket.info index 66d52a2a17..579c36d257 100644 --- a/python/python3-requests-unixsocket/python3-requests-unixsocket.info +++ b/python/python3-requests-unixsocket/python3-requests-unixsocket.info @@ -1,10 +1,10 @@ PRGNAM="python3-requests-unixsocket" -VERSION="0.3.0" +VERSION="0.4.1" HOMEPAGE="https://github.com/msabramo/requests-unixsocket" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/requests-unixsocket/requests-unixsocket-0.3.0.tar.gz" -MD5SUM="2da31f8d76fb563bc3fd6d59a2fb260a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/requests_unixsocket/requests_unixsocket-0.4.1.tar.gz" +MD5SUM="a45dc2284ad8f8cb57579c8af4257aec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-scm-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-resolvelib/python3-resolvelib.SlackBuild b/python/python3-resolvelib/python3-resolvelib.SlackBuild index 74e0efddff..dff2097da5 100644 --- a/python/python3-resolvelib/python3-resolvelib.SlackBuild +++ b/python/python3-resolvelib/python3-resolvelib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-resolvelib -# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2024-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-resolvelib -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.2.1} SRCNAM=${SRCNAM:-resolvelib} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-resolvelib/python3-resolvelib.info b/python/python3-resolvelib/python3-resolvelib.info index 8a13c57fd1..01b2408c57 100644 --- a/python/python3-resolvelib/python3-resolvelib.info +++ b/python/python3-resolvelib/python3-resolvelib.info @@ -1,8 +1,8 @@ PRGNAM="python3-resolvelib" -VERSION="1.1.0" +VERSION="1.2.1" HOMEPAGE="https://github.com/sarugaku/resolvelib" -DOWNLOAD="https://github.com/sarugaku/resolvelib/archive/refs/tags/1.1.0/resolvelib-1.1.0.tar.gz" -MD5SUM="009efd7b43754584a3abfeb0ab09378a" +DOWNLOAD="https://github.com/sarugaku/resolvelib/archive/refs/tags/1.2.1/resolvelib-1.2.1.tar.gz" +MD5SUM="d5b1ef16527d3cc6ec4850d6b2e01007" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata python3-setuptools-opt" diff --git a/python/python3-rich/python3-rich.SlackBuild b/python/python3-rich/python3-rich.SlackBuild index 3c078a7f45..c712c68c46 100644 --- a/python/python3-rich/python3-rich.SlackBuild +++ b/python/python3-rich/python3-rich.SlackBuild @@ -23,12 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # 20230122 46and2: Updated version, changed build process and deps. +# 20250822 46and2: reminder to remove typing-extensions dep at a later date. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rich SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-14.0.0} +VERSION=${VERSION:-14.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,11 +60,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) # lower version requirements for pygments sed -i '/^pygments/ s/2\.13/2.10/' pyproject.toml diff --git a/python/python3-rich/python3-rich.info b/python/python3-rich/python3-rich.info index 28691776ff..7d3b13cf70 100644 --- a/python/python3-rich/python3-rich.info +++ b/python/python3-rich/python3-rich.info @@ -1,8 +1,8 @@ PRGNAM="python3-rich" -VERSION="14.0.0" +VERSION="14.2.0" HOMEPAGE="https://github.com/Textualize/rich" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rich/rich-14.0.0.tar.gz" -MD5SUM="79410a24ae5dd52f3b89c6f0e4eadc5f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rich/rich-14.2.0.tar.gz" +MD5SUM="82b63b3508472d9e8393e571d74ab1a1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core python3-markdown-it-py python3-typing-extensions" diff --git a/python/python3-rope/README b/python/python3-rope/README index 6fe3e26a53..67854a939f 100644 --- a/python/python3-rope/README +++ b/python/python3-rope/README @@ -1,6 +1,2 @@ Rope is the world's most advanced open source Python refactoring library (that's the upstream author's words). - -python3-rope 1.1.1 is the last available version for Slackware 15.0. -Newer versions depend on python3-pytoolconfig, which itself depends on -python-tomli >= 2.0. diff --git a/python/python3-rope/python3-rope.SlackBuild b/python/python3-rope/python3-rope.SlackBuild index 4ad2c04bb2..6e289b0778 100644 --- a/python/python3-rope/python3-rope.SlackBuild +++ b/python/python3-rope/python3-rope.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-rope -# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rope -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-1.14.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,13 +64,17 @@ 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 +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 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 CHANGELOG.md COPYING README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md CODE_OF_CONDUCT.md COPYING README.rst SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-rope/python3-rope.info b/python/python3-rope/python3-rope.info index 3da8d8cd99..d49fd7341d 100644 --- a/python/python3-rope/python3-rope.info +++ b/python/python3-rope/python3-rope.info @@ -1,10 +1,10 @@ PRGNAM="python3-rope" -VERSION="1.1.1" +VERSION="1.14.0" HOMEPAGE="https://github.com/python-rope/rope" -DOWNLOAD="https://github.com/python-rope/rope/archive/1.1.1/rope-1.1.1.tar.gz" -MD5SUM="32771d1cdf52feb07c939383c4f1d300" +DOWNLOAD="https://github.com/python-rope/rope/archive/1.14.0/rope-1.14.0.tar.gz" +MD5SUM="97b6df310d51afd154336e8ee376741a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-pytoolconfig" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-rpds-py/python3-rpds-py.SlackBuild b/python/python3-rpds-py/python3-rpds-py.SlackBuild index cf3ce77b40..866a08a147 100644 --- a/python/python3-rpds-py/python3-rpds-py.SlackBuild +++ b/python/python3-rpds-py/python3-rpds-py.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rpds-py SRCNAM=rpds_py -VERSION=${VERSION:-0.25.0} +VERSION=${VERSION:-0.29.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,11 +73,9 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz tar xvf $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) # prevent cargo from using the network. # orjson includes the vendored libs with its source tarball diff --git a/python/python3-rpds-py/python3-rpds-py.info b/python/python3-rpds-py/python3-rpds-py.info index 2581ae482c..13c20f024c 100644 --- a/python/python3-rpds-py/python3-rpds-py.info +++ b/python/python3-rpds-py/python3-rpds-py.info @@ -1,10 +1,10 @@ PRGNAM="python3-rpds-py" -VERSION="0.25.0" +VERSION="0.29.0" HOMEPAGE="https://github.com/crate-py/rpds" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rpds_py/rpds_py-0.25.0.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/rpds_py-vendored-sources-0.25.0-1.tar.xz" -MD5SUM="a4562222a8ba4fa70346012a3b55eabe \ - b6ad3cabf8fcdfa47e797ca9192eec65" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rpds_py/rpds_py-0.29.0.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/rpds_py-vendored-sources-0.29.0-1.tar.xz" +MD5SUM="4e48e60ef433f27898277dff1b9fa9eb \ + 3abd18febf86ab305e097841b2435f9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin" diff --git a/python/python3-rtree/python3-rtree.SlackBuild b/python/python3-rtree/python3-rtree.SlackBuild index bf817f0cac..2c5277af16 100644 --- a/python/python3-rtree/python3-rtree.SlackBuild +++ b/python/python3-rtree/python3-rtree.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rtree -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-rtree/python3-rtree.info b/python/python3-rtree/python3-rtree.info index 7bb657e4a8..53bc6667b5 100644 --- a/python/python3-rtree/python3-rtree.info +++ b/python/python3-rtree/python3-rtree.info @@ -1,8 +1,8 @@ PRGNAM="python3-rtree" -VERSION="1.4.0" +VERSION="1.4.1" HOMEPAGE="https://rtree.readthedocs.io/en/latest/" -DOWNLOAD="https://github.com/Toblerity/rtree/archive/1.4.0/rtree-1.4.0.tar.gz" -MD5SUM="e67350a53ae2c3ef8b34bb21357158c6" +DOWNLOAD="https://github.com/Toblerity/rtree/archive/1.4.1/rtree-1.4.1.tar.gz" +MD5SUM="844fbd0e2e9da10e81aca356c457da62" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libspatialindex python3-setuptools-opt" diff --git a/python/python3-scikit-build-core/README b/python/python3-scikit-build-core/README new file mode 100644 index 0000000000..d0d8a38e37 --- /dev/null +++ b/python/python3-scikit-build-core/README @@ -0,0 +1,10 @@ +python3-scikit-build-core (Build backend for CMake based projects) + +Scikit-build-core is a build backend for Python that uses CMake +to build extension modules. It has a simple yet powerful static +configuration system in pyproject.toml, and supports almost unlimited +flexibility via CMake. It was initially developed to support the +demanding needs of scientific users, but can build any sort of +package that uses CMake. + +Scikit-build-core is a ground-up rewrite of the classic Scikit-build diff --git a/python/python3-scikit-build-core/python3-scikit-build-core.SlackBuild b/python/python3-scikit-build-core/python3-scikit-build-core.SlackBuild new file mode 100644 index 0000000000..c19e0c4926 --- /dev/null +++ b/python/python3-scikit-build-core/python3-scikit-build-core.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/bash + +# Slackware build script for python3-scikit-build-core + +# Copyright 2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-scikit-build-core +VERSION=${VERSION:-0.11.6} +SRCNAM=${SRCNAM:-scikit-build-core} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +# Remove packaging version requirement since we're using the /opt/ version +sed -i 's|packaging >=23.2|packaging|' pyproject.toml + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir=$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 \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-scikit-build-core/python3-scikit-build-core.info b/python/python3-scikit-build-core/python3-scikit-build-core.info new file mode 100644 index 0000000000..885b3c8c26 --- /dev/null +++ b/python/python3-scikit-build-core/python3-scikit-build-core.info @@ -0,0 +1,10 @@ +PRGNAM="python3-scikit-build-core" +VERSION="0.11.6" +HOMEPAGE="https://scikit-build-core.readthedocs.io/" +DOWNLOAD="https://github.com/scikit-build/scikit-build-core/archive/refs/tags/v0.11.6/scikit-build-core-0.11.6.tar.gz" +MD5SUM="6b86f1649941671877c5bbfd8ac75890" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-hatch_vcs python3-exceptiongroup" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-scikit-build-core/slack-desc b/python/python3-scikit-build-core/slack-desc new file mode 100644 index 0000000000..93a76f353e --- /dev/null +++ b/python/python3-scikit-build-core/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-scikit-build-core: python3-scikit-build-core (Build backend for CMake based projects) +python3-scikit-build-core: +python3-scikit-build-core: Scikit-build-core is a build backend for Python that uses CMake +python3-scikit-build-core: to build extension modules. It has a simple yet powerful static +python3-scikit-build-core: configuration system in pyproject.toml, and supports almost unlimited +python3-scikit-build-core: flexibility via CMake. It was initially developed to support the +python3-scikit-build-core: demanding needs of scientific users, but can build any sort of +python3-scikit-build-core: package that uses CMake. +python3-scikit-build-core: +python3-scikit-build-core: Scikit-build-core is a ground-up rewrite of the classic Scikit-build +python3-scikit-build-core: diff --git a/python/python3-semver/README b/python/python3-semver/README new file mode 100644 index 0000000000..6fd5cca0a0 --- /dev/null +++ b/python/python3-semver/README @@ -0,0 +1,9 @@ +A Python module to simplify semantic versioning. + +The module follows the MAJOR.MINOR.PATCH style: +- MAJOR version when you make incompatible API changes, +- MINOR version when you add functionality in a backwards + compatible manner, and +- PATCH version when you make backwards compatible bug fixes. + +Additional labels for pre-release and build metadata are supported. diff --git a/python/python3-semver/python3-semver.SlackBuild b/python/python3-semver/python3-semver.SlackBuild new file mode 100644 index 0000000000..8705590859 --- /dev/null +++ b/python/python3-semver/python3-semver.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/bash + +# Slackware build script for python3-semver + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-semver +VERSION=${VERSION:-3.0.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=semver + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 --wheel --no-isolation +python3 -m installer --destdir "$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 \ + CHANGELOG.rst LICENSE.txt README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-semver/python3-semver.info b/python/python3-semver/python3-semver.info new file mode 100644 index 0000000000..5cfb0f56a5 --- /dev/null +++ b/python/python3-semver/python3-semver.info @@ -0,0 +1,10 @@ +PRGNAM="python3-semver" +VERSION="3.0.4" +HOMEPAGE="https://github.com/python-semver/python-semver" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/semver/semver-3.0.4.tar.gz" +MD5SUM="a0d76b528e489bf7ce1255a0a1486123" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-semver/slack-desc b/python/python3-semver/slack-desc new file mode 100644 index 0000000000..620e3fa423 --- /dev/null +++ b/python/python3-semver/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-semver: python3-semver (A Python module to simplify semantic versioning.) +python3-semver: +python3-semver: Python package to work with Semantic Versioning. +python3-semver: +python3-semver: +python3-semver: Homepage: https://github.com/python-semver/python-semver +python3-semver: +python3-semver: +python3-semver: +python3-semver: +python3-semver: diff --git a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild index dc36428d86..389ee7839b 100644 --- a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild +++ b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-setuptools-rust-opt SRCNAM=setuptools_rust -VERSION=${VERSION:-1.11.1} +VERSION=${VERSION:-1.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info index 8e3736c948..8967f92014 100644 --- a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info +++ b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-setuptools-rust-opt" -VERSION="1.11.1" +VERSION="1.12.0" HOMEPAGE="https://github.com/PyO3/setuptools-rust/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_rust/setuptools_rust-1.11.1.tar.gz" -MD5SUM="cc5c2cf6828af473951295d9f33bcf33" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_rust/setuptools_rust-1.12.0.tar.gz" +MD5SUM="6ecee3d9f3ac646a52d60155022fd0d0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt python3-typing-extensions python3-semantic-version" diff --git a/python/python3-setuptools-rust/README b/python/python3-setuptools-rust/README deleted file mode 100644 index 0a64e10d53..0000000000 --- a/python/python3-setuptools-rust/README +++ /dev/null @@ -1,2 +0,0 @@ -setuptools-rust is a plugin for setuptools to build Rust Python -extensions implemented with PyO3 or rust-cpython. diff --git a/python/python3-setuptools-rust/python3-setuptools-rust.info b/python/python3-setuptools-rust/python3-setuptools-rust.info deleted file mode 100644 index 3166111c38..0000000000 --- a/python/python3-setuptools-rust/python3-setuptools-rust.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-setuptools-rust" -VERSION="0.12.1" -HOMEPAGE="https://github.com/PyO3/setuptools-rust/" -DOWNLOAD="https://github.com/PyO3/setuptools-rust/archive/v0.12.1/setuptools-rust-0.12.1.tar.gz" -MD5SUM="cdd3927e9c595aa141f8bca12e9eba2d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3-semantic-version python3-toml" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/python/python3-setuptools-rust/slack-desc b/python/python3-setuptools-rust/slack-desc deleted file mode 100644 index 770a2a3b74..0000000000 --- a/python/python3-setuptools-rust/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-setuptools-rust: python3-setuptools-rust (Setuptools plugin for Rust extensions) -python3-setuptools-rust: -python3-setuptools-rust: setuptools-rust is a plugin for setuptools to build Rust Python -python3-setuptools-rust: extensions implemented with PyO3 or rust-cpython. -python3-setuptools-rust: -python3-setuptools-rust: -python3-setuptools-rust: -python3-setuptools-rust: -python3-setuptools-rust: Project URL: https://github.com/PyO3/setuptools-rust/ -python3-setuptools-rust: -python3-setuptools-rust: diff --git a/python/python3-shamir-mnemonic/README b/python/python3-shamir-mnemonic/README new file mode 100644 index 0000000000..a245639017 --- /dev/null +++ b/python/python3-shamir-mnemonic/README @@ -0,0 +1,9 @@ +Reference implementation of SLIP-0039: Shamir's Secret-Sharing for +Mnemonic Codes + +This SLIP describes a standard and interoperable implementation of +Shamir’s secret sharing (SSS). SSS splits a secret into unique parts +which can be distributed among participants, and requires a specified +minimum number of parts to be supplied in order to reconstruct the +original secret. Knowledge of fewer than the required number of parts +does not leak information about the secret. diff --git a/python/python3-shamir-mnemonic/python3-shamir-mnemonic.SlackBuild b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.SlackBuild new file mode 100644 index 0000000000..54a15b3c52 --- /dev/null +++ b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# Slackware build script for python3-shamir-mnemonic + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-shamir-mnemonic +VERSION=${VERSION:-0.3.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=shamir_mnemonic + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-shamir-mnemonic/python3-shamir-mnemonic.info b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.info new file mode 100644 index 0000000000..9488b75424 --- /dev/null +++ b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.info @@ -0,0 +1,10 @@ +PRGNAM="python3-shamir-mnemonic" +VERSION="0.3.0" +HOMEPAGE="https://github.com/trezor/python-shamir-mnemonic" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/shamir-mnemonic/shamir_mnemonic-0.3.0.tar.gz" +MD5SUM="e577a048fed301cfd96b13fc1318c903" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-shamir-mnemonic/slack-desc b/python/python3-shamir-mnemonic/slack-desc new file mode 100644 index 0000000000..d747259637 --- /dev/null +++ b/python/python3-shamir-mnemonic/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-shamir-mnemonic: python3-shamir-mnemonic (Reference implementation of SLIP-0039) +python3-shamir-mnemonic: +python3-shamir-mnemonic: This SLIP describes a standard and interoperable implementation of +python3-shamir-mnemonic: Shamir's secret sharing (SSS). SSS splits a secret into unique parts +python3-shamir-mnemonic: which can be distributed among participants, and requires a specified +python3-shamir-mnemonic: minimum number of parts to be supplied in order to reconstruct the +python3-shamir-mnemonic: original secret. Knowledge of fewer than the required number of parts +python3-shamir-mnemonic: does not leak information about the secret. +python3-shamir-mnemonic: +python3-shamir-mnemonic: Homepage: https://github.com/trezor/python-shamir-mnemonic +python3-shamir-mnemonic: diff --git a/python/python3-shtab/python3-shtab.SlackBuild b/python/python3-shtab/python3-shtab.SlackBuild index 0007661c26..c9b70c3e41 100644 --- a/python/python3-shtab/python3-shtab.SlackBuild +++ b/python/python3-shtab/python3-shtab.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-shtab -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-shtab -VERSION=${VERSION:-1.7.1} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,8 +64,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -# Use newer setuptools despite not explicitly stating so within pyproject.toml. -# Otherwise, shtab does not compile properly PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ diff --git a/python/python3-shtab/python3-shtab.info b/python/python3-shtab/python3-shtab.info index 70a1e1b0de..7401cf13cc 100644 --- a/python/python3-shtab/python3-shtab.info +++ b/python/python3-shtab/python3-shtab.info @@ -1,8 +1,8 @@ PRGNAM="python3-shtab" -VERSION="1.7.1" +VERSION="1.8.0" HOMEPAGE="https://github.com/iterative/shtab" -DOWNLOAD="https://github.com/iterative/shtab/releases/download/v1.7.1/shtab-1.7.1.tar.gz" -MD5SUM="da7bd07a2b2888974d6bf5c4ea70cdcf" +DOWNLOAD="https://github.com/iterative/shtab/releases/download/v1.8.0/shtab-1.8.0.tar.gz" +MD5SUM="c6d611ee1ebe0e19ebb16a75749cd658" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-slacklog/README b/python/python3-slacklog/README new file mode 100644 index 0000000000..021ca07f0e --- /dev/null +++ b/python/python3-slacklog/README @@ -0,0 +1,4 @@ +This package conflict with python2-slacklog + +To build docs/html: +DOCS=YES ./python3-slacklog.SlackBuild (required: Sphinx) diff --git a/python/python3-slacklog/python3-slacklog.SlackBuild b/python/python3-slacklog/python3-slacklog.SlackBuild new file mode 100644 index 0000000000..c7dee5e848 --- /dev/null +++ b/python/python3-slacklog/python3-slacklog.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# Slackware build script for python3-slacklog + +# Ioannis Anagnostakis 2025 +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-slacklog +SRCNAM=slacklog-"$PRGNAM" +VERSION=${VERSION:-10.0.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM +tar xvf $CWD/$SRCNAM.tar.gz +cd $SRCNAM + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + + +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 CHANGES.rst LICENSE.txt README.rst examples/ $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; + +[ "$DOCS" = "YES" ] && { bash build-docs.sh; cp -r doc/_build/html $PKG/usr/doc/$PRGNAM-$VERSION/; } + +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 diff --git a/python/python3-slacklog/python3-slacklog.info b/python/python3-slacklog/python3-slacklog.info new file mode 100644 index 0000000000..f5534348b7 --- /dev/null +++ b/python/python3-slacklog/python3-slacklog.info @@ -0,0 +1,10 @@ +PRGNAM="python3-slacklog" +VERSION="10.0.0" +HOMEPAGE="https://rizitis.github.io/slacklog/" +DOWNLOAD="https://github.com/rizitis/slacklog/archive/python3-slacklog/slacklog-python3-slacklog.tar.gz" +MD5SUM="02c222233f1d57036adb4bd9f4e72226" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-dateutil" +MAINTAINER="Ioannis Anagnostakis" +EMAIL="rizitis@gmail.com" diff --git a/python/python3-slacklog/slack-desc b/python/python3-slacklog/slack-desc new file mode 100644 index 0000000000..4696e3c59e --- /dev/null +++ b/python/python3-slacklog/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-slacklog: python3-slacklog (Convert Slackware ChangeLog to various formats) +python3-slacklog: +python3-slacklog: python3-slacklog, is fork of python2-slacklog and CONFLICTS with it. +python3-slacklog: +python3-slacklog: provides a program and a library to convert a +python3-slacklog: Slackware ChangeLog into other formats. Currently, RSS, Atom, +python3-slacklog: and PyBlosxom formats are supported. +python3-slacklog: +python3-slacklog: +python3-slacklog: https://rizitis.github.io/slacklog/ +python3-slacklog: diff --git a/python/python3-slip10/README b/python/python3-slip10/README new file mode 100644 index 0000000000..4a50e4fba7 --- /dev/null +++ b/python/python3-slip10/README @@ -0,0 +1,4 @@ +A reference implementation of the SLIP-0010 specification, which +generalizes the BIP-0032 derivation scheme for private and public +key pairs in hierarchical deterministic wallets for the curves +secp256k1, NIST P-256, ed25519 and curve25519. diff --git a/python/python3-slip10/python3-slip10.SlackBuild b/python/python3-slip10/python3-slip10.SlackBuild new file mode 100644 index 0000000000..4a9db37bcd --- /dev/null +++ b/python/python3-slip10/python3-slip10.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# Slackware build script for python3-slip10 + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-slip10 +VERSION=${VERSION:-1.0.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=slip10 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-slip10/python3-slip10.info b/python/python3-slip10/python3-slip10.info new file mode 100644 index 0000000000..bbea8b8aff --- /dev/null +++ b/python/python3-slip10/python3-slip10.info @@ -0,0 +1,10 @@ +PRGNAM="python3-slip10" +VERSION="1.0.1" +HOMEPAGE="https://github.com/trezor/python-slip10" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/slip10/slip10-1.0.1.tar.gz" +MD5SUM="820fc977853e30df7092792b44ea2bb6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core python3-base58 cryptography ecdsa" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-slip10/slack-desc b/python/python3-slip10/slack-desc new file mode 100644 index 0000000000..4c8a26d648 --- /dev/null +++ b/python/python3-slip10/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-slip10: python3-slip10 (Minimalistic implementation of SLIP10) +python3-slip10: +python3-slip10: A reference implementation of the SLIP-0010 specification, which +python3-slip10: generalizes the BIP-0032 derivation scheme for private and public +python3-slip10: key pairs in hierarchical deterministic wallets for the curves +python3-slip10: secp256k1, NIST P-256, ed25519 and curve25519. +python3-slip10: +python3-slip10: Homepage: https://github.com/trezor/python-slip10 +python3-slip10: +python3-slip10: +python3-slip10: diff --git a/python/python3-smart_open/python3-smart_open.SlackBuild b/python/python3-smart_open/python3-smart_open.SlackBuild index af5b3a739e..6a5070a2c4 100644 --- a/python/python3-smart_open/python3-smart_open.SlackBuild +++ b/python/python3-smart_open/python3-smart_open.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-smart_open -VERSION=${VERSION:-7.2.0} +VERSION=${VERSION:-7.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,7 +64,11 @@ 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 +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 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 diff --git a/python/python3-smart_open/python3-smart_open.info b/python/python3-smart_open/python3-smart_open.info index 5e5351e16a..37429a089e 100644 --- a/python/python3-smart_open/python3-smart_open.info +++ b/python/python3-smart_open/python3-smart_open.info @@ -1,10 +1,10 @@ PRGNAM="python3-smart_open" -VERSION="7.2.0" +VERSION="7.5.0" HOMEPAGE="https://github.com/RaRe-Technologies/smart_open" -DOWNLOAD="https://github.com/RaRe-Technologies/smart_open/archive/v7.2.0/smart_open-7.2.0.tar.gz" -MD5SUM="2c7cf563124ee499efa63801bb5842e4" +DOWNLOAD="https://github.com/RaRe-Technologies/smart_open/archive/v7.5.0/smart_open-7.5.0.tar.gz" +MD5SUM="8a2eea7e3d85dd714c136470fe388d9c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wrapt" +REQUIRES="python3-setuptools-scm-opt python3-wrapt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-socks/python3-socks.SlackBuild b/python/python3-socks/python3-socks.SlackBuild index abb9869491..9286cd82e2 100644 --- a/python/python3-socks/python3-socks.SlackBuild +++ b/python/python3-socks/python3-socks.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-socks -VERSION=${VERSION:-2.7.1} +VERSION=${VERSION:-2.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,23 +50,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/python3-socks/python3-socks.info b/python/python3-socks/python3-socks.info index 906c65e367..74a4f11a70 100644 --- a/python/python3-socks/python3-socks.info +++ b/python/python3-socks/python3-socks.info @@ -1,8 +1,8 @@ PRGNAM="python3-socks" -VERSION="2.7.1" +VERSION="2.8.0" HOMEPAGE="https://github.com/romis2012/python-socks/" -DOWNLOAD="https://github.com/romis2012/python-socks/archive/v2.7.1/python-socks-2.7.1.tar.gz" -MD5SUM="d418ba1e7829ed2f7c38c033c40a862c" +DOWNLOAD="https://github.com/romis2012/python-socks/archive/v2.8.0/python-socks-2.8.0.tar.gz" +MD5SUM="08ea4245c6c516b04346cc58f028facb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-soupsieve/python3-soupsieve.SlackBuild b/python/python3-soupsieve/python3-soupsieve.SlackBuild index 24d49bea9c..016e90fb6a 100644 --- a/python/python3-soupsieve/python3-soupsieve.SlackBuild +++ b/python/python3-soupsieve/python3-soupsieve.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-soupsieve -# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT, <slack@giand.it> +# Copyright 2023-2025 Giancarlo Dessi, Cagliari, IT, <slack@giand.it> # Copyright 2020-2022 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-soupsieve -VERSION=${VERSION:-2.6} +VERSION=${VERSION:-2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-soupsieve/python3-soupsieve.info b/python/python3-soupsieve/python3-soupsieve.info index 1fb8593c49..53aa8ecae8 100644 --- a/python/python3-soupsieve/python3-soupsieve.info +++ b/python/python3-soupsieve/python3-soupsieve.info @@ -1,8 +1,8 @@ PRGNAM="python3-soupsieve" -VERSION="2.6" +VERSION="2.7" HOMEPAGE="https://github.com/facelessuser/soupsieve" -DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.6/soupsieve-2.6.tar.gz" -MD5SUM="a3dcdd1a5472c9404110fc07dfc64415" +DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.7/soupsieve-2.7.tar.gz" +MD5SUM="7cc1ce9293161f02c93e9baf955eaa3e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-soxr/README b/python/python3-soxr/README index 0e67299e12..cd0016b025 100644 --- a/python/python3-soxr/README +++ b/python/python3-soxr/README @@ -2,6 +2,3 @@ python3-soxr (Sample-rate conversion library for Python) High quality, one-dimensional sample-rate conversion library for Python. - -NOTE: Unable to support newer versions due to requiring newer version -of cython than is available in Slackware 15.0. diff --git a/python/python3-soxr/python3-soxr.SlackBuild b/python/python3-soxr/python3-soxr.SlackBuild index 65f3a87a39..45a4ff4036 100644 --- a/python/python3-soxr/python3-soxr.SlackBuild +++ b/python/python3-soxr/python3-soxr.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-soxr -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2025 Jeremy Hansen jebrhansen+SBo@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-soxr -VERSION=${VERSION:-0.3.7} -SOXRVER=${SOXRVER:-0.1.3} +VERSION=${VERSION:-1.0.0} +SOXRVER=${SOXRVER:-a66f3ee} SRCNAM=${SRCNAM:-python-soxr} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,9 +55,9 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -tar xvf $CWD/soxr-$SOXRVER.tar.gz +tar xvf $CWD/soxr-$SOXRVER*.tar.gz rmdir $SRCNAM-$VERSION/libsoxr -mv soxr-$SOXRVER $SRCNAM-$VERSION/libsoxr +mv soxr-$SOXRVER* $SRCNAM-$VERSION/libsoxr cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -68,10 +68,14 @@ find -L . \ export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION -# Correct naming or packaging issue -sed -i 's|/_csoxr|/csoxr|g' setup.py +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -python3 setup.py install --root=$PKG +# Complains about missing this file, so rename the .in file +mv src/csoxr_ver_vcs.cpp.in src/csoxr_ver_vcs.cpp + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 diff --git a/python/python3-soxr/python3-soxr.info b/python/python3-soxr/python3-soxr.info index f230523a35..3c17ada128 100644 --- a/python/python3-soxr/python3-soxr.info +++ b/python/python3-soxr/python3-soxr.info @@ -1,12 +1,12 @@ PRGNAM="python3-soxr" -VERSION="0.3.7" +VERSION="1.0.0" HOMEPAGE="https://github.com/dofuuz/python-soxr/" -DOWNLOAD="https://github.com/dofuuz/python-soxr/archive/refs/tags/v0.3.7/python-soxr-0.3.7.tar.gz \ - https://github.com/dofuuz/soxr/archive/refs/tags/0.1.3/soxr-0.1.3.tar.gz" -MD5SUM="32699ee810503b4b0889e08be48843a9 \ - e5e698e1f08971b6544c3639cd0cda4a" +DOWNLOAD="https://github.com/dofuuz/python-soxr/archive/refs/tags/v1.0.0/python-soxr-1.0.0.tar.gz \ + https://github.com/dofuuz/soxr/archive/a66f3ee/soxr-a66f3eeeeb62a32403ff143b756eed92b1ec6b62.tar.gz" +MD5SUM="0ef46bfbee4a4ac89a0e49e22fbcf2ad \ + ded376a240eb4957c91527be4f935e5e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-numpy" +REQUIRES="python3-numpy nanobind" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-stevedore/python3-stevedore.SlackBuild b/python/python3-stevedore/python3-stevedore.SlackBuild index bb4aa3145e..9698fe67bd 100644 --- a/python/python3-stevedore/python3-stevedore.SlackBuild +++ b/python/python3-stevedore/python3-stevedore.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-stevedore -VERSION=${VERSION:-5.4.1} +VERSION=${VERSION:-5.5.0} SRCNAM=${SRCNAM:-stevedore} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-stevedore/python3-stevedore.info b/python/python3-stevedore/python3-stevedore.info index 47445a4ec4..ca520e2f8f 100644 --- a/python/python3-stevedore/python3-stevedore.info +++ b/python/python3-stevedore/python3-stevedore.info @@ -1,8 +1,8 @@ PRGNAM="python3-stevedore" -VERSION="5.4.1" +VERSION="5.5.0" HOMEPAGE="https://opendev.org/openstack/stevedore/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-5.4.1.tar.gz" -MD5SUM="d8ce49d9a513d454bec0e897ce10062b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-5.5.0.tar.gz" +MD5SUM="22f145ddfda2e375ffead01c2f379a27" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-tasklib/README b/python/python3-tasklib/README new file mode 100644 index 0000000000..8a52d405f6 --- /dev/null +++ b/python/python3-tasklib/README @@ -0,0 +1 @@ +Python library for interfacing with Taskwarrior diff --git a/python/python3-tasklib/python3-tasklib.SlackBuild b/python/python3-tasklib/python3-tasklib.SlackBuild new file mode 100644 index 0000000000..81905a3203 --- /dev/null +++ b/python/python3-tasklib/python3-tasklib.SlackBuild @@ -0,0 +1,61 @@ +#!/bin/bash +# Slackware build script for python3-tasklib +# Written by Dan-Simon Myrland <dansimon@radiotube.org> + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-tasklib +DIRNAM=tasklib +VERSION=${VERSION:-2.5.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +# no need for CFLAGS or LIBDIRSUFFIX. actually this would be noarch, +# except for the lib vs. lib64 python problem. + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$DIRNAM-$VERSION.tar.gz +cd $DIRNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -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 --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a AUTHORS README.rst $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-tasklib/python3-tasklib.info b/python/python3-tasklib/python3-tasklib.info new file mode 100644 index 0000000000..3124acd05c --- /dev/null +++ b/python/python3-tasklib/python3-tasklib.info @@ -0,0 +1,10 @@ +PRGNAM="python3-tasklib" +VERSION="2.5.1" +HOMEPAGE="https://pypi.org/project/tasklib" +DOWNLOAD="https://files.pythonhosted.org/packages/3e/50/3e876f39e31bad8783fd3fe117577cbf1dde836e161f8446631bde71aeb4/tasklib-2.5.1.tar.gz" +MD5SUM="54fe1c0e0b7a845a5a9feb3ea423e367" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-wheel" +MAINTAINER="Dan-Simon Myrland" +EMAIL="dansimon@radiotube.org" diff --git a/python/python3-tasklib/slack-desc b/python/python3-tasklib/slack-desc new file mode 100644 index 0000000000..63a7534ee4 --- /dev/null +++ b/python/python3-tasklib/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-tasklib: python3-tasklib (taskwarrior library) +python3-tasklib: +python3-tasklib: Python library for interfacing with Taskwarrior +python3-tasklib: +python3-tasklib: +python3-tasklib: +python3-tasklib: +python3-tasklib: +python3-tasklib: +python3-tasklib: +python3-tasklib: diff --git a/python/tinycss2/README b/python/python3-tinycss2/README index 778f77e8a2..2b3cd9ce07 100644 --- a/python/tinycss2/README +++ b/python/python3-tinycss2/README @@ -1,3 +1,6 @@ All the web developers know the CSS format, but do they really know all the subtleties of its syntax? tinycss2 provides a CSS parser that is able to extract everything you want from stylesheets. + +python3-tinycss2 1.4.0 is the last available version for Slackware 15.0. +Newer versions require Python >= 3.10. diff --git a/python/tinycss2/tinycss2.SlackBuild b/python/python3-tinycss2/python3-tinycss2.SlackBuild index 290a4539b5..4d0bd024a1 100644 --- a/python/tinycss2/tinycss2.SlackBuild +++ b/python/python3-tinycss2/python3-tinycss2.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Slackware build script for tinycss2 +# Slackware build script for python3-tinycss2 # Copyright 2021-2024 Dimitris Zlatanidis Orestiada, Greece <d.zlatanidis@gmail.com> # Copyright 2024 Isaac Yu <isaacyu@protonmail.com> @@ -25,12 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=tinycss2 +PRGNAM=python3-tinycss2 VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=tinycss2 + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -53,9 +55,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 \ diff --git a/python/tinycss2/tinycss2.info b/python/python3-tinycss2/python3-tinycss2.info index 241654b1a5..24a3930dfc 100644 --- a/python/tinycss2/tinycss2.info +++ b/python/python3-tinycss2/python3-tinycss2.info @@ -1,4 +1,4 @@ -PRGNAM="tinycss2" +PRGNAM="python3-tinycss2" VERSION="1.4.0" HOMEPAGE="https://www.courtbouillon.org/tinycss2" DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tinycss2/tinycss2-1.4.0.tar.gz" diff --git a/python/python3-tinycss2/slack-desc b/python/python3-tinycss2/slack-desc new file mode 100644 index 0000000000..9161695378 --- /dev/null +++ b/python/python3-tinycss2/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-tinycss2: python3-tinycss2 (low-level CSS parser and generator) +python3-tinycss2: +python3-tinycss2: All the web developers know the CSS format, but do they really +python3-tinycss2: know all the subtleties of its syntax? tinycss2 provides a CSS +python3-tinycss2: parser that is able to extract everything you want from stylesheets. +python3-tinycss2: +python3-tinycss2: Homepage: https://www.courtbouillon.org/tinycss2 +python3-tinycss2: +python3-tinycss2: +python3-tinycss2: +python3-tinycss2: diff --git a/python/python3-tomli-opt/python3-tomli-opt.SlackBuild b/python/python3-tomli-opt/python3-tomli-opt.SlackBuild index c40f186e58..7880687182 100644 --- a/python/python3-tomli-opt/python3-tomli-opt.SlackBuild +++ b/python/python3-tomli-opt/python3-tomli-opt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tomli-opt SRCNAM=tomli -VERSION=${VERSION:-2.2.1} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -60,11 +60,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') diff --git a/python/python3-tomli-opt/python3-tomli-opt.info b/python/python3-tomli-opt/python3-tomli-opt.info index 52d3c0e4be..4d78ef03ab 100644 --- a/python/python3-tomli-opt/python3-tomli-opt.info +++ b/python/python3-tomli-opt/python3-tomli-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-tomli-opt" -VERSION="2.2.1" +VERSION="2.3.0" HOMEPAGE="https://github.com/hukkin/tomli" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tomli/tomli-2.2.1.tar.gz" -MD5SUM="1e0e2fb2e29f3d77f0507bee71fb4ab4" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tomli/tomli-2.3.0.tar.gz" +MD5SUM="30b640d2f852e26c189cb0edd275f1e4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-installer" diff --git a/python/python3-tomlkit/python3-tomlkit.SlackBuild b/python/python3-tomlkit/python3-tomlkit.SlackBuild index b4aae67f9c..c58f6bad40 100644 --- a/python/python3-tomlkit/python3-tomlkit.SlackBuild +++ b/python/python3-tomlkit/python3-tomlkit.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for python3-tomlkit # Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tomlkit -VERSION=${VERSION:-0.13.2} +VERSION=${VERSION:-0.13.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-tomlkit/python3-tomlkit.info b/python/python3-tomlkit/python3-tomlkit.info index 7ce97f93e4..375765349a 100644 --- a/python/python3-tomlkit/python3-tomlkit.info +++ b/python/python3-tomlkit/python3-tomlkit.info @@ -1,8 +1,8 @@ PRGNAM="python3-tomlkit" -VERSION="0.13.2" +VERSION="0.13.3" HOMEPAGE="https://github.com/sdispater/tomlkit" -DOWNLOAD="https://github.com/sdispater/tomlkit/releases/download/0.13.2/tomlkit-0.13.2.tar.gz" -MD5SUM="0db1a3750c64b141720f05430df9b433" +DOWNLOAD="https://github.com/sdispater/tomlkit/releases/download/0.13.3/tomlkit-0.13.3.tar.gz" +MD5SUM="b77382a3de2e0c1ab715ad456139e260" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core" diff --git a/python/python3-tornado/python3-tornado.SlackBuild b/python/python3-tornado/python3-tornado.SlackBuild index 2217d54acf..9aaa832a30 100644 --- a/python/python3-tornado/python3-tornado.SlackBuild +++ b/python/python3-tornado/python3-tornado.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tornado SRCNAM=tornado -VERSION=${VERSION:-6.5.1} +VERSION=${VERSION:-6.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-tornado/python3-tornado.info b/python/python3-tornado/python3-tornado.info index c7992b5401..264f913670 100644 --- a/python/python3-tornado/python3-tornado.info +++ b/python/python3-tornado/python3-tornado.info @@ -1,8 +1,8 @@ PRGNAM="python3-tornado" -VERSION="6.5.1" +VERSION="6.5.2" HOMEPAGE="http://www.tornadoweb.org" -DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v6.5.1/tornado-6.5.1.tar.gz" -MD5SUM="b30d296e585435aabf256c80e96f6b18" +DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v6.5.2/tornado-6.5.2.tar.gz" +MD5SUM="1210ad34eb474a2d36a5ce1a40ebd3f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-tox/README b/python/python3-tox/README index 5105e1c5cd..b06c19eff9 100644 --- a/python/python3-tox/README +++ b/python/python3-tox/README @@ -3,3 +3,6 @@ python3-tox (CLI CI frontend and development task automation tool) tox aims to automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside pytest and devpi). + +NOTE: Unable to support newer versions due to requiring newer version +of python than is available in Slackware 15.0 (python 3.10). diff --git a/python/python3-tox/python3-tox.SlackBuild b/python/python3-tox/python3-tox.SlackBuild index 81355623bd..ab0fbf78cd 100644 --- a/python/python3-tox/python3-tox.SlackBuild +++ b/python/python3-tox/python3-tox.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tox -VERSION=${VERSION:-4.26.0} +VERSION=${VERSION:-4.30.3} SRCNAM=${SRCNAM:-tox} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-tox/python3-tox.info b/python/python3-tox/python3-tox.info index 5b57381b0b..166ad23d12 100644 --- a/python/python3-tox/python3-tox.info +++ b/python/python3-tox/python3-tox.info @@ -1,8 +1,8 @@ PRGNAM="python3-tox" -VERSION="4.26.0" +VERSION="4.30.3" HOMEPAGE="https://tox.wiki/" -DOWNLOAD="https://github.com/tox-dev/tox/archive/refs/tags/4.26.0/tox-4.26.0.tar.gz" -MD5SUM="37be6ecc0df8e67aeca8fa6707b82636" +DOWNLOAD="https://github.com/tox-dev/tox/archive/refs/tags/4.30.3/tox-4.30.3.tar.gz" +MD5SUM="5e2f194b4cf152ed59eaf92e555a921b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-cachetools colorama python3-pyproject-api python3-virtualenv" diff --git a/python/python3-trakit/python3-trakit.SlackBuild b/python/python3-trakit/python3-trakit.SlackBuild index ed819872d5..367ac2c398 100644 --- a/python/python3-trakit/python3-trakit.SlackBuild +++ b/python/python3-trakit/python3-trakit.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-trakit -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.2.5} SRCNAM=${SRCNAM:-trakit} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-trakit/python3-trakit.info b/python/python3-trakit/python3-trakit.info index 57b90cd2d5..cccae25433 100644 --- a/python/python3-trakit/python3-trakit.info +++ b/python/python3-trakit/python3-trakit.info @@ -1,8 +1,8 @@ PRGNAM="python3-trakit" -VERSION="0.2.2" +VERSION="0.2.5" HOMEPAGE="https://github.com/ratoaq2/trakit" -DOWNLOAD="https://github.com/ratoaq2/trakit/archive/refs/tags/0.2.2/trakit-0.2.2.tar.gz" -MD5SUM="b463422c3f27e53d84637f43a711e89e" +DOWNLOAD="https://github.com/ratoaq2/trakit/archive/refs/tags/0.2.5/trakit-0.2.5.tar.gz" +MD5SUM="6270389394b683b89ad5614fb2d024cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-babelfish python3-rebulk" diff --git a/python/python3-treq/python3-treq.SlackBuild b/python/python3-treq/python3-treq.SlackBuild index 09883a8486..782b96577f 100644 --- a/python/python3-treq/python3-treq.SlackBuild +++ b/python/python3-treq/python3-treq.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-treq SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.9.1} +VERSION=${VERSION:-25.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,7 +62,8 @@ find -L . \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages -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 diff --git a/python/python3-treq/python3-treq.info b/python/python3-treq/python3-treq.info index 0233fad7b9..30c6730f97 100644 --- a/python/python3-treq/python3-treq.info +++ b/python/python3-treq/python3-treq.info @@ -1,8 +1,8 @@ PRGNAM="python3-treq" -VERSION="24.9.1" +VERSION="25.5.0" HOMEPAGE="https://pypi.org/project/treq/" -DOWNLOAD="https://pypi.python.org/packages/source/t/treq/treq-24.9.1.tar.gz" -MD5SUM="a48996ff540651deded304b638ba54ea" +DOWNLOAD="https://pypi.python.org/packages/source/t/treq/treq-25.5.0.tar.gz" +MD5SUM="b0a3c2e315375388e820019afc59919d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pyOpenSSL python3-twisted" diff --git a/python/python3-trezor-agent/README b/python/python3-trezor-agent/README new file mode 100644 index 0000000000..1a209f3c7c --- /dev/null +++ b/python/python3-trezor-agent/README @@ -0,0 +1 @@ +Plugin to use python3-libagent with the Trezor hardware wallet. diff --git a/python/python3-trezor-agent/python3-trezor-agent.SlackBuild b/python/python3-trezor-agent/python3-trezor-agent.SlackBuild new file mode 100644 index 0000000000..6d9c04f436 --- /dev/null +++ b/python/python3-trezor-agent/python3-trezor-agent.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# Slackware build script for python3-trezor-agent + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-trezor-agent +VERSION=${VERSION:-0.12.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=trezor_agent + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-trezor-agent/python3-trezor-agent.info b/python/python3-trezor-agent/python3-trezor-agent.info new file mode 100644 index 0000000000..0bf4081b0b --- /dev/null +++ b/python/python3-trezor-agent/python3-trezor-agent.info @@ -0,0 +1,10 @@ +PRGNAM="python3-trezor-agent" +VERSION="0.12.0" +HOMEPAGE="https://github.com/romanz/trezor-agent" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trezor-agent/trezor_agent-0.12.0.tar.gz" +MD5SUM="e547e595ee62f44c1d5b55d29771ea05" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-libagent python3-trezor" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-trezor-agent/slack-desc b/python/python3-trezor-agent/slack-desc new file mode 100644 index 0000000000..321de448d0 --- /dev/null +++ b/python/python3-trezor-agent/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-trezor-agent: python3-trezor-agent (Using Trezor as hardware SSH/GPG agent) +python3-trezor-agent: +python3-trezor-agent: Plugin to use python3-libagent with the Trezor hardware wallet. +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: Homepage: https://github.com/romanz/trezor-agent +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: diff --git a/python/python3-trezor/51-trezor.rules b/python/python3-trezor/51-trezor.rules new file mode 100644 index 0000000000..c0d43b2e0a --- /dev/null +++ b/python/python3-trezor/51-trezor.rules @@ -0,0 +1,17 @@ +# Trezor: The Original Hardware Wallet +# https://trezor.io/ +# +# Put this file into /etc/udev/rules.d +# +# If you are creating a distribution package, +# put this into /usr/lib/udev/rules.d or /lib/udev/rules.d +# depending on your distribution + +# Trezor +SUBSYSTEM=="usb", ATTR{idVendor}=="534c", ATTR{idProduct}=="0001", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n" +KERNEL=="hidraw*", ATTRS{idVendor}=="534c", ATTRS{idProduct}=="0001", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl" + +# Trezor v2 +SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c0", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n" +SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c1", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n" +KERNEL=="hidraw*", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="53c1", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl" diff --git a/python/python3-trezor/README b/python/python3-trezor/README new file mode 100644 index 0000000000..bded829b8c --- /dev/null +++ b/python/python3-trezor/README @@ -0,0 +1,2 @@ +Python library and command-line client for communicating with Trezor +Hardware Wallet. diff --git a/python/python3-trezor/python3-trezor.SlackBuild b/python/python3-trezor/python3-trezor.SlackBuild new file mode 100644 index 0000000000..4d6b1ca7a4 --- /dev/null +++ b/python/python3-trezor/python3-trezor.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Slackware build script for python3-trezor + +# Copyright (c) 2016-2017 Reedych <reedych@reedych.pw> +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-trezor +VERSION=${VERSION:-0.13.10} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=trezor + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/lib/udev/rules.d +install -m 644 $CWD/51-trezor.rules $PKG/lib/udev/rules.d + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-trezor/python3-trezor.info b/python/python3-trezor/python3-trezor.info new file mode 100644 index 0000000000..2c621c207a --- /dev/null +++ b/python/python3-trezor/python3-trezor.info @@ -0,0 +1,10 @@ +PRGNAM="python3-trezor" +VERSION="0.13.10" +HOMEPAGE="https://github.com/trezor/trezor-firmware/tree/master/python" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trezor/trezor-0.13.10.tar.gz" +MD5SUM="487f8dcf2ea818fc5e0df54f309fe8d6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="click python3-wheel python3-mnemonic python3-shamir-mnemonic python3-typing-extensions python3-construct-classes python3-slip10 python3-libusb1" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-trezor/slack-desc b/python/python3-trezor/slack-desc new file mode 100644 index 0000000000..bbeecda32c --- /dev/null +++ b/python/python3-trezor/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-trezor: python3-trezor (Python library and command-line client) +python3-trezor: +python3-trezor: Python library and command-line client for communicating with Trezor +python3-trezor: Hardware Wallet. +python3-trezor: +python3-trezor: See https://trezor.io for more information. +python3-trezor: +python3-trezor: +python3-trezor: +python3-trezor: +python3-trezor: diff --git a/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild b/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild index c72625f589..2fd464ee0b 100644 --- a/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild +++ b/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-trove-classifiers SRCNAM=trove_classifiers -VERSION=${VERSION:-2025.5.9.12} +VERSION=${VERSION:-2025.11.14.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-trove-classifiers/python3-trove-classifiers.info b/python/python3-trove-classifiers/python3-trove-classifiers.info index f1a0a1cf19..0dbdfaf7c7 100644 --- a/python/python3-trove-classifiers/python3-trove-classifiers.info +++ b/python/python3-trove-classifiers/python3-trove-classifiers.info @@ -1,8 +1,8 @@ PRGNAM="python3-trove-classifiers" -VERSION="2025.5.9.12" +VERSION="2025.11.14.15" HOMEPAGE="https://github.com/pypa/trove-classifiers" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trove_classifiers/trove_classifiers-2025.5.9.12.tar.gz" -MD5SUM="382d0838616b5078d21596cd1cd0eeb2" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trove_classifiers/trove_classifiers-2025.11.14.15.tar.gz" +MD5SUM="f130cc982d8011d48c134eb67859edb5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-calver" diff --git a/python/python3-twisted/python3-twisted.SlackBuild b/python/python3-twisted/python3-twisted.SlackBuild index 7269dd8ed8..3f23e38086 100644 --- a/python/python3-twisted/python3-twisted.SlackBuild +++ b/python/python3-twisted/python3-twisted.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-twisted SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.11.0} +VERSION=${VERSION:-25.5.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-twisted/python3-twisted.info b/python/python3-twisted/python3-twisted.info index e9f0b17af0..4153662566 100644 --- a/python/python3-twisted/python3-twisted.info +++ b/python/python3-twisted/python3-twisted.info @@ -1,8 +1,8 @@ PRGNAM="python3-twisted" -VERSION="24.11.0" +VERSION="25.5.0" HOMEPAGE="https://twistedmatrix.com/" -DOWNLOAD="https://pypi.python.org/packages/source/t/twisted/twisted-24.11.0.tar.gz" -MD5SUM="a21b5326a74079a92d7bc4748b419280" +DOWNLOAD="https://pypi.python.org/packages/source/t/twisted/twisted-25.5.0.tar.gz" +MD5SUM="845d6782c2236ef764f3849948f4bfad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-automat python3-constantly python3-hyperlink python3-incremental zope.interface python3-service-identity" diff --git a/python/python3-txaio/python3-txaio.SlackBuild b/python/python3-txaio/python3-txaio.SlackBuild index 0b9943a31d..69d39fda27 100644 --- a/python/python3-txaio/python3-txaio.SlackBuild +++ b/python/python3-txaio/python3-txaio.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-txaio SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-23.1.1} +VERSION=${VERSION:-25.9.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-txaio/python3-txaio.info b/python/python3-txaio/python3-txaio.info index 4de1e9eda9..b72a4af1ea 100644 --- a/python/python3-txaio/python3-txaio.info +++ b/python/python3-txaio/python3-txaio.info @@ -1,8 +1,8 @@ PRGNAM="python3-txaio" -VERSION="23.1.1" +VERSION="25.9.2" HOMEPAGE="https://pypi.python.org/pypi/txaio" -DOWNLOAD="https://pypi.python.org/packages/source/t/txaio/txaio-23.1.1.tar.gz" -MD5SUM="297409f2dff8e71bad24467374aa8775" +DOWNLOAD="https://pypi.python.org/packages/source/t/txaio/txaio-25.9.2.tar.gz" +MD5SUM="068c845a8f56b9b32ef4f963a5c4dfca" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-typeguard/python3-typeguard.SlackBuild b/python/python3-typeguard/python3-typeguard.SlackBuild index f1edba1331..8a592ffdfd 100644 --- a/python/python3-typeguard/python3-typeguard.SlackBuild +++ b/python/python3-typeguard/python3-typeguard.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-typeguard SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.4.2} +VERSION=${VERSION:-4.4.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-typeguard/python3-typeguard.info b/python/python3-typeguard/python3-typeguard.info index e6fb07a14a..5e1e26dcb9 100644 --- a/python/python3-typeguard/python3-typeguard.info +++ b/python/python3-typeguard/python3-typeguard.info @@ -1,8 +1,8 @@ PRGNAM="python3-typeguard" -VERSION="4.4.2" +VERSION="4.4.4" HOMEPAGE="https://github.com/agronholm/typeguard" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typeguard/typeguard-4.4.2.tar.gz" -MD5SUM="6d58b856f3abf75963afa1884fb57d37" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typeguard/typeguard-4.4.4.tar.gz" +MD5SUM="4f97177b802372a70bb571b2aff09313" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt" diff --git a/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild b/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild index d21a77655d..d42d073465 100644 --- a/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild +++ b/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-types-python-dateutil -VERSION=${VERSION:-2.9.0.20250516} +VERSION=${VERSION:-2.9.0.20251115} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-types-python-dateutil/python3-types-python-dateutil.info b/python/python3-types-python-dateutil/python3-types-python-dateutil.info index 84f255ca9a..7b11f4c494 100644 --- a/python/python3-types-python-dateutil/python3-types-python-dateutil.info +++ b/python/python3-types-python-dateutil/python3-types-python-dateutil.info @@ -1,8 +1,8 @@ PRGNAM="python3-types-python-dateutil" -VERSION="2.9.0.20250516" +VERSION="2.9.0.20251115" HOMEPAGE="https://pypi.org/project/types-python-dateutil" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/types_python_dateutil/types_python_dateutil-2.9.0.20250516.tar.gz" -MD5SUM="0cc8a409281296aba391797c227571bc" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/types_python_dateutil/types_python_dateutil-2.9.0.20251115.tar.gz" +MD5SUM="e55e57c4c0fc636b20f1ac3b48b49469" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-typing-extensions/python3-typing-extensions.SlackBuild b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild index a42ab55fbb..23c73ed59e 100644 --- a/python/python3-typing-extensions/python3-typing-extensions.SlackBuild +++ b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-typing-extensions SRCNAM=typing_extensions -VERSION=${VERSION:-4.13.2} +VERSION=${VERSION:-4.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-typing-extensions/python3-typing-extensions.info b/python/python3-typing-extensions/python3-typing-extensions.info index 2a07b2e941..c2b9fbee1c 100644 --- a/python/python3-typing-extensions/python3-typing-extensions.info +++ b/python/python3-typing-extensions/python3-typing-extensions.info @@ -1,8 +1,8 @@ PRGNAM="python3-typing-extensions" -VERSION="4.13.2" +VERSION="4.15.0" HOMEPAGE="https://pypi.org/project/typing-extensions/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-4.13.2.tar.gz" -MD5SUM="58226788d248cee8d6283ee616543975" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-4.15.0.tar.gz" +MD5SUM="079e529d0b271647f3ec2720aee8fc65" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/python3-typing-inspection/python3-typing-inspection.SlackBuild b/python/python3-typing-inspection/python3-typing-inspection.SlackBuild index 5d29950084..7267b72f9d 100644 --- a/python/python3-typing-inspection/python3-typing-inspection.SlackBuild +++ b/python/python3-typing-inspection/python3-typing-inspection.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-typing-inspection SRCNAM=typing_inspection -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-typing-inspection/python3-typing-inspection.info b/python/python3-typing-inspection/python3-typing-inspection.info index 46e5eeb7f1..6e11aae27b 100644 --- a/python/python3-typing-inspection/python3-typing-inspection.info +++ b/python/python3-typing-inspection/python3-typing-inspection.info @@ -1,8 +1,8 @@ PRGNAM="python3-typing-inspection" -VERSION="0.4.1" +VERSION="0.4.2" HOMEPAGE="https://github.com/pydantic/typing-inspection" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_inspection/typing_inspection-0.4.1.tar.gz" -MD5SUM="d451e03d8eac368f7af674f95db586f0" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_inspection/typing_inspection-0.4.2.tar.gz" +MD5SUM="9271faadd8476a3600e9cf9d428d812c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling python3-typing-extensions" diff --git a/python/python3-ufo2ft/python3-ufo2ft.SlackBuild b/python/python3-ufo2ft/python3-ufo2ft.SlackBuild index f35232ac07..3df7c540d0 100644 --- a/python/python3-ufo2ft/python3-ufo2ft.SlackBuild +++ b/python/python3-ufo2ft/python3-ufo2ft.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-ufo2ft -VERSION=${VERSION:-3.4.3} +VERSION=${VERSION:-3.6.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,8 @@ 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 CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/python3-ufo2ft/python3-ufo2ft.info b/python/python3-ufo2ft/python3-ufo2ft.info index 3290c186c0..323e9d9903 100644 --- a/python/python3-ufo2ft/python3-ufo2ft.info +++ b/python/python3-ufo2ft/python3-ufo2ft.info @@ -1,10 +1,10 @@ PRGNAM="python3-ufo2ft" -VERSION="3.4.3" +VERSION="3.6.8" HOMEPAGE="https://github.com/googlefonts/ufo2ft" -DOWNLOAD="https://pypi.io/packages/source/u/ufo2ft/ufo2ft-3.4.3.tar.gz" -MD5SUM="fad96b66af36973a160fccfbd5016113" +DOWNLOAD="https://pypi.io/packages/source/u/ufo2ft/ufo2ft-3.6.8.tar.gz" +MD5SUM="c463cc36bd1e6afc9210e152850b5de4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pytz python3-booleanOperations python3-defcon python3-fontMath python3-ufonormalizer python3-fontParts python3-fontPens python3-cffsubr python3-compreffor" +REQUIRES="python3-pytz python3-booleanOperations python3-defcon python3-fontMath python3-ufonormalizer python3-fontParts python3-fontPens python3-cffsubr python3-compreffor python3-setuptools-opt" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/python3-ufolib2/python3-ufolib2.SlackBuild b/python/python3-ufolib2/python3-ufolib2.SlackBuild index 36a9b9d4dd..29134c0e9d 100644 --- a/python/python3-ufolib2/python3-ufolib2.SlackBuild +++ b/python/python3-ufolib2/python3-ufolib2.SlackBuild @@ -31,13 +31,13 @@ # 21/08/2024: Sphinx is now an optional dependency # Bump the build no. # 18/02/2025: updated to version 0.17.1 - +# 11/09/2025: updated to version 0.18.1 # ---------------------------------------------------------------------- cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-ufolib2 -VERSION=${VERSION:-0.17.1} +VERSION=${VERSION:-0.18.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-ufolib2/python3-ufolib2.info b/python/python3-ufolib2/python3-ufolib2.info index 3059882e57..220109e68b 100644 --- a/python/python3-ufolib2/python3-ufolib2.info +++ b/python/python3-ufolib2/python3-ufolib2.info @@ -1,8 +1,8 @@ PRGNAM="python3-ufolib2" -VERSION="0.17.1" +VERSION="0.18.1" HOMEPAGE="https://github.com/fonttools/ufolib2" -DOWNLOAD="https://pypi.io/packages/source/u/ufoLib2/ufolib2-0.17.1.tar.gz" -MD5SUM="ee6b43f706c9004c794458ada7601bb2" +DOWNLOAD="https://pypi.io/packages/source/u/ufoLib2/ufolib2-0.18.1.tar.gz" +MD5SUM="666e3e853c9b57e866869fc1b5bb69db" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-cattrs python3-fonttools msgpack-python python3-setuptools-opt" diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild index 004cbb6c47..1cdf1fcd06 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild +++ b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild @@ -25,10 +25,8 @@ #---------------------------Changelog-----------------------------------------# # 10/06/2023: submitted to slackBuilds.org - # 08/12/2023: Upgraded to version 0.37.3 # Thanks to Nikos Glotis for testing this version - # 25/02/2024: Updated to version 0.39.0 # 24/05/2024: Updated to version 0.39.1 # 21/08/2024: Updated to version 0.39.3 @@ -36,13 +34,14 @@ # 11/10/2024: Updated to version 0.41.0 # 18/02/2025: updated to version 0.45.0 # 13/05/2025: updated to version 0.50.2 +# 12/09/2025: updated to version 0.51.4 #-------------------------------------------------------------------------------# cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-uharfbuzz -VERSION=${VERSION:-0.50.2} +VERSION=${VERSION:-0.51.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,9 +91,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -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:/opt/cython/python$PYVER/site-packages" diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.info b/python/python3-uharfbuzz/python3-uharfbuzz.info index d0d3070c40..69034b42b1 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.info +++ b/python/python3-uharfbuzz/python3-uharfbuzz.info @@ -1,8 +1,8 @@ PRGNAM="python3-uharfbuzz" -VERSION="0.50.2" +VERSION="0.51.4" HOMEPAGE="https://www.github.com/harfbuzz/uharfbuzz" -DOWNLOAD="https://files.pythonhosted.org/packages/42/43/2c63967f7cefe2729660a5637fd7c82964889604eeef633de9267c4cf392/uharfbuzz-0.50.2.tar.gz" -MD5SUM="c84a5a884799951e502f6b200f75d649" +DOWNLOAD="https://files.pythonhosted.org/packages/87/1e/1604cd63210fdfc88e376de4ce2e17b604722c1e041746ccfd342596342f/uharfbuzz-0.51.4.tar.gz" +MD5SUM="769305945ef6697265ded0cb28a6fe8b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel python3-pkgconfig python3-setuptools-scm-opt python3-cython-opt" diff --git a/python/python3-ujson/python3-ujson.SlackBuild b/python/python3-ujson/python3-ujson.SlackBuild index 0f9cec6577..29cc50fd3b 100644 --- a/python/python3-ujson/python3-ujson.SlackBuild +++ b/python/python3-ujson/python3-ujson.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-ujson -# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-ujson SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.10.0} +VERSION=${VERSION:-5.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-ujson/python3-ujson.info b/python/python3-ujson/python3-ujson.info index 4590e70c9b..6a523ff5dc 100644 --- a/python/python3-ujson/python3-ujson.info +++ b/python/python3-ujson/python3-ujson.info @@ -1,8 +1,8 @@ PRGNAM="python3-ujson" -VERSION="5.10.0" +VERSION="5.11.0" HOMEPAGE="https://github.com/ultrajson/ultrajson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/u/ujson/ujson-5.10.0.tar.gz" -MD5SUM="7e61ead11ccf121cf4b1c121ec444e49" +DOWNLOAD="https://files.pythonhosted.org/packages/source/u/ujson/ujson-5.11.0.tar.gz" +MD5SUM="dfe38201fc1cdbb6f9e0bdf135173a6a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-unearth/python3-unearth.SlackBuild b/python/python3-unearth/python3-unearth.SlackBuild index d6f93d98dd..1615734f20 100644 --- a/python/python3-unearth/python3-unearth.SlackBuild +++ b/python/python3-unearth/python3-unearth.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-unearth -VERSION=${VERSION:-0.17.5} +VERSION=${VERSION:-0.18.1} SRCNAM=${SRCNAM:-unearth} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-unearth/python3-unearth.info b/python/python3-unearth/python3-unearth.info index 284db8ccd3..059435093e 100644 --- a/python/python3-unearth/python3-unearth.info +++ b/python/python3-unearth/python3-unearth.info @@ -1,8 +1,8 @@ PRGNAM="python3-unearth" -VERSION="0.17.5" +VERSION="0.18.1" HOMEPAGE="https://github.com/frostming/unearth" -DOWNLOAD="https://github.com/frostming/unearth/archive/refs/tags/0.17.5/unearth-0.17.5.tar.gz" -MD5SUM="740e07aa82b270f7df711934631e1b91" +DOWNLOAD="https://github.com/frostming/unearth/archive/refs/tags/0.18.1/unearth-0.18.1.tar.gz" +MD5SUM="a57aefe805e378eaabc3d7ad2dca68b7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pdm-backend python3-httpx" diff --git a/python/python3-unpaddedbase64/README b/python/python3-unpaddedbase64/README new file mode 100644 index 0000000000..e384144ae5 --- /dev/null +++ b/python/python3-unpaddedbase64/README @@ -0,0 +1,5 @@ +Encode and decode Base64 without "=" padding. + +RFC 4648 specifies that Base64 should be padded to a multiple of +4 bytes using "=" characters. However many protocols choose to +omit the "=" padding. diff --git a/python/python3-unpaddedbase64/python3-unpaddedbase64.SlackBuild b/python/python3-unpaddedbase64/python3-unpaddedbase64.SlackBuild new file mode 100644 index 0000000000..8616cf74cf --- /dev/null +++ b/python/python3-unpaddedbase64/python3-unpaddedbase64.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for unpaddedbase64 + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-unpaddedbase64 +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=unpaddedbase64 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +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 README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-unpaddedbase64/python3-unpaddedbase64.info b/python/python3-unpaddedbase64/python3-unpaddedbase64.info new file mode 100644 index 0000000000..b77f8c733a --- /dev/null +++ b/python/python3-unpaddedbase64/python3-unpaddedbase64.info @@ -0,0 +1,10 @@ +PRGNAM="python3-unpaddedbase64" +VERSION="2.1.0" +HOMEPAGE="https://github.com/matrix-org/python-unpaddedbase64" +DOWNLOAD="https://files.pythonhosted.org/packages/source/u/unpaddedbase64/unpaddedbase64-2.1.0.tar.gz" +MD5SUM="df85a20cbb8bf365a14db3011e9a7c49" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core python3-build python3-wheel" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-unpaddedbase64/slack-desc b/python/python3-unpaddedbase64/slack-desc new file mode 100644 index 0000000000..5be2238bda --- /dev/null +++ b/python/python3-unpaddedbase64/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-unpaddedbase64: python3-unpaddedbase64 (Encode and decode Base64 without "=" padding) +python3-unpaddedbase64: +python3-unpaddedbase64: +python3-unpaddedbase64: Project URL: https://github.com/matrix-org/python-unpaddedbase64 +python3-unpaddedbase64: +python3-unpaddedbase64: +python3-unpaddedbase64: +python3-unpaddedbase64: +python3-unpaddedbase64: +python3-unpaddedbase64: +python3-unpaddedbase64: diff --git a/python/python3-uv_build/README b/python/python3-uv_build/README new file mode 100644 index 0000000000..c7fd00943b --- /dev/null +++ b/python/python3-uv_build/README @@ -0,0 +1,4 @@ +python3-uv_build (The uv build backend) + +This package is a slimmed down version of uv containing only the +build backend diff --git a/python/python3-uv_build/mkvendored.sh b/python/python3-uv_build/mkvendored.sh new file mode 100644 index 0000000000..c52093378e --- /dev/null +++ b/python/python3-uv_build/mkvendored.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# This is a wrapper script for cargo-mkvendored.sh which is +# included in the cargo-vendor-filterer slackbuild and needs to be +# installed. It is only needed if you are upgrading the version and +# need new vendored rust libs. +# +# create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz +# requires network access, but does not require root privilege. +# requires that $PRGNAM's REQUIRES need to be installed first + +if [ -f /usr/bin/cargo-mkvendored.sh ]; then + /usr/bin/cargo-mkvendored.sh +else + echo " ERROR: cargo-mkvendored.sh script is not available!! + ERROR: Install the cargo-vendor-filterer slackbuild." +fi diff --git a/python/python3-uv_build/python3-uv_build.SlackBuild b/python/python3-uv_build/python3-uv_build.SlackBuild new file mode 100644 index 0000000000..a90f65fb8a --- /dev/null +++ b/python/python3-uv_build/python3-uv_build.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for python3-uv_build + +# Copyright 2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-uv_build +SRCNAM=${PRGNAM#python3-*} +VERSION=${VERSION:-0.9.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +VSBUILD=${VSBUILD:-1} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i686 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +if [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z +tar xvf $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z +cd $SRCNAM-$VERSION +chown -R root:root . +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) + +# disable new feature in maturin that would install rust automagically +# to a temp dir if rust-opt is not installed +export MATURIN_NO_INSTALL_RUST=1 + +# prevent cargo from using the network. +# this only works because we have a vendored sources tarball with +# everything cargo would have downloaded. +export CARGO_NET_OFFLINE=true + +# prevent cargo from writing outside of $TMP +export CARGO_HOME=$(pwd)/.cargo + +export PATH="/opt/rust/bin:$PATH" +if [ -z "$LD_LIBRARY_PATH" ]; then + export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" +else + export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" +fi + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +# decided to not build the sdist to remove a bunch of warnings due to +# the stripped down source for uv_build +python3 -m build --wheel --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 LICENSE-* PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-uv_build/python3-uv_build.info b/python/python3-uv_build/python3-uv_build.info new file mode 100644 index 0000000000..204750d0f0 --- /dev/null +++ b/python/python3-uv_build/python3-uv_build.info @@ -0,0 +1,12 @@ +PRGNAM="python3-uv_build" +VERSION="0.9.13" +HOMEPAGE="https://docs.astral.sh/uv/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/u/uv_build/uv_build-0.9.13.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/uv_build-vendored-sources-0.9.13-1.tar.xz" +MD5SUM="683b38fa40e1a32b4cb78589390663c6 \ + 0aca511474f71e20f9c143a78cef8c1c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-maturin" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-uv_build/slack-desc b/python/python3-uv_build/slack-desc new file mode 100644 index 0000000000..8dd4aa93cc --- /dev/null +++ b/python/python3-uv_build/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-uv_build: python3-uv_build (The uv build backend) +python3-uv_build: +python3-uv_build: This package is a slimmed down version of uv containing only the +python3-uv_build: build backend +python3-uv_build: +python3-uv_build: Homepage: https://docs.astral.sh/uv/ +python3-uv_build: +python3-uv_build: +python3-uv_build: +python3-uv_build: +python3-uv_build: diff --git a/python/python3-virtualenv/python3-virtualenv.SlackBuild b/python/python3-virtualenv/python3-virtualenv.SlackBuild index 065645ab8a..35b0c59e80 100644 --- a/python/python3-virtualenv/python3-virtualenv.SlackBuild +++ b/python/python3-virtualenv/python3-virtualenv.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-virtualenv SRCNAM=virtualenv -VERSION=${VERSION:-20.31.2} +VERSION=${VERSION:-20.35.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-virtualenv/python3-virtualenv.info b/python/python3-virtualenv/python3-virtualenv.info index f33e183e28..62538d0c1c 100644 --- a/python/python3-virtualenv/python3-virtualenv.info +++ b/python/python3-virtualenv/python3-virtualenv.info @@ -1,8 +1,8 @@ PRGNAM="python3-virtualenv" -VERSION="20.31.2" +VERSION="20.35.4" HOMEPAGE="https://virtualenv.pypa.io/" -DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.31.2/virtualenv-20.31.2.tar.gz" -MD5SUM="e655f1cfd827e1b659496dc0d171876f" +DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.35.4/virtualenv-20.35.4.tar.gz" +MD5SUM="925235b3a4ea0f2e8b0a326c30e668b4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt python3-distlib python3-filelock python3-platformdirs" diff --git a/python/python3-wcwidth/python3-wcwidth.SlackBuild b/python/python3-wcwidth/python3-wcwidth.SlackBuild index 9b2ec4123c..a013f5fdce 100644 --- a/python/python3-wcwidth/python3-wcwidth.SlackBuild +++ b/python/python3-wcwidth/python3-wcwidth.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-wcwidth -VERSION=${VERSION:-0.2.13} +VERSION=${VERSION:-0.2.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-wcwidth/python3-wcwidth.info b/python/python3-wcwidth/python3-wcwidth.info index 5cd64337ce..a8a335dfa0 100644 --- a/python/python3-wcwidth/python3-wcwidth.info +++ b/python/python3-wcwidth/python3-wcwidth.info @@ -1,8 +1,8 @@ PRGNAM="python3-wcwidth" -VERSION="0.2.13" +VERSION="0.2.14" HOMEPAGE="https://github.com/jquast/wcwidth" -DOWNLOAD="https://files.pythonhosted.org/packages/source/w/wcwidth/wcwidth-0.2.13.tar.gz" -MD5SUM="5ce8dd9e6993dae268142feb1e605cd8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/w/wcwidth/wcwidth-0.2.14.tar.gz" +MD5SUM="c179ab1aff6e3b48ac9617cf19f580d4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-webcolors/README b/python/python3-webcolors/README index 5dcea6b62c..4e114515e4 100644 --- a/python/python3-webcolors/README +++ b/python/python3-webcolors/README @@ -1 +1,4 @@ webcolors is a module for working with HTML/CSS color definitions. + +python3-webcolors 24.11.1 is the last available version for Slackware +15.0. Later versions require Python >= 3.10. diff --git a/python/python3-websocket-client/python3-websocket-client.SlackBuild b/python/python3-websocket-client/python3-websocket-client.SlackBuild index 43619dfd8f..b8ab6d4835 100644 --- a/python/python3-websocket-client/python3-websocket-client.SlackBuild +++ b/python/python3-websocket-client/python3-websocket-client.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-websocket-client -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-websocket-client SRCNAM=websocket_client -VERSION=${VERSION:-1.8.0} +VERSION=${VERSION:-1.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,11 +57,9 @@ 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 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +find . ! -type l -a \ + \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) python3 setup.py install --root=$PKG diff --git a/python/python3-websocket-client/python3-websocket-client.info b/python/python3-websocket-client/python3-websocket-client.info index 440327bb85..ab8df0edbb 100644 --- a/python/python3-websocket-client/python3-websocket-client.info +++ b/python/python3-websocket-client/python3-websocket-client.info @@ -1,8 +1,8 @@ PRGNAM="python3-websocket-client" -VERSION="1.8.0" +VERSION="1.9.0" HOMEPAGE="https://github.com/websocket-client/websocket-client/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-1.8.0.tar.gz" -MD5SUM="9cffbda9eefb0a17e9c4cda3b7884493" +DOWNLOAD="https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-1.9.0.tar.gz" +MD5SUM="3e6fd932858e9123d6ef5161e9ce7c46" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-x-wr-timezone/README b/python/python3-x-wr-timezone/README new file mode 100644 index 0000000000..99a53683fa --- /dev/null +++ b/python/python3-x-wr-timezone/README @@ -0,0 +1,10 @@ +python3-x-wr-timezone (Handling of X-WR-TIMEZONE icalendar property) + +Some calendar providers introduce the non-standard X-WR-TIMEZONE +parameter to ICS calendar files. Strict interpretations according to +RFC 5545 ignore the X-WR-TIMEZONE parameter. This causes the times +of the events to differ from those which make use of X-WR-TIMEZONE. + +This module aims to bridge the gap by converting calendars using +X-WR-TIMEZONE to a strict RFC 5545 calendars. So, let's put our +heads together and solve this problem for everyone! diff --git a/python/python3-x-wr-timezone/python3-x-wr-timezone.SlackBuild b/python/python3-x-wr-timezone/python3-x-wr-timezone.SlackBuild new file mode 100644 index 0000000000..f63d4b3f87 --- /dev/null +++ b/python/python3-x-wr-timezone/python3-x-wr-timezone.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-x-wr-timezone + +# Copyright 2024-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-x-wr-timezone +VERSION=${VERSION:-2.0.1} +SRCNAM=${SRCNAM:-x-wr-timezone} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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 + +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 \ + LICENSE README.rst example.sh \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-x-wr-timezone/python3-x-wr-timezone.info b/python/python3-x-wr-timezone/python3-x-wr-timezone.info new file mode 100644 index 0000000000..49009e7d50 --- /dev/null +++ b/python/python3-x-wr-timezone/python3-x-wr-timezone.info @@ -0,0 +1,10 @@ +PRGNAM="python3-x-wr-timezone" +VERSION="2.0.1" +HOMEPAGE="https://pypi.org/project/x-wr-timezone/" +DOWNLOAD="https://github.com/niccokunzmann/x-wr-timezone/archive/refs/tags/v2.0.1/x-wr-timezone-2.0.1.tar.gz" +MD5SUM="e2828537ba734566d92ef8530d9b9c39" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-icalendar python3-pytz tzdata click" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-x-wr-timezone/slack-desc b/python/python3-x-wr-timezone/slack-desc new file mode 100644 index 0000000000..8417301895 --- /dev/null +++ b/python/python3-x-wr-timezone/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-x-wr-timezone: python3-x-wr-timezone (Handling of X-WR-TIMEZONE icalendar property) +python3-x-wr-timezone: +python3-x-wr-timezone: Some calendar providers introduce the non-standard X-WR-TIMEZONE +python3-x-wr-timezone: parameter to ICS calendar files. Strict interpretations according to +python3-x-wr-timezone: RFC 5545 ignore the X-WR-TIMEZONE parameter. This causes the times +python3-x-wr-timezone: of the events to differ from those which make use of X-WR-TIMEZONE. +python3-x-wr-timezone: +python3-x-wr-timezone: This module aims to bridge the gap by converting calendars using +python3-x-wr-timezone: X-WR-TIMEZONE to a strict RFC 5545 calendars. So, let's put our +python3-x-wr-timezone: heads together and solve this problem for everyone! +python3-x-wr-timezone: diff --git a/python/python3-xapp/README b/python/python3-xapp/README index dddf6108cb..6fca82b893 100644 --- a/python/python3-xapp/README +++ b/python/python3-xapp/README @@ -1 +1 @@ -This package provides Python 3 Xapp Library +This package provides the Python3 Xapp Library. diff --git a/python/python3-xapp/python3-xapp.SlackBuild b/python/python3-xapp/python3-xapp.SlackBuild index 97036a7f44..1a718e7e4d 100644 --- a/python/python3-xapp/python3-xapp.SlackBuild +++ b/python/python3-xapp/python3-xapp.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for python3-xapp -# Copyright 2025 Olivier Brouckaert <olivier.b@i-services.be> # Copyright 2021 Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Copyright 2025 Olivier Brouckaert <olivier.b@i-services.be> +# Copyright 2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,10 +27,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xapp -VERSION=${VERSION:-2.2.2} +VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} + ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then @@ -49,16 +51,24 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION - chown -R root:root . - find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -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 +mkdir -p build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib${LIBDIRSUFFIX} + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. 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 @@ -66,8 +76,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/python3-xapp/python3-xapp.info b/python/python3-xapp/python3-xapp.info index 394bc38a84..64cd81f263 100644 --- a/python/python3-xapp/python3-xapp.info +++ b/python/python3-xapp/python3-xapp.info @@ -1,10 +1,10 @@ PRGNAM="python3-xapp" -VERSION="2.2.2" +VERSION="3.0.1" HOMEPAGE="https://github.com/linuxmint/python3-xapp" -DOWNLOAD="https://github.com/linuxmint/python3-xapp/archive/2.2.2/python3-xapp-2.2.2.tar.gz" -MD5SUM="1456017fc8030a5e2e66d3fc0f18f605" +DOWNLOAD="https://github.com/linuxmint/python3-xapp/archive/3.0.1/python3-xapp-3.0.1.tar.gz" +MD5SUM="34678fbf9350ded35f94e26769f9f4b1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Olivier Brouckaert" -EMAIL="olivier.b@i-services.be" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-xapp/slack-desc b/python/python3-xapp/slack-desc index 17726f3cc2..03285ecc56 100644 --- a/python/python3-xapp/slack-desc +++ b/python/python3-xapp/slack-desc @@ -6,9 +6,9 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -python3-xapp: python3-xapp (Python 3 Xapp Library) +python3-xapp: python3-xapp (Python3 Xapp Library) python3-xapp: -python3-xapp: This package provides Python 3 Xapp Library +python3-xapp: This package provides the Python3 Xapp Library. python3-xapp: python3-xapp: Homepage: https://github.com/linuxmint/python3-xapp python3-xapp: diff --git a/python/python3-xcffib/python3-xcffib.SlackBuild b/python/python3-xcffib/python3-xcffib.SlackBuild index 6ee30a6a1d..9b39431d73 100644 --- a/python/python3-xcffib/python3-xcffib.SlackBuild +++ b/python/python3-xcffib/python3-xcffib.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xcffib SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) -VERSION=${VERSION:-1.9.0} +VERSION=${VERSION:-1.11.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,13 +64,17 @@ 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 +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 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 README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-xcffib/python3-xcffib.info b/python/python3-xcffib/python3-xcffib.info index 6a553ade78..64e116fa8c 100644 --- a/python/python3-xcffib/python3-xcffib.info +++ b/python/python3-xcffib/python3-xcffib.info @@ -1,10 +1,10 @@ PRGNAM="python3-xcffib" -VERSION="1.9.0" +VERSION="1.11.2" HOMEPAGE="https://github.com/tych0/xcffib" -DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-1.9.0.tar.gz" -MD5SUM="0187eb606fa03d209aea76d890e5e169" +DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-1.11.2.tar.gz" +MD5SUM="bdd7ecc1792cb66deff7b10230ca9ffa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-xdg-base-dirs/python3-xdg-base-dirs.SlackBuild b/python/python3-xdg-base-dirs/python3-xdg-base-dirs.SlackBuild index 73ea9f8fd0..9bc053cfd0 100644 --- a/python/python3-xdg-base-dirs/python3-xdg-base-dirs.SlackBuild +++ b/python/python3-xdg-base-dirs/python3-xdg-base-dirs.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xdg-base-dirs -VERSION=${VERSION:-6.0.1} +VERSION=${VERSION:-6.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-xdg-base-dirs/python3-xdg-base-dirs.info b/python/python3-xdg-base-dirs/python3-xdg-base-dirs.info index b61b9d1b17..555ab83138 100644 --- a/python/python3-xdg-base-dirs/python3-xdg-base-dirs.info +++ b/python/python3-xdg-base-dirs/python3-xdg-base-dirs.info @@ -1,8 +1,8 @@ PRGNAM="python3-xdg-base-dirs" -VERSION="6.0.1" +VERSION="6.0.2" HOMEPAGE="https://github.com/srstevenson/xdg-base-dirs" -DOWNLOAD="https://files.pythonhosted.org/packages/98/58/bf6650c4eba25375f923703b645f8b245ecee75c722ded29189d8b515167/xdg_base_dirs-6.0.1.tar.gz" -MD5SUM="e9b48a222ec378b54948708255b207c8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xdg-base-dirs/xdg_base_dirs-6.0.2.tar.gz" +MD5SUM="765ee006d59cc023b28a36505ebcd9d4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-wheel python3-poetry-core" diff --git a/python/python3-xdg/README b/python/python3-xdg/README deleted file mode 100644 index e54ecc56fd..0000000000 --- a/python/python3-xdg/README +++ /dev/null @@ -1,6 +0,0 @@ -xdg is a Python module that provides functions to return -paths to the directories defined by the XDG Base Directory -Specification, to save you from duplicating the same snippet -of logic in every Python utility you write that deals with -user cache, configuration, or data files. It has no external -dependencies. diff --git a/python/python3-xdg/python3-xdg.info b/python/python3-xdg/python3-xdg.info deleted file mode 100644 index c8105785c3..0000000000 --- a/python/python3-xdg/python3-xdg.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-xdg" -VERSION="5.1.1" -HOMEPAGE="https://github.com/srstevenson/xdg" -DOWNLOAD="https://files.pythonhosted.org/packages/33/fe/67bc1f8ee2782bca3cdc63558a64f843bb9f88e15793475350809fbd8e01/xdg-5.1.1.tar.gz" -MD5SUM="506c4f123a373ccf1a54e1ac328fd7b3" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Tonus" -EMAIL="tonus1@free.fr" diff --git a/python/python3-xkbcommon/README b/python/python3-xkbcommon/README deleted file mode 100644 index 1087e58619..0000000000 --- a/python/python3-xkbcommon/README +++ /dev/null @@ -1 +0,0 @@ -Python bindings for libxkbcommon using cffi. diff --git a/python/python3-xkbcommon/python3-xkbcommon.info b/python/python3-xkbcommon/python3-xkbcommon.info deleted file mode 100644 index e2336f0791..0000000000 --- a/python/python3-xkbcommon/python3-xkbcommon.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-xkbcommon" -VERSION="1.0.1" -HOMEPAGE="https://github.com/sde1000/python-xkbcommon" -DOWNLOAD="https://github.com/sde1000/python-xkbcommon/archive/v1.0.1/python-xkbcommon-1.0.1.tar.gz" -MD5SUM="d5272f363f60de56ae71cc16111b7f47" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-xmltodict/python3-xmltodict.SlackBuild b/python/python3-xmltodict/python3-xmltodict.SlackBuild index 7e010b586d..db2047c26d 100644 --- a/python/python3-xmltodict/python3-xmltodict.SlackBuild +++ b/python/python3-xmltodict/python3-xmltodict.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-xmltodict -# Copyright 2023-2024 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2025 Jeremy Hansen jebrhansen+SBo@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xmltodict -VERSION=${VERSION:-0.14.2} +VERSION=${VERSION:-1.0.2} SRCNAM=${SRCNAM:-xmltodict} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,7 +62,13 @@ 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 +# Use newer, non-stock setuptools due to package requirements +# Requres python/python3-setuptools-opt build-time dependency +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$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 diff --git a/python/python3-xmltodict/python3-xmltodict.info b/python/python3-xmltodict/python3-xmltodict.info index 5ae9a03785..e3d2051ca1 100644 --- a/python/python3-xmltodict/python3-xmltodict.info +++ b/python/python3-xmltodict/python3-xmltodict.info @@ -1,10 +1,10 @@ PRGNAM="python3-xmltodict" -VERSION="0.14.2" +VERSION="1.0.2" HOMEPAGE="https://github.com/martinblech/xmltodict" -DOWNLOAD="https://github.com/martinblech/xmltodict/archive/refs/tags/v0.14.2/xmltodict-0.14.2.tar.gz" -MD5SUM="7652f4a22574286669ff961ed3748201" +DOWNLOAD="https://github.com/martinblech/xmltodict/archive/refs/tags/v1.0.2/xmltodict-1.0.2.tar.gz" +MD5SUM="173017fd3346b61b0cbdeee0805e371a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-yarl/python3-yarl.SlackBuild b/python/python3-yarl/python3-yarl.SlackBuild index 341a1c266a..b59d35b080 100644 --- a/python/python3-yarl/python3-yarl.SlackBuild +++ b/python/python3-yarl/python3-yarl.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-yarl -VERSION=${VERSION:-1.20.0} +VERSION=${VERSION:-1.22.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-yarl/python3-yarl.info b/python/python3-yarl/python3-yarl.info index 7a05f202fd..e44feedc90 100644 --- a/python/python3-yarl/python3-yarl.info +++ b/python/python3-yarl/python3-yarl.info @@ -1,8 +1,8 @@ PRGNAM="python3-yarl" -VERSION="1.20.0" +VERSION="1.22.0" HOMEPAGE="https://yarl.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.20.0/yarl-1.20.0.tar.gz" -MD5SUM="83175a056c95e055a44627d998f3d84d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/y/yarl/yarl-1.22.0.tar.gz" +MD5SUM="21bde2ca6df9bfc66b1810461e0ded05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-expandvars python3-multidict python3-typing-extensions python3-propcache python3-cython-opt" diff --git a/python/python3-zdaemon/python3-zdaemon.SlackBuild b/python/python3-zdaemon/python3-zdaemon.SlackBuild index 963c0e6bb7..25ae501233 100644 --- a/python/python3-zdaemon/python3-zdaemon.SlackBuild +++ b/python/python3-zdaemon/python3-zdaemon.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-zdaemon SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.2} +VERSION=${VERSION:-5.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-zdaemon/python3-zdaemon.info b/python/python3-zdaemon/python3-zdaemon.info index 59a4394088..d5285b626e 100644 --- a/python/python3-zdaemon/python3-zdaemon.info +++ b/python/python3-zdaemon/python3-zdaemon.info @@ -1,8 +1,8 @@ PRGNAM="python3-zdaemon" -VERSION="5.2" +VERSION="5.2.1" HOMEPAGE="https://github.com/zopefoundation/zdaemon" -DOWNLOAD="https://pypi.python.org/packages/source/z/zdaemon/zdaemon-5.2.tar.gz" -MD5SUM="cb32207557d686ee19e0aa287e3a5d95" +DOWNLOAD="https://pypi.python.org/packages/source/z/zdaemon/zdaemon-5.2.1.tar.gz" +MD5SUM="85d1eb4bc7582270a2c226b6d2dc7cdc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-ZConfig" diff --git a/python/python3-zeroconf/README b/python/python3-zeroconf/README new file mode 100644 index 0000000000..6520080225 --- /dev/null +++ b/python/python3-zeroconf/README @@ -0,0 +1,2 @@ +This is an implementation of the multicast DNS Service Discover Library +zeroconf in pure Python. diff --git a/python/python3-zeroconf/python3-zeroconf.SlackBuild b/python/python3-zeroconf/python3-zeroconf.SlackBuild new file mode 100644 index 0000000000..1a0bd5bcaf --- /dev/null +++ b/python/python3-zeroconf/python3-zeroconf.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# SlackBuild build script for python3-zeroconf + +# Copyright 2025 Isaac Yu <isaacyu@protonmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-zeroconf +VERSION=${VERSION:-0.148.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=python-zeroconf + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -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:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" + +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 CHANGELOG.md COPYING README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-zeroconf/python3-zeroconf.info b/python/python3-zeroconf/python3-zeroconf.info new file mode 100644 index 0000000000..09e1333c87 --- /dev/null +++ b/python/python3-zeroconf/python3-zeroconf.info @@ -0,0 +1,10 @@ +PRGNAM="python3-zeroconf" +VERSION="0.148.0" +HOMEPAGE="https://github.com/python-zeroconf/python-zeroconf" +DOWNLOAD="https://github.com/python-zeroconf/python-zeroconf/archive/0.148.0/python-zeroconf-0.148.0.tar.gz" +MD5SUM="569b21cb301815c5ebda8f41b4bdbd30" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-ifaddr python3-cython-opt python3-setuptools-opt python3-poetry-core" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-zeroconf/slack-desc b/python/python3-zeroconf/slack-desc new file mode 100644 index 0000000000..1651dedff2 --- /dev/null +++ b/python/python3-zeroconf/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-zeroconf: python3-zeroconf (Pure Python implementation of zeroconf) +python3-zeroconf: +python3-zeroconf: This is an implementation of the multicast DNS Service Discover +python3-zeroconf: Library zeroconf in pure Python. +python3-zeroconf: +python3-zeroconf: +python3-zeroconf: +python3-zeroconf: +python3-zeroconf: +python3-zeroconf: +python3-zeroconf: diff --git a/python/python3-zstandard/README b/python/python3-zstandard/README new file mode 100644 index 0000000000..104d47a40c --- /dev/null +++ b/python/python3-zstandard/README @@ -0,0 +1,9 @@ +This project provides Python bindings for interfacing with the +Zstandard compression library. A C extension and CFFI interface +are provided. + +The primary goal of the project is to provide a rich interface +to the underlying C API through a Pythonic interface while not +sacrificing performance. This means exposing most of the features +and flexibility of the C API while not sacrificing usability or +safety that Python provides. diff --git a/python/python3-zstandard/python3-zstandard.SlackBuild b/python/python3-zstandard/python3-zstandard.SlackBuild new file mode 100644 index 0000000000..fca201a9b6 --- /dev/null +++ b/python/python3-zstandard/python3-zstandard.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# Slackware build script for python3-zstandard + +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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-zstandard +VERSION=${VERSION:-0.25.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +# _PRGNAM=python-zstandard + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) echo "Architecture is supported, but not by this script. Modify it!"; exit 1 ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +set -e +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +# Temprarly use prebuild whl files instead of source. fix me! +# rm -rf $PRGNAM-$VERSION +# tar xvf $CWD/${_PRGNAM}-$VERSION.tar.gz +# mv ${_PRGNAM}-$VERSION $PRGNAM-$VERSION +# cd $PRGNAM-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +if [ "$ARCH" = "x86_64" ]; then + python3 -m installer --destdir "$PKG" "$CWD/zstandard-0.25.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +else + python3 -m installer --destdir "$PKG" "$CWD/zstandard-0.25.0-cp39-cp39-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl" +fi + +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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/python3-zstandard/python3-zstandard.info b/python/python3-zstandard/python3-zstandard.info new file mode 100644 index 0000000000..a2679b1826 --- /dev/null +++ b/python/python3-zstandard/python3-zstandard.info @@ -0,0 +1,10 @@ +PRGNAM="python3-zstandard" +VERSION="0.25.0" +HOMEPAGE="https://github.com/rspeer/zstandard" +DOWNLOAD="https://github.com/indygreg/python-zstandard/releases/download/0.25.0/zstandard-0.25.0-cp39-cp39-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl" +MD5SUM="fde3b8632af85cd47767022fa2e42a13" +DOWNLOAD_x86_64="https://github.com/indygreg/python-zstandard/releases/download/0.25.0/zstandard-0.25.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +MD5SUM_x86_64="2e2829158b73ed8baedce1ab56df870c" +REQUIRES="python3-installer" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-xkbcommon/slack-desc b/python/python3-zstandard/slack-desc index 883864b738..f32adf83d5 100644 --- a/python/python3-xkbcommon/slack-desc +++ b/python/python3-zstandard/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -python3-xkbcommon: python3-xkbcommon (Python bindings for libxkbcommon using cffi) -python3-xkbcommon: -python3-xkbcommon: Python bindings for libxkbcommon using cffi. -python3-xkbcommon: -python3-xkbcommon: -python3-xkbcommon: -python3-xkbcommon: -python3-xkbcommon: -python3-xkbcommon: -python3-xkbcommon: -python3-xkbcommon: +python3-zstandard: python3-zstandard (Python3 bindings for Zstandard library) +python3-zstandard: +python3-zstandard: Python bindings for interfacing with the Zstandard compression +python3-zstandard: library. +python3-zstandard: A C extension and CFFI interface are provided. +python3-zstandard: +python3-zstandard: +python3-zstandard: +python3-zstandard: +python3-zstandard: +python3-zstandard: diff --git a/python/python3-zxcvbn-python/README b/python/python3-zxcvbn-python/README deleted file mode 100644 index 69a5d2f5f1..0000000000 --- a/python/python3-zxcvbn-python/README +++ /dev/null @@ -1,8 +0,0 @@ -Python implementation of Dropbox's realistic password strength -estimator. - -Note: - This is the last version with the module name "zxcvbn-python". - -"binary" renamed to zxcvbn-python - -(use python3-zxcvbn slackbuild if "zxcvbn" is required) - -will be removed once it's no longer a dependency for anything diff --git a/python/python3-zxcvbn-python/python3-zxcvbn-python.info b/python/python3-zxcvbn-python/python3-zxcvbn-python.info deleted file mode 100644 index b13a5cd60e..0000000000 --- a/python/python3-zxcvbn-python/python3-zxcvbn-python.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-zxcvbn-python" -VERSION="4.4.24" -HOMEPAGE="https://github.com/dwolfhub/zxcvbn-python" -DOWNLOAD="https://files.pythonhosted.org/packages/source/z/zxcvbn-python/zxcvbn-python-4.4.24.tar.gz" -MD5SUM="a056d64bcd46f21b0ac945ac29f9f325" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="fourtysixandtwo" -EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-zxcvbn-python/slack-desc b/python/python3-zxcvbn-python/slack-desc deleted file mode 100644 index f9bb74d6e6..0000000000 --- a/python/python3-zxcvbn-python/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-zxcvbn-python: python3-zxcvbn-python (Dropbox's Python password strength estimator) -python3-zxcvbn-python: -python3-zxcvbn-python: Python implementation of Dropbox's realistic password strength -python3-zxcvbn-python: estimator. -python3-zxcvbn-python: -python3-zxcvbn-python: Homepage: https://github.com/dwolfhub/zxcvbn-python -python3-zxcvbn-python: -python3-zxcvbn-python: -python3-zxcvbn-python: -python3-zxcvbn-python: -python3-zxcvbn-python: diff --git a/python/ruff-bin/README b/python/ruff-bin/README new file mode 100644 index 0000000000..b5298de99c --- /dev/null +++ b/python/ruff-bin/README @@ -0,0 +1 @@ +An extremely fast Python linter and code formatter, written in Rust. diff --git a/python/mnemonic/mnemonic.SlackBuild b/python/ruff-bin/ruff-bin.SlackBuild index e9c62965d5..353359ffc3 100644 --- a/python/mnemonic/mnemonic.SlackBuild +++ b/python/ruff-bin/ruff-bin.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for mnemonic +# Slackware build script for ruff-bin -# Copyright (c) 2016 Reedych <reedych@reedych.pw> +# Copyright 2025 Nicholas B. Hubbard <nicholashubbard@posteo.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,9 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=mnemonic -VERSION=${VERSION:-0.15} +PRGNAM=ruff-bin +SRCNAM=ruff +VERSION=${VERSION:-0.12.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -51,17 +49,17 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" + SRCARCH=i686-unknown-linux-gnu elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" + SRCARCH=i686-unknown-linux-gnu elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" + SRCARCH=x86_64-unknown-linux-gnu +elif [ "$ARCH" = "aarch64" ]; then + SRCARCH=aarch64-unknown-linux-gnu +elif [ "$ARCH" = "arm" ]; then + SRCARCH=armv7-unknown-linux-gnueabihf else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + SRCARCH=i686-unknown-linux-gnu fi set -e @@ -69,9 +67,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-$SRCARCH +tar xvf $CWD/$SRCNAM-$SRCARCH.tar.gz +cd $SRCNAM-$SRCARCH chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,13 +77,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 {} \; -python setup.py install --root=$PKG +mkdir -p $PKG/usr/bin +cp ruff $PKG/usr/bin/ +# Strip binaries and libraries. 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 README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/ruff-bin/ruff-bin.info b/python/ruff-bin/ruff-bin.info new file mode 100644 index 0000000000..ac2ed5866e --- /dev/null +++ b/python/ruff-bin/ruff-bin.info @@ -0,0 +1,10 @@ +PRGNAM="ruff-bin" +VERSION="0.12.10" +HOMEPAGE="https://github.com/astral-sh/ruff" +DOWNLOAD="https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-i686-unknown-linux-gnu.tar.gz" +MD5SUM="c51a874ef40f9c0694b75546598e856a" +DOWNLOAD_x86_64="https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-x86_64-unknown-linux-gnu.tar.gz" +MD5SUM_x86_64="9b24e4ca3f1ddba4b88d648e4c6a2583" +REQUIRES="" +MAINTAINER="Nicholas B. Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/python/mnemonic/slack-desc b/python/ruff-bin/slack-desc index 21bd74df94..277a74bcbe 100644 --- a/python/mnemonic/slack-desc +++ b/python/ruff-bin/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -mnemonic: mnemonic (reference implementation of BIP-0039) -mnemonic: -mnemonic: This BIP describes the implementation of a mnemonic code or -mnemonic: mnemonic sentence -- a group of easy to remember words -- -mnemonic: for the generation of deterministic wallets. -mnemonic: -mnemonic: -mnemonic: -mnemonic: -mnemonic: -mnemonic: +ruff-bin: ruff-bin (Python linter and code formatter) +ruff-bin: +ruff-bin: An extremely fast Python linter and code formatter, written in Rust. +ruff-bin: +ruff-bin: +ruff-bin: +ruff-bin: +ruff-bin: +ruff-bin: Project URL: https://github.com/astral-sh/ruff +ruff-bin: +ruff-bin: diff --git a/python/sounddevice/sounddevice.SlackBuild b/python/sounddevice/sounddevice.SlackBuild index 4d4471430d..1f4fb11fc9 100644 --- a/python/sounddevice/sounddevice.SlackBuild +++ b/python/sounddevice/sounddevice.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sounddevice -# Copyright 2022 Vijay Marcel +# Copyright 2022-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,10 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sounddevice -VERSION=${VERSION:-0.4.5} +VERSION=${VERSION:-0.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=${SRCNAM:-python-sounddevice} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -51,13 +49,13 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" @@ -70,23 +68,23 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ER 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 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 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 + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst CONTRIBUTING.rst NEWS.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION cp -r doc examples $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/sounddevice/sounddevice.info b/python/sounddevice/sounddevice.info index aafb64d5cb..5bbd98abc0 100644 --- a/python/sounddevice/sounddevice.info +++ b/python/sounddevice/sounddevice.info @@ -1,8 +1,8 @@ PRGNAM="sounddevice" -VERSION="0.4.5" +VERSION="0.5.2" HOMEPAGE="https://github.com/spatialaudio/python-sounddevice/" -DOWNLOAD="https://pypi.io/packages/source/s/sounddevice/sounddevice-0.4.5.tar.gz" -MD5SUM="c69ca6a509d0f57a4d446a7639edfe6a" +DOWNLOAD="https://github.com/spatialaudio/python-sounddevice/archive/0.5.2/python-sounddevice-0.5.2.tar.gz" +MD5SUM="bcdf331a93c27bdc8a5d1fb56b6d52e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="portaudio cffi" diff --git a/python/sphinx-autobuild/sphinx-autobuild.SlackBuild b/python/sphinx-autobuild/sphinx-autobuild.SlackBuild index 81ee1c27f3..aeef971067 100644 --- a/python/sphinx-autobuild/sphinx-autobuild.SlackBuild +++ b/python/sphinx-autobuild/sphinx-autobuild.SlackBuild @@ -25,7 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinx-autobuild -VERSION=${VERSION:-2021.3.14} +SRCNAM=sphinx_autobuild +VERSION=${VERSION:-2024.10.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,28 +51,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - 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 \ @@ -79,13 +66,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 LICENSE AUTHORS CONTRIBUTING.md NEWS.rst README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.rst AUTHORS.rst NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/sphinx-autobuild/sphinx-autobuild.info b/python/sphinx-autobuild/sphinx-autobuild.info index 60ca0847be..801bc7b989 100644 --- a/python/sphinx-autobuild/sphinx-autobuild.info +++ b/python/sphinx-autobuild/sphinx-autobuild.info @@ -1,10 +1,10 @@ PRGNAM="sphinx-autobuild" -VERSION="2021.3.14" +VERSION="2024.10.3" HOMEPAGE="https://github.com/executablebooks/sphinx-autobuild" -DOWNLOAD="https://files.pythonhosted.org/packages/df/a5/2ed1b81e398bc14533743be41bf0ceaa49d671675f131c4d9ce74897c9c1/sphinx-autobuild-2021.3.14.tar.gz" -MD5SUM="6d94d37f8cdd5a5e2ed76e15cf6c0913" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinx_autobuild/sphinx_autobuild-2024.10.3.tar.gz" +MD5SUM="f2e25fcd546f9135f7104bb0d269ea83" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-build python3-wheel" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" diff --git a/python/subliminal/README b/python/subliminal/README index 892610e11b..2c7263283f 100644 --- a/python/subliminal/README +++ b/python/subliminal/README @@ -1,5 +1,5 @@ subliminal (Subtitles, faster than your thoughts) -Subliminal is a python 2.7+ library to search and download -subtitles. It comes with an easy to use yet powerful CLI suitable -for direct use or cron jobs. +Subliminal is a python library to search and download subtitles. It +comes with an easy to use yet powerful CLI suitable for direct use or +cron jobs. diff --git a/python/subliminal/slack-desc b/python/subliminal/slack-desc index 6f34e8f708..254fcaf8af 100644 --- a/python/subliminal/slack-desc +++ b/python/subliminal/slack-desc @@ -8,9 +8,9 @@ |-----handy-ruler------------------------------------------------------| subliminal: subliminal (Subtitles, faster than your thoughts) subliminal: -subliminal: Subliminal is a python 2.7+ library to search and download -subliminal: subtitles. It comes with an easy to use yet powerful CLI suitable -subliminal: for direct use or cron jobs. +subliminal: Subliminal is a python library to search and download subtitles. It +subliminal: comes with an easy to use yet powerful CLI suitable for direct use or +subliminal: cron jobs. subliminal: subliminal: HOMEPAGE: http://subliminal.readthedocs.org/ subliminal: diff --git a/python/subliminal/subliminal.SlackBuild b/python/subliminal/subliminal.SlackBuild index 7a668ad569..95a579f85a 100644 --- a/python/subliminal/subliminal.SlackBuild +++ b/python/subliminal/subliminal.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=subliminal -VERSION=${VERSION:-2.3.2} +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/subliminal/subliminal.info b/python/subliminal/subliminal.info index 37b076b443..797ed11166 100644 --- a/python/subliminal/subliminal.info +++ b/python/subliminal/subliminal.info @@ -1,8 +1,8 @@ PRGNAM="subliminal" -VERSION="2.3.2" +VERSION="2.4.0" HOMEPAGE="http://subliminal.readthedocs.org/" -DOWNLOAD="https://github.com/Diaoul/subliminal/archive/refs/tags/2.3.2/subliminal-2.3.2.tar.gz" -MD5SUM="1fd3c720b6cd0a06861b2abfecc18495" +DOWNLOAD="https://github.com/Diaoul/subliminal/archive/refs/tags/2.4.0/subliminal-2.4.0.tar.gz" +MD5SUM="a1109de0540734fbad97bcf9fbf7065f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-guessit python3-knowit BeautifulSoup4 python3-dogpile.cache python3-srt rarfile python3-setuptools-opt python3-platformdirs python3-click-option-group python3-pysubs2" diff --git a/python/tinycss2/slack-desc b/python/tinycss2/slack-desc deleted file mode 100644 index 1a343bc472..0000000000 --- a/python/tinycss2/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -tinycss2: tinycss2 (low-level CSS parser and generator) -tinycss2: -tinycss2: All the web developers know the CSS format, but do they really -tinycss2: know all the subtleties of its syntax? tinycss2 provides a CSS -tinycss2: parser that is able to extract everything you want from stylesheets. -tinycss2: -tinycss2: Homepage: https://www.courtbouillon.org/tinycss2 -tinycss2: -tinycss2: -tinycss2: -tinycss2: diff --git a/python/trezor/README b/python/trezor/README deleted file mode 100644 index a00ec9f046..0000000000 --- a/python/trezor/README +++ /dev/null @@ -1,2 +0,0 @@ -Client side implementation for TREZOR-compatible Bitcoin hardware -wallets. diff --git a/python/trezor/trezor.info b/python/trezor/trezor.info deleted file mode 100644 index 55e0b99ce6..0000000000 --- a/python/trezor/trezor.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="trezor" -VERSION="0.7.9.post1" -HOMEPAGE="https://github.com/trezor/python-trezor" -DOWNLOAD="https://github.com/trezor/python-trezor/archive/v0.7.9.post1/python-trezor-0.7.9.post1.tar.gz" -MD5SUM="2bb623c98ef0e5d4eae77fe7b0ecae7d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="ecdsa protobuf3 mnemonic hidapi" -MAINTAINER="Reedych" -EMAIL="reedych@reedych.pw" diff --git a/python/ttfautohint-py/ttfautohint-py.SlackBuild b/python/ttfautohint-py/ttfautohint-py.SlackBuild index ef2dbab38b..f3d60226f2 100644 --- a/python/ttfautohint-py/ttfautohint-py.SlackBuild +++ b/python/ttfautohint-py/ttfautohint-py.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ttfautohint-py -# Copyright 2023 Vijay Marcel +# Copyright 2023-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,10 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ttfautohint-py -VERSION=${VERSION:-0.5.1} +VERSION=${VERSION:-0.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=${SRCNAM:-ttfautohint_py} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -53,25 +54,27 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' 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 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -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 setup.py install --prefix=/usr --root=$PKG --optimize=1 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 + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/ttfautohint-py/ttfautohint-py.info b/python/ttfautohint-py/ttfautohint-py.info index 4032753ea5..2ceb4f2cc1 100644 --- a/python/ttfautohint-py/ttfautohint-py.info +++ b/python/ttfautohint-py/ttfautohint-py.info @@ -1,10 +1,10 @@ PRGNAM="ttfautohint-py" -VERSION="0.5.1" +VERSION="0.6.0" HOMEPAGE="https://github.com/fonttools/ttfautohint-py" -DOWNLOAD="https://pypi.io/packages/source/t/ttfautohint-py/ttfautohint-py-0.5.1.tar.gz" -MD5SUM="91c73697362ec9999ec730700f0ba4e2" +DOWNLOAD="https://files.pythonhosted.org/packages/fa/fe/bac058f2844c06768f7f2fd2dbfc3c912685bc58543d20d1f891e4c2cb37/ttfautohint_py-0.6.0.tar.gz" +MD5SUM="7718539a8c4adaa90e4e883aafbcb24d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ttfautohint python3-fonttools coverage" +REQUIRES="ttfautohint python3-fonttools coverage python3-setuptools-opt" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/uv-bin/README b/python/uv-bin/README new file mode 100644 index 0000000000..44d590eba8 --- /dev/null +++ b/python/uv-bin/README @@ -0,0 +1 @@ +An extremely fast Python package and project manager, written in Rust diff --git a/python/trezor/slack-desc b/python/uv-bin/slack-desc index 08846d6d76..ac9b04976d 100644 --- a/python/trezor/slack-desc +++ b/python/uv-bin/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -trezor: trezor (Bitcoin Hardware Wallet) -trezor: -trezor: Client side implementation for TREZOR-compatible Bitcoin hardware -trezor: wallets. -trezor: -trezor: See http://trezor.io for more information. -trezor: -trezor: -trezor: -trezor: -trezor: +uv-bin: uv-bin (Python package and project manager) +uv-bin: +uv-bin: An extremely fast Python package and project manager, written in Rust +uv-bin: +uv-bin: +uv-bin: +uv-bin: +uv-bin: +uv-bin: Project URL: https://github.com/astral-sh/uv +uv-bin: +uv-bin: diff --git a/python/uv-bin/uv-bin.SlackBuild b/python/uv-bin/uv-bin.SlackBuild new file mode 100644 index 0000000000..2fc6a2e83f --- /dev/null +++ b/python/uv-bin/uv-bin.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/bash + +# Slackware build script for uv-bin + +# Copyright 2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# 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=uv-bin +SRCNAM=uv +VERSION=${VERSION:-0.9.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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} + +if [ "$ARCH" = "i586" ]; then + SRCARCH=i686-unknown-linux-gnu +elif [ "$ARCH" = "i686" ]; then + SRCARCH=i686-unknown-linux-gnu +elif [ "$ARCH" = "x86_64" ]; then + SRCARCH=x86_64-unknown-linux-gnu +elif [ "$ARCH" = "aarch64" ]; then + SRCARCH=aarch64-unknown-linux-gnu +elif [ "$ARCH" = "arm" ]; then + SRCARCH=armv7-unknown-linux-gnueabihf +else + SRCARCH=i686-unknown-linux-gnu +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$SRCARCH +tar xvf $CWD/$SRCNAM-$SRCARCH.tar.gz +cd $SRCNAM-$SRCARCH +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir -p $PKG/usr/bin +cp uvx uv $PKG/usr/bin/ + +# Strip binaries and libraries. +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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/python/uv-bin/uv-bin.info b/python/uv-bin/uv-bin.info new file mode 100644 index 0000000000..51a9ea184b --- /dev/null +++ b/python/uv-bin/uv-bin.info @@ -0,0 +1,10 @@ +PRGNAM="uv-bin" +VERSION="0.9.5" +HOMEPAGE="https://github.com/astral-sh/uv" +DOWNLOAD="https://github.com/astral-sh/uv/releases/download/0.9.5/uv-i686-unknown-linux-gnu.tar.gz" +MD5SUM="003bb16118b45561f73c543543f9a902" +DOWNLOAD_x86_64="https://github.com/astral-sh/uv/releases/download/0.9.5/uv-x86_64-unknown-linux-gnu.tar.gz" +MD5SUM_x86_64="efd1057546a5b0b80c80f8970f6cdc3e" +REQUIRES="" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" diff --git a/python/yapf/yapf.SlackBuild b/python/yapf/yapf.SlackBuild index 8fed88796d..39875e5a00 100644 --- a/python/yapf/yapf.SlackBuild +++ b/python/yapf/yapf.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yapf -VERSION=${VERSION:-0.32.0} +VERSION=${VERSION:-0.43.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,20 +50,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -79,13 +65,17 @@ 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 +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 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 LICENSE AUTHORS CHANGELOG README.rst CONTRIBUTING.rst CONTRIBUTORS HACKING.rst \ +cp -a LICENSE AUTHORS CHANGELOG.md README.md CONTRIBUTING.md CONTRIBUTORS HACKING.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/yapf/yapf.info b/python/yapf/yapf.info index b58c80680a..f027b815e8 100644 --- a/python/yapf/yapf.info +++ b/python/yapf/yapf.info @@ -1,10 +1,10 @@ PRGNAM="yapf" -VERSION="0.32.0" +VERSION="0.43.0" HOMEPAGE="https://pypi.org/project/yapf/" -DOWNLOAD="https://files.pythonhosted.org/packages/c2/cd/d0d1e95b8d78b8097d90ca97af92f4af7fb2e867262a2b6e37d6f48e612a/yapf-0.32.0.tar.gz" -MD5SUM="0546f7be1566bbd7f8a9133fbfb9b3a0" +DOWNLOAD="https://files.pythonhosted.org/packages/source/y/yapf/yapf-0.43.0.tar.gz" +MD5SUM="e1d13822bad4ade3847164e3b48b6f03" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-tomli-opt python3-platformdirs" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" |
