diff options
Diffstat (limited to 'python')
892 files changed, 9506 insertions, 3004 deletions
diff --git a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild index a5a8b5c1a2..8aa49c0628 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild +++ b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece # Copyright 2020-2022 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023-2025 Giancarlo Dessì, Cagliari, IT, <slack@giand.it> +# Copyright 2023-2026 Giancarlo Dessì, Cagliari, IT, <slack@giand.it> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=BeautifulSoup4 -VERSION=${VERSION:-4.13.3} +VERSION=${VERSION:-4.14.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/BeautifulSoup4/BeautifulSoup4.info b/python/BeautifulSoup4/BeautifulSoup4.info index f92e71db16..5b4eeb1005 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.info +++ b/python/BeautifulSoup4/BeautifulSoup4.info @@ -1,8 +1,8 @@ PRGNAM="BeautifulSoup4" -VERSION="4.13.3" +VERSION="4.14.3" 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/c3/b0/1c6a16426d389813b48d95e26898aff79abbde42ad353958ad95cc8c9b21/beautifulsoup4-4.14.3.tar.gz" +MD5SUM="c7e801c7d4e2300c1112eeb0b21ccb9b" 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 f87dd0e8df..c694bf5f3d 100644 --- a/python/Flask/Flask.SlackBuild +++ b/python/Flask/Flask.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Flask -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Flask SRCNAM=flask -VERSION=${VERSION:-3.1.0} +VERSION=${VERSION:-3.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,7 +69,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # relax version required -sed -i '/Jinja/ s/3\.1\.2/3.0.3/' pyproject.toml +sed -i '/jinja/ s/3\.1\.2/3.0.3/' pyproject.toml +sed -i '/markupsafe/ s/2\.1\.1/2.0.1/' pyproject.toml python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/Flask/Flask.info b/python/Flask/Flask.info index d1677ad4fe..6d0534023d 100644 --- a/python/Flask/Flask.info +++ b/python/Flask/Flask.info @@ -1,8 +1,8 @@ PRGNAM="Flask" -VERSION="3.1.0" +VERSION="3.1.2" HOMEPAGE="http://flask.pocoo.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask/flask-3.1.0.tar.gz" -MD5SUM="c95d81666442bf04f7de7db7edbe2aff" +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/Flask/README b/python/Flask/README index 13caec97e5..83698559a2 100644 --- a/python/Flask/README +++ b/python/Flask/README @@ -1,3 +1,5 @@ Flask is a microframework for Python based on Werkzeug and Jinja2. It's intended for getting started very quickly and was developed with best intentions in mind. + +NOTE: 3.1.x is the last supported version for python-3.9 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/PyGreSQL/PyGreSQL.SlackBuild b/python/PyGreSQL/PyGreSQL.SlackBuild index f601dc0d60..e82567373b 100644 --- a/python/PyGreSQL/PyGreSQL.SlackBuild +++ b/python/PyGreSQL/PyGreSQL.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyGreSQL -VERSION=${VERSION:-6.1.0} +VERSION=${VERSION:-6.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/PyGreSQL/PyGreSQL.info b/python/PyGreSQL/PyGreSQL.info index 234cf0f788..5863946c86 100644 --- a/python/PyGreSQL/PyGreSQL.info +++ b/python/PyGreSQL/PyGreSQL.info @@ -1,8 +1,8 @@ PRGNAM="PyGreSQL" -VERSION="6.1.0" +VERSION="6.2.1" HOMEPAGE="http://www.pygresql.org" -DOWNLOAD="https://github.com/PyGreSQL/PyGreSQL/archive/6.1.0/PyGreSQL-6.1.0.tar.gz" -MD5SUM="1588f0950ff4ad18c74e7eeea5e48f2d" +DOWNLOAD="https://github.com/PyGreSQL/PyGreSQL/archive/6.2.1/PyGreSQL-6.2.1.tar.gz" +MD5SUM="3f1be348a0cadac2e6314308dc6a405e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" diff --git a/python/PyPy/PyPy.SlackBuild b/python/PyPy/PyPy.SlackBuild index 301de11a5d..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.18} +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 5553f89cf4..d7ee6bc5f9 100644 --- a/python/PyPy/PyPy.info +++ b/python/PyPy/PyPy.info @@ -1,8 +1,8 @@ PRGNAM="PyPy" -VERSION="7.3.18" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.18-src.tar.bz2" -MD5SUM="bc6b11a0c9e54f74c30b6fb404ada15b" +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 b2163bffc5..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.18} +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 88bf35e0d3..3ce9060f38 100644 --- a/python/PyPy3/PyPy3.info +++ b/python/PyPy3/PyPy3.info @@ -1,8 +1,8 @@ PRGNAM="PyPy3" -VERSION="7.3.18" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.18-src.tar.bz2" -MD5SUM="b80600d11b767202fc3ddcd08d764597" +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/Unidecode/Unidecode.SlackBuild b/python/Unidecode/Unidecode.SlackBuild index 3cecee3672..2a1a3bd3b4 100644 --- a/python/Unidecode/Unidecode.SlackBuild +++ b/python/Unidecode/Unidecode.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Unidecode -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2013-2018 Markus Reichelt, Aachen, DE # All rights reserved. # @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Unidecode -VERSION=${VERSION:-1.3.8} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/Unidecode/Unidecode.info b/python/Unidecode/Unidecode.info index 1d50bee464..907959b579 100644 --- a/python/Unidecode/Unidecode.info +++ b/python/Unidecode/Unidecode.info @@ -1,8 +1,8 @@ PRGNAM="Unidecode" -VERSION="1.3.8" +VERSION="1.4.0" HOMEPAGE="https://pypi.python.org/pypi/Unidecode/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/u/unidecode/Unidecode-1.3.8.tar.gz" -MD5SUM="7f503dcde0fa7f24c44e7f1876249fb3" +DOWNLOAD="https://files.pythonhosted.org/packages/source/u/unidecode/Unidecode-1.4.0.tar.gz" +MD5SUM="d3da666a6d0e2729039556e5f0026480" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/audible-cli/audible-cli.SlackBuild b/python/audible-cli/audible-cli.SlackBuild index e3d6f5a61c..266be45b82 100644 --- a/python/audible-cli/audible-cli.SlackBuild +++ b/python/audible-cli/audible-cli.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=audible-cli -VERSION=${VERSION:-0.2.4} +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,20 +47,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/audible-cli/audible-cli.info b/python/audible-cli/audible-cli.info index 2c6b6784fe..1e5074c9d5 100644 --- a/python/audible-cli/audible-cli.info +++ b/python/audible-cli/audible-cli.info @@ -1,8 +1,8 @@ PRGNAM="audible-cli" -VERSION="0.2.4" +VERSION="0.3.1" HOMEPAGE="https://github.com/mkb79/audible-cli" -DOWNLOAD="https://github.com/mkb79/audible-cli/archive/v0.2.4/audible-cli-0.2.4.tar.gz" -MD5SUM="11422ec0c1417489e1fd35fedca2d78a" +DOWNLOAD="https://github.com/mkb79/audible-cli/archive/v0.3.1/audible-cli-0.3.1.tar.gz" +MD5SUM="aed9bacdd29f1a53d6ae7323f9241a13" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="audible python3-aiofiles python3-questionary python3-tabulate tqdm" diff --git a/python/audible/audible.SlackBuild b/python/audible/audible.SlackBuild index ecb448dbab..1a10f8840e 100644 --- a/python/audible/audible.SlackBuild +++ b/python/audible/audible.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=audible SRCNAM=Audible -VERSION=${VERSION:-0.8.2} +VERSION=${VERSION:-0.9.1} 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 @@ -77,7 +63,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 {} \; -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/audible/audible.info b/python/audible/audible.info index 5b65d82942..f23226dd93 100644 --- a/python/audible/audible.info +++ b/python/audible/audible.info @@ -1,8 +1,8 @@ PRGNAM="audible" -VERSION="0.8.2" +VERSION="0.9.1" HOMEPAGE="https://audible.readthedocs.io" -DOWNLOAD="https://github.com/mkb79/Audible/archive/v0.8.2/Audible-0.8.2.tar.gz" -MD5SUM="dcbaef30888b13586703d9194c0f0b8a" +DOWNLOAD="https://github.com/mkb79/Audible/archive/v0.9.1/Audible-0.9.1.tar.gz" +MD5SUM="4c64bdb3499ad7c72403d3523c92cf7a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="BeautifulSoup4 pyaes python3-httpx python3-rsa python-pbkdf2" diff --git a/python/autopep8/autopep8.SlackBuild b/python/autopep8/autopep8.SlackBuild index 0e5cea1d6b..f061bfdb13 100644 --- a/python/autopep8/autopep8.SlackBuild +++ b/python/autopep8/autopep8.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for autopep8 -# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-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=autopep8 -VERSION=${VERSION:-2.0.4} +VERSION=${VERSION:-2.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,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 --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/autopep8/autopep8.info b/python/autopep8/autopep8.info index a1ec7f64f1..b783e45c2d 100644 --- a/python/autopep8/autopep8.info +++ b/python/autopep8/autopep8.info @@ -1,10 +1,10 @@ PRGNAM="autopep8" -VERSION="2.0.4" +VERSION="2.3.2" HOMEPAGE="https://github.com/hhatto/autopep8" -DOWNLOAD="https://files.pythonhosted.org/packages/e0/8a/9be661f5400867a09706e29f5ab99a59987fd3a4c337757365e7491fa90b/autopep8-2.0.4.tar.gz" -MD5SUM="45a33dcfdeeb3210fa1f63491e061715" +DOWNLOAD="https://files.pythonhosted.org/packages/50/d8/30873d2b7b57dee9263e53d142da044c4600a46f2d28374b3e38b023df16/autopep8-2.3.2.tar.gz" +MD5SUM="ca9de3bc225f7f92b7b8e39bdd49c0a6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pycodestyle" +REQUIRES="python3-setuptools-opt pycodestyle" MAINTAINER="Dimitris Zlatanidis" EMAIL="dslackw@gmail.com" 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/breathe/breathe.SlackBuild b/python/breathe/breathe.SlackBuild index a7aa64e9f2..de1540645f 100644 --- a/python/breathe/breathe.SlackBuild +++ b/python/breathe/breathe.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for breathe -# Copyright 2022-2023 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=breathe -VERSION=${VERSION:-4.35.0} +VERSION=${VERSION:-4.36.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,12 +63,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 --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$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 - + | 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 CHANGELOG.rst CONTRIBUTING.rst CONTRIBUTORS.rst $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/breathe/breathe.info b/python/breathe/breathe.info index d7fc71bf91..b2d808b884 100644 --- a/python/breathe/breathe.info +++ b/python/breathe/breathe.info @@ -1,10 +1,10 @@ PRGNAM="breathe" -VERSION="4.35.0" +VERSION="4.36.0" HOMEPAGE="https://github.com/breathe-doc/breathe" -DOWNLOAD="https://github.com/breathe-doc/breathe/archive/v4.35.0/breathe-4.35.0.tar.gz" -MD5SUM="06bddf761f69fafb684238a656955fe6" +DOWNLOAD="https://github.com/breathe-doc/breathe/archive/v4.36.0/breathe-4.36.0.tar.gz" +MD5SUM="a8e1e19af1fd5f9c3e089526a0e9dfe3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="Sphinx" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/buildbot-badges/buildbot-badges.SlackBuild b/python/buildbot-badges/buildbot-badges.SlackBuild index 64b1047c39..b722de1ea3 100644 --- a/python/buildbot-badges/buildbot-badges.SlackBuild +++ b/python/buildbot-badges/buildbot-badges.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=buildbot-badges SRCNAM=${PRGNAM//-/_} -VERSION=${VERSION:-4.2.1} +VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/buildbot-badges/buildbot-badges.info b/python/buildbot-badges/buildbot-badges.info index cae68bcfbc..74a65ac3e1 100644 --- a/python/buildbot-badges/buildbot-badges.info +++ b/python/buildbot-badges/buildbot-badges.info @@ -1,8 +1,8 @@ PRGNAM="buildbot-badges" -VERSION="4.2.1" +VERSION="4.3.0" HOMEPAGE="https://buildbot.net/" -DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot_badges/buildbot_badges-4.2.1.tar.gz" -MD5SUM="94e486b0bd6cc9e2516cf69bfc456cdf" +DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot_badges/buildbot_badges-4.3.0.tar.gz" +MD5SUM="862e3207e2e72375319768ec79fe5885" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="buildbot python3-klein CairoSVG" diff --git a/python/buildbot-worker/buildbot-worker.SlackBuild b/python/buildbot-worker/buildbot-worker.SlackBuild index 7c1e6d6538..7f7c78a2c7 100644 --- a/python/buildbot-worker/buildbot-worker.SlackBuild +++ b/python/buildbot-worker/buildbot-worker.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=buildbot-worker SRCNAM=${PRGNAM//-/_} -VERSION=${VERSION:-4.2.1} +VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/buildbot-worker/buildbot-worker.info b/python/buildbot-worker/buildbot-worker.info index 4e931a8c6c..976295816f 100644 --- a/python/buildbot-worker/buildbot-worker.info +++ b/python/buildbot-worker/buildbot-worker.info @@ -1,8 +1,8 @@ PRGNAM="buildbot-worker" -VERSION="4.2.1" +VERSION="4.3.0" HOMEPAGE="https://pypi.python.org/pypi/buildbot-worker" -DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot_worker/buildbot_worker-4.2.1.tar.gz" -MD5SUM="839d5e5062a0d81a36822cc922f76979" +DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot_worker/buildbot_worker-4.3.0.tar.gz" +MD5SUM="a19ad988689b8818cdbbbaa322766298" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-twisted python3-autobahn msgpack-python" diff --git a/python/buildbot/buildbot.SlackBuild b/python/buildbot/buildbot.SlackBuild index 29463996d4..90a6447eda 100644 --- a/python/buildbot/buildbot.SlackBuild +++ b/python/buildbot/buildbot.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=buildbot SRCNAM=${PRGNAM#python-*} # "pkg" stays first PACKAGES="pkg www console_view grid_view waterfall_view wsgi_dashboards" -VERSION=${VERSION:-4.2.1} +VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/buildbot/buildbot.info b/python/buildbot/buildbot.info index 9853ce4788..f490ef4c35 100644 --- a/python/buildbot/buildbot.info +++ b/python/buildbot/buildbot.info @@ -1,20 +1,20 @@ PRGNAM="buildbot" -VERSION="4.2.1" +VERSION="4.3.0" HOMEPAGE="https://buildbot.net/" -DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot/buildbot-4.2.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot_pkg/buildbot_pkg-4.2.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot_www/buildbot_www-4.2.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot_console_view/buildbot_console_view-4.2.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot_grid_view/buildbot_grid_view-4.2.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot_waterfall_view/buildbot_waterfall_view-4.2.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot_wsgi_dashboards/buildbot_wsgi_dashboards-4.2.1.tar.gz" -MD5SUM="8ca3f527a32424fc4731a71ed0eaa3a0 \ - a851ba7242fa18b49f5ce810414e8a10 \ - 2d18da8956370d606f39b521ae72e447 \ - df5d45c3871bae21773e45ad9206913d \ - d61b1d4b4d1483380afdd4b4b6088b2b \ - 9bf1e907f5a7abe857f7ef1538562b79 \ - 946352b75af69723a5d941b52195dbea" +DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot/buildbot-4.3.0.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_pkg/buildbot_pkg-4.3.0.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_www/buildbot_www-4.3.0.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_console_view/buildbot_console_view-4.3.0.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_grid_view/buildbot_grid_view-4.3.0.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_waterfall_view/buildbot_waterfall_view-4.3.0.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_wsgi_dashboards/buildbot_wsgi_dashboards-4.3.0.tar.gz" +MD5SUM="ee9bcf354e5ac22e39a8e3d63e1bf613 \ + 8e779179a8c47a414d6be8e31425e4d7 \ + 5a6d513f57ab63972e83129660981408 \ + dcdeafd464edb10e19dc71f71ca41694 \ + a770fd53ca0955e5d70eb8e23ea7c39d \ + 95e7d9d6bdd16c0621f748b6eefd6974 \ + 52d5628bb1873bd4e4a8cad554dc7dd4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-autobahn python3-alembic python3-pyjwt msgpack-python python3-croniter python-zipp importlib-resources python3-unidiff python3-treq" 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/click/README b/python/click/README index 335070ddc9..f454dc3642 100644 --- a/python/click/README +++ b/python/click/README @@ -9,6 +9,8 @@ It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API. +NOTE: click-8.1.x is the last version to support python-3.9 + NOTE: -Use click-legacy7 if you need click<=8 and/or python2 support 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/cppy/cppy.SlackBuild b/python/cppy/cppy.SlackBuild index 4af009093d..46b4de1e6a 100644 --- a/python/cppy/cppy.SlackBuild +++ b/python/cppy/cppy.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cppy -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,8 @@ sed -i 's|>=61.2||' pyproject.toml # Get rid of scary "Package would be ignored" warning from newer setuptools sed -i 's|\[tool\.setuptools\]|&\ninclude-package-data = false|' pyproject.toml +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl @@ -83,7 +85,7 @@ find $PKG | xargs 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.rst releasenotes.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.rst releasenotes.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/cppy/cppy.info b/python/cppy/cppy.info index 7db2a5e25a..79ae3f0c2c 100644 --- a/python/cppy/cppy.info +++ b/python/cppy/cppy.info @@ -1,8 +1,8 @@ PRGNAM="cppy" -VERSION="1.3.0" +VERSION="1.3.1" HOMEPAGE="https://github.com/nucleic/cppy" -DOWNLOAD="https://github.com/nucleic/cppy/releases/download/1.3.0/cppy-1.3.0.tar.gz" -MD5SUM="522447d934d18484cd4cfe90c1872628" +DOWNLOAD="https://github.com/nucleic/cppy/archive/refs/tags/1.3.1/cppy-1.3.1.tar.gz" +MD5SUM="867c170324a3db770823a27fb06ed1ce" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" 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 08efa38e2c..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:-44.0.2} +VERSION=${VERSION:-45.0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,6 +80,13 @@ find -L . \ sed -i "s|!=74.1.2,||g" pyproject.toml sed -i "s|,!=75.2.0||g" pyproject.toml +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 + # prevent cargo from using the network. # this only works because we have a vendored sources tarball with # everything cargo would have downloaded. diff --git a/python/cryptography/cryptography.info b/python/cryptography/cryptography.info index c2144a9a7e..4ab97aa0ca 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,12 +1,12 @@ PRGNAM="cryptography" -VERSION="44.0.2" +VERSION="45.0.7" HOMEPAGE="https://cryptography.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-44.0.2.tar.gz \ - https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-44.0.2-1.tar.xz" -MD5SUM="9cb2411324687347a27d349d3e74eb7c \ - b66cb7dfb961c40e75a4c7e375f23cd6" +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" +REQUIRES="python3-maturin rust-opt" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" 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/flake8/flake8.SlackBuild b/python/flake8/flake8.SlackBuild index 2c731b46d3..be688c82ee 100644 --- a/python/flake8/flake8.SlackBuild +++ b/python/flake8/flake8.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for flake8 -# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-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=flake8 -VERSION=${VERSION:-7.0.0} +VERSION=${VERSION:-7.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/flake8/flake8.info b/python/flake8/flake8.info index 6fc8a878cb..d407379459 100644 --- a/python/flake8/flake8.info +++ b/python/flake8/flake8.info @@ -1,8 +1,8 @@ PRGNAM="flake8" -VERSION="7.0.0" +VERSION="7.2.0" HOMEPAGE="https://gitlab.com/pycqa/flake8" -DOWNLOAD="https://files.pythonhosted.org/packages/40/3c/3464b567aa367b221fa610bbbcce8015bf953977d21e52f2d711b526fb48/flake8-7.0.0.tar.gz" -MD5SUM="0e698aff81684bc1c13994a3f6a3bc6a" +DOWNLOAD="https://pypi.python.org/packages/source/f/flake8/flake8-7.2.0.tar.gz" +MD5SUM="5b0c69330b5cbdf639a33c91b896f7b1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pycodestyle python3-pyflakes python3-mccabe" 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/guess-language/README b/python/guess-language/README deleted file mode 100644 index 15f91710c6..0000000000 --- a/python/guess-language/README +++ /dev/null @@ -1,4 +0,0 @@ -Attempts to determine the natural language of a selection of -Unicode (utf-8) text.Detects over 60 languages; Greek (el), Korean -(ko), Japanese (ja), Chinese (zh) and all the languages listed in -the trigrams directory. diff --git a/python/guess-language/guess-language.info b/python/guess-language/guess-language.info deleted file mode 100644 index 140f7a179c..0000000000 --- a/python/guess-language/guess-language.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="guess-language" -VERSION="0.2" -HOMEPAGE="https://pypi.python.org/pypi/guess-language/" -DOWNLOAD="https://pypi.python.org/packages/e4/d0/df50192865e44af5c934504d413514158c5e522b00d8ec631d818b6d8b6b/guess-language-0.2.tar.gz" -MD5SUM="3a3574c2e8b44f84e656f90684f0c6aa" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/helpy/README b/python/helpy/README deleted file mode 100644 index 5e89ba818d..0000000000 --- a/python/helpy/README +++ /dev/null @@ -1,2 +0,0 @@ -Python built-in help documentation from the command line -(without the interactive Python interpreter console). diff --git a/python/helpy/helpy.info b/python/helpy/helpy.info deleted file mode 100644 index 420ac169a1..0000000000 --- a/python/helpy/helpy.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="helpy" -VERSION="1.0.1" -HOMEPAGE="https://github.com/chrissimpkins/helpy" -DOWNLOAD="https://pypi.python.org/packages/source/h/helpy/helpy-1.0.1.tar.gz" -MD5SUM="1675423c0cec15347c4ca32487e3a0eb" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="Naked" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/holidays/holidays.info b/python/holidays/holidays.info index 9cabb00694..943736aab0 100644 --- a/python/holidays/holidays.info +++ b/python/holidays/holidays.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/01/1f/51f40218f958af28d1106752 MD5SUM="859209ee527d82142c8cc10d4ddb929f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="hijri-converter PyMeeus convertdate korean_lunar_calendar python3-setuptools-scm-opt" +REQUIRES="hijri-converter PyMeeus convertdate korean_lunar_calendar python3-setuptools-scm-opt python3-dateutil" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" 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 18efbf0083..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.1.3} +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 2565820989..752aaee3a1 100644 --- a/python/jellyfish/jellyfish.info +++ b/python/jellyfish/jellyfish.info @@ -1,10 +1,10 @@ PRGNAM="jellyfish" -VERSION="1.1.3" +VERSION="1.2.1" HOMEPAGE="https://github.com/sunlightlabs/jellyfish" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-1.1.3.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/jellyfish-vendored-sources-1.1.3-1.tar.xz" -MD5SUM="f2a0ff7a1861cfcbd949d6f31a2653f0 \ - f23d66574e74acc4d1ef3cfaae0a2a0c" +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 abca954354..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:-1.15.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 cec9998b82..f75c447b31 100644 --- a/python/josepy/josepy.info +++ b/python/josepy/josepy.info @@ -1,8 +1,8 @@ PRGNAM="josepy" -VERSION="1.15.0" +VERSION="2.2.0" HOMEPAGE="https://github.com/certbot/josepy" -DOWNLOAD="https://files.pythonhosted.org/packages/c1/8a/cd416f56cd4492878e8d62701b4ad32407c5ce541f247abf31d6e5f3b79b/josepy-1.15.0.tar.gz" -MD5SUM="dd70cad883f42d9454193c52b0c2fc17" +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 51d7a984e7..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.14.1} +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 a6f521daf9..f5d511accc 100644 --- a/python/mypy/mypy.info +++ b/python/mypy/mypy.info @@ -1,8 +1,8 @@ PRGNAM="mypy" -VERSION="1.14.1" +VERSION="1.16.1" HOMEPAGE="https://github.com/python/mypy" -DOWNLOAD="https://files.pythonhosted.org/packages/b9/eb/2c92d8ea1e684440f54fa49ac5d9a5f19967b7b472a281f419e69a8d228e/mypy-1.14.1.tar.gz" -MD5SUM="8297bf7865feffd704735f0fdb5a4150" +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/parsel/README b/python/parsel/README deleted file mode 100644 index 5b95f1c157..0000000000 --- a/python/parsel/README +++ /dev/null @@ -1,2 +0,0 @@ -Parsel is a library to extract data from HTML and XML using XPath -and CSS selectors. diff --git a/python/parsel/parsel.info b/python/parsel/parsel.info deleted file mode 100644 index fe4b63fd39..0000000000 --- a/python/parsel/parsel.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="parsel" -VERSION="1.4.0" -HOMEPAGE="https://github.com/scrapy/parsel" -DOWNLOAD="https://pypi.python.org/packages/01/f2/8649c65adf8433a09cdee20912cdb470b9426fab55922abd299372e02904/parsel-1.4.0.tar.gz" -MD5SUM="2fb2b31ce0002630ba9ba2492c4ac6bf" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python2-pytest-runner w3lib python2-lxml" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" 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/ptpython/ptpython.SlackBuild b/python/ptpython/ptpython.SlackBuild index 68537bfa85..1dd0175fc5 100644 --- a/python/ptpython/ptpython.SlackBuild +++ b/python/ptpython/ptpython.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ptpython -# Copyright 2015-2023 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-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=ptpython -VERSION=${VERSION:-3.0.25} +VERSION=${VERSION:-3.0.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,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 --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/ptpython/ptpython.info b/python/ptpython/ptpython.info index 400ca8b1d5..a3d4d588a7 100644 --- a/python/ptpython/ptpython.info +++ b/python/ptpython/ptpython.info @@ -1,8 +1,8 @@ PRGNAM="ptpython" -VERSION="3.0.25" +VERSION="3.0.30" HOMEPAGE="https://github.com/jonathanslenders/ptpython" -DOWNLOAD="https://files.pythonhosted.org/packages/66/51/a86ee34f068e71a12ba611b69f327545606b138042f5b2562d0992c2631d/ptpython-3.0.25.tar.gz" -MD5SUM="3be66bf73db3ce9f0cac28deb59560db" +DOWNLOAD="https://files.pythonhosted.org/packages/c9/ce/4441ac40762c73d74b48088a7311e368d28beec92602d66e632a59792a93/ptpython-3.0.30.tar.gz" +MD5SUM="08b454a32c93770220bf39746651ec8d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-prompt_toolkit python3-jedi" diff --git a/python/pyOpenSSL/pyOpenSSL.SlackBuild b/python/pyOpenSSL/pyOpenSSL.SlackBuild index f33ab26589..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.0.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 4a105f5ce7..0e84133d59 100644 --- a/python/pyOpenSSL/pyOpenSSL.info +++ b/python/pyOpenSSL/pyOpenSSL.info @@ -1,8 +1,8 @@ PRGNAM="pyOpenSSL" -VERSION="25.0.0" +VERSION="25.3.0" HOMEPAGE="https://pypi.python.org/pypi/pyOpenSSL" -DOWNLOAD="https://files.pythonhosted.org/packages/9f/26/e25b4a374b4639e0c235527bbe31c0524f26eda701d79456a7e1877f4cc5/pyopenssl-25.0.0.tar.gz" -MD5SUM="b5b79d0bab00c40160cf983ef7ac3771" +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/pycodestyle/pycodestyle.SlackBuild b/python/pycodestyle/pycodestyle.SlackBuild index b55bfe132c..b23988c4c1 100644 --- a/python/pycodestyle/pycodestyle.SlackBuild +++ b/python/pycodestyle/pycodestyle.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pycodestyle -# Copyright 2016-2024 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=pycodestyle -VERSION=${VERSION:-2.11.1} +VERSION=${VERSION:-2.13.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pycodestyle/pycodestyle.info b/python/pycodestyle/pycodestyle.info index d92d90ff17..aa4e7ef995 100644 --- a/python/pycodestyle/pycodestyle.info +++ b/python/pycodestyle/pycodestyle.info @@ -1,8 +1,8 @@ PRGNAM="pycodestyle" -VERSION="2.11.1" +VERSION="2.13.0" HOMEPAGE="https://pycodestyle.readthedocs.io/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/34/8f/fa09ae2acc737b9507b5734a9aec9a2b35fa73409982f57db1b42f8c3c65/pycodestyle-2.11.1.tar.gz" -MD5SUM="c7ed096441b4b4961c0756d4000d1ee7" +DOWNLOAD="https://files.pythonhosted.org/packages/04/6e/1f4a62078e4d95d82367f24e685aef3a672abfd27d1a868068fed4ed2254/pycodestyle-2.13.0.tar.gz" +MD5SUM="4e0e9d54c06f24a457a552e8e038f9d2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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 1272802d54..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.18} +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 f24d3cea62..241191ad0b 100644 --- a/python/pypy/pypy.info +++ b/python/pypy/pypy.info @@ -1,10 +1,10 @@ PRGNAM="pypy" -VERSION="7.3.18" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.18-linux32.tar.bz2" -MD5SUM="9b2797134a513142b76daa787d57af86" -DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy2.7-v7.3.18-linux64.tar.bz2" -MD5SUM_x86_64="86e006f029a68a89bc48509d504a2ba9" +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 4934626ca7..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.18} +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 8cb7ba5f72..7680104a05 100644 --- a/python/pypy3/pypy3.info +++ b/python/pypy3/pypy3.info @@ -1,10 +1,10 @@ PRGNAM="pypy3" -VERSION="7.3.18" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.18-linux32.tar.bz2" -MD5SUM="1345b45276ef44e3d79f40add2bec46b" -DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy3.11-v7.3.18-linux64.tar.bz2" -MD5SUM_x86_64="82fd01c4eb6a73fddc91cef5de1d155f" +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/pyrfc3339/pyrfc3339.SlackBuild b/python/pyrfc3339/pyrfc3339.SlackBuild index 16c99f344c..bc9eeaafb4 100644 --- a/python/pyrfc3339/pyrfc3339.SlackBuild +++ b/python/pyrfc3339/pyrfc3339.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyrfc3339 -# Copyright 2015-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2015-2026 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyrfc3339 -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,7 +62,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 --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/pyrfc3339/pyrfc3339.info b/python/pyrfc3339/pyrfc3339.info index 607b307cbd..ce6e85075a 100644 --- a/python/pyrfc3339/pyrfc3339.info +++ b/python/pyrfc3339/pyrfc3339.info @@ -1,10 +1,10 @@ PRGNAM="pyrfc3339" -VERSION="2.0.1" +VERSION="2.1.0" HOMEPAGE="https://pypi.python.org/pypi/pyRFC3339" -DOWNLOAD="https://files.pythonhosted.org/packages/f0/d2/6587e8ec3951cbd97c56333d11e0f8a3a4cb64c0d6ed101882b7b31c431f/pyrfc3339-2.0.1.tar.gz" -MD5SUM="38e099b17fff4fbd0b2a18e13365aeeb" +DOWNLOAD="https://files.pythonhosted.org/packages/b4/7f/3c194647ecb80ada6937c38a162ab3edba85a8b6a58fa2919405f4de2509/pyrfc3339-2.1.0.tar.gz" +MD5SUM="b2bd788bc06e60802042f52085943683" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt python3-setuptools-scm-opt" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/python/pyscard/pyscard.SlackBuild b/python/pyscard/pyscard.SlackBuild index 96ca75041d..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.1} +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 8839f70b9d..c364ff6aeb 100644 --- a/python/pyscard/pyscard.info +++ b/python/pyscard/pyscard.info @@ -1,8 +1,8 @@ PRGNAM="pyscard" -VERSION="2.2.1" +VERSION="2.3.1" HOMEPAGE="https://pyscard.sourceforge.io/" -DOWNLOAD="https://github.com/LudovicRousseau/pyscard/archive/2.2.1/pyscard-2.2.1.tar.gz" -MD5SUM="7c306dc3b6a50127539ce6283711569e" +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/helpy/helpy.SlackBuild b/python/pyside2-tools/pyside2-tools.SlackBuild index a4eb77ae72..931c8c52e4 100644 --- a/python/helpy/helpy.SlackBuild +++ b/python/pyside2-tools/pyside2-tools.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for helpy +# Slackware build script for pyside2-tools -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2025 Christoph Willing, Sydney Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=helpy -VERSION=${VERSION:-1.0.1} +PRGNAM=pyside2-tools +VERSION=${VERSION:-20170308_f68388c} 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 @@ -59,10 +56,14 @@ elif [ "$ARCH" = "i686" ]; then 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 @@ -70,7 +71,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.lz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,13 +80,32 @@ 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 +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 PKG-INFO docs/* $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 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/w3lib/slack-desc b/python/pyside2-tools/slack-desc index 6c5b7da5b3..eaf4f128d9 100644 --- a/python/w3lib/slack-desc +++ b/python/pyside2-tools/slack-desc @@ -5,15 +5,15 @@ # 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------------------------------------------------------| -w3lib: w3lib (Library of web-related functions) -w3lib: -w3lib: This is a Python library of web-related functions. -w3lib: -w3lib: Homepage: https://github.com/scrapy/w3lib -w3lib: -w3lib: -w3lib: -w3lib: -w3lib: -w3lib: + |-----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..fd09986b9f 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} -BUILD=${BUILD:-1} +VERSION=${VERSION:-5.15.17} +SRCNAM_PATCHES=pyside2 +SRCNAM_PATCHES_VERSION=5.15.16-3.1 +BUILD=${BUILD:-2} 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 \ @@ -80,28 +92,35 @@ 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 {} \; +if [ -x /usr/bin/numpy-config ]; then + SLKCFLAGS="$SLKCFLAGS $(/usr/bin/numpy-config --cflags)" +fi + 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-argopt/python-argopt.SlackBuild b/python/python-argopt/python-argopt.SlackBuild index e5240410b8..b4fe850350 100644 --- a/python/python-argopt/python-argopt.SlackBuild +++ b/python/python-argopt/python-argopt.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python-argopt # Copyright 2018-2021 Andrew Clemons, Wellington New Zealand -# Copyright 2022-2023 Andrew Clemons, Tokyo Japan +# Copyright 2022-2023,2025 Andrew Clemons, Tokyo Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-argopt SRCNAM="$(echo "$PRGNAM" | cut -d- -f2)" -VERSION=${VERSION:-0.8.2} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,7 +78,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 --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/python-argopt/python-argopt.info b/python/python-argopt/python-argopt.info index b7c2f6ca1a..77cc8e2797 100644 --- a/python/python-argopt/python-argopt.info +++ b/python/python-argopt/python-argopt.info @@ -1,10 +1,10 @@ PRGNAM="python-argopt" -VERSION="0.8.2" +VERSION="0.9.1" HOMEPAGE="https://github.com/casperdcl/argopt" -DOWNLOAD="https://files.pythonhosted.org/packages/88/1e/4dd20f0ad39f81dd815b6fa4fea53be370d2ca0eeef9f8dc8e05b81c4284/argopt-0.8.2.tar.gz" -MD5SUM="8b9aa425069fa50f7570681e13dc3474" +DOWNLOAD="https://files.pythonhosted.org/packages/a3/8c/f1dbbb7ca1b6bdfebd8b3ae1d44f099c5678a1592f1562547037e76330d4/argopt-0.9.1.tar.gz" +MD5SUM="cae7ebda4680b70752c11a7aee692fe7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-toml" +REQUIRES="python3-toml python3-wheel python3-build python3-setuptools-scm-opt" MAINTAINER="Andrew Clemons" EMAIL="andrew.clemons@gmail.com" 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-debian/python-debian.SlackBuild b/python/python-debian/python-debian.SlackBuild index 05b1e3d67e..dc33f5ef4b 100644 --- a/python/python-debian/python-debian.SlackBuild +++ b/python/python-debian/python-debian.SlackBuild @@ -36,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-debian -VERSION=${VERSION:-0.1.52} +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,9 +49,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 @@ -78,7 +75,6 @@ fi set -e trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP diff --git a/python/python-debian/python-debian.info b/python/python-debian/python-debian.info index c871836acf..6f66a0013b 100644 --- a/python/python-debian/python-debian.info +++ b/python/python-debian/python-debian.info @@ -1,8 +1,8 @@ PRGNAM="python-debian" -VERSION="0.1.52" +VERSION="1.0.1" HOMEPAGE="https://salsa.debian.org/python-debian-team/python-debian" -DOWNLOAD="https://salsa.debian.org/python-debian-team/python-debian/-/archive/0.1.52/python-debian-0.1.52.tar.gz" -MD5SUM="1f2d0380eba2189b02132b0eef409e95" +DOWNLOAD="https://salsa.debian.org/python-debian-team/python-debian/-/archive/1.0.1/python-debian-1.0.1.tar.gz" +MD5SUM="bf66d23281235087ee84074437fac8bb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt python3-setuptools-scm-opt" 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 998ee83589..668501e8c5 100644 --- a/python/python-gssapi/python-gssapi.SlackBuild +++ b/python/python-gssapi/python-gssapi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-gssapi -# Copyright 2023 Thibaut Notteboom, Paris, FRANCE +# Copyright 2023-2025 Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-gssapi -VERSION=${VERSION:-1.8.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.10.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 @@ -59,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" diff --git a/python/python-gssapi/python-gssapi.info b/python/python-gssapi/python-gssapi.info index 0aba0b5536..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.8.2" +VERSION="1.10.1" HOMEPAGE="https://github.com/pythongssapi/python-gssapi" -DOWNLOAD="https://github.com/pythongssapi/python-gssapi/archive/v1.8.2/python-gssapi-1.8.2.tar.gz" -MD5SUM="bbb679bcd65ee541c32188aa993c0769" +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-importlib_metadata/python-importlib_metadata.SlackBuild b/python/python-importlib_metadata/python-importlib_metadata.SlackBuild index 71ff5e1137..264b8ee359 100644 --- a/python/python-importlib_metadata/python-importlib_metadata.SlackBuild +++ b/python/python-importlib_metadata/python-importlib_metadata.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-importlib_metadata -VERSION=${VERSION:-8.6.1} +VERSION=${VERSION:-8.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-importlib_metadata/python-importlib_metadata.info b/python/python-importlib_metadata/python-importlib_metadata.info index cf6c454e2f..818482706f 100644 --- a/python/python-importlib_metadata/python-importlib_metadata.info +++ b/python/python-importlib_metadata/python-importlib_metadata.info @@ -1,8 +1,8 @@ PRGNAM="python-importlib_metadata" -VERSION="8.6.1" +VERSION="8.7.0" HOMEPAGE="https://importlib-metadata.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-8.6.1.tar.gz" -MD5SUM="4ba027de63a0a754c5c9ff208211b238" +DOWNLOAD="https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-8.7.0.tar.gz" +MD5SUM="4be81d3e32fd72eac56559be49ccb920" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-zipp" diff --git a/python/python-libarchive-c/python-libarchive-c.SlackBuild b/python/python-libarchive-c/python-libarchive-c.SlackBuild index 31fb8e47d8..6604d55d51 100644 --- a/python/python-libarchive-c/python-libarchive-c.SlackBuild +++ b/python/python-libarchive-c/python-libarchive-c.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-libarchive-c -# Copyright 2024 Matt Egger, Philadelphia, PA, USA +# Copyright 2024-2025 Matt Egger, Philadelphia, PA, USA # Copyright 2016 David Spencer, Baildon, West Yorkshire, U.K. # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-libarchive-c -VERSION=${VERSION:-5.2} +VERSION=${VERSION:-5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-libarchive-c/python-libarchive-c.info b/python/python-libarchive-c/python-libarchive-c.info index 261fea0427..12bc52e3a7 100644 --- a/python/python-libarchive-c/python-libarchive-c.info +++ b/python/python-libarchive-c/python-libarchive-c.info @@ -1,8 +1,8 @@ PRGNAM="python-libarchive-c" -VERSION="5.2" +VERSION="5.3" HOMEPAGE="https://github.com/Changaco/python-libarchive-c" -DOWNLOAD="https://github.com/Changaco/python-libarchive-c/archive/5.2/python-libarchive-c-5.2.tar.gz" -MD5SUM="1ab159f225980bfaaefddccec49bd764" +DOWNLOAD="https://github.com/Changaco/python-libarchive-c/archive/5.3/python-libarchive-c-5.3.tar.gz" +MD5SUM="9e234dc08382eb0c928aabef65a17630" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python-qrcode/python-qrcode.SlackBuild b/python/python-qrcode/python-qrcode.SlackBuild index b5c01d00e9..04bafe2086 100644 --- a/python/python-qrcode/python-qrcode.SlackBuild +++ b/python/python-qrcode/python-qrcode.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-qrcode -# Copyright 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2015-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=python-qrcode SRCNAM=qrcode -VERSION=${VERSION:-8.1} +VERSION=${VERSION:-8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-qrcode/python-qrcode.info b/python/python-qrcode/python-qrcode.info index 7ba0ba9b4d..ad143784b3 100644 --- a/python/python-qrcode/python-qrcode.info +++ b/python/python-qrcode/python-qrcode.info @@ -1,8 +1,8 @@ PRGNAM="python-qrcode" -VERSION="8.1" +VERSION="8.2" HOMEPAGE="https://github.com/lincolnloop/python-qrcode" -DOWNLOAD="https://files.pythonhosted.org/packages/61/d4/d222d00f65c81945b55e8f64011c33cb11a2931957ba3e2845fb0874fffe/qrcode-8.1.tar.gz" -MD5SUM="71039efd5939238780bcd6861bf0bc50" +DOWNLOAD="https://files.pythonhosted.org/packages/8f/b2/7fc2931bfae0af02d5f53b174e9cf701adbb35f39d69c2af63d4a39f81a9/qrcode-8.2.tar.gz" +MD5SUM="c1dd482e98405aa0aaf4d5cf5685f57a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pypng python3-wheel python3-poetry-core" 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/python2-blessed/README b/python/python2-blessed/README new file mode 100644 index 0000000000..11891981bf --- /dev/null +++ b/python/python2-blessed/README @@ -0,0 +1,14 @@ +Blessed is an easy, practical library for making terminal apps, by +providing an elegant, well-documented interface to Colors, Keyboard +input, and screen position and Location capabilities. + +It’s meant to be fun and easy, to do basic terminal graphics and +styling with Python using blessed. Terminal is the only class you need +to import and the only object you should need for Terminal +capabilities. + +Whether you want to improve CLI apps with colors, or make fullscreen +applications or games, blessed should help get you started quickly. +Your users will love it because it works on Windows, Mac, and Linux, +and you will love it because it has plenty of documentation and +examples! diff --git a/python/python3-pywlroots/python3-pywlroots.SlackBuild b/python/python2-blessed/python2-blessed.SlackBuild index 2d02d19475..5d32d919f5 100644 --- a/python/python3-pywlroots/python3-pywlroots.SlackBuild +++ b/python/python2-blessed/python2-blessed.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-pywlroots +# Slackware build script for python2-blessed -# Copyright 2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # 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,14 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-pywlroots -VERSION=${VERSION:-0.15.24} +PRGNAM=python2-blessed +TARNAM=blessed +VERSION=${VERSION:-1.22.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=pywlroots - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -58,6 +57,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -68,23 +70,27 @@ 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 $TARNAM-$VERSION +tar xvf $CWD/$TARNAM-$VERSION.tar.gz +cd $TARNAM-$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 +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 README.rst $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/python2-blessed/python2-blessed.info b/python/python2-blessed/python2-blessed.info new file mode 100644 index 0000000000..1bad6a21ec --- /dev/null +++ b/python/python2-blessed/python2-blessed.info @@ -0,0 +1,10 @@ +PRGNAM="python2-blessed" +VERSION="1.22.0" +HOMEPAGE="https://pypi.org/project/blessed/" +DOWNLOAD="https://files.pythonhosted.org/packages/7c/51/a72df7730aa34a94bc43cebecb7b63ffa42f019868637dbeb45e0620d26e/blessed-1.22.0.tar.gz" +MD5SUM="e6fa6ffdc03f1585504d19d943bb265b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python2-blessed/slack-desc b/python/python2-blessed/slack-desc new file mode 100644 index 0000000000..8dd6e6024f --- /dev/null +++ b/python/python2-blessed/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-blessed: python2-blessed (library for making terminal apps) +python2-blessed: +python2-blessed: Easy, practical library for making terminal apps, by providing an +python2-blessed: elegant, well-documented interface to Colors, Keyboard input, and +python2-blessed: screen Positioning capabilities. +python2-blessed: +python2-blessed: +python2-blessed: +python2-blessed: +python2-blessed: +python2-blessed: 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-enlighten/python2-enlighten.SlackBuild b/python/python2-enlighten/python2-enlighten.SlackBuild index c74c7ce472..3f5e0b8bec 100644 --- a/python/python2-enlighten/python2-enlighten.SlackBuild +++ b/python/python2-enlighten/python2-enlighten.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for python2-enlighten +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2023 Samuel Young, MO, USA # All rights reserved. # @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python2-enlighten -VERSION=${VERSION:-1.11.2} +VERSION=${VERSION:-1.14.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python2-enlighten/python2-enlighten.info b/python/python2-enlighten/python2-enlighten.info index 0d3755b88f..6a2a22d839 100644 --- a/python/python2-enlighten/python2-enlighten.info +++ b/python/python2-enlighten/python2-enlighten.info @@ -1,10 +1,10 @@ PRGNAM="python2-enlighten" -VERSION="1.11.2" +VERSION="1.14.1" HOMEPAGE="https://github.com/Rockhopper-Technologies/enlighten" -DOWNLOAD="https://github.com/Rockhopper-Technologies/enlighten/archive/1.11.2/enlighten-1.11.2.tar.gz" -MD5SUM="c0cdd52345c87408b643c8d8f196c75c" +DOWNLOAD="https://github.com/Rockhopper-Technologies/enlighten/archive/1.14.1/enlighten-1.14.1.tar.gz" +MD5SUM="f8a4d1d8f72b228a80de58b7c4acb244" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Samuel Young" -EMAIL="samyoung12788@gmail.com" +REQUIRES="wcwidth python2-blessed python2-prefixed" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python2-enlighten/slack-desc b/python/python2-enlighten/slack-desc index 0e77966518..a224942f7e 100644 --- a/python/python2-enlighten/slack-desc +++ b/python/python2-enlighten/slack-desc @@ -15,5 +15,5 @@ python2-enlighten: as you normally would. python2-enlighten: python2-enlighten: python2-enlighten: -python2-enlighten: Homepage: https://github.com/Rockhopper-Technologies/enlighten +python2-enlighten: python2-enlighten: 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/parsel/parsel.SlackBuild b/python/python2-nuitka/python2-nuitka.SlackBuild index 012a0a048b..38b9ee881f 100644 --- a/python/parsel/parsel.SlackBuild +++ b/python/python2-nuitka/python2-nuitka.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for parsel +# Slackware build script for python2-nuitka -# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,11 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=parsel -VERSION=${VERSION:-1.4.0} -BUILD=${BUILD:-2} +PRGNAM=python2-nuitka +VERSION=${VERSION:-2.8.10} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +TARBALL=Nuitka 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 @@ -50,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 $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$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 \ @@ -79,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 NEWS LICENSE $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..b2d5d6196d --- /dev/null +++ b/python/python2-nuitka/python2-nuitka.info @@ -0,0 +1,10 @@ +PRGNAM="python2-nuitka" +VERSION="2.8.10" +HOMEPAGE="https://nuitka.net" +DOWNLOAD="https://github.com/Nuitka/Nuitka/archive/2.8.10/Nuitka-2.8.10.tar.gz" +MD5SUM="bb6c062421861eeed613c1012ebb183d" +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-prefixed/README b/python/python2-prefixed/README new file mode 100644 index 0000000000..29d3893fbd --- /dev/null +++ b/python/python2-prefixed/README @@ -0,0 +1 @@ +Prefixed alternative numeric library diff --git a/python/python2-prefixed/python2-prefixed.SlackBuild b/python/python2-prefixed/python2-prefixed.SlackBuild new file mode 100644 index 0000000000..94fcc841eb --- /dev/null +++ b/python/python2-prefixed/python2-prefixed.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/bash + +# Slackware build script for python2-prefixed + +# 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=python2-prefixed +VERSION=${VERSION:-0.9.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +TARBALL=prefixed + +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 {} \; + +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/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/python2-prefixed/python2-prefixed.info b/python/python2-prefixed/python2-prefixed.info new file mode 100644 index 0000000000..e196e0825c --- /dev/null +++ b/python/python2-prefixed/python2-prefixed.info @@ -0,0 +1,10 @@ +PRGNAM="python2-prefixed" +VERSION="0.9.0" +HOMEPAGE="https://github.com/Rockhopper-Technologies/prefixed" +DOWNLOAD="https://files.pythonhosted.org/packages/48/ae/296470eca349da35bdec573e54320afa2b5b099c582e5d97be8bccac247e/prefixed-0.9.0.tar.gz" +MD5SUM="a1fbee3ee3ee7b271a627f0b1043afa2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python2-prefixed/slack-desc b/python/python2-prefixed/slack-desc new file mode 100644 index 0000000000..cac12d0649 --- /dev/null +++ b/python/python2-prefixed/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-prefixed: python2-prefixed (prefixed alternative numeric library) +python2-prefixed: +python2-prefixed: Prefixed alternative numeric library +python2-prefixed: +python2-prefixed: +python2-prefixed: +python2-prefixed: +python2-prefixed: +python2-prefixed: +python2-prefixed: +python2-prefixed: 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/python2-pycryptodomex/python2-pycryptodomex.SlackBuild b/python/python2-pycryptodomex/python2-pycryptodomex.SlackBuild index 001ea1389c..0e5680f469 100644 --- a/python/python2-pycryptodomex/python2-pycryptodomex.SlackBuild +++ b/python/python2-pycryptodomex/python2-pycryptodomex.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python2-pycryptodomex -VERSION=${VERSION:-3.22.0} +VERSION=${VERSION:-3.23.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python2-pycryptodomex/python2-pycryptodomex.info b/python/python2-pycryptodomex/python2-pycryptodomex.info index 9973f07c54..82ed9bd819 100644 --- a/python/python2-pycryptodomex/python2-pycryptodomex.info +++ b/python/python2-pycryptodomex/python2-pycryptodomex.info @@ -1,8 +1,8 @@ PRGNAM="python2-pycryptodomex" -VERSION="3.22.0" +VERSION="3.23.0" HOMEPAGE="https://github.com/Legrandin/pycryptodome" -DOWNLOAD="https://github.com/Legrandin/pycryptodome/archive/v3.22.0x/pycryptodome-3.22.0x.tar.gz" -MD5SUM="50f33147a3740fd868ceb9179632a709" +DOWNLOAD="https://github.com/Legrandin/pycryptodome/archive/v3.23.0x/pycryptodome-3.23.0x.tar.gz" +MD5SUM="d9a3f4131a97f8defd3d0b9a922300ea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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 2bc83de3a1..ed58772afe 100644 --- a/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild +++ b/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-Flask-Cors -# 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-Flask-Cors SRCNAM=flask_cors -VERSION=${VERSION:-5.0.0} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,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 README.rst $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-Flask-Cors/python3-Flask-Cors.info b/python/python3-Flask-Cors/python3-Flask-Cors.info index 34df0c8cd4..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="5.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-5.0.0.tar.gz" -MD5SUM="a6e8202cc008ef6f70ce75a7ae7f8d9d" +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 afdc109f1b..0fa5c4b29c 100644 --- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild +++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-Flask-Security-Too -# 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-Flask-Security-Too SRCNAM=flask_security_too -VERSION=${VERSION:-5.5.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 3c0219a1ef..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.5.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.5.2.tar.gz" -MD5SUM="8c29538e5a588b3073d2e19fa7e5a8fb" +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 08e22ca7c9..a3ee1e1690 100644 --- a/python/python3-ZODB/python3-ZODB.SlackBuild +++ b/python/python3-ZODB/python3-ZODB.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-ZODB -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-6.0} +SRCNAM=zodb +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 03e44373c6..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" +VERSION="6.1" HOMEPAGE="http://www.zodb.org" -DOWNLOAD="https://pypi.python.org/packages/source/Z/ZODB/ZODB-6.0.tar.gz" -MD5SUM="93c060a9e7367ede5fb8a9f3442dbefc" +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 2b1021e9e8..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.11.16} +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 99f61859ef..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.11.16" +VERSION="3.13.2" HOMEPAGE="https://aiohttp.readthedocs.io/en/stable/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.11.16.tar.gz" -MD5SUM="e28d2a17717d6da40b4ae88ef578a6b7" +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-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-aiostream/python3-aiostream.SlackBuild b/python/python3-aiostream/python3-aiostream.SlackBuild index 2b85504681..4ea6c76531 100644 --- a/python/python3-aiostream/python3-aiostream.SlackBuild +++ b/python/python3-aiostream/python3-aiostream.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-aiostream SRCNAM=aiostream -VERSION=${VERSION:-0.5.2} +VERSION=${VERSION:-0.4.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-aiostream/python3-aiostream.info b/python/python3-aiostream/python3-aiostream.info index 62f38769b7..57519dcde8 100644 --- a/python/python3-aiostream/python3-aiostream.info +++ b/python/python3-aiostream/python3-aiostream.info @@ -1,8 +1,8 @@ PRGNAM="python3-aiostream" -VERSION="0.5.2" +VERSION="0.4.5" HOMEPAGE="https://github.com/vxgmichel/aiostream" -DOWNLOAD="https://files.pythonhosted.org/packages/e4/60/0b46dfd568d1e22ff587ff0b00829a11411bc34be1b6497c8783cbd9ec82/aiostream-0.5.2.tar.gz" -MD5SUM="52c1e5d0f834e337545fa33658ff13a2" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiostream/aiostream-0.4.5.tar.gz" +MD5SUM="a61ca6b2586df89d9596a2342ad8f205" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-alembic/python3-alembic.SlackBuild b/python/python3-alembic/python3-alembic.SlackBuild index 57b5d04337..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.14.1} +VERSION=${VERSION:-1.17.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,6 +83,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 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python3-alembic/python3-alembic.info b/python/python3-alembic/python3-alembic.info index 919b78f99d..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.14.1" +VERSION="1.17.1" HOMEPAGE="https://pypi.org/project/alembic/" -DOWNLOAD="https://pypi.python.org/packages/source/a/alembic/alembic-1.14.1.tar.gz" -MD5SUM="5fd5fe35fe820d03c0594cb3edd16829" +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-aniso8601/python3-aniso8601.SlackBuild b/python/python3-aniso8601/python3-aniso8601.SlackBuild index 21b29985cc..ab70938cea 100644 --- a/python/python3-aniso8601/python3-aniso8601.SlackBuild +++ b/python/python3-aniso8601/python3-aniso8601.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-aniso8601 SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-10.0.0} +VERSION=${VERSION:-10.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-aniso8601/python3-aniso8601.info b/python/python3-aniso8601/python3-aniso8601.info index f6f7081bbd..178d498d6f 100644 --- a/python/python3-aniso8601/python3-aniso8601.info +++ b/python/python3-aniso8601/python3-aniso8601.info @@ -1,8 +1,8 @@ PRGNAM="python3-aniso8601" -VERSION="10.0.0" +VERSION="10.0.1" HOMEPAGE="https://bitbucket.org/nielsenb/aniso8601" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aniso8601/aniso8601-10.0.0.tar.gz" -MD5SUM="29acca96d02d182b7ff09f02047b84a8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aniso8601/aniso8601-10.0.1.tar.gz" +MD5SUM="ea9bb2b816aa448078d91aea3ce43d55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-dateutil" 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 3c5544386a..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.5.3} +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 aff1dd2325..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.5.3" +VERSION="3.6.3" HOMEPAGE="https://github.com/kislyuk/argcomplete" -DOWNLOAD="https://pypi.io/packages/source/a/argcomplete/argcomplete-3.5.3.tar.gz" -MD5SUM="28fb9dace31a5d6ff98c686d9914d3b7" +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 3ccd2eb8cd..8f5935382f 100644 --- a/python/python3-arrow/python3-arrow.SlackBuild +++ b/python/python3-arrow/python3-arrow.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-arrow -# 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 @@ -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} @@ -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 @@ -87,7 +73,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 CHANGELOG.rst LICENSE README.rst $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 diff --git a/python/python3-arrow/python3-arrow.info b/python/python3-arrow/python3-arrow.info index 33037c0c1a..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-build python3-dateutil python3-types-python-dateutil" +REQUIRES="python3-dateutil tzdata" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-async-lru/python3-async-lru.SlackBuild b/python/python3-async-lru/python3-async-lru.SlackBuild index f9dc136703..4b3e57dca3 100644 --- a/python/python3-async-lru/python3-async-lru.SlackBuild +++ b/python/python3-async-lru/python3-async-lru.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-async-lru -# 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 @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-async-lru -VERSION=${VERSION:-2.0.4} +VERSION=${VERSION:-2.0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=async-lru +SRCNAM=async_lru if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/python/python3-async-lru/python3-async-lru.info b/python/python3-async-lru/python3-async-lru.info index 04ebfe7b4c..600363e14c 100644 --- a/python/python3-async-lru/python3-async-lru.info +++ b/python/python3-async-lru/python3-async-lru.info @@ -1,8 +1,8 @@ PRGNAM="python3-async-lru" -VERSION="2.0.4" +VERSION="2.0.5" HOMEPAGE="https://github.com/aio-libs/async-lru" -DOWNLOAD="https://github.com/aio-libs/async-lru/releases/download/v2.0.4/async-lru-2.0.4.tar.gz" -MD5SUM="cd57e4d7f51bcbe2b940c523a5851b40" +DOWNLOAD="https://github.com/aio-libs/async-lru/releases/download/v2.0.5/async_lru-2.0.5.tar.gz" +MD5SUM="c972e8755626506ca019085e0620e192" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-typing-extensions" diff --git a/python/python3-atpublic/python3-atpublic.SlackBuild b/python/python3-atpublic/python3-atpublic.SlackBuild index e93cf32551..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:-5.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 8752446140..bf3b23d900 100644 --- a/python/python3-atpublic/python3-atpublic.info +++ b/python/python3-atpublic/python3-atpublic.info @@ -1,8 +1,8 @@ PRGNAM="python3-atpublic" -VERSION="5.1" +VERSION="6.0.2" HOMEPAGE="https://public.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/a/atpublic/atpublic-5.1.tar.gz" -MD5SUM="cb428acf91e182aa24004b615f84175e" +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-automat/python3-automat.SlackBuild b/python/python3-automat/python3-automat.SlackBuild index d5c758a27d..4511eb2d5a 100644 --- a/python/python3-automat/python3-automat.SlackBuild +++ b/python/python3-automat/python3-automat.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-automat SRCNAM=automat -VERSION=${VERSION:-24.8.1} +VERSION=${VERSION:-25.4.16} BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-automat/python3-automat.info b/python/python3-automat/python3-automat.info index b819a26673..102561d674 100644 --- a/python/python3-automat/python3-automat.info +++ b/python/python3-automat/python3-automat.info @@ -1,10 +1,10 @@ PRGNAM="python3-automat" -VERSION="24.8.1" +VERSION="25.4.16" HOMEPAGE="https://pypi.python.org/pypi/Automat" -DOWNLOAD="https://pypi.python.org/packages/source/a/automat/automat-24.8.1.tar.gz" -MD5SUM="c023f8848366053a76f99cffba3ea34e" +DOWNLOAD="https://pypi.python.org/packages/source/a/automat/automat-25.4.16.tar.gz" +MD5SUM="a725256be8545c32048eb12239caeebb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-typing-extensions python3-wheel python3-setuptools-opt" +REQUIRES="python3-typing-extensions python3-hatch_vcs" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-backlash/python3-backlash.SlackBuild b/python/python3-backlash/python3-backlash.SlackBuild index 6b1e4405a6..2107349804 100644 --- a/python/python3-backlash/python3-backlash.SlackBuild +++ b/python/python3-backlash/python3-backlash.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-backlash SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.3.2} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,6 +64,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 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-backlash/python3-backlash.info b/python/python3-backlash/python3-backlash.info index b546562bcc..904266fd4d 100644 --- a/python/python3-backlash/python3-backlash.info +++ b/python/python3-backlash/python3-backlash.info @@ -1,10 +1,10 @@ PRGNAM="python3-backlash" -VERSION="0.3.2" +VERSION="0.4.0" HOMEPAGE="https://github.com/TurboGears/backlash" -DOWNLOAD="https://pypi.python.org/packages/source/b/backlash/backlash-0.3.2.tar.gz" -MD5SUM="c64d82bb6b35c7f28cac3b26e2c828f4" +DOWNLOAD="https://pypi.python.org/packages/source/b/backlash/backlash-0.4.0.tar.gz" +MD5SUM="2864c5e788df6f6c9efa6fcecc9bad9e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-webob" +REQUIRES="python3-webob python3-setuptools-opt" 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/guess-language/slack-desc b/python/python3-base58/slack-desc index fc96f83f14..5486816a39 100644 --- a/python/guess-language/slack-desc +++ b/python/python3-base58/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -guess-language: guess-language (Guess the natural language of a text) -guess-language: -guess-language: Attempts to determine the natural language of a selection of Unicode -guess-language: (utf-8) text. Detects over 60 languages - all languages listed in the -guess-language: trigrams directory plus Japanese, Chinese, Korean and Greek. -guess-language: -guess-language: Homepage: http://code.google.com/p/guess-language -guess-language: -guess-language: -guess-language: -guess-language: +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 808275dae5..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.2.1} +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 d9955bfbee..ba31cf09ae 100644 --- a/python/python3-bcrypt/python3-bcrypt.info +++ b/python/python3-bcrypt/python3-bcrypt.info @@ -1,85 +1,91 @@ PRGNAM="python3-bcrypt" -VERSION="4.2.1" +VERSION="5.0.0" HOMEPAGE="https://github.com/pyca/bcrypt/" -DOWNLOAD="https://pypi.python.org/packages/source/b/bcrypt/bcrypt-4.2.1.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.16.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.15.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.2.15.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/inout/inout-0.1.3.crate \ - https://static.crates.io/crates/libc/libc-0.2.164.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.176.crate \ https://static.crates.io/crates/memoffset/memoffset-0.9.1.crate \ - https://static.crates.io/crates/once_cell/once_cell-1.20.2.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.9.0.crate \ - https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.89.crate \ - https://static.crates.io/crates/pyo3-build-config/pyo3-build-config-0.23.1.crate \ - https://static.crates.io/crates/pyo3-ffi/pyo3-ffi-0.23.1.crate \ - https://static.crates.io/crates/pyo3-macros-backend/pyo3-macros-backend-0.23.1.crate \ - https://static.crates.io/crates/pyo3-macros/pyo3-macros-0.23.1.crate \ - https://static.crates.io/crates/pyo3/pyo3-0.23.1.crate \ - https://static.crates.io/crates/quote/quote-1.0.37.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.87.crate \ - https://static.crates.io/crates/target-lexicon/target-lexicon-0.12.16.crate \ - https://static.crates.io/crates/typenum/typenum-1.17.0.crate \ - https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.13.crate \ - https://static.crates.io/crates/unindent/unindent-0.2.3.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.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.11.0+wasi-snapshot-preview1.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="04825a138ed1aabf499d7a5fbf35fcf6 \ - 9e038efbd61e6d7cbc54983abc5b3948 \ +MD5SUM="14d72a6f3bc4ccca1dced205cc4e207e \ + 3e70bb53cab36a3ef2a02dfce21bc472 \ 20084c4c04bcc06fd3d7ff662deca706 \ 60cbc9c6df95ebe4e5ecd67569b866a6 \ - 8b5b789577cb37d69a8f7fb8fdeac85c \ + 6b4290267fb19bfe52b607e829cb95a9 \ 023b03cf9968b29253a5dfe62051008d \ c0d5296acca72ce01a0058b7b8f56e55 \ 45339d90b2b3a4f123af5ec459954102 \ - 74634128440dbc3766bda76fdf0aaa05 \ + ec75cb6cff21a4cce188ac688aa9a1be \ ef4cc5591659a050ca0de3363b6ab353 \ - 7720a738ff99676fc52822a40aac731f \ + 08c18a18f452c41072b08e8367778c6a \ 89e88633cab0e4b6f3d3878b84dffe8b \ 3d62bfbbe08bdcee55fcb8cda85554d9 \ 64a6d8fe0c9a450bcefa41894e17d7ac \ - 3c67481b4433a3219846e41d09aaeaa9 \ + f3426774ce46ffb82273b7568411c2dc \ ce5935e8063a452913a61e5405b33cb9 \ - 3081de27c16d004a798de20d4bb6d314 \ - 5f3fd38b7aefc1ca48efe279994953f8 \ - 44dbbaa579667f437e8492447d4634e5 \ + c8afa984728b9caf848d2bf7191a9175 \ + 7c7e0fb7becfd41cc236b444597fb170 \ + 3e56817ed894e9c1d99d21d228827ab6 \ 1fb91af1c97373201990f1baedc58c35 \ - 2b55f4f5a83a6ed664ff5b60aff9bfb4 \ + 76f8e4dcc29ab304e065cced86a344d2 \ 8dcc72ff75b917257f9e9bb29de4b9e1 \ - 1ce149cd4df1e041a2a9dc86417f4ad6 \ - ec19efca1997391d3062428a8bf76885 \ - 165ec32ed48cf0d443a2782d80cad110 \ - fca9ab5abd981b4b32c5be45eb841344 \ - ed04b37904463372057bf11ef8f467c1 \ - f7521222246514b1375a30f1650a9e8d \ - 27e3543a248aaa5f72565d0d2a87ea1f \ - ec5466d73ce9285f92a1458cdc1b4046 \ - 289b776935f2184c6ba2974877285013 \ + 728d8e34babbfa86ab419879265c2d12 \ + c97ebb4706151a5afcbc84b585a51747 \ + d3143796945d98c473318cc90612112f \ + 97a683497679e915cf86e5c900fad5b4 \ + 68eaf29d1aba960e8c1f2ee4b8a7f050 \ + bdd0a9384530c9ceaf54e97058609aa0 \ + ffdf402116ea64d6b94df69effead96e \ + f6471dc7b34a49fca3f64c3c2cb641a4 \ + 751468b1f120283e4f6f266867a03837 \ + 295e503f197dd34556876b97c60b87c1 \ 611730d5a0344bd87742297274631890 \ - 112875c142d1023400b0262ea1996de0 \ - 681788f60edd20951a4f993b884d30e9 \ - 6ebb8deee5a5a0d1c26b20eeee1926b3 \ - 7692382986a2373fe5b5574ffe03e927 \ - 812b2b925f9734bbc39717f284bc712b \ + f263369ce8905fac2351cde21595df94 \ + 423a2d07feb7a56eed6d79f3bc23ce2b \ + caced58f08eea4d2ece7418f3cd66482 \ + 7b5a6f9a0c0de33f26338c3d529e0514 \ + 916099e0363f5e652be0e15d30613c99 \ f9880f1c33a7bc7b0e6e086b504bf38f \ - e972ea58ec203bfa6c79c1207852298b \ + 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 90c8c7121e..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.2} +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 f509e45e59..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.2" +VERSION="0.13.4" HOMEPAGE="https://bottlepy.org/docs/dev/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/bottle/bottle-0.13.2.tar.gz" -MD5SUM="3564bf7c5e348d6dee6dd13a89dd9330" +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-cachecontrol/python3-cachecontrol.SlackBuild b/python/python3-cachecontrol/python3-cachecontrol.SlackBuild index edf9d8a5da..48f42d1343 100644 --- a/python/python3-cachecontrol/python3-cachecontrol.SlackBuild +++ b/python/python3-cachecontrol/python3-cachecontrol.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cachecontrol -VERSION=${VERSION:-0.14.2} +VERSION=${VERSION:-0.14.3} SRCNAM=${SRCNAM:-cachecontrol} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-cachecontrol/python3-cachecontrol.info b/python/python3-cachecontrol/python3-cachecontrol.info index bb47586307..2819fdcebd 100644 --- a/python/python3-cachecontrol/python3-cachecontrol.info +++ b/python/python3-cachecontrol/python3-cachecontrol.info @@ -1,8 +1,8 @@ PRGNAM="python3-cachecontrol" -VERSION="0.14.2" +VERSION="0.14.3" HOMEPAGE="https://github.com/psf/cachecontrol" -DOWNLOAD="https://github.com/psf/cachecontrol/archive/refs/tags/v0.14.2/cachecontrol-0.14.2.tar.gz" -MD5SUM="c4912812fd7ec8865b6dca9bcaa0cb38" +DOWNLOAD="https://github.com/psf/cachecontrol/archive/refs/tags/v0.14.3/cachecontrol-0.14.3.tar.gz" +MD5SUM="5c78b5fcee552f243ed444e91ad0ca89" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build msgpack-python" diff --git a/python/python3-cachetools/python3-cachetools.SlackBuild b/python/python3-cachetools/python3-cachetools.SlackBuild index f6d81fdf5b..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:-5.5.2} +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 f8c2b18a0b..182d28a100 100644 --- a/python/python3-cachetools/python3-cachetools.info +++ b/python/python3-cachetools/python3-cachetools.info @@ -1,8 +1,8 @@ PRGNAM="python3-cachetools" -VERSION="5.5.2" +VERSION="6.2.2" HOMEPAGE="https://github.com/tkem/cachetools" -DOWNLOAD="https://github.com/tkem/cachetools/archive/refs/tags/v5.5.2/cachetools-5.5.2.tar.gz" -MD5SUM="6a463f430a7f5961eed382304ae0d927" +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 d413ad7db4..2f8843400a 100644 --- a/python/python3-calver/python3-calver.SlackBuild +++ b/python/python3-calver/python3-calver.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-calver -# 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-calver SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2022.6.26} +VERSION=${VERSION:-2025.10.20} 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 @@ -71,11 +57,12 @@ 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 python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-calver/python3-calver.info b/python/python3-calver/python3-calver.info index 30b4c483bd..d58c0f579b 100644 --- a/python/python3-calver/python3-calver.info +++ b/python/python3-calver/python3-calver.info @@ -1,10 +1,10 @@ PRGNAM="python3-calver" -VERSION="2022.6.26" +VERSION="2025.10.20" HOMEPAGE="https://github.com/di/calver" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/calver/calver-2022.6.26.tar.gz" -MD5SUM="e1fd924b9bf953c0b28c49bdfe117d7a" +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-build python3-wheel" +REQUIRES="python3-setuptools-opt" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild index ef2e782b4c..f8f4ef228a 100644 --- a/python/python3-cattrs/python3-cattrs.SlackBuild +++ b/python/python3-cattrs/python3-cattrs.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-cattrs -# 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-cattrs SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.1.2} +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 99194e97dd..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.2" +VERSION="25.3.0" HOMEPAGE="https://github.com/python-attrs/cattrs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-24.1.2.tar.gz" -MD5SUM="7d8d5e75cdf166ffc4ea6aadad70235e" +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 66c83bbe9f..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.4.0} +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 f71ad0e8b2..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.4.0" +VERSION="5.5.3" HOMEPAGE="https://docs.celeryproject.org/" -DOWNLOAD="https://pypi.python.org/packages/source/c/celery/celery-5.4.0.tar.gz" -MD5SUM="77397577d4de615e3abcabe1ea8bc461" +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 19535e3b4e..1706dfc80b 100644 --- a/python/python3-click-option-group/python3-click-option-group.SlackBuild +++ b/python/python3-click-option-group/python3-click-option-group.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-click-option-group -# 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-click-option-group -VERSION=${VERSION:-0.5.6} +VERSION=${VERSION:-0.5.9} SRCNAM=${SRCNAM:-click-option-group} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,6 +62,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 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl 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 d702cb9596..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,10 +1,10 @@ PRGNAM="python3-click-option-group" -VERSION="0.5.6" +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.6/click-option-group-0.5.6.tar.gz" -MD5SUM="f2ed15717ad729d99491ba8d14b279a8" +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-hatchling" +REQUIRES="click python3-hatch_vcs" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" 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-configargparse/python3-configargparse.SlackBuild b/python/python3-configargparse/python3-configargparse.SlackBuild index ba8054aa48..1271d8a02b 100644 --- a/python/python3-configargparse/python3-configargparse.SlackBuild +++ b/python/python3-configargparse/python3-configargparse.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-configargparse -# Copyright 2015-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2015-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-configargparse SRCNAM=ConfigArgParse -VERSION=${VERSION:-1.7} +VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-configargparse/python3-configargparse.info b/python/python3-configargparse/python3-configargparse.info index d9c125f769..7f5a79558d 100644 --- a/python/python3-configargparse/python3-configargparse.info +++ b/python/python3-configargparse/python3-configargparse.info @@ -1,8 +1,8 @@ PRGNAM="python3-configargparse" -VERSION="1.7" +VERSION="1.7.1" HOMEPAGE="https://github.com/bw2/ConfigArgParse" -DOWNLOAD="https://github.com/bw2/ConfigArgParse/archive/refs/tags/1.7/ConfigArgParse-1.7.tar.gz" -MD5SUM="9b6921503ef5dbbd63d44804691ed4c6" +DOWNLOAD="https://github.com/bw2/ConfigArgParse/archive/refs/tags/1.7.1/ConfigArgParse-1.7.1.tar.gz" +MD5SUM="513f33a13c381f75275af84cdf066b37" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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 7c616d7090..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.11} +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 9f0c4bed57..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.11" +VERSION="3.1.7" HOMEPAGE="https://cython.org/" -DOWNLOAD="https://pypi.python.org/packages/source/c/cython/cython-3.0.11.tar.gz" -MD5SUM="388b85b7c23f501320d19d991b169f5d" +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 new file mode 100644 index 0000000000..10e9d48e28 --- /dev/null +++ b/python/python3-dbus-fast/README @@ -0,0 +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 new file mode 100644 index 0000000000..ce80142767 --- /dev/null +++ b/python/python3-dbus-fast/python3-dbus-fast.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-dbus-fast +# +# 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-dbus-fast +VERSION=${VERSION:-2.45.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=dbus_fast + +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.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-dbus-fast/python3-dbus-fast.info b/python/python3-dbus-fast/python3-dbus-fast.info new file mode 100644 index 0000000000..9983acad0d --- /dev/null +++ b/python/python3-dbus-fast/python3-dbus-fast.info @@ -0,0 +1,10 @@ +PRGNAM="python3-dbus-fast" +VERSION="2.45.1" +HOMEPAGE="https://github.com/bluetooth-devices/dbus-fast" +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="" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pywlroots/slack-desc b/python/python3-dbus-fast/slack-desc index 3ac3f8a96f..1c6d588f45 100644 --- a/python/python3-pywlroots/slack-desc +++ b/python/python3-dbus-fast/slack-desc @@ -6,14 +6,14 @@ # 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: +python3-dbus-fast: python3-dbus-fast (A faster version of dbus-next) +python3-dbus-fast: +python3-dbus-fast: dbus-fast is a Python library for DBus that aims to be a performant +python3-dbus-fast: fully featured high level library primarily geared towards integration +python3-dbus-fast: of applications into Linux desktop and mobile environments. +python3-dbus-fast: +python3-dbus-fast: +python3-dbus-fast: +python3-dbus-fast: +python3-dbus-fast: +python3-dbus-fast: diff --git a/python/python3-debugpy/python3-debugpy.SlackBuild b/python/python3-debugpy/python3-debugpy.SlackBuild index fbea0ce083..2cd8cecd76 100644 --- a/python/python3-debugpy/python3-debugpy.SlackBuild +++ b/python/python3-debugpy/python3-debugpy.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-debugpy -# 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-debugpy -VERSION=${VERSION:-1.8.11} +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 bab18643cf..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.11" +VERSION="1.8.19" HOMEPAGE="https://github.com/microsoft/debugpy/" -DOWNLOAD="https://github.com/microsoft/debugpy/archive/v1.8.11/debugpy-1.8.11.tar.gz" -MD5SUM="a16fb2e8518d11d8893c38267a25712c" +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-decorator/python3-decorator.SlackBuild b/python/python3-decorator/python3-decorator.SlackBuild index de7dcd5b5d..7b16c471fe 100644 --- a/python/python3-decorator/python3-decorator.SlackBuild +++ b/python/python3-decorator/python3-decorator.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-decorator SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.1.1} +VERSION=${VERSION:-5.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,7 +63,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-decorator/python3-decorator.info b/python/python3-decorator/python3-decorator.info index 15d15c4d49..ed9d48bc84 100644 --- a/python/python3-decorator/python3-decorator.info +++ b/python/python3-decorator/python3-decorator.info @@ -1,10 +1,10 @@ PRGNAM="python3-decorator" -VERSION="5.1.1" +VERSION="5.2.1" HOMEPAGE="https://pypi.org/project/decorator/" -DOWNLOAD="https://pypi.python.org/packages/source/d/decorator/decorator-5.1.1.tar.gz" -MD5SUM="a6b34700dcac8a4bb04efd55e99626c1" +DOWNLOAD="https://pypi.python.org/packages/source/d/decorator/decorator-5.2.1.tar.gz" +MD5SUM="984649ae1fd174f9a82369e7c9cc56e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-dep-logic/python3-dep-logic.SlackBuild b/python/python3-dep-logic/python3-dep-logic.SlackBuild index fdc7495880..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.4.11} +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 f1ece19ce5..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.4.11" +VERSION="0.5.2" HOMEPAGE="https://github.com/pdm-project/dep-logic/" -DOWNLOAD="https://github.com/pdm-project/dep-logic/archive/refs/tags/0.4.11/dep-logic-0.4.11.tar.gz" -MD5SUM="2290c24341e210d8ec7ec60e708de4ec" +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-docstring-to-markdown/python3-docstring-to-markdown.SlackBuild b/python/python3-docstring-to-markdown/python3-docstring-to-markdown.SlackBuild index 77b55f8db2..2033a8b18b 100644 --- a/python/python3-docstring-to-markdown/python3-docstring-to-markdown.SlackBuild +++ b/python/python3-docstring-to-markdown/python3-docstring-to-markdown.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-docstring-to-markdown -# 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 @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-docstring-to-markdown -VERSION=${VERSION:-0.15} +VERSION=${VERSION:-0.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-docstring-to-markdown/python3-docstring-to-markdown.info b/python/python3-docstring-to-markdown/python3-docstring-to-markdown.info index e9b947048b..827047120a 100644 --- a/python/python3-docstring-to-markdown/python3-docstring-to-markdown.info +++ b/python/python3-docstring-to-markdown/python3-docstring-to-markdown.info @@ -1,10 +1,10 @@ PRGNAM="python3-docstring-to-markdown" -VERSION="0.15" +VERSION="0.17" HOMEPAGE="https://github.com/python-lsp/docstring-to-markdown" -DOWNLOAD="https://github.com/python-lsp/docstring-to-markdown/archive/v0.15/docstring-to-markdown-0.15.tar.gz" -MD5SUM="dd988398eefc5f195fc6ca1a067f7e7d" +DOWNLOAD="https://github.com/python-lsp/docstring-to-markdown/archive/v0.17/docstring-to-markdown-0.17.tar.gz" +MD5SUM="644cbdfe2822a0e6e6bdbc4688e515cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python-importlib_metadata python3-typing-extensions" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" 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 15af9d5d59..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.3.4} +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 cae01556c8..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.3.4" +VERSION="1.4.1" HOMEPAGE="https://dogpilecache.sqlalchemy.org/" -DOWNLOAD="https://github.com/sqlalchemy/dogpile.cache/archive/rel_1_3_4/dogpile.cache-rel_1_3_4.tar.gz" -MD5SUM="793a6cba290fd55e7c9bd512be6bd729" +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/README b/python/python3-dotenv/README index 7536ac3174..03e7ce051b 100644 --- a/python/python3-dotenv/README +++ b/python/python3-dotenv/README @@ -3,3 +3,5 @@ python3-dotenv (Read key-value pairs from .env file and set env. vars) python3-dotenv reads key-value pairs from a .env file and can set them as environment variables. It helps in the development of applications following the 12-factor principles. + +NOTE: If you want cli to work, have "click" installed before buildling. diff --git a/python/python3-dotenv/python3-dotenv.SlackBuild b/python/python3-dotenv/python3-dotenv.SlackBuild index 6eb4d13229..28db4f1611 100644 --- a/python/python3-dotenv/python3-dotenv.SlackBuild +++ b/python/python3-dotenv/python3-dotenv.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-dotenv -# 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 @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dotenv -SRCNAM=${PRGNAM/3/} -VERSION=${VERSION:-1.0.1} +SRCNAM=python_dotenv +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 7d81d655a4..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.0.1" +VERSION="1.2.1" HOMEPAGE="https://github.com/theskumar/python-dotenv" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-dotenv/python-dotenv-1.0.1.tar.gz" -MD5SUM="68abb78e05460ce558ca255de550e1ea" +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 971ed58743..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.7} +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 e3e446aa09..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.7" +VERSION="0.24.10" HOMEPAGE="https://www.dulwich.io/" -DOWNLOAD="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.22.7.tar.gz" -MD5SUM="02b457c9387d08758b1e06fd5b4a9048" +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 1a14f1455e..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.23.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 d073c7c36b..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.23.1" +VERSION="1.25.0" HOMEPAGE="https://github.com/mtkennerly/dunamai" -DOWNLOAD="https://files.pythonhosted.org/packages/08/14/4932a8aee6df2f266c748f88d27a455719d04ca5cf723d5630b7fb215d61/dunamai-1.23.1.tar.gz" -MD5SUM="19e8c96d34b628d5f55b4c8676d896bb" +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-enlighten/python3-enlighten.SlackBuild b/python/python3-enlighten/python3-enlighten.SlackBuild index b1d6647c75..de6f26575e 100644 --- a/python/python3-enlighten/python3-enlighten.SlackBuild +++ b/python/python3-enlighten/python3-enlighten.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for python3-enlighten +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # Copyright 2023-2024 Samuel Young, MO, USA # All rights reserved. # @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-enlighten -VERSION=${VERSION:-1.12.4} +VERSION=${VERSION:-1.14.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-enlighten/python3-enlighten.info b/python/python3-enlighten/python3-enlighten.info index 554135a44b..2cf0b68758 100644 --- a/python/python3-enlighten/python3-enlighten.info +++ b/python/python3-enlighten/python3-enlighten.info @@ -1,10 +1,10 @@ PRGNAM="python3-enlighten" -VERSION="1.12.4" +VERSION="1.14.1" HOMEPAGE="https://github.com/Rockhopper-Technologies/enlighten" -DOWNLOAD="https://github.com/Rockhopper-Technologies/enlighten/archive/1.12.4/enlighten-1.12.4.tar.gz" -MD5SUM="64d5a277c874816f139509696aa82734" +DOWNLOAD="https://github.com/Rockhopper-Technologies/enlighten/archive/1.14.1/enlighten-1.14.1.tar.gz" +MD5SUM="f8a4d1d8f72b228a80de58b7c4acb244" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Samuel Young" -EMAIL="samyoung12788@gmail.com" +REQUIRES="wcwidth python3-blessed python3-prefixed" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-evdev/python3-evdev.SlackBuild b/python/python3-evdev/python3-evdev.SlackBuild index cadebc7c91..6c32144239 100644 --- a/python/python3-evdev/python3-evdev.SlackBuild +++ b/python/python3-evdev/python3-evdev.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-evdev -VERSION=${VERSION:-1.9.1} +VERSION=${VERSION:-1.9.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-evdev/python3-evdev.info b/python/python3-evdev/python3-evdev.info index d577e07807..1fa2f1b1a1 100644 --- a/python/python3-evdev/python3-evdev.info +++ b/python/python3-evdev/python3-evdev.info @@ -1,8 +1,8 @@ PRGNAM="python3-evdev" -VERSION="1.9.1" +VERSION="1.9.2" HOMEPAGE="http://python-evdev.readthedocs.org/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/evdev/evdev-1.9.1.tar.gz" -MD5SUM="b9f628b786f1a5934f3af46347157f7a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/evdev/evdev-1.9.2.tar.gz" +MD5SUM="7f0ec85ff4bda28ee25e400ec30adff4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild b/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild index ab6436c3b8..5aec731af5 100644 --- a/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild +++ b/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-exceptiongroup -# 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-exceptiongroup SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.2.2} +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 68805da217..7d429ef8b8 100644 --- a/python/python3-exceptiongroup/python3-exceptiongroup.info +++ b/python/python3-exceptiongroup/python3-exceptiongroup.info @@ -1,10 +1,10 @@ PRGNAM="python3-exceptiongroup" -VERSION="1.2.2" +VERSION="1.3.1" HOMEPAGE="https://github.com/agronholm/exceptiongroup" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/exceptiongroup/exceptiongroup-1.2.2.tar.gz" -MD5SUM="e371f497eba3ca3fa6ac6f0dc2a08919" +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" +REQUIRES="python3-flit_scm python3-typing-extensions" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" 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-flit/python3-flit.SlackBuild b/python/python3-flit/python3-flit.SlackBuild index aa5182c6dc..68983ee911 100644 --- a/python/python3-flit/python3-flit.SlackBuild +++ b/python/python3-flit/python3-flit.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-flit SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-3.11.0} +VERSION=${VERSION:-3.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-flit/python3-flit.info b/python/python3-flit/python3-flit.info index 8775f97be9..15e51dabc7 100644 --- a/python/python3-flit/python3-flit.info +++ b/python/python3-flit/python3-flit.info @@ -1,8 +1,8 @@ PRGNAM="python3-flit" -VERSION="3.11.0" +VERSION="3.12.0" HOMEPAGE="https://github.com/pypa/flit" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flit/flit-3.11.0.tar.gz" -MD5SUM="5d5ce15ce528d1e1f90fd9a00d0dcd4d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flit/flit-3.12.0.tar.gz" +MD5SUM="c828644be6e609cff271c7b8d93bd9dc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-tomli_w" diff --git a/python/python3-flit_core/python3-flit_core.SlackBuild b/python/python3-flit_core/python3-flit_core.SlackBuild index 3e03382296..49df4b65b6 100644 --- a/python/python3-flit_core/python3-flit_core.SlackBuild +++ b/python/python3-flit_core/python3-flit_core.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-flit_core SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-3.11.0} +VERSION=${VERSION:-3.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-flit_core/python3-flit_core.info b/python/python3-flit_core/python3-flit_core.info index 470a234eef..f23136f6f7 100644 --- a/python/python3-flit_core/python3-flit_core.info +++ b/python/python3-flit_core/python3-flit_core.info @@ -1,8 +1,8 @@ PRGNAM="python3-flit_core" -VERSION="3.11.0" +VERSION="3.12.0" HOMEPAGE="https://github.com/pypa/flit" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-3.11.0.tar.gz" -MD5SUM="6d677b1acef1769c4c7156c7508e0dbd" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-3.12.0.tar.gz" +MD5SUM="c538415c1f27bd69cbbbf3cdd5135d39" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild b/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild index a36b9d12bd..112dd2283b 100644 --- a/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild +++ b/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-flufl.i18n SRCNAM=$(tr \. _ <<<${PRGNAM#python3-*}) -VERSION=${VERSION:-5.1.0} +VERSION=${VERSION:-5.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-flufl.i18n/python3-flufl.i18n.info b/python/python3-flufl.i18n/python3-flufl.i18n.info index b85bad14b9..d1b20cd988 100644 --- a/python/python3-flufl.i18n/python3-flufl.i18n.info +++ b/python/python3-flufl.i18n/python3-flufl.i18n.info @@ -1,8 +1,8 @@ PRGNAM="python3-flufl.i18n" -VERSION="5.1.0" +VERSION="5.2.0" HOMEPAGE="https://flufli18n.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/f/flufl_i18n/flufl_i18n-5.1.0.tar.gz" -MD5SUM="b9ff8305e302758a21be9a29c467ccf2" +DOWNLOAD="https://pypi.python.org/packages/source/f/flufl_i18n/flufl_i18n-5.2.0.tar.gz" +MD5SUM="95f995cfc205a3616491a944ba9baf73" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-atpublic" diff --git a/python/python3-flufl.lock/python3-flufl.lock.SlackBuild b/python/python3-flufl.lock/python3-flufl.lock.SlackBuild index eac85e5c37..bb9259bfd0 100644 --- a/python/python3-flufl.lock/python3-flufl.lock.SlackBuild +++ b/python/python3-flufl.lock/python3-flufl.lock.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-flufl.lock SRCNAM=$(tr \. _ <<<${PRGNAM#python3-*}) -VERSION=${VERSION:-8.1.0} +VERSION=${VERSION:-8.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-flufl.lock/python3-flufl.lock.info b/python/python3-flufl.lock/python3-flufl.lock.info index 8671851d3b..4b2078d1f1 100644 --- a/python/python3-flufl.lock/python3-flufl.lock.info +++ b/python/python3-flufl.lock/python3-flufl.lock.info @@ -1,8 +1,8 @@ PRGNAM="python3-flufl.lock" -VERSION="8.1.0" +VERSION="8.2.0" HOMEPAGE="https://flufllock.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/f/flufl_lock/flufl_lock-8.1.0.tar.gz" -MD5SUM="03489ca6897b84761a610df91a7c2acd" +DOWNLOAD="https://pypi.python.org/packages/source/f/flufl_lock/flufl_lock-8.2.0.tar.gz" +MD5SUM="892b25737891ad71e7c03f1f4ea1cd3d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-atpublic python3-psutil" 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 93cd801f3c..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.56.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 47afefa7b8..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.56.0" +VERSION="4.60.1" HOMEPAGE="https://github.com/fonttools/fonttools" -DOWNLOAD="https://pypi.io/packages/source/f/fonttools/fonttools-4.56.0.tar.gz" -MD5SUM="a4bfec33d7516419043cf61376ded567" +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 715246e9f5..1a7fcab033 100644 --- a/python/python3-frozenlist/python3-frozenlist.SlackBuild +++ b/python/python3-frozenlist/python3-frozenlist.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-frozenlist # Copyright 2021-2023 Isaac Yu <isaacyu@protonmail.com> -# Maintained 2023-2024 by Jay Lanagan (j@lngn.net), Detroit, MI, USA. +# Maintained 2023-2025 by Jay Lanagan (j@lngn.net), Detroit, MI, 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-frozenlist -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,6 +82,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 {} \; +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-frozenlist/python3-frozenlist.info b/python/python3-frozenlist/python3-frozenlist.info index d6d705d7b2..0f0f99e527 100644 --- a/python/python3-frozenlist/python3-frozenlist.info +++ b/python/python3-frozenlist/python3-frozenlist.info @@ -1,10 +1,10 @@ PRGNAM="python3-frozenlist" -VERSION="1.5.0" +VERSION="1.8.0" HOMEPAGE="https://github.com/aio-libs/frozenlist" -DOWNLOAD="https://github.com/aio-libs/frozenlist/releases/download/v1.5.0/frozenlist-1.5.0.tar.gz" -MD5SUM="0882f528872840df39091fb5085e258a" +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-expandvars" +REQUIRES="python3-build python3-cython-opt python3-expandvars" MAINTAINER="Jay Lanagan" EMAIL="j@lngn.net" 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 cc8a6cc671..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.0.8} +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 66e69b2022..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.0.8" +VERSION="4.4.1" HOMEPAGE="https://github.com/nicolargo/glances" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/glances/glances-4.3.0.8.tar.gz" -MD5SUM="4bc79266397f7e3bca41c7152d03f12d" +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..d6d9725843 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-2026 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.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,6 +57,7 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xf $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 \ @@ -63,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 setup.py build_ext python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -70,7 +75,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..766057c851 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.2" +HOMEPAGE="https://github.com/gmpy2/gmpy2" +DOWNLOAD="https://github.com/gmpy2/gmpy2/releases/download/v2.2.2/gmpy2-2.2.2.tar.gz" +MD5SUM="1ca9bf4595f9bd121081f7c0c4a15fa2" 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/protobuf-reenable-private-headers.patch b/python/python3-grpcio/protobuf-reenable-private-headers.patch deleted file mode 100644 index 1f3dba1905..0000000000 --- a/python/python3-grpcio/protobuf-reenable-private-headers.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/cmake/installed_include_golden.txt b/cmake/installed_include_golden.txt -index 20ad3219b6..0562066bd7 100644 ---- a/cmake/installed_include_golden.txt -+++ b/cmake/installed_include_golden.txt -@@ -35,6 +35,8 @@ google/protobuf/compiler/php/php_generator.h - google/protobuf/compiler/plugin.h - google/protobuf/compiler/plugin.pb.h - google/protobuf/compiler/plugin.proto -+google/protobuf/compiler/python/generator.h -+google/protobuf/compiler/python/pyi_generator.h - google/protobuf/compiler/retention.h - google/protobuf/compiler/scc.h - google/protobuf/compiler/subprocess.h -diff --git a/src/file_lists.cmake b/src/file_lists.cmake -index d74a982f79..36984247bf 100644 ---- a/src/file_lists.cmake -+++ b/src/file_lists.cmake - ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/php/php_generator.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/plugin.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/plugin.pb.h -+ ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/python/generator.h -+ ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/python/pyi_generator.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/retention.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/scc.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/compiler/subprocess.h diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild index 08bdea6415..8b1fea4044 100644 --- a/python/python3-grpcio/python3-grpcio.SlackBuild +++ b/python/python3-grpcio/python3-grpcio.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-grpcio -# 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 @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-grpcio -VERSION=${VERSION:-1.71.0} -BUILD=${BUILD:-3} +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 c68beee2e1..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.71.0" +VERSION="1.75.1" HOMEPAGE="https://grpc.io/" -DOWNLOAD="https://github.com/grpc/grpc/archive/v1.71.0/grpc-1.71.0.tar.gz" -MD5SUM="89ad442e1b174bc5d55c554aec583fa0" +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-h11/python3-h11.SlackBuild b/python/python3-h11/python3-h11.SlackBuild index 79ba567903..3426b31d89 100644 --- a/python/python3-h11/python3-h11.SlackBuild +++ b/python/python3-h11/python3-h11.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-h11 -# 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 @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-h11 SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.14.0} +VERSION=${VERSION:-0.16.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 @@ -51,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 @@ -76,12 +59,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 {} \; - -#fix setup.py as it tries to import from wrong library -#/usr/bin/sed -i 's/distutils.core/setuptools/' setup.py + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ python3 setup.py install --root=$PKG diff --git a/python/python3-h11/python3-h11.info b/python/python3-h11/python3-h11.info index b0be10e180..73db27ea29 100644 --- a/python/python3-h11/python3-h11.info +++ b/python/python3-h11/python3-h11.info @@ -1,8 +1,8 @@ PRGNAM="python3-h11" -VERSION="0.14.0" +VERSION="0.16.0" HOMEPAGE="https://github.com/python-hyper/h11" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/h11/h11-0.14.0.tar.gz" -MD5SUM="84c33fc0aa1f868928114c4d02c43dc2" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/h11/h11-0.16.0.tar.gz" +MD5SUM="af51401a776fd654cfd98a197af9f21f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild b/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild index d647e85c74..ba5db08164 100644 --- a/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild +++ b/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-hatch_fancy_pypi_readme -# 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-hatch_fancy_pypi_readme SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.1.0} +VERSION=${VERSION:-25.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.info b/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.info index c9d3f4b231..c7e8c27454 100644 --- a/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.info +++ b/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.info @@ -1,8 +1,8 @@ PRGNAM="python3-hatch_fancy_pypi_readme" -VERSION="24.1.0" +VERSION="25.1.0" HOMEPAGE="https://github.com/hynek/hatch-fancy-pypi-readme" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-24.1.0.tar.gz" -MD5SUM="f5f9e639f066c91f8e623ec6231beae9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-25.1.0.tar.gz" +MD5SUM="8e1ed2416887685adc1c909ed4fb63cb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild b/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild index d92bd8f837..08471101bd 100644 --- a/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild +++ b/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-hatch_vcs -# 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-hatch_vcs SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.4.0} +VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-hatch_vcs/python3-hatch_vcs.info b/python/python3-hatch_vcs/python3-hatch_vcs.info index dffbccf682..147d3b041e 100644 --- a/python/python3-hatch_vcs/python3-hatch_vcs.info +++ b/python/python3-hatch_vcs/python3-hatch_vcs.info @@ -1,8 +1,8 @@ PRGNAM="python3-hatch_vcs" -VERSION="0.4.0" +VERSION="0.5.0" HOMEPAGE="https://github.com/ofek/hatch-vcs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatch_vcs/hatch_vcs-0.4.0.tar.gz" -MD5SUM="d801fe7c3e5955307748f2790bbb3488" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatch_vcs/hatch_vcs-0.5.0.tar.gz" +MD5SUM="9a22a9f7203783e526959d34510a9672" 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 9ce63f9216..45c76680af 100644 --- a/python/python3-hishel/python3-hishel.SlackBuild +++ b/python/python3-hishel/python3-hishel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-hishel -# 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-hishel -VERSION=${VERSION:-0.1.1} +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 1d45e531de..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.1" +VERSION="0.1.3" HOMEPAGE="https://hishel.com/" -DOWNLOAD="https://github.com/karpetrosyan/hishel/archive/refs/tags/0.1.1/hishel-0.1.1.tar.gz" -MD5SUM="fb38eb608532b8c1fa6887cdf2cabd83" +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-httpcore/python3-httpcore.SlackBuild b/python/python3-httpcore/python3-httpcore.SlackBuild index 9f823c1662..92d10d43dc 100644 --- a/python/python3-httpcore/python3-httpcore.SlackBuild +++ b/python/python3-httpcore/python3-httpcore.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-httpcore -# Copyright 2022-2023 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-httpcore SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.0.7} +VERSION=${VERSION:-1.0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-httpcore/python3-httpcore.info b/python/python3-httpcore/python3-httpcore.info index dee2782467..63d77ea1f9 100644 --- a/python/python3-httpcore/python3-httpcore.info +++ b/python/python3-httpcore/python3-httpcore.info @@ -1,8 +1,8 @@ PRGNAM="python3-httpcore" -VERSION="1.0.7" +VERSION="1.0.9" HOMEPAGE="https://github.com/encode/httpcore" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpcore/httpcore-1.0.7.tar.gz" -MD5SUM="4cdb4739273f33bfd49b6d2aa6f011c6" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpcore/httpcore-1.0.9.tar.gz" +MD5SUM="5157e7240632c2984cfda1f7ac54dfc7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_fancy_pypi_readme python3-anyio python3-h11" diff --git a/python/python3-httpx/python3-httpx.SlackBuild b/python/python3-httpx/python3-httpx.SlackBuild index 9c54101cb3..489ce8e790 100644 --- a/python/python3-httpx/python3-httpx.SlackBuild +++ b/python/python3-httpx/python3-httpx.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-httpx -# 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 @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-httpx SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.23.3} +VERSION=${VERSION:-0.28.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,10 +69,6 @@ find -L . \ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages -#remove upper version requirement from pyproject.toml and PKG-INFO -/usr/bin/sed -i 's/,<[0-9].*\",$/\",/' pyproject.toml -/usr/bin/sed -i 's/<[0-9].*,//' PKG-INFO - python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-httpx/python3-httpx.info b/python/python3-httpx/python3-httpx.info index dd89ef6499..f4a8c6f529 100644 --- a/python/python3-httpx/python3-httpx.info +++ b/python/python3-httpx/python3-httpx.info @@ -1,10 +1,10 @@ PRGNAM="python3-httpx" -VERSION="0.23.3" +VERSION="0.28.1" HOMEPAGE="https://github.com/encode/httpx" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpx/httpx-0.23.3.tar.gz" -MD5SUM="921ced753cbfeff7d0a8ba80ca455985" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpx/httpx-0.28.1.tar.gz" +MD5SUM="774cf32b9cd94a44189fbe5871026664" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-rfc3986 python3-httpcore click" +REQUIRES="python3-httpcore click python3-rich" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" 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-id/README b/python/python3-id/README new file mode 100644 index 0000000000..ffc21b77e8 --- /dev/null +++ b/python/python3-id/README @@ -0,0 +1,6 @@ +python3-id (A tool for generating OIDC identities) + +id is a Python tool for generating OIDC identities. It can +automatically detect and produce OIDC credentials on a number +of environments, including GitHub Actions, GitLab pipelines and +Google Cloud. diff --git a/python/python3-id/python3-id.SlackBuild b/python/python3-id/python3-id.SlackBuild new file mode 100644 index 0000000000..86b57d8b4c --- /dev/null +++ b/python/python3-id/python3-id.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-id + +# 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-id +VERSION=${VERSION:-1.5.0} +SRCNAM=${SRCNAM:-id} +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 -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.md COPYRIGHT.txt 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-id/python3-id.info b/python/python3-id/python3-id.info new file mode 100644 index 0000000000..5bb04e693e --- /dev/null +++ b/python/python3-id/python3-id.info @@ -0,0 +1,10 @@ +PRGNAM="python3-id" +VERSION="1.5.0" +HOMEPAGE="https://github.com/di/id" +DOWNLOAD="https://github.com/di/id/archive/refs/tags/v1.5.0/id-1.5.0.tar.gz" +MD5SUM="0dd4ef878b8439f82c2bd94834a7f8ff" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-id/slack-desc b/python/python3-id/slack-desc new file mode 100644 index 0000000000..6911b9786c --- /dev/null +++ b/python/python3-id/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-id: python3-id (A tool for generating OIDC identities) +python3-id: +python3-id: id is a Python tool for generating OIDC identities. It can +python3-id: automatically detect and produce OIDC credentials on a number +python3-id: of environments, including GitHub Actions, GitLab pipelines and +python3-id: Google Cloud. +python3-id: +python3-id: HOMEPAGE: https://github.com/di/id +python3-id: +python3-id: +python3-id: diff --git a/python/python3-inflect/python3-inflect.SlackBuild b/python/python3-inflect/python3-inflect.SlackBuild index ef581003bd..1a6861f9a5 100644 --- a/python/python3-inflect/python3-inflect.SlackBuild +++ b/python/python3-inflect/python3-inflect.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-inflect -# Copyright 2022-23 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 @@ -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. +# 20250523 46and2: switch to python3-typeguard instead of python3-pydantic + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-inflect SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-7.0.0} +VERSION=${VERSION:-7.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,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 @@ -80,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 --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-inflect/python3-inflect.info b/python/python3-inflect/python3-inflect.info index b6e18909f7..1a352bc386 100644 --- a/python/python3-inflect/python3-inflect.info +++ b/python/python3-inflect/python3-inflect.info @@ -1,10 +1,10 @@ PRGNAM="python3-inflect" -VERSION="7.0.0" +VERSION="7.5.0" HOMEPAGE="https://github.com/jaraco/inflect" -DOWNLOAD="https://files.pythonhosted.org/packages/source/i/inflect/inflect-7.0.0.tar.gz" -MD5SUM="61c670cf5c4d09314f6a4d3b99d3b98d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/i/inflect/inflect-7.5.0.tar.gz" +MD5SUM="2b4c0c942b110c587d8cc1acfb606882" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pydantic" +REQUIRES="python3-typeguard python3-more-itertools" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" 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/parsel/slack-desc b/python/python3-janus/slack-desc index 5239ace7bc..1a8d7e4b76 100644 --- a/python/parsel/slack-desc +++ b/python/python3-janus/slack-desc @@ -5,15 +5,15 @@ # 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------------------------------------------------------| -parsel: parsel (Library to extract data from HTML and XML) -parsel: -parsel: Parsel is a library to extract data from HTML and XML using XPath -parsel: and CSS selectors. -parsel: -parsel: Homepage: https://github.com/scrapy/parsel -parsel: -parsel: -parsel: -parsel: -parsel: + |-----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 066b0d438c..5e777626ba 100644 --- a/python/python3-joblib/python3-joblib.SlackBuild +++ b/python/python3-joblib/python3-joblib.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2019-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 @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-joblib SRCNAM=joblib -VERSION=${VERSION:-1.4.2} +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 33becc4974..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.4.2" +VERSION="1.5.2" HOMEPAGE="https://joblib.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/joblib/joblib-1.4.2.tar.gz" -MD5SUM="979072af26696c75dc90b6c9db73c51b" +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 7278abb537..2f124976f7 100644 --- a/python/python3-json-logger/python3-json-logger.SlackBuild +++ b/python/python3-json-logger/python3-json-logger.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-json-logger -# 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-json-logger -VERSION=${VERSION:-3.2.1} +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 64947858ad..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.2.1" +VERSION="4.0.0" HOMEPAGE="https://github.com/nhairs/python-json-logger" -DOWNLOAD="https://github.com/nhairs/python-json-logger/archive/v3.2.1/python-json-logger-3.2.1.tar.gz" -MD5SUM="dd57f9cfeb7af11394b9522875a166ee" +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/README b/python/python3-jsonschema-specifications/README new file mode 100644 index 0000000000..65b0113d23 --- /dev/null +++ b/python/python3-jsonschema-specifications/README @@ -0,0 +1,5 @@ +python3-jsonschema-specifications (JSON support files as a registry) + +JSON support files from the JSON Schema Specifications (metaschemas, +vocabularies, etc.), packaged for runtime access from Python as a +referencing-based Schema Registry. diff --git a/python/python3-jsonschema-specifications/python3-jsonschema-specifications.SlackBuild b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.SlackBuild new file mode 100644 index 0000000000..d6f91acb8b --- /dev/null +++ b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for python3-jsonschema-specifications + +# 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-jsonschema-specifications +SRCNAM=jsonschema_specifications +VERSION=${VERSION:-2025.9.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 -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 PKG-INFO 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/python3-jsonschema-specifications/python3-jsonschema-specifications.info b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.info new file mode 100644 index 0000000000..a8435667ae --- /dev/null +++ b/python/python3-jsonschema-specifications/python3-jsonschema-specifications.info @@ -0,0 +1,10 @@ +PRGNAM="python3-jsonschema-specifications" +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.9.1.tar.gz" +MD5SUM="ef8e5a762c7ef39dcfb775c81336a690" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-referencing" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-jsonschema-specifications/slack-desc b/python/python3-jsonschema-specifications/slack-desc new file mode 100644 index 0000000000..8a969d1c34 --- /dev/null +++ b/python/python3-jsonschema-specifications/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-jsonschema-specifications: python3-jsonschema-specifications (JSON support files as a registry) +python3-jsonschema-specifications: +python3-jsonschema-specifications: JSON support files from the JSON Schema Specifications (metaschemas, +python3-jsonschema-specifications: vocabularies, etc.), packaged for runtime access from Python as a +python3-jsonschema-specifications: referencing-based Schema Registry. +python3-jsonschema-specifications: +python3-jsonschema-specifications: Homepage: +python3-jsonschema-specifications: https://github.com/python-jsonschema/jsonschema-specifications +python3-jsonschema-specifications: +python3-jsonschema-specifications: +python3-jsonschema-specifications: diff --git a/python/python3-jsonschema/python3-jsonschema.SlackBuild b/python/python3-jsonschema/python3-jsonschema.SlackBuild index 4bf776830c..db79ee45e2 100644 --- a/python/python3-jsonschema/python3-jsonschema.SlackBuild +++ b/python/python3-jsonschema/python3-jsonschema.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-jsonschema -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Based on jsonschema by Dimitris Zlatanidis # All rights reserved. @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-jsonschema SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.17.3} +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 8f0338be21..f7f267735b 100644 --- a/python/python3-jsonschema/python3-jsonschema.info +++ b/python/python3-jsonschema/python3-jsonschema.info @@ -1,10 +1,10 @@ PRGNAM="python3-jsonschema" -VERSION="4.17.3" +VERSION="4.25.1" HOMEPAGE="https://github.com/Julian/jsonschema" -DOWNLOAD="https://pypi.python.org/packages/source/j/jsonschema/jsonschema-4.17.3.tar.gz" -MD5SUM="7c65ceb8923c83cb1f22c2b5a86d99b0" +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-attrs python3-pyrsistent" +REQUIRES="python3-jsonschema-specifications" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-keyring/README b/python/python3-keyring/README index 66cf220f9e..5bf52320bb 100644 --- a/python/python3-keyring/README +++ b/python/python3-keyring/README @@ -1,3 +1,6 @@ -The Python keyring lib provides a easy way to access the -system keyring service from python. It can be used in any -application that needs safe password storage. +The Python keyring lib provides a easy way to access the system keyring +service from python. It can be used in any application that needs safe +password storage. + +python3-shtab is an optional dependency for building python3-keyring +with shell completion support. diff --git a/python/python3-keyring/python3-keyring.SlackBuild b/python/python3-keyring/python3-keyring.SlackBuild index 5bdb75588e..9e62539e07 100644 --- a/python/python3-keyring/python3-keyring.SlackBuild +++ b/python/python3-keyring/python3-keyring.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-keyring # Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece -# 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 @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-keyring -VERSION=${VERSION:-25.5.0} +VERSION=${VERSION:-25.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,6 +71,14 @@ export PYTHONPATH=/opt/python$PYVER/site-packages/ python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl +# Add python3-keyring shell completions (requires python3-shtab) +if $(python3 -c 'import pkgutil; exit(not pkgutil.find_loader("shtab"))'); then + mkdir -p $PKG/usr/share/bash-completion/completions + mkdir -p $PKG/usr/share/zsh/site-functions + $PKG/usr/bin/keyring --print-completion bash > $PKG/usr/share/bash-completion/completions/keyring + $PKG/usr/bin/keyring --print-completion zsh > $PKG/usr/share/zsh/site-functions/_keyring +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/python3-keyring/python3-keyring.info b/python/python3-keyring/python3-keyring.info index 27174d363b..8200e3be69 100644 --- a/python/python3-keyring/python3-keyring.info +++ b/python/python3-keyring/python3-keyring.info @@ -1,8 +1,8 @@ PRGNAM="python3-keyring" -VERSION="25.5.0" +VERSION="25.6.0" HOMEPAGE="https://github.com/jaraco/keyring" -DOWNLOAD="https://files.pythonhosted.org/packages/source/k/keyring/keyring-25.5.0.tar.gz" -MD5SUM="abbca9e5a78bdb506d3ba0bfa3fe3642" +DOWNLOAD="https://files.pythonhosted.org/packages/source/k/keyring/keyring-25.6.0.tar.gz" +MD5SUM="afe7f534c80dc29927f5211fcb925ed4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata python3-jaraco.classes python3-jaraco.context python3-jaraco.functools secretstorage" diff --git a/python/python3-keyring/slack-desc b/python/python3-keyring/slack-desc index 1b086f856d..399e4859cf 100644 --- a/python/python3-keyring/slack-desc +++ b/python/python3-keyring/slack-desc @@ -9,8 +9,8 @@ python3-keyring: python3-keyring (Python keyring library) python3-keyring: python3-keyring: The Python keyring lib provides a easy way to access the system -python3-keyring: keyring service from python. It can be used in any application -python3-keyring: that needs safe password storage. +python3-keyring: keyring service from python. It can be used in any application that +python3-keyring: needs safe password storage. python3-keyring: python3-keyring: Homepage: https://github.com/jaraco/keyring python3-keyring: 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-klepto/python3-klepto.SlackBuild b/python/python3-klepto/python3-klepto.SlackBuild index bb5c13d1dd..2dd74bdf8c 100644 --- a/python/python3-klepto/python3-klepto.SlackBuild +++ b/python/python3-klepto/python3-klepto.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-klepto -# 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-klepto -VERSION=${VERSION:-0.2.6} +VERSION=${VERSION:-0.2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-klepto/python3-klepto.info b/python/python3-klepto/python3-klepto.info index 73e2a06711..c29d9ef11c 100644 --- a/python/python3-klepto/python3-klepto.info +++ b/python/python3-klepto/python3-klepto.info @@ -1,8 +1,8 @@ PRGNAM="python3-klepto" -VERSION="0.2.6" +VERSION="0.2.7" HOMEPAGE="https://github.com/uqfoundation/klepto" -DOWNLOAD="https://pypi.io/packages/source/k/klepto/klepto-0.2.6.tar.gz" -MD5SUM="f056862fd0a267e6f823c8cfc3f6950c" +DOWNLOAD="https://pypi.io/packages/source/k/klepto/klepto-0.2.7.tar.gz" +MD5SUM="4e0889288b6a30e1a3ff09eba08d4f2a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-dill python3-pox" diff --git a/python/python3-knowit/README b/python/python3-knowit/README new file mode 100644 index 0000000000..85c1d28519 --- /dev/null +++ b/python/python3-knowit/README @@ -0,0 +1,3 @@ +python3-knowit (Know better your media files) + +Know better your media files. diff --git a/python/python3-knowit/python3-knowit.SlackBuild b/python/python3-knowit/python3-knowit.SlackBuild new file mode 100644 index 0000000000..6b095a554d --- /dev/null +++ b/python/python3-knowit/python3-knowit.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/bash + +# Slackware build script for python3-knowit + +# 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-knowit +VERSION=${VERSION:-0.5.11} +SRCNAM=${SRCNAM:-knowit} +BUILD=${BUILD:-2} +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 {} \; + +# Remove version limit for pymediainfo +sed -i 's|pymediainfo = ".*|pymediainfo = "*"|' 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-knowit/python3-knowit.info b/python/python3-knowit/python3-knowit.info new file mode 100644 index 0000000000..3eab9e55c2 --- /dev/null +++ b/python/python3-knowit/python3-knowit.info @@ -0,0 +1,10 @@ +PRGNAM="python3-knowit" +VERSION="0.5.11" +HOMEPAGE="https://github.com/ratoaq2/knowit" +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" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-knowit/slack-desc b/python/python3-knowit/slack-desc new file mode 100644 index 0000000000..b1b9c7b794 --- /dev/null +++ b/python/python3-knowit/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-knowit: python3-knowit (Know better your media files) +python3-knowit: +python3-knowit: Know better your media files. +python3-knowit: +python3-knowit: HOMEPAGE: https://github.com/ratoaq2/knowit +python3-knowit: +python3-knowit: +python3-knowit: +python3-knowit: +python3-knowit: +python3-knowit: diff --git a/python/python3-kombu/python3-kombu.SlackBuild b/python/python3-kombu/python3-kombu.SlackBuild index b4321d8244..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.4.2} -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 9a707f6bed..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.4.2" +VERSION="5.6.0" HOMEPAGE="https://kombu.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/k/kombu/kombu-5.4.2.tar.gz" -MD5SUM="115f555f67568d9680c84e1d57b01e3a" +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-lap/README b/python/python3-lap/README new file mode 100644 index 0000000000..113326c257 --- /dev/null +++ b/python/python3-lap/README @@ -0,0 +1,14 @@ +python3-lap (Linear Assignment Problem solver LAPJV/LAPMOD). + +lap is a linear assignment problem solver using Jonker-Volgenant +algorithm for dense LAPJV¹ or sparse LAPMOD² matrices. Both algorithms +are implemented from scratch based solely on the papers¹˒² and the +public domain Pascal implementation provided by A. Volgenant³. The +LAPMOD implementation seems to be faster than the LAPJV implementation +for matrices with a side of more than ~5000 and with less than 50% +finite coefficients. + +NOTE: While python3-numpy will build without it I highly suggest + installing OpenBLAS before building numpy. I would add it to the + REQUIRES for python3-lap but it will not be in the proper order + for numpy to build against OpenBLAS. diff --git a/python/python3-lap/python3-lap.SlackBuild b/python/python3-lap/python3-lap.SlackBuild new file mode 100644 index 0000000000..281c00923e --- /dev/null +++ b/python/python3-lap/python3-lap.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for python3-lap + +# 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-lap +SRCNAM=${PRGNAM#python3-*} +VERSION=${VERSION:-0.5.12} +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.?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 {} \+ + +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 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-lap/python3-lap.info b/python/python3-lap/python3-lap.info new file mode 100644 index 0000000000..1e4331c550 --- /dev/null +++ b/python/python3-lap/python3-lap.info @@ -0,0 +1,10 @@ +PRGNAM="python3-lap" +VERSION="0.5.12" +HOMEPAGE="https://github.com/gatagat/lap" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lap/lap-0.5.12.tar.gz" +MD5SUM="68c9d71a49d5e22b67f374f489e82e56" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt python3-numpy" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-lap/slack-desc b/python/python3-lap/slack-desc new file mode 100644 index 0000000000..c68676cfd2 --- /dev/null +++ b/python/python3-lap/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-lap: python3-lap (Linear Assignment Problem solver LAPJV/LAPMOD) +python3-lap: +python3-lap: lap is a linear assignment problem solver using Jonker-Volgenant +python3-lap: algorithm for dense LAPJV or sparse LAPMOD matrices. Both algorithms +python3-lap: are implemented from scratch based solely on the papers and the +python3-lap: public domain Pascal implementation provided by A. Volgenant. The +python3-lap: LAPMOD implementation seems to be faster than the LAPJV implementation +python3-lap: for matrices with a side of more than ~5000 and with less than 50% +python3-lap: finite coefficients. +python3-lap: +python3-lap: Homepage: https://github.com/gatagat/lap 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-libagent/python3-libagent.SlackBuild b/python/python3-libagent/python3-libagent.SlackBuild new file mode 100644 index 0000000000..9b5d2cd352 --- /dev/null +++ b/python/python3-libagent/python3-libagent.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/bash + +# Slackware build script for python3-libagent + +# 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-libagent +VERSION=${VERSION:-0.15.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=libagent + +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 {} \; + +# 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.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-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 e3f0806f78..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.40.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 cc21300e23..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.40.1" +VERSION="0.46.2" HOMEPAGE="https://github.com/tony/libtmux" -DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libtmux/libtmux-0.40.1.tar.gz" -MD5SUM="d66d72ebb7f9c69376eb94694053a28c" +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 66d3f22736..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,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-lsp-server -VERSION=${VERSION:-1.6.0} +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.1.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 92e9d81c00..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.3.1} +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 acc3d16108..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.3.1" +VERSION="6.0.2" HOMEPAGE="https://lxml.de/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lxml/lxml-5.3.1.tar.gz" -MD5SUM="9d94cc157fb6db0c062ef80cdc0ed307" +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 7a88132719..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.1} +VERSION=${VERSION:-1.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,11 +76,13 @@ 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 +export MATURIN_NO_INSTALL_RUST=1 # prevent cargo from using the network. # this only works because we have a vendored sources tarball with diff --git a/python/python3-maturin/python3-maturin.info b/python/python3-maturin/python3-maturin.info index 77f4916a4d..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.1" +VERSION="1.10.2" HOMEPAGE="https://github.com/PyO3/maturin" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/maturin/maturin-1.8.1.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/maturin-vendored-sources-1.8.1-1.tar.xz" -MD5SUM="6e14b8234aee912adb5f6a00f2314fb7 \ - 599d0a173f6ff3bb1005a63167056ad1" +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 9da0bf16bc..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.7.0} +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 fece558624..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.7.0" +VERSION="1.9.1" HOMEPAGE="https://github.com/mesonbuild/meson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/meson/meson-1.7.0.tar.gz" -MD5SUM="c20f3e5ebbb007352d22f4fd6ceb925c" +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-mesonpy/python3-mesonpy.SlackBuild b/python/python3-mesonpy/python3-mesonpy.SlackBuild index 969c722726..ce3066f85f 100644 --- a/python/python3-mesonpy/python3-mesonpy.SlackBuild +++ b/python/python3-mesonpy/python3-mesonpy.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-mesonpy -# 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-mesonpy SRCNAM=meson_python -VERSION=${VERSION:-0.17.1} +VERSION=${VERSION:-0.18.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,7 +63,7 @@ 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 {} \+ -# to use updated meson +# to use updated meson and packaging PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-mesonpy/python3-mesonpy.info b/python/python3-mesonpy/python3-mesonpy.info index a8dc979864..a387800aae 100644 --- a/python/python3-mesonpy/python3-mesonpy.info +++ b/python/python3-mesonpy/python3-mesonpy.info @@ -1,10 +1,10 @@ PRGNAM="python3-mesonpy" -VERSION="0.17.1" +VERSION="0.18.0" HOMEPAGE="https://github.com/mesonbuild/meson-python" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/meson-python/meson_python-0.17.1.tar.gz" -MD5SUM="bf1299782f02e4bb590a437bd140fd12" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/meson-python/meson_python-0.18.0.tar.gz" +MD5SUM="b4d7f9ef6f09deb8dc8a7e5cbf16778e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pyproject-metadata python3-meson-opt" +REQUIRES="python3-pyproject-metadata python3-meson-opt python3-packaging-opt" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-mistune/python3-mistune.SlackBuild b/python/python3-mistune/python3-mistune.SlackBuild index 2a99744d3e..8b4c8ea193 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.2.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 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..f1919136b2 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.2.0" 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.2.0.tar.gz" +MD5SUM="26272a8d5ee997f80b32a93e51a24b54" 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 b1cd563561..c623f491f0 100644 --- a/python/python3-more-itertools/python3-more-itertools.SlackBuild +++ b/python/python3-more-itertools/python3-more-itertools.SlackBuild @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-more-itertools -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-10.6.0} +SRCNAM=more_itertools +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 6192c8bdc2..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.6.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.6.0.tar.gz" -MD5SUM="48da05632079828fd2e89e238192bb69" +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 457f2703b8..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.0} +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 5ad2e605b3..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.0" +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.0/microsoft-authentication-library-for-python-1.32.0.tar.gz" -MD5SUM="58ac83e389a0ebd4edebb7af8a628472" +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 412c9ec710..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.3.2} +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 aa5d11cb0d..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.3.2" +VERSION="6.7.0" HOMEPAGE="https://multidict.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/multidict/archive/v6.3.2/multidict-6.3.2.tar.gz" -MD5SUM="b7f0a07c6d60402880aaf6f38fa03300" +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/README b/python/python3-narwhals/README new file mode 100644 index 0000000000..e7a47a477a --- /dev/null +++ b/python/python3-narwhals/README @@ -0,0 +1,7 @@ +Narwhals is an extremely lightweight and extensible compatibility layer +between dataframe libraries. + +It contains full API support: cuDF, Modin, pandas, Polars, PyArrow. +It also contains lazy-only support: Dask, SQLFrame, PySpark. + +Seamlessly support all, without depending on any! diff --git a/python/python3-narwhals/python3-narwhals.SlackBuild b/python/python3-narwhals/python3-narwhals.SlackBuild new file mode 100644 index 0000000000..ff333a395b --- /dev/null +++ b/python/python3-narwhals/python3-narwhals.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/bash + +# Slackware build script for python3-narwhals + +# 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-narwhals +VERSION=${VERSION:-2.12.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=narwhals + +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 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.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-narwhals/python3-narwhals.info b/python/python3-narwhals/python3-narwhals.info new file mode 100644 index 0000000000..a467cc3676 --- /dev/null +++ b/python/python3-narwhals/python3-narwhals.info @@ -0,0 +1,10 @@ +PRGNAM="python3-narwhals" +VERSION="2.12.0" +HOMEPAGE="https://narwhals-dev.github.io/narwhals/" +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" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-narwhals/slack-desc b/python/python3-narwhals/slack-desc new file mode 100644 index 0000000000..b7168a8274 --- /dev/null +++ b/python/python3-narwhals/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-narwhals: python3-narwhals (Compatibility layer between dataframe libraries) +python3-narwhals: +python3-narwhals: Narwhals is an extremely lightweight and extensible compatibility +python3-narwhals: layer between dataframe libraries. +python3-narwhals: +python3-narwhals: +python3-narwhals: +python3-narwhals: +python3-narwhals: +python3-narwhals: +python3-narwhals: 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/README b/python/python3-netaddr/README new file mode 100644 index 0000000000..3283fd24c6 --- /dev/null +++ b/python/python3-netaddr/README @@ -0,0 +1,20 @@ +A pure Python network address representation and manipulation library. + +netaddr provides a Pythonic way of working with :- +- IPv4 and IPv6 addresses and subnets +- MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers +- arbitrary (non-aligned) IP address ranges and IP address sets +- various non-CIDR IP range formats such as nmap and glob-style formats + +The source package includes (probably now out of date) data from: +1. https://standards-oui.ieee.org (public OUI and IAB registration data +published by the IEEE) +2. https://www.iana.org (IPv4, IPv6 and multicast address space +allocations). + +To include the latest versions in the package, run the script with: + +NEWDATA=yes ./python3-netaddr.SlackBuild + +and the latest versions will be downloaded during the build +for inclusion in the package. diff --git a/python/guess-language/guess-language.SlackBuild b/python/python3-netaddr/python3-netaddr.SlackBuild index 3433c47713..f8135c5eea 100644 --- a/python/guess-language/guess-language.SlackBuild +++ b/python/python3-netaddr/python3-netaddr.SlackBuild @@ -1,8 +1,9 @@ #!/bin/bash -# Slackware build script for guess-language +# Slackware build script for python3-netaddr -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2025 Olivier Brouckaert <olivier.b@i-services.be>, Brussels, Belgium +# Copyright 2013-2024 Christoph Willing, Sydney Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +25,9 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=guess-language -VERSION=${VERSION:-0.2} +PRGNAM=python3-netaddr +SRC_PRGNAM=netaddr +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,46 +52,53 @@ 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION + +if [ ${NEWDATA:-no} = "yes" ]; then + echo 'downloading latest IEEE data' + (cd netaddr/eui/ && wget -N https://standards-oui.ieee.org/oui/oui.txt) + (cd netaddr/eui/ && wget -N https://standards-oui.ieee.org/iab/iab.txt) + echo 'rebuilding IEEE data file indices' + PYTHONPATH="." python3 netaddr/eui/ieee.py + echo 'downloading latest IANA data' + (cd netaddr/ip/ && wget -N https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xml) + (cd netaddr/ip/ && wget -N https://www.iana.org/assignments/ipv6-address-space/ipv6-address-space.xml) + (cd netaddr/ip/ && wget -N https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xml) +fi + 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 {} \; + \( -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 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/ + +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 $PKG/usr/doc/$PRGNAM-$VERSION +cp -a docs/* \ + AUTHORS* CHANGELOG* COPYRIGHT* LICENSE* MANIFEST* README* THANKS* \ + $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-netaddr/python3-netaddr.info b/python/python3-netaddr/python3-netaddr.info new file mode 100644 index 0000000000..add22d8868 --- /dev/null +++ b/python/python3-netaddr/python3-netaddr.info @@ -0,0 +1,10 @@ +PRGNAM="python3-netaddr" +VERSION="1.3.0" +HOMEPAGE="https://github.com/netaddr/netaddr" +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="python3-setuptools-opt" +MAINTAINER="Olivier Brouckaert" +EMAIL="olivier.b@i-services.be" diff --git a/python/python3-netaddr/slack-desc b/python/python3-netaddr/slack-desc new file mode 100644 index 0000000000..0eef492d8e --- /dev/null +++ b/python/python3-netaddr/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-netaddr: python3-netaddr (Network address manipulation) +python3-netaddr: +python3-netaddr: netaddr provides a Pythonic way of working with: +python3-netaddr: - IPv4 and IPv6 addresses and subnets +python3-netaddr: - MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers +python3-netaddr: - arbitrary (non-aligned) IP address ranges and IP address sets +python3-netaddr: - some non-CIDR IP range formats such as nmap and glob-style formats +python3-netaddr: +python3-netaddr: nettaddr is able to manipulate IPv4, IPv6, CIDR, EUI and MAC +python3-netaddr: network addresses. +python3-netaddr: 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/w3lib/w3lib.SlackBuild b/python/python3-nuitka/python3-nuitka.SlackBuild index a1b1b27350..2812bf7216 100644 --- a/python/w3lib/w3lib.SlackBuild +++ b/python/python3-nuitka/python3-nuitka.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for w3lib +# Slackware build script for python3-nuitka -# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,11 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=w3lib -VERSION=${VERSION:-1.22.0} +PRGNAM=python3-nuitka +VERSION=${VERSION:-2.8.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +TARBALL=Nuitka 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 @@ -50,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 $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$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 \ @@ -79,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 {} \; +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 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/python3-nuitka/python3-nuitka.info b/python/python3-nuitka/python3-nuitka.info new file mode 100644 index 0000000000..1f147dd790 --- /dev/null +++ b/python/python3-nuitka/python3-nuitka.info @@ -0,0 +1,10 @@ +PRGNAM="python3-nuitka" +VERSION="2.8.10" +HOMEPAGE="https://nuitka.net" +DOWNLOAD="https://github.com/Nuitka/Nuitka/archive/2.8.10/Nuitka-2.8.10.tar.gz" +MD5SUM="bb6c062421861eeed613c1012ebb183d" +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..a9c8a59cdd --- /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.19.0} +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..c92dff0495 --- /dev/null +++ b/python/python3-odfdo/python3-odfdo.info @@ -0,0 +1,10 @@ +PRGNAM="python3-odfdo" +VERSION="3.19.0" +HOMEPAGE="https://github.com/jdum/odfdo" +DOWNLOAD="https://github.com/jdum/odfdo/archive/v3.19.0/odfdo-3.19.0.tar.gz" +MD5SUM="9bd3bf92212a407b8bc822ec613ec7d0" +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 6e966e8ff1..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.15} +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 ec1c6ce9a9..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.15" +VERSION="3.11.4" HOMEPAGE="https://github.com/ijl/orjson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/o/orjson/orjson-3.10.15.tar.gz" -MD5SUM="31994e51d0420caac32bf72b13d4ebb6" +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-packaging-opt/python3-packaging-opt.SlackBuild b/python/python3-packaging-opt/python3-packaging-opt.SlackBuild index d553cbd251..a44e7e108f 100644 --- a/python/python3-packaging-opt/python3-packaging-opt.SlackBuild +++ b/python/python3-packaging-opt/python3-packaging-opt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-packaging-opt -# Copyright 2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2024-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-packaging-opt SRCNAM=packaging -VERSION=${VERSION:-24.2} +VERSION=${VERSION:-25.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-packaging-opt/python3-packaging-opt.info b/python/python3-packaging-opt/python3-packaging-opt.info index 0d110868fa..68e46686df 100644 --- a/python/python3-packaging-opt/python3-packaging-opt.info +++ b/python/python3-packaging-opt/python3-packaging-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-packaging-opt" -VERSION="24.2" +VERSION="25.0" HOMEPAGE="https://pypi.org/project/packaging/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/packaging/packaging-24.2.tar.gz" -MD5SUM="97dbaca91e00d6b9fd86866e8c7897ae" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/packaging/packaging-25.0.tar.gz" +MD5SUM="ab0ef21ddebe09d1803575120d3f99f8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" 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 87947e49b7..055d6f44ec 100644 --- a/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild +++ b/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pdfminer.six -# Copyright 2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2024-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2023-2024, Alexander Verbovetsky, Moscow, Russia # Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com> # All rights reserved. @@ -27,7 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdfminer.six -VERSION=${VERSION:-20240706} +SRCNAM=pdfminer_six +VERSION=${VERSION:-20251107} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -54,19 +55,19 @@ 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 \ - -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 {} + \) -sed -i "s/__VERSION__/$VERSION/" pdfminer/__init__.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 +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-pdfminer.six/python3-pdfminer.six.info b/python/python3-pdfminer.six/python3-pdfminer.six.info index e86ea01533..7de0314dfb 100644 --- a/python/python3-pdfminer.six/python3-pdfminer.six.info +++ b/python/python3-pdfminer.six/python3-pdfminer.six.info @@ -1,10 +1,10 @@ PRGNAM="python3-pdfminer.six" -VERSION="20240706" +VERSION="20251107" HOMEPAGE="https://github.com/pdfminer/pdfminer.six" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdfminer.six/pdfminer.six-20240706.tar.gz" -MD5SUM="641d740d555f04a17f0df1090200a2e6" +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" +REQUIRES="cryptography python3-setuptools-git-versioning python3-setuptools-scm-opt" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-pdm-backend/python3-pdm-backend.SlackBuild b/python/python3-pdm-backend/python3-pdm-backend.SlackBuild index 313e1c880d..c4800e12f5 100644 --- a/python/python3-pdm-backend/python3-pdm-backend.SlackBuild +++ b/python/python3-pdm-backend/python3-pdm-backend.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pdm-backend -# 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-pdm-backend -VERSION=${VERSION:-2.4.3} +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 dbe93b42df..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.3" +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.3.tar.gz" -MD5SUM="3aad60c8b253336b09129551677912ad" +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 30fc271265..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.22.4} +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 1565e58388..abd0c801a0 100644 --- a/python/python3-pdm/python3-pdm.info +++ b/python/python3-pdm/python3-pdm.info @@ -1,10 +1,10 @@ PRGNAM="python3-pdm" -VERSION="2.22.4" +VERSION="2.26.2" HOMEPAGE="https://github.com/pdm-project/pdm" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm/pdm-2.22.4.tar.gz" -MD5SUM="50618f4d2ead4a88e703695c4991fd7c" +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" +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" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" 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 98e196f7d6..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} +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 3bb10bde5e..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" +VERSION="6.3" HOMEPAGE="https://github.com/zopefoundation/persistent/" -DOWNLOAD="https://pypi.python.org/packages/source/p/persistent/persistent-6.1.tar.gz" -MD5SUM="48ec39a6620f1f838d09b5a42014f4db" +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-pint/README b/python/python3-pint/README new file mode 100644 index 0000000000..c7b89304a6 --- /dev/null +++ b/python/python3-pint/README @@ -0,0 +1,14 @@ + +Pint is a Python package to define, operate and manipulate physical +quantities: the product of a numerical value and a unit of measurement. +It allows arithmetic operations between them and conversions from and +to different units. + +It is distributed with a comprehensive list of physical units, prefixes +and constants. Due to its modular design, you can extend (or even +rewrite!) the complete list without changing the source code. It +supports a lot of numpy mathematical operations without monkey patching +or wrapping numpy. + +NOTE: Unable to support newer versions due to requiring newer version +of python than is available in Slackware 15.0 (python 3.11). diff --git a/python/python3-pint/python3-pint.SlackBuild b/python/python3-pint/python3-pint.SlackBuild new file mode 100644 index 0000000000..e8ed03fc2a --- /dev/null +++ b/python/python3-pint/python3-pint.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# Slackware build script for python3-pint + +# 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-pint +VERSION=${VERSION:-0.23} +SRCNAM=${SRCNAM:-pint} +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 +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS CHANGES 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-pint/python3-pint.info b/python/python3-pint/python3-pint.info new file mode 100644 index 0000000000..f075fbd9a6 --- /dev/null +++ b/python/python3-pint/python3-pint.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pint" +VERSION="0.23" +HOMEPAGE="http://pint.readthedocs.org/" +DOWNLOAD="https://github.com/hgrecco/pint/archive/refs/tags/0.23/pint-0.23.tar.gz" +MD5SUM="ed80c646893e57e8ac24ab85d998fc14" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-typing-extensions python3-setuptools-opt" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-pint/slack-desc b/python/python3-pint/slack-desc new file mode 100644 index 0000000000..76163e34d9 --- /dev/null +++ b/python/python3-pint/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-pint: python3-pint (Operate and manipulate physical quantities) +python3-pint: +python3-pint: Pint is a Python package to define, operate and manipulate +python3-pint: physical quantities: the product of a numerical value and a unit +python3-pint: of measurement. It allows arithmetic operations between them and +python3-pint: conversions from and to different units. +python3-pint: +python3-pint: HOMEPAGE: http://pint.readthedocs.org/ +python3-pint: +python3-pint: +python3-pint: 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 61fcca2c38..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.7} +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 2743e7829e..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.7" +VERSION="4.5.0" HOMEPAGE="https://github.com/platformdirs/platformdirs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-4.3.7.tar.gz" -MD5SUM="bc7a04e79f046dd7d63c7f13c3bc424b" +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 10867df4d3..4dc087fb53 100644 --- a/python/python3-plotly/python3-plotly.SlackBuild +++ b/python/python3-plotly/python3-plotly.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-plotly -# 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 @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-plotly -VERSION=${VERSION:-5.24.1} +VERSION=${VERSION:-6.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,19 +64,22 @@ 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 {} \; -cd packages/python/plotly +# Do not try to fetch stuff with npm (code taken from Gentoo repos) +export SKIP_NPM=1 -# Fix /etc/jupyter patch -sed 's|etc|/etc|' -i setup.py +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -# Disable npm modules while installing plotly -SKIP_NPM=1 python3 setup.py install --root=$PKG +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -Dm644 LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md MIGRATION_GUIDE.md README.md RELEASE.md 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-plotly/python3-plotly.info b/python/python3-plotly/python3-plotly.info index f56d7d92c5..ed2bde3db1 100644 --- a/python/python3-plotly/python3-plotly.info +++ b/python/python3-plotly/python3-plotly.info @@ -1,10 +1,10 @@ PRGNAM="python3-plotly" -VERSION="5.24.1" +VERSION="6.5.0" HOMEPAGE="https://github.com/plotly/plotly.py" -DOWNLOAD="https://github.com/plotly/plotly.py/archive/v5.24.1/plotly.py-5.24.1.tar.gz" -MD5SUM="3a349bd6a7e482797ee63d1e45bda4ec" +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-tenacity" +REQUIRES="python3-narwhals" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pluggy/python3-pluggy.SlackBuild b/python/python3-pluggy/python3-pluggy.SlackBuild index 07760a7697..cf52ec8229 100644 --- a/python/python3-pluggy/python3-pluggy.SlackBuild +++ b/python/python3-pluggy/python3-pluggy.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-pluggy # 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 @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pluggy SRCNAM=pluggy -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,7 +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 {} \; -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-pluggy/python3-pluggy.info b/python/python3-pluggy/python3-pluggy.info index 5dc907446d..e4bfbf54ff 100644 --- a/python/python3-pluggy/python3-pluggy.info +++ b/python/python3-pluggy/python3-pluggy.info @@ -1,10 +1,10 @@ PRGNAM="python3-pluggy" -VERSION="1.5.0" +VERSION="1.6.0" HOMEPAGE="https://github.com/pytest-dev/pluggy" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-1.5.0.tar.gz" -MD5SUM="ac0870be78ba0ee227a5c3955efeba59" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-1.6.0.tar.gz" +MD5SUM="54391218af778acb006c2d915085d469" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-scm-opt" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-poetry-core/python3-poetry-core.SlackBuild b/python/python3-poetry-core/python3-poetry-core.SlackBuild index 18345d7e03..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.1} +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 01450b5682..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.1" +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.1.tar.gz" -MD5SUM="60f009acbbe30c3142926a121966ce08" +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-pox/python3-pox.SlackBuild b/python/python3-pox/python3-pox.SlackBuild index 9fded44cff..4e3139d790 100644 --- a/python/python3-pox/python3-pox.SlackBuild +++ b/python/python3-pox/python3-pox.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pox -# Copyright 2023-2024 Vijay Marcel +# Copyright 2023-2025 Vijay Marcel # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pox -VERSION=${VERSION:-0.3.5} +VERSION=${VERSION:-0.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pox/python3-pox.info b/python/python3-pox/python3-pox.info index 00efdd7076..8ce071286c 100644 --- a/python/python3-pox/python3-pox.info +++ b/python/python3-pox/python3-pox.info @@ -1,8 +1,8 @@ PRGNAM="python3-pox" -VERSION="0.3.5" +VERSION="0.3.6" HOMEPAGE="https://github.com/uqfoundation/pox" -DOWNLOAD="https://pypi.io/packages/source/p/pox/pox-0.3.5.tar.gz" -MD5SUM="19b37199e356d9a0451bb834924fd41f" +DOWNLOAD="https://pypi.io/packages/source/p/pox/pox-0.3.6.tar.gz" +MD5SUM="d14cd6417e70ab4571d225b8053c27e1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-prefixed/README b/python/python3-prefixed/README new file mode 100644 index 0000000000..29d3893fbd --- /dev/null +++ b/python/python3-prefixed/README @@ -0,0 +1 @@ +Prefixed alternative numeric library diff --git a/python/python3-prefixed/python3-prefixed.SlackBuild b/python/python3-prefixed/python3-prefixed.SlackBuild new file mode 100644 index 0000000000..ce43efe4d9 --- /dev/null +++ b/python/python3-prefixed/python3-prefixed.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/bash + +# Slackware build script for python3-prefixed + +# 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-prefixed +VERSION=${VERSION:-0.9.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +TARBALL=prefixed + +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/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-prefixed/python3-prefixed.info b/python/python3-prefixed/python3-prefixed.info new file mode 100644 index 0000000000..ee255b58b5 --- /dev/null +++ b/python/python3-prefixed/python3-prefixed.info @@ -0,0 +1,10 @@ +PRGNAM="python3-prefixed" +VERSION="0.9.0" +HOMEPAGE="https://github.com/Rockhopper-Technologies/prefixed" +DOWNLOAD="https://files.pythonhosted.org/packages/48/ae/296470eca349da35bdec573e54320afa2b5b099c582e5d97be8bccac247e/prefixed-0.9.0.tar.gz" +MD5SUM="a1fbee3ee3ee7b271a627f0b1043afa2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-prefixed/python3-prefixed.info.new b/python/python3-prefixed/python3-prefixed.info.new new file mode 100644 index 0000000000..ee255b58b5 --- /dev/null +++ b/python/python3-prefixed/python3-prefixed.info.new @@ -0,0 +1,10 @@ +PRGNAM="python3-prefixed" +VERSION="0.9.0" +HOMEPAGE="https://github.com/Rockhopper-Technologies/prefixed" +DOWNLOAD="https://files.pythonhosted.org/packages/48/ae/296470eca349da35bdec573e54320afa2b5b099c582e5d97be8bccac247e/prefixed-0.9.0.tar.gz" +MD5SUM="a1fbee3ee3ee7b271a627f0b1043afa2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/python/python3-prefixed/slack-desc b/python/python3-prefixed/slack-desc new file mode 100644 index 0000000000..acfd0f51aa --- /dev/null +++ b/python/python3-prefixed/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-prefixed: python3-prefixed (prefixed alternative numeric library) +python3-prefixed: +python3-prefixed: Prefixed alternative numeric library +python3-prefixed: +python3-prefixed: +python3-prefixed: +python3-prefixed: +python3-prefixed: +python3-prefixed: +python3-prefixed: +python3-prefixed: diff --git a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild index d629b000d2..99f53c50a4 100644 --- a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild +++ b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-prometheus_client # Copyright 2018-2021 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-prometheus_client -VERSION=${VERSION:-0.21.1} +VERSION=${VERSION:-0.23.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,14 +65,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 {} \; -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 NOTICE CODE_OF_CONDUCT.md CONTRIBUTING.md MAINTAINERS.md README.md SECURITY.md \ + CODE_OF_CONDUCT.md CONTRIBUTING.md MAINTAINERS.md README.md SECURITY.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-prometheus_client/python3-prometheus_client.info b/python/python3-prometheus_client/python3-prometheus_client.info index 2248d94f4a..6cff765bf7 100644 --- a/python/python3-prometheus_client/python3-prometheus_client.info +++ b/python/python3-prometheus_client/python3-prometheus_client.info @@ -1,10 +1,10 @@ PRGNAM="python3-prometheus_client" -VERSION="0.21.1" -HOMEPAGE="https://prometheus.io/" -DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.21.1/client_python-0.21.1.tar.gz" -MD5SUM="d9601350bcd2e05aa529a163852f9f02" +VERSION="0.23.1" +HOMEPAGE="https://github.com/prometheus/client_python" +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="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild index 8fcf7624c4..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.50} +VERSION=${VERSION:-3.0.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,7 +86,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 --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 \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.info b/python/python3-prompt_toolkit/python3-prompt_toolkit.info index 07c99795e9..3d0736b34f 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.info +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.info @@ -1,10 +1,10 @@ PRGNAM="python3-prompt_toolkit" -VERSION="3.0.50" +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.50.tar.gz" -MD5SUM="c272c222da72fd7a854589a8059081af" +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" +REQUIRES="python3-wcwidth python3-setuptools-opt" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-prompt_toolkit38/README b/python/python3-prompt_toolkit38/README new file mode 100644 index 0000000000..9d1c686804 --- /dev/null +++ b/python/python3-prompt_toolkit38/README @@ -0,0 +1,2 @@ +prompt_toolkit is a library for building powerful interactive +command lines in Python. diff --git a/python/trezor/trezor.SlackBuild b/python/python3-prompt_toolkit38/python3-prompt_toolkit38.SlackBuild index 0de9cd6c29..f8ca7bb806 100644 --- a/python/trezor/trezor.SlackBuild +++ b/python/python3-prompt_toolkit38/python3-prompt_toolkit38.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for trezor +# Slackware build script for python3-prompt_toolkit -# Copyright (c) 2016-2017 Reedych <reedych@reedych.pw> +# Copyright 2025 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,14 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=trezor -VERSION=${VERSION:-0.7.9.post1} +PRGNAM=python3-prompt_toolkit38 +SRCNAM=prompt_toolkit +VERSION=${VERSION:-3.0.38} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=python-$PRGNAM - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -61,6 +60,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -81,13 +83,16 @@ 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 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.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS.rst CHANGELOG 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-prompt_toolkit38/python3-prompt_toolkit38.info b/python/python3-prompt_toolkit38/python3-prompt_toolkit38.info new file mode 100644 index 0000000000..4797081e53 --- /dev/null +++ b/python/python3-prompt_toolkit38/python3-prompt_toolkit38.info @@ -0,0 +1,10 @@ +PRGNAM="python3-prompt_toolkit38" +VERSION="3.0.38" +HOMEPAGE="https://github.com/jonathanslenders/python-prompt-toolkit" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.38.tar.gz" +MD5SUM="c5e321dd56e1ed8ed95c5fccffb8f3da" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-wheel python3-wcwidth" +MAINTAINER="Dimitris Zlatanidis" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-prompt_toolkit38/slack-desc b/python/python3-prompt_toolkit38/slack-desc new file mode 100644 index 0000000000..1b6db42b2e --- /dev/null +++ b/python/python3-prompt_toolkit38/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-prompt_toolkit38: python3-prompt_toolkit38 (Python 3 command-line module) +python3-prompt_toolkit38: +python3-prompt_toolkit38: prompt_toolkit is a library for building powerful interactive +python3-prompt_toolkit38: command lines in Python. +python3-prompt_toolkit38: +python3-prompt_toolkit38: Homepage: https://github.com/jonathanslenders/python-prompt-toolkit +python3-prompt_toolkit38: +python3-prompt_toolkit38: +python3-prompt_toolkit38: +python3-prompt_toolkit38: +python3-prompt_toolkit38: diff --git a/python/python3-propcache/python3-propcache.SlackBuild b/python/python3-propcache/python3-propcache.SlackBuild index 85dfb645f3..a5ff25ac8f 100644 --- a/python/python3-propcache/python3-propcache.SlackBuild +++ b/python/python3-propcache/python3-propcache.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-propcache -# Copyright 2024 by Jay Lanagan (j@lngn.net), Detroit, MI, USA. +# Copyright 2024-2025 by Jay Lanagan (j@lngn.net), Detroit, MI, USA. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) SRCNAM=propcache PRGNAM=python3-propcache -VERSION=${VERSION:-0.2.1} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,6 +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 {} \; +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-propcache/python3-propcache.info b/python/python3-propcache/python3-propcache.info index a36a5c1954..b8dbb1802c 100644 --- a/python/python3-propcache/python3-propcache.info +++ b/python/python3-propcache/python3-propcache.info @@ -1,10 +1,10 @@ PRGNAM="python3-propcache" -VERSION="0.2.1" +VERSION="0.4.1" HOMEPAGE="https://propcache.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/propcache/propcache-0.2.1.tar.gz" -MD5SUM="c642caac1415818205011277008142ea" +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-expandvars" +REQUIRES="python3-cython-opt python3-expandvars" MAINTAINER="Jay Lanagan" EMAIL="j@lngn.net" 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-pyasn1-modules/python3-pyasn1-modules.SlackBuild b/python/python3-pyasn1-modules/python3-pyasn1-modules.SlackBuild index eca67344b5..0e492f5d75 100644 --- a/python/python3-pyasn1-modules/python3-pyasn1-modules.SlackBuild +++ b/python/python3-pyasn1-modules/python3-pyasn1-modules.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pyasn1-modules SRCNAM=pyasn1_modules -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pyasn1-modules/python3-pyasn1-modules.info b/python/python3-pyasn1-modules/python3-pyasn1-modules.info index d99f7c67b1..a91e97ec89 100644 --- a/python/python3-pyasn1-modules/python3-pyasn1-modules.info +++ b/python/python3-pyasn1-modules/python3-pyasn1-modules.info @@ -1,8 +1,8 @@ PRGNAM="python3-pyasn1-modules" -VERSION="0.4.1" +VERSION="0.4.2" HOMEPAGE="https://pypi.python.org/pypi/pyasn1-modules/" -DOWNLOAD="https://pypi.python.org/packages/source/p/pyasn1_modules/pyasn1_modules-0.4.1.tar.gz" -MD5SUM="2cb6c7001ac5caa2ead3ad2d28c9a43e" +DOWNLOAD="https://pypi.python.org/packages/source/p/pyasn1_modules/pyasn1_modules-0.4.2.tar.gz" +MD5SUM="799696cd892940f63904dcd9b0fa96bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pyasn1" 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-pycryptodomex/python3-pycryptodomex.SlackBuild b/python/python3-pycryptodomex/python3-pycryptodomex.SlackBuild index 3b14d92111..188eea9777 100644 --- a/python/python3-pycryptodomex/python3-pycryptodomex.SlackBuild +++ b/python/python3-pycryptodomex/python3-pycryptodomex.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pycryptodomex -VERSION=${VERSION:-3.22.0} +VERSION=${VERSION:-3.23.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pycryptodomex/python3-pycryptodomex.info b/python/python3-pycryptodomex/python3-pycryptodomex.info index 23f4514f2e..6b02a2c4ec 100644 --- a/python/python3-pycryptodomex/python3-pycryptodomex.info +++ b/python/python3-pycryptodomex/python3-pycryptodomex.info @@ -1,8 +1,8 @@ PRGNAM="python3-pycryptodomex" -VERSION="3.22.0" +VERSION="3.23.0" HOMEPAGE="https://github.com/Legrandin/pycryptodome" -DOWNLOAD="https://github.com/Legrandin/pycryptodome/archive/v3.22.0x/pycryptodome-3.22.0x.tar.gz" -MD5SUM="50f33147a3740fd868ceb9179632a709" +DOWNLOAD="https://github.com/Legrandin/pycryptodome/archive/v3.23.0x/pycryptodome-3.23.0x.tar.gz" +MD5SUM="d9a3f4131a97f8defd3d0b9a922300ea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild index 22772675e5..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.27.2} +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 8a452e2120..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.27.2" +VERSION="2.41.5" HOMEPAGE="https://github.com/pydantic/pydantic-core" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic-core/pydantic_core-2.27.2.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/pydantic_core-vendored-sources-2.27.2-1.tar.xz" -MD5SUM="c90633350cda088856cf60c1c87de618 \ - ea696259b639b27ce7ae7a0ea40df527" +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 1eb5484a14..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.10.6} +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 8a244272ee..80a17485b7 100644 --- a/python/python3-pydantic/python3-pydantic.info +++ b/python/python3-pydantic/python3-pydantic.info @@ -1,10 +1,10 @@ PRGNAM="python3-pydantic" -VERSION="2.10.6" +VERSION="2.12.5" HOMEPAGE="https://github.com/pydantic/pydantic" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.10.6.tar.gz" -MD5SUM="46b0048f4ad780b0e8a15f602b56c5a1" +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" +REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme python3-typing-inspection" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" 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-pyflakes/python3-pyflakes.SlackBuild b/python/python3-pyflakes/python3-pyflakes.SlackBuild index c73c05d397..98485c4103 100644 --- a/python/python3-pyflakes/python3-pyflakes.SlackBuild +++ b/python/python3-pyflakes/python3-pyflakes.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pyflakes -# Copyright 2022-2024 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2025 Dimitris Zlatanidis Orestiada, Greece # 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-pyflakes SRCNAM=pyflakes -VERSION=${VERSION:-3.2.0} +VERSION=${VERSION:-3.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pyflakes/python3-pyflakes.info b/python/python3-pyflakes/python3-pyflakes.info index ff394823f3..489e2f38b0 100644 --- a/python/python3-pyflakes/python3-pyflakes.info +++ b/python/python3-pyflakes/python3-pyflakes.info @@ -1,8 +1,8 @@ PRGNAM="python3-pyflakes" -VERSION="3.2.0" +VERSION="3.3.2" HOMEPAGE="https://github.com/PyCQA/pyflakes" -DOWNLOAD="https://files.pythonhosted.org/packages/57/f9/669d8c9c86613c9d568757c7f5824bd3197d7b1c6c27553bc5618a27cce2/pyflakes-3.2.0.tar.gz" -MD5SUM="556adcc6980bd478657598718f2c1155" +DOWNLOAD="https://pypi.python.org/packages/source/p/pyflakes/pyflakes-3.3.2.tar.gz" +MD5SUM="9bdc5cda9ddfa547e1e1def7a78b08f6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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-pykeepass/python3-pykeepass.SlackBuild b/python/python3-pykeepass/python3-pykeepass.SlackBuild index e7ca71e931..4def74a3d7 100644 --- a/python/python3-pykeepass/python3-pykeepass.SlackBuild +++ b/python/python3-pykeepass/python3-pykeepass.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pykeepass -# 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 @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pykeepass -VERSION=${VERSION:-4.1.0.post1} +VERSION=${VERSION:-4.1.1.post1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,7 +77,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 CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.rst 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-pykeepass/python3-pykeepass.info b/python/python3-pykeepass/python3-pykeepass.info index f0bc10a2f2..969650d2d8 100644 --- a/python/python3-pykeepass/python3-pykeepass.info +++ b/python/python3-pykeepass/python3-pykeepass.info @@ -1,10 +1,10 @@ PRGNAM="python3-pykeepass" -VERSION="4.1.0.post1" +VERSION="4.1.1.post1" HOMEPAGE="https://github.com/libkeepass/pykeepass" -DOWNLOAD="https://github.com/libkeepass/pykeepass/archive/v4.1.0.post1/pykeepass-4.1.0.post1.tar.gz" -MD5SUM="bb1d308857b9eeef14bb5340ee9f64ca" +DOWNLOAD="https://github.com/libkeepass/pykeepass/archive/v4.1.1.post1/pykeepass-4.1.1.post1.tar.gz" +MD5SUM="4bf91018e9fb9cfb00e6bdbd8eb2fe9e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-argon2-cffi python3-construct python3-lxml python3-setuptools-opt python3-pycryptodomex" +REQUIRES="python3-argon2-cffi python3-construct python3-lxml python3-pycryptodomex" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" 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..7372acc299 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.5.0} 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..812abbde16 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.5.0" 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.5.0/pypdf-6.5.0.tar.gz" +MD5SUM="d5609d8423bc8173a09b53b9fb4a4774" 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-api/python3-pyproject-api.SlackBuild b/python/python3-pyproject-api/python3-pyproject-api.SlackBuild index e5770e14d6..a64dcd2e9d 100644 --- a/python/python3-pyproject-api/python3-pyproject-api.SlackBuild +++ b/python/python3-pyproject-api/python3-pyproject-api.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pyproject-api -VERSION=${VERSION:-1.9.0} +VERSION=${VERSION:-1.9.1} SRCNAM=${SRCNAM:-pyproject-api} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-pyproject-api/python3-pyproject-api.info b/python/python3-pyproject-api/python3-pyproject-api.info index 2fbf19790a..57b20214c5 100644 --- a/python/python3-pyproject-api/python3-pyproject-api.info +++ b/python/python3-pyproject-api/python3-pyproject-api.info @@ -1,8 +1,8 @@ PRGNAM="python3-pyproject-api" -VERSION="1.9.0" +VERSION="1.9.1" HOMEPAGE="https://pyproject-api.readthedocs.io/en/latest/" -DOWNLOAD="https://github.com/tox-dev/pyproject-api/archive/refs/tags/1.9.0/pyproject-api-1.9.0.tar.gz" -MD5SUM="a943df740832a1c0eca8b1614e611896" +DOWNLOAD="https://github.com/tox-dev/pyproject-api/archive/refs/tags/1.9.1/pyproject-api-1.9.1.tar.gz" +MD5SUM="d50b8b5ea4957efcca560d852f155df7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs" 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-pytoolconfig/python3-pytoolconfig.SlackBuild b/python/python3-pytoolconfig/python3-pytoolconfig.SlackBuild new file mode 100644 index 0000000000..a66bfa4910 --- /dev/null +++ b/python/python3-pytoolconfig/python3-pytoolconfig.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/bash + +# Slackware build script for python3-pytoolconfig + +# 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-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 ;; + 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 {} \+ + +# 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 + +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-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-pytz/python3-pytz.SlackBuild b/python/python3-pytz/python3-pytz.SlackBuild index 7a5668c72a..81457fd216 100644 --- a/python/python3-pytz/python3-pytz.SlackBuild +++ b/python/python3-pytz/python3-pytz.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pytz -VERSION=${VERSION:-2025.1} +VERSION=${VERSION:-2025.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pytz/python3-pytz.info b/python/python3-pytz/python3-pytz.info index 50056215ea..eddf4aad44 100644 --- a/python/python3-pytz/python3-pytz.info +++ b/python/python3-pytz/python3-pytz.info @@ -1,8 +1,8 @@ PRGNAM="python3-pytz" -VERSION="2025.1" +VERSION="2025.2" HOMEPAGE="https://pypi.org/project/pytz/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytz/pytz-2025.1.tar.gz" -MD5SUM="b51879337eb45a56947f91e82ec83ef1" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytz/pytz-2025.2.tar.gz" +MD5SUM="6a7760c71e38b6c75577b34b18b89d5b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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-qbittorrent-api/python3-qbittorrent-api.SlackBuild b/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild index 4c443df18a..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.2.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 f6e7225abd..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.2.0" +VERSION="2025.11.0" HOMEPAGE="https://qbittorrent-api.readthedocs.io/" -DOWNLOAD="https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v2025.2.0/qbittorrent-api-2025.2.0.tar.gz" -MD5SUM="4c1188d9dbbfb9e861fa3b22d9291d5c" +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-qtawesome/python3-qtawesome.SlackBuild b/python/python3-qtawesome/python3-qtawesome.SlackBuild index 208523ec61..c07d459edf 100644 --- a/python/python3-qtawesome/python3-qtawesome.SlackBuild +++ b/python/python3-qtawesome/python3-qtawesome.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-qtawesome -# 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-qtawesome -VERSION=${VERSION:-1.3.1} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-qtawesome/python3-qtawesome.info b/python/python3-qtawesome/python3-qtawesome.info index 1c48266c98..0602c493ea 100644 --- a/python/python3-qtawesome/python3-qtawesome.info +++ b/python/python3-qtawesome/python3-qtawesome.info @@ -1,8 +1,8 @@ PRGNAM="python3-qtawesome" -VERSION="1.3.1" +VERSION="1.4.0" HOMEPAGE="https://github.com/spyder-ide/qtawesome/" -DOWNLOAD="https://github.com/spyder-ide/qtawesome/archive/v1.3.1/qtawesome-1.3.1.tar.gz" -MD5SUM="1297699cc5b11864866aa624e7358650" +DOWNLOAD="https://github.com/spyder-ide/qtawesome/archive/v1.4.0/qtawesome-1.4.0.tar.gz" +MD5SUM="389472d13713c01ddb9585bf51d5e053" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="QtPy" 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-referencing/README b/python/python3-referencing/README new file mode 100644 index 0000000000..113f86a07a --- /dev/null +++ b/python/python3-referencing/README @@ -0,0 +1,3 @@ +python3-referencing (JSON Referencing + Python) + +An implementation-agnostic implementation of JSON reference resolution diff --git a/python/python3-zxcvbn-python/python3-zxcvbn-python.SlackBuild b/python/python3-referencing/python3-referencing.SlackBuild index c5a5c743cd..d891947e59 100644 --- a/python/python3-zxcvbn-python/python3-zxcvbn-python.SlackBuild +++ b/python/python3-referencing/python3-referencing.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-zxcvbn-python +# Slackware build script for python3-referencing -# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # 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-zxcvbn-python +PRGNAM=python3-referencing SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.4.24} +VERSION=${VERSION:-0.36.2} 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 @@ -77,16 +63,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 -# 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 docs/changes.rst PKG-INFO README.* $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-referencing/python3-referencing.info b/python/python3-referencing/python3-referencing.info new file mode 100644 index 0000000000..cdade7b44d --- /dev/null +++ b/python/python3-referencing/python3-referencing.info @@ -0,0 +1,10 @@ +PRGNAM="python3-referencing" +VERSION="0.36.2" +HOMEPAGE="https://github.com/python-jsonschema/referencing" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/referencing/referencing-0.36.2.tar.gz" +MD5SUM="9d116186b2c5225c4e55254b94b2cd8e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-rpds-py python3-attrs" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-referencing/slack-desc b/python/python3-referencing/slack-desc new file mode 100644 index 0000000000..72bb9ba788 --- /dev/null +++ b/python/python3-referencing/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-referencing: python3-referencing (JSON Referencing + Python) +python3-referencing: +python3-referencing: An implementation-agnostic implementation of JSON reference resolution +python3-referencing: +python3-referencing: Homepage: https://github.com/python-jsonschema/referencing +python3-referencing: +python3-referencing: +python3-referencing: +python3-referencing: +python3-referencing: +python3-referencing: 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-cache/python3-requests-cache.info b/python/python3-requests-cache/python3-requests-cache.info index 016e194ecf..19dabe7369 100644 --- a/python/python3-requests-cache/python3-requests-cache.info +++ b/python/python3-requests-cache/python3-requests-cache.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/r/requests_cache/reques MD5SUM="27038cb33985f5b144cf32107151921a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-platformdirs python3-cattrs python3-url-normalize" +REQUIRES="python3-platformdirs python3-cattrs python3-poetry-core python3-url-normalize" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" 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 b62222503b..c712c68c46 100644 --- a/python/python3-rich/python3-rich.SlackBuild +++ b/python/python3-rich/python3-rich.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-rich -# 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 @@ -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:-13.9.4} +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 b24d6d9d39..7d3b13cf70 100644 --- a/python/python3-rich/python3-rich.info +++ b/python/python3-rich/python3-rich.info @@ -1,8 +1,8 @@ PRGNAM="python3-rich" -VERSION="13.9.4" +VERSION="14.2.0" HOMEPAGE="https://github.com/Textualize/rich" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rich/rich-13.9.4.tar.gz" -MD5SUM="566d05ed481cd8add803fa9ca002720b" +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/README b/python/python3-rpds-py/README new file mode 100644 index 0000000000..3a8428bcd3 --- /dev/null +++ b/python/python3-rpds-py/README @@ -0,0 +1,3 @@ +python3-rpds-py (Python bindings to Rust's pers. data struc. "rpds") + +Python bindings to the Rust rpds crate for persistent data structures. diff --git a/python/python3-rpds-py/mkvendored.sh b/python/python3-rpds-py/mkvendored.sh new file mode 100644 index 0000000000..c52093378e --- /dev/null +++ b/python/python3-rpds-py/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-rpds-py/python3-rpds-py.SlackBuild b/python/python3-rpds-py/python3-rpds-py.SlackBuild new file mode 100644 index 0000000000..866a08a147 --- /dev/null +++ b/python/python3-rpds-py/python3-rpds-py.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/bash + +# Slackware build script for python3-rpds-py + +# 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-rpds-py +SRCNAM=rpds_py +VERSION=${VERSION:-0.29.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +VSBUILD=${VSBUILD:-1} + +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" = "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.gz +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 {} + \) + +# prevent cargo from using the network. +# orjson includes the vendored libs with its source tarball +# NOTE: this doesn't appear to be needed in this case but I'm adding it +export CARGO_NET_OFFLINE=true + +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 + +# cannot build sdist so just build wheel +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.* $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-rpds-py/python3-rpds-py.info b/python/python3-rpds-py/python3-rpds-py.info new file mode 100644 index 0000000000..13c20f024c --- /dev/null +++ b/python/python3-rpds-py/python3-rpds-py.info @@ -0,0 +1,12 @@ +PRGNAM="python3-rpds-py" +VERSION="0.29.0" +HOMEPAGE="https://github.com/crate-py/rpds" +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" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-rpds-py/slack-desc b/python/python3-rpds-py/slack-desc new file mode 100644 index 0000000000..444d040a1b --- /dev/null +++ b/python/python3-rpds-py/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-rpds-py: python3-rpds-py (Python bindings to Rust's pers. data struc. "rpds") +python3-rpds-py: +python3-rpds-py: Python bindings to the Rust rpds crate for persistent data structures. +python3-rpds-py: +python3-rpds-py: Homepage: https://github.com/crate-py/rpds +python3-rpds-py: +python3-rpds-py: +python3-rpds-py: +python3-rpds-py: +python3-rpds-py: +python3-rpds-py: diff --git a/python/python3-rtree/python3-rtree.SlackBuild b/python/python3-rtree/python3-rtree.SlackBuild index 445a36e1e4..2c5277af16 100644 --- a/python/python3-rtree/python3-rtree.SlackBuild +++ b/python/python3-rtree/python3-rtree.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-rtree -# 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-rtree -VERSION=${VERSION:-1.3.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 be110a4906..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.3.0" +VERSION="1.4.1" HOMEPAGE="https://rtree.readthedocs.io/en/latest/" -DOWNLOAD="https://github.com/Toblerity/rtree/archive/1.3.0/rtree-1.3.0.tar.gz" -MD5SUM="f8cbe574b941f38e6dc0f56aa0c99ad3" +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-opt/python3-setuptools-opt.SlackBuild b/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild index f08d5003ed..a592d926fc 100644 --- a/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild +++ b/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-setuptools-opt SRCNAM=setuptools -VERSION=${VERSION:-75.8.0} +VERSION=${VERSION:-80.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -111,7 +111,7 @@ else fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a NEWS.rst LICENSE PKG-INFO README.rst \ +cp -a NEWS.rst PKG-INFO README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-setuptools-opt/python3-setuptools-opt.info b/python/python3-setuptools-opt/python3-setuptools-opt.info index b4417100f4..d15ebfec11 100644 --- a/python/python3-setuptools-opt/python3-setuptools-opt.info +++ b/python/python3-setuptools-opt/python3-setuptools-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-setuptools-opt" -VERSION="75.8.0" +VERSION="80.9.0" HOMEPAGE="https://pypi.org/project/setuptools/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-75.8.0.tar.gz" -MD5SUM="a42b075e3e18e724580f4caf7944354a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-80.9.0.tar.gz" +MD5SUM="82e1d67883b713f9493659b50d13b436" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-packaging-opt python3-wheel" 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 fb70356432..389ee7839b 100644 --- a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild +++ b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-setuptools-rust-opt -# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-setuptools-rust-opt SRCNAM=setuptools_rust -VERSION=${VERSION:-1.10.2} +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 1ec8f9db39..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.10.2" +VERSION="1.12.0" HOMEPAGE="https://github.com/PyO3/setuptools-rust/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_rust/setuptools_rust-1.10.2.tar.gz" -MD5SUM="755ce9ab3d5e7b9f420992ca891a3965" +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-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild index ff9895deaf..3824e3ede6 100644 --- a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild +++ b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-setuptools-scm-opt -# 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 @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-setuptools-scm-opt -SRCNAM=setuptools-scm -VERSION=${VERSION:-8.0.2} +SRCNAM=setuptools_scm +VERSION=${VERSION:-8.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,6 +66,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 {} \+ +# remove upper version limit if python3-tomli-opt is installed +sed -i '/tomli<=2.0.2/d' pyproject.toml + PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages @@ -85,7 +88,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 CHANGELOG.rst LICENSE README.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE README.md 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-setuptools-scm-opt/python3-setuptools-scm-opt.info b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info index 6d677c69ef..831a4d7f4e 100644 --- a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info +++ b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info @@ -1,10 +1,10 @@ PRGNAM="python3-setuptools-scm-opt" -VERSION="8.0.2" +VERSION="8.3.1" HOMEPAGE="https://github.com/pypa/setuptools-scm" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools-scm-8.0.2.tar.gz" -MD5SUM="036efc8cbff77f9ba420225c4807e938" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-8.3.1.tar.gz" +MD5SUM="35e09656d091a94b27f9c50b383b32c5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-typing-extensions python3-rich python-importlib_metadata" +REQUIRES="python3-typing-extensions python-importlib_metadata" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" 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 60c90b878d..6a5070a2c4 100644 --- a/python/python3-smart_open/python3-smart_open.SlackBuild +++ b/python/python3-smart_open/python3-smart_open.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-smart_open -# 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-smart_open -VERSION=${VERSION:-7.1.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 96b61cc523..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.1.0" +VERSION="7.5.0" HOMEPAGE="https://github.com/RaRe-Technologies/smart_open" -DOWNLOAD="https://github.com/RaRe-Technologies/smart_open/archive/v7.1.0/smart_open-7.1.0.tar.gz" -MD5SUM="7694eeb6710f5d0d3c8e909619eb0e87" +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..32fdfebe2e 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-2026 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.8.1} 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..bd4862fe5b 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.8.1" 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.8.1/soupsieve-2.8.1.tar.gz" +MD5SUM="dbe5b85ee06c670fcd8d585c943c5b77" 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/python3-tenacity/python3-tenacity.SlackBuild b/python/python3-tenacity/python3-tenacity.SlackBuild index f5fd1eb4cb..f5a5f335a2 100644 --- a/python/python3-tenacity/python3-tenacity.SlackBuild +++ b/python/python3-tenacity/python3-tenacity.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-tenacity -# 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 @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tenacity -VERSION=${VERSION:-9.0.0} +VERSION=${VERSION:-9.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-tenacity/python3-tenacity.info b/python/python3-tenacity/python3-tenacity.info index 0a48dae30d..8af5f0b416 100644 --- a/python/python3-tenacity/python3-tenacity.info +++ b/python/python3-tenacity/python3-tenacity.info @@ -1,8 +1,8 @@ PRGNAM="python3-tenacity" -VERSION="9.0.0" +VERSION="9.1.2" HOMEPAGE="https://github.com/jd/tenacity" -DOWNLOAD="https://github.com/jd/tenacity/archive/refs/tags/9.0.0/tenacity-9.0.0.tar.gz" -MD5SUM="bdc8b7e2609df121a254b94e769bac6f" +DOWNLOAD="https://github.com/jd/tenacity/archive/refs/tags/9.1.2/tenacity-9.1.2.tar.gz" +MD5SUM="c7938c9c23d8b0547ce8ab67b2d48281" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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-tinydb/python3-tinydb.SlackBuild b/python/python3-tinydb/python3-tinydb.SlackBuild index 2012eafabe..848da85f07 100644 --- a/python/python3-tinydb/python3-tinydb.SlackBuild +++ b/python/python3-tinydb/python3-tinydb.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-tinydb -# Copyright 2023-2024 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2023-2025 Dimitris Zlatanidis Orestiada, Greece # 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-tinydb SRCNAM=tinydb -VERSION=${VERSION:-4.8.0} +VERSION=${VERSION:-4.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-tinydb/python3-tinydb.info b/python/python3-tinydb/python3-tinydb.info index 5d0dbf3ca7..33613fa4d0 100644 --- a/python/python3-tinydb/python3-tinydb.info +++ b/python/python3-tinydb/python3-tinydb.info @@ -1,8 +1,8 @@ PRGNAM="python3-tinydb" -VERSION="4.8.0" +VERSION="4.8.2" HOMEPAGE="https://tinydb.readthedocs.io/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/30/0b/9e75a8d3333a6a3d9b36de04bf87a37a8d7f100035ea23c9c37bf0a112ab/tinydb-4.8.0.tar.gz" -MD5SUM="8738999976febfe7e8ea81c4b1910f9b" +DOWNLOAD="https://files.pythonhosted.org/packages/a0/79/4af51e2bb214b6ea58f857c51183d92beba85b23f7ba61c983ab3de56c33/tinydb-4.8.2.tar.gz" +MD5SUM="67ac23c074878672271ce83129f2b0d9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core" 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 d43406b13f..9aaa832a30 100644 --- a/python/python3-tornado/python3-tornado.SlackBuild +++ b/python/python3-tornado/python3-tornado.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2017-2020 Benjamin Trigona-Harany # 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, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tornado SRCNAM=tornado -VERSION=${VERSION:-6.4.2} +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 a085adb23e..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.4.2" +VERSION="6.5.2" HOMEPAGE="http://www.tornadoweb.org" -DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v6.4.2/tornado-6.4.2.tar.gz" -MD5SUM="721215aa1ab1253e79b17fd67b83a46e" +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 de8d2cd2c6..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.24.2} +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 71615dfee7..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.24.2" +VERSION="4.30.3" HOMEPAGE="https://tox.wiki/" -DOWNLOAD="https://github.com/tox-dev/tox/archive/refs/tags/4.24.2/tox-4.24.2.tar.gz" -MD5SUM="43eb04da39b9d3ffe238de1f36032b8f" +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/README b/python/python3-trakit/README new file mode 100644 index 0000000000..6b67a34f43 --- /dev/null +++ b/python/python3-trakit/README @@ -0,0 +1,9 @@ +python3-trakit (Guess additional info from titles in media tracks) + +TrakIt is a track name parser. It is a tiny library created to +solve a very specific problem. It's very common that video files do +not have precise metadata information, where you can have multiple +subtitle tracks tagged as Portuguese, but one of them is actually +Brazilian Portuguese. Or you have multiple audio tracks in English, +but one of them is British English (British English Forced (PGS)) +and others are American English (American English (PGS)). diff --git a/python/python3-trakit/python3-trakit.SlackBuild b/python/python3-trakit/python3-trakit.SlackBuild new file mode 100644 index 0000000000..367ac2c398 --- /dev/null +++ b/python/python3-trakit/python3-trakit.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-trakit + +# 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-trakit +VERSION=${VERSION:-0.2.5} +SRCNAM=${SRCNAM:-trakit} +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 -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-trakit/python3-trakit.info b/python/python3-trakit/python3-trakit.info new file mode 100644 index 0000000000..cccae25433 --- /dev/null +++ b/python/python3-trakit/python3-trakit.info @@ -0,0 +1,10 @@ +PRGNAM="python3-trakit" +VERSION="0.2.5" +HOMEPAGE="https://github.com/ratoaq2/trakit" +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" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-trakit/slack-desc b/python/python3-trakit/slack-desc new file mode 100644 index 0000000000..692e486acb --- /dev/null +++ b/python/python3-trakit/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-trakit: python3-trakit (Guess additional info from titles in media tracks) +python3-trakit: +python3-trakit: TrakIt is a track name parser. It is a tiny library created to +python3-trakit: solve a very specific problem. It's very common that video files do +python3-trakit: not have precise metadata information, where you can have multiple +python3-trakit: subtitle tracks tagged as Portuguese, but one of them is actually +python3-trakit: Brazilian Portuguese. Or you have multiple audio tracks in English, +python3-trakit: but one of them is British English (British English Forced (PGS)) +python3-trakit: and others are American English (American English (PGS)). +python3-trakit: +python3-trakit: HOMEPAGE: https://github.com/ratoaq2/trakit 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 db29e843c8..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.1.15.22} +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 2e732b1cb1..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.1.15.22" +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.1.15.22.tar.gz" -MD5SUM="3656424a10a761108fa8250033ffe3d4" +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-turbogears2/python3-turbogears2.SlackBuild b/python/python3-turbogears2/python3-turbogears2.SlackBuild index 00c6411a21..ae153291c3 100644 --- a/python/python3-turbogears2/python3-turbogears2.SlackBuild +++ b/python/python3-turbogears2/python3-turbogears2.SlackBuild @@ -23,8 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-turbogears2 -SRCNAM=TurboGears2 -VERSION=${VERSION:-2.4.3} +SRCNAM=turbogears2 +VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,6 +64,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 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-turbogears2/python3-turbogears2.info b/python/python3-turbogears2/python3-turbogears2.info index 9ecab7896d..f029de8b84 100644 --- a/python/python3-turbogears2/python3-turbogears2.info +++ b/python/python3-turbogears2/python3-turbogears2.info @@ -1,10 +1,10 @@ PRGNAM="python3-turbogears2" -VERSION="2.4.3" +VERSION="2.5.0" HOMEPAGE="http://www.turbogears.org/" -DOWNLOAD="https://pypi.python.org/packages/source/T/TurboGears2/TurboGears2-2.4.3.tar.gz" -MD5SUM="6f9621edadff3dbc055d9daae893357e" +DOWNLOAD="https://pypi.python.org/packages/source/t/turbogears2/turbogears2-2.5.0.tar.gz" +MD5SUM="8e1ca6975d3004b5920c10f2fc8dc5b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-crank python3-repoze.lru python3-webob" +REQUIRES="python3-crank python3-repoze.lru python3-webob python3-setuptools-opt" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" 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/README b/python/python3-typeguard/README new file mode 100644 index 0000000000..30f393e9bd --- /dev/null +++ b/python/python3-typeguard/README @@ -0,0 +1,7 @@ +python3-typeguard (Run-time type checker for Python) + +This library provides run-time type checking for functions defined +with PEP 484 argument (and return) type annotations, and any arbitrary +objects. It can be used together with static type checkers as an +additional layer of type safety, to catch type violations that could +only be detected at run time. diff --git a/python/python3-typeguard/python3-typeguard.SlackBuild b/python/python3-typeguard/python3-typeguard.SlackBuild new file mode 100644 index 0000000000..8a592ffdfd --- /dev/null +++ b/python/python3-typeguard/python3-typeguard.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for python3-typeguard + +# 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-typeguard +SRCNAM=${PRGNAM#python3-*} +VERSION=${VERSION:-4.4.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.?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 {} \+ + +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 PKG-INFO 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-typeguard/python3-typeguard.info b/python/python3-typeguard/python3-typeguard.info new file mode 100644 index 0000000000..5e1e26dcb9 --- /dev/null +++ b/python/python3-typeguard/python3-typeguard.info @@ -0,0 +1,10 @@ +PRGNAM="python3-typeguard" +VERSION="4.4.4" +HOMEPAGE="https://github.com/agronholm/typeguard" +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" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-typeguard/slack-desc b/python/python3-typeguard/slack-desc new file mode 100644 index 0000000000..1082c5d5dd --- /dev/null +++ b/python/python3-typeguard/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-typeguard: python3-typeguard (Run-time type checker for Python) +python3-typeguard: +python3-typeguard: This library provides run-time type checking for functions defined +python3-typeguard: with PEP 484 argument (and return) type annotations, and any arbitrary +python3-typeguard: objects. It can be used together with static type checkers as an +python3-typeguard: additional layer of type safety, to catch type violations that could +python3-typeguard: only be detected at run time. +python3-typeguard: +python3-typeguard: Homepage: https://github.com/agronholm/typeguard +python3-typeguard: +python3-typeguard: 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 8c6a8af17d..d42d073465 100644 --- a/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild +++ b/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-types-python-dateutil -# 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 @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-types-python-dateutil -VERSION=${VERSION:-2.9.0.20241206} +VERSION=${VERSION:-2.9.0.20251115} 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-types-python-dateutil/python3-types-python-dateutil.info b/python/python3-types-python-dateutil/python3-types-python-dateutil.info index 7fdfe00a32..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,10 +1,10 @@ PRGNAM="python3-types-python-dateutil" -VERSION="2.9.0.20241206" +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.20241206.tar.gz" -MD5SUM="75621f393711ce76bb7a7e46902384db" +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="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-typing-extensions/python3-typing-extensions.SlackBuild b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild index 580770f501..23c73ed59e 100644 --- a/python/python3-typing-extensions/python3-typing-extensions.SlackBuild +++ b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild @@ -4,7 +4,7 @@ # Copyright (c) 2000-2020 Prof. Horstmann <wmh (at) eipg.fr> # 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, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-typing-extensions SRCNAM=typing_extensions -VERSION=${VERSION:-4.12.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 c8266bddf3..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.12.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.12.2.tar.gz" -MD5SUM="cf64c2313f5fa5eb04c1deb3fc93abe9" +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/README b/python/python3-typing-inspection/README new file mode 100644 index 0000000000..4820969af0 --- /dev/null +++ b/python/python3-typing-inspection/README @@ -0,0 +1,4 @@ +python3-typing-inspection (Runtime typing introspection tools) + +typing-inspection provides tools to inspect type annotations at +runtime. diff --git a/python/python3-typing-inspection/python3-typing-inspection.SlackBuild b/python/python3-typing-inspection/python3-typing-inspection.SlackBuild new file mode 100644 index 0000000000..7267b72f9d --- /dev/null +++ b/python/python3-typing-inspection/python3-typing-inspection.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-typing-inspection + +# 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-typing-inspection +SRCNAM=typing_inspection +VERSION=${VERSION:-0.4.2} +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.?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 {} + \) + +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 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-typing-inspection/python3-typing-inspection.info b/python/python3-typing-inspection/python3-typing-inspection.info new file mode 100644 index 0000000000..6e11aae27b --- /dev/null +++ b/python/python3-typing-inspection/python3-typing-inspection.info @@ -0,0 +1,10 @@ +PRGNAM="python3-typing-inspection" +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.2.tar.gz" +MD5SUM="9271faadd8476a3600e9cf9d428d812c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-hatchling python3-typing-extensions" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-typing-inspection/slack-desc b/python/python3-typing-inspection/slack-desc new file mode 100644 index 0000000000..0d7e88d11b --- /dev/null +++ b/python/python3-typing-inspection/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-typing-inspection: python3-typing-inspection (Runtime typing introspection tools) +python3-typing-inspection: +python3-typing-inspection: typing-inspection provides tools to inspect type annotations at +python3-typing-inspection: runtime. +python3-typing-inspection: +python3-typing-inspection: Homepage: https://github.com/pydantic/typing-inspection +python3-typing-inspection: +python3-typing-inspection: +python3-typing-inspection: +python3-typing-inspection: +python3-typing-inspection: diff --git a/python/python3-ufo2ft/python3-ufo2ft.SlackBuild b/python/python3-ufo2ft/python3-ufo2ft.SlackBuild index 7ceca695d2..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.2} +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 4c92ff1a36..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.2" +VERSION="3.6.8" HOMEPAGE="https://github.com/googlefonts/ufo2ft" -DOWNLOAD="https://pypi.io/packages/source/u/ufo2ft/ufo2ft-3.4.2.tar.gz" -MD5SUM="c1dac6194a915118b5f445b9cdf7c915" +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 2eade897d2..1cdf1fcd06 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild +++ b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild @@ -25,28 +25,23 @@ #---------------------------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 - # 11/09/2024: Updated to version 0.39.5 - # 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.45.0} +VERSION=${VERSION:-0.51.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,16 +87,17 @@ 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 \ + -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" +export PATH="/opt/cython/bin:$PATH" CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.info b/python/python3-uharfbuzz/python3-uharfbuzz.info index 5dc948cb5c..69034b42b1 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.info +++ b/python/python3-uharfbuzz/python3-uharfbuzz.info @@ -1,10 +1,10 @@ PRGNAM="python3-uharfbuzz" -VERSION="0.45.0" +VERSION="0.51.4" HOMEPAGE="https://www.github.com/harfbuzz/uharfbuzz" -DOWNLOAD="https://pypi.io/packages/source/u/uharfbuzz/uharfbuzz-0.45.0.tar.gz" -MD5SUM="62e393f3af370f1a6e7608aa6a77f231" +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" +REQUIRES="python3-build python3-wheel python3-pkgconfig python3-setuptools-scm-opt python3-cython-opt" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" 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 24b6eba6cd..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.3} +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 76cc7ceae7..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.3" +VERSION="0.18.1" HOMEPAGE="https://github.com/frostming/unearth" -DOWNLOAD="https://github.com/frostming/unearth/archive/refs/tags/0.17.3/unearth-0.17.3.tar.gz" -MD5SUM="5759cd1bf54b9b7736ecff85117e1339" +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-url-normalize/python3-url-normalize.SlackBuild b/python/python3-url-normalize/python3-url-normalize.SlackBuild index b99bad36fb..a69420203d 100644 --- a/python/python3-url-normalize/python3-url-normalize.SlackBuild +++ b/python/python3-url-normalize/python3-url-normalize.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-url-normalize -# 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 @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-url-normalize -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.4.3} +SRCNAM=url_normalize +VERSION=${VERSION:-2.2.1} 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 @@ -77,9 +63,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 {} \+ -#change backend to poetry-core (1.4.3 is last version this is needed) -sed -i -e "/^build-backend / s/poetry.masonry.api/poetry.core.masonry.api/" \ - -e "/^requires / s/poetry>=0.12/poetry-core>=1.1.0/" pyproject.toml +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-url-normalize/python3-url-normalize.info b/python/python3-url-normalize/python3-url-normalize.info index ca328fc115..3d59cb8948 100644 --- a/python/python3-url-normalize/python3-url-normalize.info +++ b/python/python3-url-normalize/python3-url-normalize.info @@ -1,10 +1,10 @@ PRGNAM="python3-url-normalize" -VERSION="1.4.3" +VERSION="2.2.1" HOMEPAGE="https://github.com/niksite/url-normalize" -DOWNLOAD="https://files.pythonhosted.org/packages/source/u/url-normalize/url-normalize-1.4.3.tar.gz" -MD5SUM="3e72f94de0c4a98f8ea76cd99cf105d9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/u/url_normalize/url_normalize-2.2.1.tar.gz" +MD5SUM="2894fd86ec1ea95ef5be3cfaf4adf9df" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-poetry-core" +REQUIRES="python3-setuptools-opt" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" 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-validators/python3-validators.SlackBuild b/python/python3-validators/python3-validators.SlackBuild index 61dff9b1c7..9a82061f2b 100644 --- a/python/python3-validators/python3-validators.SlackBuild +++ b/python/python3-validators/python3-validators.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-validators -# 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-validators -VERSION=${VERSION:-0.34.0} +VERSION=${VERSION:-0.35.0} SRCNAM=${SRCNAM:-validators} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-validators/python3-validators.info b/python/python3-validators/python3-validators.info index 03617efe9d..6c2c1d873b 100644 --- a/python/python3-validators/python3-validators.info +++ b/python/python3-validators/python3-validators.info @@ -1,8 +1,8 @@ PRGNAM="python3-validators" -VERSION="0.34.0" +VERSION="0.35.0" HOMEPAGE="https://github.com/python-validators/validators" -DOWNLOAD="https://files.pythonhosted.org/packages/source/v/validators/validators-0.34.0.tar.gz" -MD5SUM="8cae932ff53da1607ed2ca354a93ba54" +DOWNLOAD="https://files.pythonhosted.org/packages/source/v/validators/validators-0.35.0.tar.gz" +MD5SUM="8376f37ec2028053cee8f4789dadd947" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core python3-setuptools-opt" diff --git a/python/python3-virtualenv/python3-virtualenv.SlackBuild b/python/python3-virtualenv/python3-virtualenv.SlackBuild index 9e1704f9c5..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.29.3} +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 d8d438b270..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.29.3" +VERSION="20.35.4" HOMEPAGE="https://virtualenv.pypa.io/" -DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.29.3/virtualenv-20.29.3.tar.gz" -MD5SUM="499dae9d77201954808d798f1db394b0" +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-websockets/python3-websockets.SlackBuild b/python/python3-websockets/python3-websockets.SlackBuild index 2f78b2904e..11e59353e9 100644 --- a/python/python3-websockets/python3-websockets.SlackBuild +++ b/python/python3-websockets/python3-websockets.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-websockets -# Copyright 2022-2024 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2025 Dimitris Zlatanidis Orestiada, Greece # 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-websockets SRCNAM=websockets -VERSION=${VERSION:-13.0.1} +VERSION=${VERSION:-15.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-websockets/python3-websockets.info b/python/python3-websockets/python3-websockets.info index 720ac9a694..ec9ce74726 100644 --- a/python/python3-websockets/python3-websockets.info +++ b/python/python3-websockets/python3-websockets.info @@ -1,8 +1,8 @@ PRGNAM="python3-websockets" -VERSION="13.0.1" +VERSION="15.0.1" HOMEPAGE="https://github.com/aaugustin/websockets" -DOWNLOAD="https://files.pythonhosted.org/packages/source/w/websockets/websockets-13.0.1.tar.gz" -MD5SUM="b3d1cc7a447c4f91b0c6f24beaf312cc" +DOWNLOAD="https://files.pythonhosted.org/packages/21/e6/26d09fab466b7ca9c7737474c52be4f76a40301b08362eb2dbc19dcc16c1/websockets-15.0.1.tar.gz" +MD5SUM="08f8a430c20d75ffe44faafb95f6f7cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" 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 new file mode 100644 index 0000000000..6fca82b893 --- /dev/null +++ b/python/python3-xapp/README @@ -0,0 +1 @@ +This package provides the Python3 Xapp Library. diff --git a/python/python3-xapp/python3-xapp.SlackBuild b/python/python3-xapp/python3-xapp.SlackBuild new file mode 100644 index 0000000000..1a718e7e4d --- /dev/null +++ b/python/python3-xapp/python3-xapp.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/bash + +# Slackware build script for python3-xapp + +# 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 +# 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-xapp +VERSION=${VERSION:-3.0.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +ARCH=noarch + +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 +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 {} \; + +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 + +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 + +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-xapp/python3-xapp.info b/python/python3-xapp/python3-xapp.info new file mode 100644 index 0000000000..64cd81f263 --- /dev/null +++ b/python/python3-xapp/python3-xapp.info @@ -0,0 +1,10 @@ +PRGNAM="python3-xapp" +VERSION="3.0.1" +HOMEPAGE="https://github.com/linuxmint/python3-xapp" +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="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/helpy/slack-desc b/python/python3-xapp/slack-desc index 3dae47dd2a..03285ecc56 100644 --- a/python/helpy/slack-desc +++ b/python/python3-xapp/slack-desc @@ -5,15 +5,15 @@ # 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------------------------------------------------------| -helpy: helpy (built-in help documentation) -helpy: -helpy: Displays built-in Python documentation from the command -helpy: line without the need to use the interactive Python -helpy: interpreter console. -helpy: -helpy: Homepage: https://github.com/chrissimpkins/helpy -helpy: -helpy: -helpy: -helpy: + |-----handy-ruler------------------------------------------------------| +python3-xapp: python3-xapp (Python3 Xapp Library) +python3-xapp: +python3-xapp: This package provides the Python3 Xapp Library. +python3-xapp: +python3-xapp: Homepage: https://github.com/linuxmint/python3-xapp +python3-xapp: +python3-xapp: +python3-xapp: +python3-xapp: +python3-xapp: +python3-xapp: diff --git a/python/python3-xcffib/python3-xcffib.SlackBuild b/python/python3-xcffib/python3-xcffib.SlackBuild index 453c654fc1..9b39431d73 100644 --- a/python/python3-xcffib/python3-xcffib.SlackBuild +++ b/python/python3-xcffib/python3-xcffib.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-xcffib # Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece -# 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 @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xcffib SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) -VERSION=${VERSION:-1.5.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 f9ba449c4f..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.5.0" +VERSION="1.11.2" HOMEPAGE="https://github.com/tych0/xcffib" -DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-1.5.0.tar.gz" -MD5SUM="ad65a94818b60d63bab02535de1fbe7a" +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 ef679680c3..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.18.3} +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 a5ff7ccf64..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.18.3" +VERSION="1.22.0" HOMEPAGE="https://yarl.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.18.3/yarl-1.18.3.tar.gz" -MD5SUM="a38356128a638c89edf36f69c2234619" +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 51500a5b60..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.1} +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 5b46c61d10..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.1" +VERSION="5.2.1" HOMEPAGE="https://github.com/zopefoundation/zdaemon" -DOWNLOAD="https://pypi.python.org/packages/source/z/zdaemon/zdaemon-5.1.tar.gz" -MD5SUM="509e0b8a3709149cc220ad11cb132ed6" +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 b2e68df0e8..95a579f85a 100644 --- a/python/subliminal/subliminal.SlackBuild +++ b/python/subliminal/subliminal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for subliminal -# 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=subliminal -VERSION=${VERSION:-2.2.1} +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 99a84a2b92..797ed11166 100644 --- a/python/subliminal/subliminal.info +++ b/python/subliminal/subliminal.info @@ -1,10 +1,10 @@ PRGNAM="subliminal" -VERSION="2.2.1" +VERSION="2.4.0" HOMEPAGE="http://subliminal.readthedocs.org/" -DOWNLOAD="https://github.com/Diaoul/subliminal/archive/refs/tags/2.2.1/subliminal-2.2.1.tar.gz" -MD5SUM="069feb8ad7e758e89993268b759e4be4" +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-enzyme BeautifulSoup4 python3-dogpile.cache python3-srt rarfile python3-setuptools-opt python3-platformdirs python3-click-option-group python3-pysubs2" +REQUIRES="python3-guessit python3-knowit BeautifulSoup4 python3-dogpile.cache python3-srt rarfile python3-setuptools-opt python3-platformdirs python3-click-option-group python3-pysubs2" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" 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/tzdata/tzdata.SlackBuild b/python/tzdata/tzdata.SlackBuild index 183686f9e2..e4a3c5905e 100644 --- a/python/tzdata/tzdata.SlackBuild +++ b/python/tzdata/tzdata.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tzdata -VERSION=${VERSION:-2025.1} +VERSION=${VERSION:-2025.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/tzdata/tzdata.info b/python/tzdata/tzdata.info index 9c5a65438e..ff90c9852c 100644 --- a/python/tzdata/tzdata.info +++ b/python/tzdata/tzdata.info @@ -1,8 +1,8 @@ PRGNAM="tzdata" -VERSION="2025.1" +VERSION="2025.2" HOMEPAGE="https://github.com/python/tzdata" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-2025.1.tar.gz" -MD5SUM="013118ba85241776241aa07d8029660a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-2025.2.tar.gz" +MD5SUM="1e0a85189737abbc555fbcf139e989eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" 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/w3lib/README b/python/w3lib/README deleted file mode 100644 index b2e25c80c4..0000000000 --- a/python/w3lib/README +++ /dev/null @@ -1,10 +0,0 @@ -This is a Python library of web-related functions, such as: - -remove comments, or tags from HTML snippets -extract base url from HTML snippets -translate entites on HTML strings -convert raw HTTP headers to dicts and vice-versa -construct HTTP auth header -converting HTML pages to unicode -sanitize urls (like browsers do) -extract arguments from urls diff --git a/python/w3lib/w3lib.info b/python/w3lib/w3lib.info deleted file mode 100644 index b3987b6c50..0000000000 --- a/python/w3lib/w3lib.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="w3lib" -VERSION="1.22.0" -HOMEPAGE="https://github.com/scrapy/w3lib" -DOWNLOAD="https://files.pythonhosted.org/packages/5e/2f/76558d2712d93e9267a3160190f1bb005f97ef4aba35592728f63747da8b/w3lib-1.22.0.tar.gz" -MD5SUM="2eceef8cc9e3be81ae3eb825c23449cb" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" 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" |
