diff options
Diffstat (limited to 'python')
466 files changed, 4973 insertions, 1274 deletions
diff --git a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild index a5a8b5c1a2..227e95ac8f 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild +++ b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=BeautifulSoup4 -VERSION=${VERSION:-4.13.3} +VERSION=${VERSION:-4.13.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/BeautifulSoup4/BeautifulSoup4.info b/python/BeautifulSoup4/BeautifulSoup4.info index f92e71db16..207fd56850 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.info +++ b/python/BeautifulSoup4/BeautifulSoup4.info @@ -1,8 +1,8 @@ PRGNAM="BeautifulSoup4" -VERSION="4.13.3" +VERSION="4.13.4" HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/" -DOWNLOAD="https://files.pythonhosted.org/packages/f0/3c/adaf39ce1fb4afdd21b611e3d530b183bb7759c9b673d60db0e347fd4439/beautifulsoup4-4.13.3.tar.gz" -MD5SUM="63b9e66839aa5e67701c76455d3be92a" +DOWNLOAD="https://files.pythonhosted.org/packages/d8/e4/0c4c39e18fd76d6a628d4dd8da40543d136ce2d1752bd6eeeab0791f4d6b/beautifulsoup4-4.13.4.tar.gz" +MD5SUM="1c03bc381aff2ba72178fc775d39e991" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-soupsieve python3-typing-extensions" diff --git a/python/Flask/Flask.SlackBuild b/python/Flask/Flask.SlackBuild index 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/PyPy/PyPy.SlackBuild b/python/PyPy/PyPy.SlackBuild index 34a9ce7a51..30e9c6160b 100644 --- a/python/PyPy/PyPy.SlackBuild +++ b/python/PyPy/PyPy.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPy -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy2.7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/PyPy/PyPy.info b/python/PyPy/PyPy.info index 478d995830..d7ee6bc5f9 100644 --- a/python/PyPy/PyPy.info +++ b/python/PyPy/PyPy.info @@ -1,8 +1,8 @@ PRGNAM="PyPy" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.19-src.tar.bz2" -MD5SUM="3579908879a8ad33d3eb0d812f535efb" +DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.20-src.tar.bz2" +MD5SUM="d1159d3f5f5f7973bd998b55294b9bb8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pycparser %README%" diff --git a/python/PyPy3/PyPy3.SlackBuild b/python/PyPy3/PyPy3.SlackBuild index b67fbdf3cf..023e70fd96 100644 --- a/python/PyPy3/PyPy3.SlackBuild +++ b/python/PyPy3/PyPy3.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPy3 -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy3.11 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/PyPy3/PyPy3.info b/python/PyPy3/PyPy3.info index 17c7114dd2..3ce9060f38 100644 --- a/python/PyPy3/PyPy3.info +++ b/python/PyPy3/PyPy3.info @@ -1,8 +1,8 @@ PRGNAM="PyPy3" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.19-src.tar.bz2" -MD5SUM="36a344d93a6cac86b356520b74b8e9d2" +DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.20-src.tar.bz2" +MD5SUM="d904f55d67b8b6eb25758334f6f676bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pycparser %README%" diff --git a/python/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/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index fd1683c932..27cb88ca1d 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.3} +VERSION=${VERSION:-45.0.6} 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 7dc610a113..9a6a889bc4 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,12 +1,12 @@ PRGNAM="cryptography" -VERSION="44.0.3" +VERSION="45.0.6" HOMEPAGE="https://cryptography.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-44.0.3.tar.gz \ - https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-44.0.3-1.tar.xz" -MD5SUM="01959c3e2b352c5e42edfc0cfe0c2cd1 \ - f4522de16c2f26a7615f434da732bd1b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-45.0.6.tar.gz \ + https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-45.0.6-1.tar.xz" +MD5SUM="ccfe593a8553304d2bb4a02ee92b9d5a \ + c798f40474358d4ead6b7e09a7b8d497" 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/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/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/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/josepy/josepy.SlackBuild b/python/josepy/josepy.SlackBuild index 831334fc22..58fe91b723 100644 --- a/python/josepy/josepy.SlackBuild +++ b/python/josepy/josepy.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=josepy -VERSION=${VERSION:-2.0.0} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/josepy/josepy.info b/python/josepy/josepy.info index 4f41b37116..a9190c0c4e 100644 --- a/python/josepy/josepy.info +++ b/python/josepy/josepy.info @@ -1,8 +1,8 @@ PRGNAM="josepy" -VERSION="2.0.0" +VERSION="2.1.0" HOMEPAGE="https://github.com/certbot/josepy" -DOWNLOAD="https://files.pythonhosted.org/packages/a9/29/e7c14150f200c5cd49d1a71b413f61b97406f57872ad693857982c0869c9/josepy-2.0.0.tar.gz" -MD5SUM="dd79ee5377afe136643fc6f7cda6e5f8" +DOWNLOAD="https://files.pythonhosted.org/packages/9d/19/4ebe24c42c341c5868dff072b78d503fc1b0725d88ea619d2db68f5624a9/josepy-2.1.0.tar.gz" +MD5SUM="b6bb741451a2a2965efee4be811c5282" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-wheel python3-poetry-core" 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..dd2344fad0 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,44 +48,29 @@ 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 -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 +find $PKG/usr/lib*/python* -name '*.so' | xargs strip --strip-unneeded 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/mypy/mypy.SlackBuild b/python/mypy/mypy.SlackBuild index d2e1feae90..3f5fcf1388 100644 --- a/python/mypy/mypy.SlackBuild +++ b/python/mypy/mypy.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mypy -VERSION=${VERSION:-1.15.0} +VERSION=${VERSION:-1.16.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/mypy/mypy.info b/python/mypy/mypy.info index f280a57774..f5d511accc 100644 --- a/python/mypy/mypy.info +++ b/python/mypy/mypy.info @@ -1,8 +1,8 @@ PRGNAM="mypy" -VERSION="1.15.0" +VERSION="1.16.1" HOMEPAGE="https://github.com/python/mypy" -DOWNLOAD="https://files.pythonhosted.org/packages/ce/43/d5e49a86afa64bd3839ea0d5b9c7103487007d728e1293f52525d6d5486a/mypy-1.15.0.tar.gz" -MD5SUM="7ef4185d545d0e296e8c1f12bb653a78" +DOWNLOAD="https://files.pythonhosted.org/packages/81/69/92c7fa98112e4d9eb075a239caa4ef4649ad7d441545ccffbd5e34607cbb/mypy-1.16.1.tar.gz" +MD5SUM="ef112a3b408fbef0ea20fc9abc1f5a92" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-typing-extensions mypy_extensions python3-setuptools-opt" diff --git a/python/nanobind/nanobind.SlackBuild b/python/nanobind/nanobind.SlackBuild index 0217f60d7f..251182bef3 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.8.0} +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..b5eba7828d 100644 --- a/python/nanobind/nanobind.info +++ b/python/nanobind/nanobind.info @@ -1,10 +1,12 @@ PRGNAM="nanobind" -VERSION="2.5.0" +VERSION="2.8.0" 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.8.0/nanobind-2.8.0.tar.gz \ + https://github.com/Tessil/robin-map/archive/4ec1bf1/robin-map-4ec1bf19c6a96125ea22062f38c2cf5b958e448e.tar.gz" +MD5SUM="35fd5716d27876807831eaf9692e0b41 \ + 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/numpydoc.info b/python/numpydoc/numpydoc.info index 7ef048b630..6a69ba92c2 100644 --- a/python/numpydoc/numpydoc.info +++ b/python/numpydoc/numpydoc.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-1.6 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/pkginfo/pkginfo.SlackBuild b/python/pkginfo/pkginfo.SlackBuild index 9047538c7e..d0ad184238 100644 --- a/python/pkginfo/pkginfo.SlackBuild +++ b/python/pkginfo/pkginfo.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pkginfo -# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2016-2025 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pkginfo -VERSION=${VERSION:-1.9.2} +VERSION=${VERSION:-1.12.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pkginfo/pkginfo.info b/python/pkginfo/pkginfo.info index d1899d13a3..be7fdb1ac4 100644 --- a/python/pkginfo/pkginfo.info +++ b/python/pkginfo/pkginfo.info @@ -1,10 +1,10 @@ PRGNAM="pkginfo" -VERSION="1.9.2" +VERSION="1.12.1.2" HOMEPAGE="https://pythonhosted.org/pkginfo/" -DOWNLOAD="https://files.pythonhosted.org/packages/12/d1/03b865975864a30d4a23f87fd5b9f816db2e4b2e8f4fe696a3238b749cc0/pkginfo-1.9.2.tar.gz" -MD5SUM="d482576c79ab81fea22118aa0a6da227" +DOWNLOAD="https://files.pythonhosted.org/packages/24/03/e26bf3d6453b7fda5bd2b84029a426553bb373d6277ef6b5ac8863421f87/pkginfo-1.12.1.2.tar.gz" +MD5SUM="021f56d78ec93965b21e98bc3a3ab370" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/pyOpenSSL/pyOpenSSL.SlackBuild b/python/pyOpenSSL/pyOpenSSL.SlackBuild index f33ab26589..3333e7a51b 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.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pyOpenSSL/pyOpenSSL.info b/python/pyOpenSSL/pyOpenSSL.info index 4a105f5ce7..0cea715073 100644 --- a/python/pyOpenSSL/pyOpenSSL.info +++ b/python/pyOpenSSL/pyOpenSSL.info @@ -1,8 +1,8 @@ PRGNAM="pyOpenSSL" -VERSION="25.0.0" +VERSION="25.1.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/04/8c/cd89ad05804f8e3c17dea8f178c3f40eeab5694c30e0c9f5bcd49f576fc3/pyopenssl-25.1.0.tar.gz" +MD5SUM="ed54c876e38a6f3525008f9054b32ac1" 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/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/pypy/pypy.SlackBuild b/python/pypy/pypy.SlackBuild index ecd4bd17ba..c206af43c2 100644 --- a/python/pypy/pypy.SlackBuild +++ b/python/pypy/pypy.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pypy -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy2.7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/pypy/pypy.info b/python/pypy/pypy.info index 4e68a8c059..241191ad0b 100644 --- a/python/pypy/pypy.info +++ b/python/pypy/pypy.info @@ -1,10 +1,10 @@ PRGNAM="pypy" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.19-linux32.tar.bz2" -MD5SUM="a3a4d33760426da49906299a7f51a408" -DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy2.7-v7.3.19-linux64.tar.bz2" -MD5SUM_x86_64="c1341bda8cfbdaf43f65efc5fc2eaa15" +DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.20-linux32.tar.bz2" +MD5SUM="5e953cb16a351e6038579c9b26147a5c" +DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy2.7-v7.3.20-linux64.tar.bz2" +MD5SUM_x86_64="f6cde5e73cafada0be86c91b16a31ded" REQUIRES="" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/pypy3/pypy3.SlackBuild b/python/pypy3/pypy3.SlackBuild index 2f44efbd43..60fea03e19 100644 --- a/python/pypy3/pypy3.SlackBuild +++ b/python/pypy3/pypy3.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pypy3 -VERSION=${VERSION:-7.3.19} +VERSION=${VERSION:-7.3.20} SRCNAM=pypy3.11 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/pypy3/pypy3.info b/python/pypy3/pypy3.info index 8bb11d2844..7680104a05 100644 --- a/python/pypy3/pypy3.info +++ b/python/pypy3/pypy3.info @@ -1,10 +1,10 @@ PRGNAM="pypy3" -VERSION="7.3.19" +VERSION="7.3.20" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.19-linux32.tar.bz2" -MD5SUM="2538510ef91085d41f8cd53a832fbc61" -DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy3.11-v7.3.19-linux64.tar.bz2" -MD5SUM_x86_64="01e5b6f81aaa35597cfd50c066953b57" +DOWNLOAD="https://downloads.python.org/pypy/pypy3.11-v7.3.20-linux32.tar.bz2" +MD5SUM="687f9d186e09e64ab66f74510a6c85b1" +DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy3.11-v7.3.20-linux64.tar.bz2" +MD5SUM_x86_64="673acfb14da9b9277d0b760f638396ff" REQUIRES="" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/pyscard/pyscard.SlackBuild b/python/pyscard/pyscard.SlackBuild index 96ca75041d..78adc790a0 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.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 @@ -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..2b5af40417 100644 --- a/python/pyscard/pyscard.info +++ b/python/pyscard/pyscard.info @@ -1,8 +1,8 @@ PRGNAM="pyscard" -VERSION="2.2.1" +VERSION="2.3.0" 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.0/pyscard-2.3.0.tar.gz" +MD5SUM="1c4252e6b6a030a639ed097d1f84fd26" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pcsc-lite" diff --git a/python/pyside2-tools/README b/python/pyside2-tools/README new file mode 100644 index 0000000000..2e1c52cc36 --- /dev/null +++ b/python/pyside2-tools/README @@ -0,0 +1 @@ +PySide2 development tools (pyuic and pyrcc) diff --git a/python/pyside2-tools/get-pyside2-tools.sh b/python/pyside2-tools/get-pyside2-tools.sh new file mode 100644 index 0000000000..8ea465a7e6 --- /dev/null +++ b/python/pyside2-tools/get-pyside2-tools.sh @@ -0,0 +1,43 @@ +#!/bin/sh + +# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# Adapted for pyside2-tools 2025 Christoph Willing, Sydney Australia + +# Clear download area: +rm -rf pyside2-tools + +# Clone repository: +git clone https://github.com/pyside/pyside2-tools.git + +HEADISAT="$( cd pyside2-tools && git log -1 --format=%h )" +DATE="$( cd pyside2-tools && git log -1 --format=%cd --date=format:%Y%m%d )" + +# Cleanup. We're not packing up the whole git repo. +( cd pyside2-tools && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null ) +mv pyside2-tools pyside2-tools-${DATE}_${HEADISAT} +tar cf pyside2-tools-${DATE}_${HEADISAT}.tar pyside2-tools-${DATE}_${HEADISAT} +plzip -9 pyside2-tools-${DATE}_${HEADISAT}.tar +rm -rf pyside2-tools-${DATE}_${HEADISAT} +touch -d "$DATE" pyside2-tools-${DATE}_${HEADISAT}.tar.lz +echo +echo "pyside2-tools branch $BRANCH with HEAD at $HEADISAT packaged as pyside2-tools-${DATE}_${HEADISAT}.tar.lz" +echo diff --git a/python/pyside2-tools/pyside2-tools.SlackBuild b/python/pyside2-tools/pyside2-tools.SlackBuild new file mode 100644 index 0000000000..931c8c52e4 --- /dev/null +++ b/python/pyside2-tools/pyside2-tools.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/bash + +# Slackware build script for pyside2-tools + +# Copyright 2025 Christoph Willing, Sydney Australia +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=pyside2-tools +VERSION=${VERSION:-20170308_f68388c} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi +SLKCFLAGS="$SLKCFLAGS -Wno-deprecated-declarations" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.lz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +sed -i -e 's:#!/usr/bin/env python:#!/usr/bin/env python3:' pyside2-uic +sed -i -e 's:getiterator:iter:' pyside2uic/uiparser.py + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/man/man1 +mv $PKG/usr/share/man/man1/* $PKG/usr/man/man1/ && rm -rf $PKG/usr/share +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/pyside2-tools/pyside2-tools.info b/python/pyside2-tools/pyside2-tools.info new file mode 100644 index 0000000000..e16b55e4b0 --- /dev/null +++ b/python/pyside2-tools/pyside2-tools.info @@ -0,0 +1,10 @@ +PRGNAM="pyside2-tools" +VERSION="20170308_f68388c" +HOMEPAGE="https://github.com/pyside/pyside2-tools" +DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/pyside2-tools/pyside2-tools-20170308_f68388c.tar.lz" +MD5SUM="7be22570389eef38d7111328c7a65117" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="pyside2" +MAINTAINER="Christoph Willing" +EMAIL="chris.willing@linux.com" diff --git a/python/pyside2-tools/slack-desc b/python/pyside2-tools/slack-desc new file mode 100644 index 0000000000..eaf4f128d9 --- /dev/null +++ b/python/pyside2-tools/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +pyside2-tools: pyside2-tools (pyside2 development tools) +pyside2-tools: +pyside2-tools: PySide2 development tools (pyuic and pyrcc) +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: +pyside2-tools: diff --git a/python/pyside2/Modify-sendCommand-signatures.patch b/python/pyside2/Modify-sendCommand-signatures.patch new file mode 100644 index 0000000000..7465b109f8 --- /dev/null +++ b/python/pyside2/Modify-sendCommand-signatures.patch @@ -0,0 +1,41 @@ +From: Dmitry Shachnev <mitya57@debian.org> +Date: Sun, 4 Feb 2024 00:29:00 +0300 +Subject: Modify sendCommand signatures to use 0 as default value + +The original default value was QNodeCommand::CommandId(), and shiboken +copies it verbatim from the header file, however it does not work because +we do not generate "using namespace Qt3DCore;". + +0 is the same as QNodeCommand::CommandId(). +--- + sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml +index 8696a12..310595f 100644 +--- a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml ++++ b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml +@@ -58,6 +58,11 @@ + <object-type name="QAspectJob"/> + <object-type name="QBackendNode"> + <enum-type name="Mode"/> ++ <modify-function signature="sendCommand(const QString&,const QVariant&,unsigned long long)"> ++ <modify-argument index="3"> ++ <replace-default-expression with="0"/> ++ </modify-argument> ++ </modify-function> + </object-type> + <!-- TODO: Solve issues related to windows and a unresolved + external symbol +@@ -82,6 +87,11 @@ + </object-type> + <object-type name="QNode"> + <enum-type name="PropertyTrackingMode"/> ++ <modify-function signature="sendCommand(const QString&,const QVariant&,unsigned long long)"> ++ <modify-argument index="3"> ++ <replace-default-expression with="0"/> ++ </modify-argument> ++ </modify-function> + </object-type> + <object-type name="QNodeCommand" since="5.10"/> + <object-type name="QNodeCreatedChangeBase"/> diff --git a/python/pyside2/pyside2.SlackBuild b/python/pyside2/pyside2.SlackBuild index b1991bd9cf..94b1ffae07 100644 --- a/python/pyside2/pyside2.SlackBuild +++ b/python/pyside2/pyside2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyside2 -# Copyright 2021-2023 Christoph Willing Brisbane, Australia +# Copyright 2021-2025 Christoph Willing, Sydney Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,11 +26,16 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyside2 SRCNAM=pyside-setup-opensource-src -VERSION=${VERSION:-5.15.10} +VERSION=${VERSION:-5.15.17} +SRCNAM_PATCHES=pyside2 +SRCNAM_PATCHES_VERSION=5.15.16-3.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +PYTHON_VERSION=${PYTHON_VERSION:-$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')} +PYTHON_LIB_PATH=$(python3 -c "from sysconfig import get_path; print(get_path('platlib'))") + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -39,9 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -65,6 +67,11 @@ else LIBDIRSUFFIX="" fi +cmake_policy_version="" +if pkg-config --atleast-version 1.2.14 alsa ; then + cmake_policy_version="-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ; +fi + set -e rm -rf $PKG @@ -72,7 +79,12 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-${VERSION%.*} tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -cd $SRCNAM-${VERSION}/sources/$PRGNAM +cd $SRCNAM-${VERSION} + +tar xvf $CWD/${SRCNAM_PATCHES}_${SRCNAM_PATCHES_VERSION}.debian.tar.xz +while read -r patch ; do patch -Np1 -i debian/patches/$patch ; done <debian/patches/series +patch -Np1 < $CWD/Modify-sendCommand-signatures.patch + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -82,26 +94,29 @@ find -L . \ mkdir -p build cd build - export CC=/usr/bin/clang - export CXX=/usr/bin/clang++ cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib64 \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DPYTHON_EXECUTABLE=/usr/bin/python3 \ + $cmake_policy_version \ + -DUSE_PYTHON_VERSION=$PYTHON_VERSION \ -DBUILD_TESTS=OFF \ -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG + cmake --build sources/$PRGNAM + DESTDIR=$PKG cmake --install sources/$PRGNAM cd .. +python setup.py egg_info --build-type=pyside2 +mkdir -p $PKG/$PYTHON_LIB_PATH +mv PySide2.egg-info $PKG/$PYTHON_LIB_PATH/ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING doc/faq.rst doc \ + sources/$PRGNAM/{COPYING,doc} \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/pyside2/pyside2.info b/python/pyside2/pyside2.info index 25362e0b00..5e30fccd95 100644 --- a/python/pyside2/pyside2.info +++ b/python/pyside2/pyside2.info @@ -1,8 +1,10 @@ PRGNAM="pyside2" -VERSION="5.15.10" +VERSION="5.15.17" HOMEPAGE="https://wiki.qt.io/Qt_for_Python" -DOWNLOAD="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.10-src/pyside-setup-opensource-src-5.15.10.tar.xz" -MD5SUM="60441c2baeccb932ee0636034989ae57" +DOWNLOAD="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.17-src/pyside-setup-opensource-src-5.15.17.tar.xz \ + https://deb.debian.org/debian/pool/main/p/pyside2/pyside2_5.15.16-3.1.debian.tar.xz" +MD5SUM="706dfb88f55768f3944b0eb6737957b2 \ + 405c58187f66358ed7e1d323eebc3c6f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="shiboken2" diff --git a/python/python-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-gssapi/python-gssapi.SlackBuild b/python/python-gssapi/python-gssapi.SlackBuild index 998ee83589..6566af8de6 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.9.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 @@ -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..a78943919e 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.9.0" 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.9.0/python-gssapi-1.9.0.tar.gz" +MD5SUM="98b95fd52ef8c7c585045a17406cbee1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-decorator" 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/python2-distutils-extra/README b/python/python2-distutils-extra/README new file mode 100644 index 0000000000..0ae2b0cbe1 --- /dev/null +++ b/python/python2-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/trezor/trezor.SlackBuild b/python/python2-distutils-extra/python2-distutils-extra.SlackBuild index 0de9cd6c29..dd1677603c 100644 --- a/python/trezor/trezor.SlackBuild +++ b/python/python2-distutils-extra/python2-distutils-extra.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for trezor +# Slackware build script for python2-distutils-extra -# Copyright (c) 2016-2017 Reedych <reedych@reedych.pw> +# Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=trezor -VERSION=${VERSION:-0.7.9.post1} +PRGNAM=python2-distutils-extra +VERSION=${VERSION:-2.39} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=python-$PRGNAM +SRCNAM=python-distutils-extra 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 @@ -87,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 README.rst $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 diff --git a/python/python2-distutils-extra/python2-distutils-extra.info b/python/python2-distutils-extra/python2-distutils-extra.info new file mode 100644 index 0000000000..1f04be3720 --- /dev/null +++ b/python/python2-distutils-extra/python2-distutils-extra.info @@ -0,0 +1,10 @@ +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" +MD5SUM="16e06db0ef73a35b4bff4b9eed5699b5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" 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-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-Flask-Cors/python3-Flask-Cors.SlackBuild b/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild index bb0870d9a0..ed58772afe 100644 --- a/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild +++ b/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-Flask-Cors SRCNAM=flask_cors -VERSION=${VERSION:-5.0.1} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-Flask-Cors/python3-Flask-Cors.info b/python/python3-Flask-Cors/python3-Flask-Cors.info index 7079d3999f..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.1" +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.1.tar.gz" -MD5SUM="786591022a69fc5479c4aa8d71b05abd" +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-PyGithub/python3-PyGithub.SlackBuild b/python/python3-PyGithub/python3-PyGithub.SlackBuild index 88f85b2d4a..1b3d0dfb82 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.7.0} 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..139f618df0 100644 --- a/python/python3-PyGithub/python3-PyGithub.info +++ b/python/python3-PyGithub/python3-PyGithub.info @@ -1,8 +1,8 @@ PRGNAM="python3-PyGithub" -VERSION="2.6.1" +VERSION="2.7.0" 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.7.0/PyGithub-2.7.0.tar.gz" +MD5SUM="14215eda3184e878f209f51388f9400b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-deprecated python3-pyjwt pynacl python3-setuptools-scm-opt" 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-aiohttp/python3-aiohttp.SlackBuild b/python/python3-aiohttp/python3-aiohttp.SlackBuild index 68a446a22b..432550dc75 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.18} +VERSION=${VERSION:-3.12.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-aiohttp/python3-aiohttp.info b/python/python3-aiohttp/python3-aiohttp.info index 0bdf372167..c4bb129517 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.18" +VERSION="3.12.15" HOMEPAGE="https://aiohttp.readthedocs.io/en/stable/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.11.18.tar.gz" -MD5SUM="f75ab428107e8cddfa2f9a132db213d9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.12.15.tar.gz" +MD5SUM="2fdd3437623fa0d86313a3a3c7d1e2b5" 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-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 cf5094c0ee..c03392d0c9 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.15.2} +VERSION=${VERSION:-1.16.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-alembic/python3-alembic.info b/python/python3-alembic/python3-alembic.info index 9df66741f0..6deeba27d0 100644 --- a/python/python3-alembic/python3-alembic.info +++ b/python/python3-alembic/python3-alembic.info @@ -1,8 +1,8 @@ PRGNAM="python3-alembic" -VERSION="1.15.2" +VERSION="1.16.4" HOMEPAGE="https://pypi.org/project/alembic/" -DOWNLOAD="https://pypi.python.org/packages/source/a/alembic/alembic-1.15.2.tar.gz" -MD5SUM="6ac26505bcf798ebeda9913e107b7421" +DOWNLOAD="https://pypi.python.org/packages/source/a/alembic/alembic-1.16.4.tar.gz" +MD5SUM="5499d3918aec406a1903aed530f7e2a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SQLAlchemy" diff --git a/python/python3-anyio/python3-anyio.SlackBuild b/python/python3-anyio/python3-anyio.SlackBuild index da03cda2db..03baadb1b4 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.10.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..811eb9324d 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.10.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.10.0.tar.gz" +MD5SUM="cb471a6d2338e026d7ba9eed50cf8fff" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-exceptiongroup python3-sniffio" 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..fd397ca263 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 @@ -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..8f23eb7f3f 100644 --- a/python/python3-arrow/python3-arrow.info +++ b/python/python3-arrow/python3-arrow.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/crsmithdev/arrow/archive/1.3.0/arrow-1.3.0.tar.gz" MD5SUM="0d0d1d9d008ddbfd94ca2db358bb0f7e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-dateutil python3-types-python-dateutil" +REQUIRES="python3-dateutil python3-types-python-dateutil" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-atpublic/python3-atpublic.SlackBuild b/python/python3-atpublic/python3-atpublic.SlackBuild index e93cf32551..99ba4a9ccc 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.1} 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..de63d9d414 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.1" 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.1.tar.gz" +MD5SUM="1b6e0b69396f34ac963fbf4bc2154dd8" 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-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/python3-base58/python3-base58.SlackBuild b/python/python3-base58/python3-base58.SlackBuild new file mode 100644 index 0000000000..be0282c763 --- /dev/null +++ b/python/python3-base58/python3-base58.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/bash + +# Slackware build script for python3-base58 + +# 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-base58 +VERSION=${VERSION:-2.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=base58 + +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 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-base58/python3-base58.info b/python/python3-base58/python3-base58.info new file mode 100644 index 0000000000..249643091e --- /dev/null +++ b/python/python3-base58/python3-base58.info @@ -0,0 +1,10 @@ +PRGNAM="python3-base58" +VERSION="2.1.1" +HOMEPAGE="https://github.com/keis/base58" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/base58/base58-2.1.1.tar.gz" +MD5SUM="3595b886f6d57b947fa8d38d4c92e5b3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-base58/slack-desc b/python/python3-base58/slack-desc new file mode 100644 index 0000000000..5486816a39 --- /dev/null +++ b/python/python3-base58/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-base58: python3-base58 (Base58 and Base58Check implementation) +python3-base58: +python3-base58: Base58 and Base58Check implementation compatible with what is used by +python3-base58: the bitcoin network. +python3-base58: +python3-base58: +python3-base58: Homepage: https://github.com/keis/base58 +python3-base58: +python3-base58: +python3-base58: +python3-base58: diff --git a/python/python3-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-bech32/python3-bech32.SlackBuild b/python/python3-bech32/python3-bech32.SlackBuild new file mode 100644 index 0000000000..272f12abb3 --- /dev/null +++ b/python/python3-bech32/python3-bech32.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-bech32 + +# 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-bech32 +VERSION=${VERSION:-1.2.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=bech32 + +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 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-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-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..42852e7e91 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.7.1} 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..4dcc4ac6e7 --- /dev/null +++ b/python/python3-bitarray/python3-bitarray.info @@ -0,0 +1,10 @@ +PRGNAM="python3-bitarray" +VERSION="3.7.1" +HOMEPAGE="https://github.com/ilanschnell/bitarray" +DOWNLOAD="https://pypi.python.org/packages/source/b/bitarray/bitarray-3.7.1.tar.gz" +MD5SUM="2dee91e7017591de9735c29471161958" +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-bottle/python3-bottle.SlackBuild b/python/python3-bottle/python3-bottle.SlackBuild index 28d758db72..1eb0a530f1 100644 --- a/python/python3-bottle/python3-bottle.SlackBuild +++ b/python/python3-bottle/python3-bottle.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-bottle SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.13.3} +VERSION=${VERSION:-0.13.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-bottle/python3-bottle.info b/python/python3-bottle/python3-bottle.info index 070ccac6ee..0410e41d9b 100644 --- a/python/python3-bottle/python3-bottle.info +++ b/python/python3-bottle/python3-bottle.info @@ -1,8 +1,8 @@ PRGNAM="python3-bottle" -VERSION="0.13.3" +VERSION="0.13.4" HOMEPAGE="https://bottlepy.org/docs/dev/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/bottle/bottle-0.13.3.tar.gz" -MD5SUM="76d42b87250e5eb3cd24946bfe8f1b0f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/bottle/bottle-0.13.4.tar.gz" +MD5SUM="a8dd2700b477b86a38510a2a31d07c78" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-build/python3-build.SlackBuild b/python/python3-build/python3-build.SlackBuild index 2070a1a9be..59cf3050ae 100644 --- a/python/python3-build/python3-build.SlackBuild +++ b/python/python3-build/python3-build.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-build -# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2022 toolonely <lonely_@tutanota.com> # All rights reserved. # @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-build SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.2.2.post1} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-build/python3-build.info b/python/python3-build/python3-build.info index 465bf58a69..bd75dedacb 100644 --- a/python/python3-build/python3-build.info +++ b/python/python3-build/python3-build.info @@ -1,8 +1,8 @@ PRGNAM="python3-build" -VERSION="1.2.2.post1" +VERSION="1.3.0" HOMEPAGE="https://github.com/pypa/build" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-1.2.2.post1.tar.gz" -MD5SUM="5492ba887b363f483d64a11bbec0c34a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-1.3.0.tar.gz" +MD5SUM="48f7fbc11051430eab3c1abe216bed7a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pyproject-hooks" diff --git a/python/python3-cachetools/python3-cachetools.SlackBuild b/python/python3-cachetools/python3-cachetools.SlackBuild index f6d81fdf5b..56be983419 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.0} 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..ef2bc32722 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.0" 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.0/cachetools-6.2.0.tar.gz" +MD5SUM="0c2238aef1b6092d5f40512cdbae2e01" 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-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild index 629662a31c..58392354ea 100644 --- a/python/python3-cattrs/python3-cattrs.SlackBuild +++ b/python/python3-cattrs/python3-cattrs.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cattrs SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.1.3} +VERSION=${VERSION:-25.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-cattrs/python3-cattrs.info b/python/python3-cattrs/python3-cattrs.info index 3eb33184be..085d1d6a37 100644 --- a/python/python3-cattrs/python3-cattrs.info +++ b/python/python3-cattrs/python3-cattrs.info @@ -1,8 +1,8 @@ PRGNAM="python3-cattrs" -VERSION="24.1.3" +VERSION="25.1.1" HOMEPAGE="https://github.com/python-attrs/cattrs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-24.1.3.tar.gz" -MD5SUM="7533cdc746b7680b479e25df6911da9b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-25.1.1.tar.gz" +MD5SUM="58b4144b2420e9512f7c29c8d8181d7c" 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 4747ac5150..81feb12668 100644 --- a/python/python3-celery/python3-celery.SlackBuild +++ b/python/python3-celery/python3-celery.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-celery SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.5.1} +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 243c8eddd8..0b07a7c006 100644 --- a/python/python3-celery/python3-celery.info +++ b/python/python3-celery/python3-celery.info @@ -1,8 +1,8 @@ PRGNAM="python3-celery" -VERSION="5.5.1" +VERSION="5.5.3" HOMEPAGE="https://docs.celeryproject.org/" -DOWNLOAD="https://pypi.python.org/packages/source/c/celery/celery-5.5.1.tar.gz" -MD5SUM="7916ad56bcfce13d65a29a5be91ba6bb" +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-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-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-construct-classes/README b/python/python3-construct-classes/README new file mode 100644 index 0000000000..ca126f4179 --- /dev/null +++ b/python/python3-construct-classes/README @@ -0,0 +1,2 @@ +Parse your binary data into dataclasses. +Pack your dataclasses into binary data. diff --git a/python/python3-construct-classes/python3-construct-classes.SlackBuild b/python/python3-construct-classes/python3-construct-classes.SlackBuild new file mode 100644 index 0000000000..caa69cfc6c --- /dev/null +++ b/python/python3-construct-classes/python3-construct-classes.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# Slackware build script for python3-construct-classes + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-construct-classes +VERSION=${VERSION:-0.1.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=construct-classes + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-construct-classes/python3-construct-classes.info b/python/python3-construct-classes/python3-construct-classes.info new file mode 100644 index 0000000000..afcaece2e7 --- /dev/null +++ b/python/python3-construct-classes/python3-construct-classes.info @@ -0,0 +1,10 @@ +PRGNAM="python3-construct-classes" +VERSION="0.1.2" +HOMEPAGE="https://github.com/matejcik/construct-classes" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/construct-classes/construct-classes-0.1.2.tar.gz" +MD5SUM="b4f854e9940445a56eb66d4090d28626" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core python3-construct" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-construct-classes/slack-desc b/python/python3-construct-classes/slack-desc new file mode 100644 index 0000000000..e217ddcaf7 --- /dev/null +++ b/python/python3-construct-classes/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-construct-classes: python3-construct-classes (Parse binary structs into dataclasses) +python3-construct-classes: +python3-construct-classes: Parse your binary data into dataclasses. +python3-construct-classes: Pack your dataclasses into binary data. +python3-construct-classes: +python3-construct-classes: Homepage: https://github.com/matejcik/construct-classes +python3-construct-classes: +python3-construct-classes: +python3-construct-classes: +python3-construct-classes: +python3-construct-classes: diff --git a/python/python3-cookiecutter/python3-cookiecutter.SlackBuild b/python/python3-cookiecutter/python3-cookiecutter.SlackBuild index 8c80314ca9..08d85e6d08 100644 --- a/python/python3-cookiecutter/python3-cookiecutter.SlackBuild +++ b/python/python3-cookiecutter/python3-cookiecutter.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-cookiecutter -# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python3-cookiecutter/python3-cookiecutter.info b/python/python3-cookiecutter/python3-cookiecutter.info index 0db11a8a66..b53a65ddd0 100644 --- a/python/python3-cookiecutter/python3-cookiecutter.info +++ b/python/python3-cookiecutter/python3-cookiecutter.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/cookiecutter/cookiecutter/archive/2.6.0/cookiecutte MD5SUM="fe5c6c2bc42b6ba6352be7b6d258460e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="binaryornot click python3-jinja2-time python3-rich python3-slugify" +REQUIRES="binaryornot click python3-arrow python3-rich python3-slugify" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-cython-opt/python3-cython-opt.SlackBuild b/python/python3-cython-opt/python3-cython-opt.SlackBuild index f43ec218c2..32eb52ac54 100644 --- a/python/python3-cython-opt/python3-cython-opt.SlackBuild +++ b/python/python3-cython-opt/python3-cython-opt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cython-opt SRCNAM=cython -VERSION=${VERSION:-3.0.12} +VERSION=${VERSION:-3.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-cython-opt/python3-cython-opt.info b/python/python3-cython-opt/python3-cython-opt.info index b9a2a8c586..179974596a 100644 --- a/python/python3-cython-opt/python3-cython-opt.info +++ b/python/python3-cython-opt/python3-cython-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-cython-opt" -VERSION="3.0.12" +VERSION="3.1.2" HOMEPAGE="https://cython.org/" -DOWNLOAD="https://pypi.python.org/packages/source/c/cython/cython-3.0.12.tar.gz" -MD5SUM="ab61fac00686d611197fba10c37f30e5" +DOWNLOAD="https://pypi.python.org/packages/source/c/cython/cython-3.1.2.tar.gz" +MD5SUM="6fb2dc869f4d00b4a13e130ec1197bfd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-dbus-fast/python3-dbus-fast.SlackBuild b/python/python3-dbus-fast/python3-dbus-fast.SlackBuild index eb8f0b52b2..54387b15c6 100644 --- a/python/python3-dbus-fast/python3-dbus-fast.SlackBuild +++ b/python/python3-dbus-fast/python3-dbus-fast.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dbus-fast -VERSION=${VERSION:-2.44.1} +VERSION=${VERSION:-2.44.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-dbus-fast/python3-dbus-fast.info b/python/python3-dbus-fast/python3-dbus-fast.info index 66f1d0666c..7844b5dac1 100644 --- a/python/python3-dbus-fast/python3-dbus-fast.info +++ b/python/python3-dbus-fast/python3-dbus-fast.info @@ -1,8 +1,8 @@ PRGNAM="python3-dbus-fast" -VERSION="2.44.1" +VERSION="2.44.3" HOMEPAGE="https://github.com/bluetooth-devices/dbus-fast" -DOWNLOAD="https://github.com/Bluetooth-Devices/dbus-fast/releases/download/v2.44.1/dbus_fast-2.44.1.tar.gz" -MD5SUM="45f1bccaa3e23304d8da1916b05dd646" +DOWNLOAD="https://github.com/Bluetooth-Devices/dbus-fast/releases/download/v2.44.3/dbus_fast-2.44.3.tar.gz" +MD5SUM="ea8420ccd0c90ea8f3dda3df5b0a7a01" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-debugpy/python3-debugpy.SlackBuild b/python/python3-debugpy/python3-debugpy.SlackBuild index 80234a773b..2131b314a6 100644 --- a/python/python3-debugpy/python3-debugpy.SlackBuild +++ b/python/python3-debugpy/python3-debugpy.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-debugpy -VERSION=${VERSION:-1.8.14} +VERSION=${VERSION:-1.8.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-debugpy/python3-debugpy.info b/python/python3-debugpy/python3-debugpy.info index 7f85e0d885..70e2eca9be 100644 --- a/python/python3-debugpy/python3-debugpy.info +++ b/python/python3-debugpy/python3-debugpy.info @@ -1,8 +1,8 @@ PRGNAM="python3-debugpy" -VERSION="1.8.14" +VERSION="1.8.16" HOMEPAGE="https://github.com/microsoft/debugpy/" -DOWNLOAD="https://github.com/microsoft/debugpy/archive/v1.8.14/debugpy-1.8.14.tar.gz" -MD5SUM="edccafa26340ecbe45e71901dee64930" +DOWNLOAD="https://github.com/microsoft/debugpy/archive/v1.8.16/debugpy-1.8.16.tar.gz" +MD5SUM="f474437468edec8e1d23722f86ab49ee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-dep-logic/python3-dep-logic.SlackBuild b/python/python3-dep-logic/python3-dep-logic.SlackBuild index e16686adb8..f5b7aac276 100644 --- a/python/python3-dep-logic/python3-dep-logic.SlackBuild +++ b/python/python3-dep-logic/python3-dep-logic.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dep-logic -VERSION=${VERSION:-0.5.0} +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 71960ed88f..ce8bc5ee01 100644 --- a/python/python3-dep-logic/python3-dep-logic.info +++ b/python/python3-dep-logic/python3-dep-logic.info @@ -1,8 +1,8 @@ PRGNAM="python3-dep-logic" -VERSION="0.5.0" +VERSION="0.5.2" HOMEPAGE="https://github.com/pdm-project/dep-logic/" -DOWNLOAD="https://github.com/pdm-project/dep-logic/archive/refs/tags/0.5.0/dep-logic-0.5.0.tar.gz" -MD5SUM="5b75a8688b6e225dcfaf2aad75371bf5" +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-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/python3-distutils-extra/python3-distutils-extra.SlackBuild b/python/python3-distutils-extra/python3-distutils-extra.SlackBuild new file mode 100644 index 0000000000..f83133f4b4 --- /dev/null +++ b/python/python3-distutils-extra/python3-distutils-extra.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-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=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 ;; + 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 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/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-dotenv/python3-dotenv.SlackBuild b/python/python3-dotenv/python3-dotenv.SlackBuild index 63c45645d6..c5cffce0e7 100644 --- a/python/python3-dotenv/python3-dotenv.SlackBuild +++ b/python/python3-dotenv/python3-dotenv.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dotenv SRCNAM=python_dotenv -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-dotenv/python3-dotenv.info b/python/python3-dotenv/python3-dotenv.info index 9ba920edf9..7dd4e7b968 100644 --- a/python/python3-dotenv/python3-dotenv.info +++ b/python/python3-dotenv/python3-dotenv.info @@ -1,8 +1,8 @@ PRGNAM="python3-dotenv" -VERSION="1.1.0" +VERSION="1.1.1" HOMEPAGE="https://github.com/theskumar/python-dotenv" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python_dotenv/python_dotenv-1.1.0.tar.gz" -MD5SUM="9bdf50416b1c59832d2f77ad6afdf0d8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python_dotenv/python_dotenv-1.1.1.tar.gz" +MD5SUM="b3e9652d1974f8c7574c43f719799f3a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-dulwich/python3-dulwich.SlackBuild b/python/python3-dulwich/python3-dulwich.SlackBuild index f7f240e32e..8d5b58d296 100644 --- a/python/python3-dulwich/python3-dulwich.SlackBuild +++ b/python/python3-dulwich/python3-dulwich.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dulwich SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.22.8} +VERSION=${VERSION:-0.23.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-dulwich/python3-dulwich.info b/python/python3-dulwich/python3-dulwich.info index 966da60298..609dc23a17 100644 --- a/python/python3-dulwich/python3-dulwich.info +++ b/python/python3-dulwich/python3-dulwich.info @@ -1,8 +1,8 @@ PRGNAM="python3-dulwich" -VERSION="0.22.8" +VERSION="0.23.2" HOMEPAGE="https://www.dulwich.io/" -DOWNLOAD="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.22.8.tar.gz" -MD5SUM="13dea8a5ca6f613844d22bedbe5adb0f" +DOWNLOAD="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.23.2.tar.gz" +MD5SUM="776ed3e26e22fadae24642928746646f" 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 bcf6c79c28..0da59c0c9c 100644 --- a/python/python3-dunamai/python3-dunamai.SlackBuild +++ b/python/python3-dunamai/python3-dunamai.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dunamai SRCNAM=dunamai -VERSION=${VERSION:-1.24.0} +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 276d942902..4ee6d287b3 100644 --- a/python/python3-dunamai/python3-dunamai.info +++ b/python/python3-dunamai/python3-dunamai.info @@ -1,8 +1,8 @@ PRGNAM="python3-dunamai" -VERSION="1.24.0" +VERSION="1.25.0" HOMEPAGE="https://github.com/mtkennerly/dunamai" -DOWNLOAD="https://files.pythonhosted.org/packages/7b/39/1d9099f7529c61c80ef00c88b385493b9f6183582ac9bca5af84fe62311b/dunamai-1.24.0.tar.gz" -MD5SUM="20bcc2097d56742af8b04dc238d0a039" +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-exceptiongroup/python3-exceptiongroup.SlackBuild b/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild index ab6436c3b8..ce7ccfe619 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.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-exceptiongroup/python3-exceptiongroup.info b/python/python3-exceptiongroup/python3-exceptiongroup.info index 68805da217..df682acfb0 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.0" 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.0.tar.gz" +MD5SUM="85af34d4754844f5becff4fb0f9f87e2" 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-expandvars/python3-expandvars.SlackBuild b/python/python3-expandvars/python3-expandvars.SlackBuild index f2f16eaa9c..6de89bf881 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.1} 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..0bf45e681d 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.1" 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.1.tar.gz" +MD5SUM="875648d708d16a32e2c89a7599558a5b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" 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..1d2fb90b40 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.19.1} 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..78a3b89ff3 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.19.1" 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.19.1/filelock-3.19.1.tar.gz" +MD5SUM="daa7157c3f3c8cb67ef74f6f43fb4085" 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..c8074d0074 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.0} 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..73833d261e 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.0" 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.0/findpython-0.7.0.tar.gz" +MD5SUM="31eb65ee405a6cfc8cad002b0869e892" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pdm-backend" 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-fonttools/python3-fonttools.SlackBuild b/python/python3-fonttools/python3-fonttools.SlackBuild index f047d4634f..6626a99312 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.57.0} +VERSION=${VERSION:-4.58.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-fonttools/python3-fonttools.info b/python/python3-fonttools/python3-fonttools.info index 15b7198911..748cdade7d 100644 --- a/python/python3-fonttools/python3-fonttools.info +++ b/python/python3-fonttools/python3-fonttools.info @@ -1,8 +1,8 @@ PRGNAM="python3-fonttools" -VERSION="4.57.0" +VERSION="4.58.0" HOMEPAGE="https://github.com/fonttools/fonttools" -DOWNLOAD="https://pypi.io/packages/source/f/fonttools/fonttools-4.57.0.tar.gz" -MD5SUM="8405dfb3204c2bdc5b3233caab38ad1c" +DOWNLOAD="https://pypi.io/packages/source/f/fonttools/fonttools-4.58.0.tar.gz" +MD5SUM="d4831e9b477b744848c3133bdd9ec27d" 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-frozenlist/python3-frozenlist.SlackBuild b/python/python3-frozenlist/python3-frozenlist.SlackBuild index 5845b92575..adcfa7e688 100644 --- a/python/python3-frozenlist/python3-frozenlist.SlackBuild +++ b/python/python3-frozenlist/python3-frozenlist.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-frozenlist -VERSION=${VERSION:-1.6.0} +VERSION=${VERSION:-1.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-frozenlist/python3-frozenlist.info b/python/python3-frozenlist/python3-frozenlist.info index 635d00afff..e673a033ea 100644 --- a/python/python3-frozenlist/python3-frozenlist.info +++ b/python/python3-frozenlist/python3-frozenlist.info @@ -1,8 +1,8 @@ PRGNAM="python3-frozenlist" -VERSION="1.6.0" +VERSION="1.7.0" HOMEPAGE="https://github.com/aio-libs/frozenlist" -DOWNLOAD="https://github.com/aio-libs/frozenlist/releases/download/v1.6.0/frozenlist-1.6.0.tar.gz" -MD5SUM="79ced69488e2789077d5b969e72badb7" +DOWNLOAD="https://github.com/aio-libs/frozenlist/releases/download/v1.7.0/frozenlist-1.7.0.tar.gz" +MD5SUM="3820fe3685c2d9f544d7a0d4041c089a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-cython-opt python3-expandvars" diff --git a/python/python3-gTTS/README b/python/python3-gTTS/README new file mode 100644 index 0000000000..434c05b19c --- /dev/null +++ b/python/python3-gTTS/README @@ -0,0 +1 @@ +gTTS (Google Text-to-Speech) diff --git a/python/python3-gTTS/python3-gTTS.SlackBuild b/python/python3-gTTS/python3-gTTS.SlackBuild new file mode 100644 index 0000000000..82daed9da9 --- /dev/null +++ b/python/python3-gTTS/python3-gTTS.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/bash + +# Slackware build script for gTTS +# rizitis 2025 + +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-gTTS +SRCNAM=gTTS +VERSION=${VERSION:-2.5.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $$SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Slackware.15.0`s python3 is too old, to avoid: +# ERROR Missing dependencies: +# setuptools>=61 + +# we must "hack"... +# Determine Python site-packages +PYTHON_SITE=$(python3 -c "import sysconfig; print(sysconfig.get_path('purelib'))") +mkdir -p "$PKG/$PYTHON_SITE" +cp -R ./gtts "$PKG/$PYTHON_SITE/" +# remove test... +rm -rf "$PKG/$PYTHON_SITE/"{tokenizer,tests} + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp *.md *.rst LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-gTTS/python3-gTTS.info b/python/python3-gTTS/python3-gTTS.info new file mode 100644 index 0000000000..2f8053522a --- /dev/null +++ b/python/python3-gTTS/python3-gTTS.info @@ -0,0 +1,10 @@ +PRGNAM="python3-gTTS" +VERSION="2.5.4" +HOMEPAGE="https://github.com/pndurette/gTTS" +DOWNLOAD="https://github.com/pndurette/gTTS/archive/v2.5.4/gTTS-2.5.4.tar.gz" +MD5SUM="aa364d23b5d72a33db312f755eda789b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="click" +MAINTAINER="Ioannis Anagnostakis" +EMAIL="rizitis@gmail.com" diff --git a/python/python3-gTTS/slack-desc b/python/python3-gTTS/slack-desc new file mode 100644 index 0000000000..2118659d2d --- /dev/null +++ b/python/python3-gTTS/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-gTTS: python3-gTTS (Google Text-to-Speech) +python3-gTTS: +python3-gTTS: Python library and CLI tool to interface with Google Translate's +python3-gTTS: text-to-speech API. Write spoken mp3 data to a file, a file-like +python3-gTTS: object (bytestring) for further audio manipulation, or stdout. +python3-gTTS: +python3-gTTS: +python3-gTTS: +python3-gTTS: https://gtts.readthedocs.io/ +python3-gTTS: +python3-gTTS: diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild index bf6bbee383..5998f79c59 100644 --- a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild +++ b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-python3-geventhttpclient # -# Copyright 2021-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2021-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-geventhttpclient SRCNAM=geventhttpclient -VERSION=${VERSION:-2.3.3} +VERSION=${VERSION:-2.3.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,20 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.info b/python/python3-geventhttpclient/python3-geventhttpclient.info index 50e74738a9..10762090f7 100644 --- a/python/python3-geventhttpclient/python3-geventhttpclient.info +++ b/python/python3-geventhttpclient/python3-geventhttpclient.info @@ -1,8 +1,8 @@ PRGNAM="python3-geventhttpclient" -VERSION="2.3.3" +VERSION="2.3.4" HOMEPAGE="https://github.com/geventhttpclient/geventhttpclient" -DOWNLOAD="https://files.pythonhosted.org/packages/29/26/018524ea81b2021dc2fe60e1a9c3f5eb347e09a5364cdcb7b92d7e7d3c28/geventhttpclient-2.3.3.tar.gz" -MD5SUM="ec29adc387f88926d4419d3873dbe4b6" +DOWNLOAD="https://files.pythonhosted.org/packages/89/19/1ca8de73dcc0596d3df01be299e940d7fc3bccbeb6f62bb8dd2d427a3a50/geventhttpclient-2.3.4.tar.gz" +MD5SUM="34d06a7fadb54de4aeac889c44643a29" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gevent llhttp python3-setuptools-opt" diff --git a/python/python3-glances/python3-glances.SlackBuild b/python/python3-glances/python3-glances.SlackBuild index 805b434158..cf2464c12f 100644 --- a/python/python3-glances/python3-glances.SlackBuild +++ b/python/python3-glances/python3-glances.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-glances SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.3.1} +VERSION=${VERSION:-4.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-glances/python3-glances.info b/python/python3-glances/python3-glances.info index 14c843a39c..85fc644017 100644 --- a/python/python3-glances/python3-glances.info +++ b/python/python3-glances/python3-glances.info @@ -1,8 +1,8 @@ PRGNAM="python3-glances" -VERSION="4.3.1" +VERSION="4.3.3" HOMEPAGE="https://github.com/nicolargo/glances" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/glances/glances-4.3.1.tar.gz" -MD5SUM="fc7d3adc4339b5be736c6a1c11a6f1b3" +DOWNLOAD="https://files.pythonhosted.org/packages/source/g/glances/glances-4.3.3.tar.gz" +MD5SUM="25eee3fa8087d61e0aebe686bf903ac7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-psutil python3-defusedxml python3-orjson python3-netifaces python3-pymdstat python3-py-cpuinfo" diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild index afef2e2638..d5d29eb7ee 100644 --- a/python/python3-grpcio/python3-grpcio.SlackBuild +++ b/python/python3-grpcio/python3-grpcio.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-grpcio -VERSION=${VERSION:-1.72.0} +VERSION=${VERSION:-1.74.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-grpcio/python3-grpcio.info b/python/python3-grpcio/python3-grpcio.info index e5cbf23245..b21d48b24b 100644 --- a/python/python3-grpcio/python3-grpcio.info +++ b/python/python3-grpcio/python3-grpcio.info @@ -1,8 +1,8 @@ PRGNAM="python3-grpcio" -VERSION="1.72.0" +VERSION="1.74.1" HOMEPAGE="https://grpc.io/" -DOWNLOAD="https://github.com/grpc/grpc/archive/v1.72.0/grpc-1.72.0.tar.gz" -MD5SUM="5ea01c490dceb43b2fa21462c70beea4" +DOWNLOAD="https://github.com/grpc/grpc/archive/v1.74.1/grpc-1.74.1.tar.gz" +MD5SUM="395dd050e369ff70896732377060a327" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="protobuf3 re2" 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_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-hishel/python3-hishel.SlackBuild b/python/python3-hishel/python3-hishel.SlackBuild index 5967f29956..45c76680af 100644 --- a/python/python3-hishel/python3-hishel.SlackBuild +++ b/python/python3-hishel/python3-hishel.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-hishel -VERSION=${VERSION:-0.1.2} +VERSION=${VERSION:-0.1.3} SRCNAM=${SRCNAM:-hishel} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-hishel/python3-hishel.info b/python/python3-hishel/python3-hishel.info index 4e20a0b3e9..98083a1efa 100644 --- a/python/python3-hishel/python3-hishel.info +++ b/python/python3-hishel/python3-hishel.info @@ -1,8 +1,8 @@ PRGNAM="python3-hishel" -VERSION="0.1.2" +VERSION="0.1.3" HOMEPAGE="https://hishel.com/" -DOWNLOAD="https://github.com/karpetrosyan/hishel/archive/refs/tags/0.1.2/hishel-0.1.2.tar.gz" -MD5SUM="cafcc66cebcb29776cb93c407aeb8a55" +DOWNLOAD="https://github.com/karpetrosyan/hishel/archive/refs/tags/0.1.3/hishel-0.1.3.tar.gz" +MD5SUM="bdbc60f82eca624e249939c1271919d9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-httpx" diff --git a/python/python3-hyperframe/README b/python/python3-hyperframe/README new file mode 100644 index 0000000000..ff3f9d1a45 --- /dev/null +++ b/python/python3-hyperframe/README @@ -0,0 +1,6 @@ +This library contains the HTTP/2 framing code used in the hyper +project. It provides a pure-Python codebase that is capable of +decoding a binary stream into HTTP/2 frames. + +This library is used directly by hyper and a number of other +projects to provide HTTP/2 frame decoding logic. diff --git a/python/python3-xdg/python3-xdg.SlackBuild b/python/python3-hyperframe/python3-hyperframe.SlackBuild index 67fdee4ed1..92f270b5b0 100644 --- a/python/python3-xdg/python3-xdg.SlackBuild +++ b/python/python3-hyperframe/python3-hyperframe.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-xdg +# Slackware build script for python3-hyperframe -# Copyright 2023 Tonus Paris +# Copyright 2025 Tonus Paris # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python3-xdg -VERSION=${VERSION:-5.1.1} +PRGNAM=python3-hyperframe +VERSION=${VERSION:-6.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=xdg +SRCNAM=hyperframe if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -51,20 +51,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -80,13 +66,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-hyperframe/python3-hyperframe.info b/python/python3-hyperframe/python3-hyperframe.info new file mode 100644 index 0000000000..1288d0797b --- /dev/null +++ b/python/python3-hyperframe/python3-hyperframe.info @@ -0,0 +1,10 @@ +PRGNAM="python3-hyperframe" +VERSION="6.1.0" +HOMEPAGE="https://github.com/python-hyper/hyperframe/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-6.1.0.tar.gz" +MD5SUM="fda90f638a3db3e8f1837c2e0ade8f08" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-installer python3-wheel python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-hyperframe/slack-desc b/python/python3-hyperframe/slack-desc new file mode 100644 index 0000000000..0138dedfe3 --- /dev/null +++ b/python/python3-hyperframe/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-hyperframe: python3-hyperframe (library providing HTTP/2 frame decoding logic) +python3-hyperframe: +python3-hyperframe: Library contains the HTTP/2 framing code used in the hyper project. +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: +python3-hyperframe: diff --git a/python/python3-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-janus/README b/python/python3-janus/README new file mode 100644 index 0000000000..0c9abca713 --- /dev/null +++ b/python/python3-janus/README @@ -0,0 +1,9 @@ +Mixed sync-async queue, supposed to be used for communicating between +classic synchronous (threaded) code and asynchronous (in terms of +asyncio) one. + +Like Janus god the queue object from the library has two faces: +synchronous and asynchronous interface. + +Synchronous is fully compatible with standard queue, asynchronous one +follows asyncio queue design. diff --git a/python/python3-janus/python3-janus.SlackBuild b/python/python3-janus/python3-janus.SlackBuild new file mode 100644 index 0000000000..9beb2c7f31 --- /dev/null +++ b/python/python3-janus/python3-janus.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for janus + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-janus +VERSION=${VERSION:-2.0.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=janus + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES.rst README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-janus/python3-janus.info b/python/python3-janus/python3-janus.info new file mode 100644 index 0000000000..bc6c65ad61 --- /dev/null +++ b/python/python3-janus/python3-janus.info @@ -0,0 +1,10 @@ +PRGNAM="python3-janus" +VERSION="2.0.0" +HOMEPAGE="https://github.com/aio-libs/janus" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/janus/janus-2.0.0.tar.gz" +MD5SUM="7c8ec257be4e90abc47a7df47df88436" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-janus/slack-desc b/python/python3-janus/slack-desc new file mode 100644 index 0000000000..1a8d7e4b76 --- /dev/null +++ b/python/python3-janus/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-janus: python3-janus (Mixed sync-async queue) +python3-janus: +python3-janus: Project URL: https://github.com/aio-libs/janus +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: +python3-janus: diff --git a/python/python3-joblib/python3-joblib.SlackBuild b/python/python3-joblib/python3-joblib.SlackBuild index 2f4372905a..5e777626ba 100644 --- a/python/python3-joblib/python3-joblib.SlackBuild +++ b/python/python3-joblib/python3-joblib.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-joblib SRCNAM=joblib -VERSION=${VERSION:-1.5.0} +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 77cc692217..0d3143876b 100644 --- a/python/python3-joblib/python3-joblib.info +++ b/python/python3-joblib/python3-joblib.info @@ -1,8 +1,8 @@ PRGNAM="python3-joblib" -VERSION="1.5.0" +VERSION="1.5.2" HOMEPAGE="https://joblib.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/joblib/joblib-1.5.0.tar.gz" -MD5SUM="9a0f8115ef727e5c4b960ce8b74eab19" +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-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/python3-jsonschema.SlackBuild b/python/python3-jsonschema/python3-jsonschema.SlackBuild index 4b162af6f1..db79ee45e2 100644 --- a/python/python3-jsonschema/python3-jsonschema.SlackBuild +++ b/python/python3-jsonschema/python3-jsonschema.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-jsonschema SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.23.0} +VERSION=${VERSION:-4.25.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-jsonschema/python3-jsonschema.info b/python/python3-jsonschema/python3-jsonschema.info index 80e82cc212..f7f267735b 100644 --- a/python/python3-jsonschema/python3-jsonschema.info +++ b/python/python3-jsonschema/python3-jsonschema.info @@ -1,8 +1,8 @@ PRGNAM="python3-jsonschema" -VERSION="4.23.0" +VERSION="4.25.1" HOMEPAGE="https://github.com/Julian/jsonschema" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-4.23.0.tar.gz" -MD5SUM="a2cb5fee4da011118708ab275b34f30b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-4.25.1.tar.gz" +MD5SUM="e33f133a5b56b9f9756b38065849c86f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-jsonschema-specifications" diff --git a/python/python3-knowit/python3-knowit.SlackBuild b/python/python3-knowit/python3-knowit.SlackBuild index ff041a009d..50875642c7 100644 --- a/python/python3-knowit/python3-knowit.SlackBuild +++ b/python/python3-knowit/python3-knowit.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-knowit -VERSION=${VERSION:-0.5.6} +VERSION=${VERSION:-0.5.11} SRCNAM=${SRCNAM:-knowit} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-knowit/python3-knowit.info b/python/python3-knowit/python3-knowit.info index 6ef9b39fdd..3eab9e55c2 100644 --- a/python/python3-knowit/python3-knowit.info +++ b/python/python3-knowit/python3-knowit.info @@ -1,8 +1,8 @@ PRGNAM="python3-knowit" -VERSION="0.5.6" +VERSION="0.5.11" HOMEPAGE="https://github.com/ratoaq2/knowit" -DOWNLOAD="https://github.com/ratoaq2/knowit/archive/refs/tags/0.5.6/knowit-0.5.6.tar.gz" -MD5SUM="9de2ebe69323203de65dde779f036e76" +DOWNLOAD="https://github.com/ratoaq2/knowit/archive/refs/tags/0.5.11/knowit-0.5.11.tar.gz" +MD5SUM="a16caf5b1cdfe99a91107bc198d21443" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-enzyme pymediainfo python3-pint python3-trakit" diff --git a/python/python3-kombu/python3-kombu.SlackBuild b/python/python3-kombu/python3-kombu.SlackBuild index d66ef7800e..483841d11c 100644 --- a/python/python3-kombu/python3-kombu.SlackBuild +++ b/python/python3-kombu/python3-kombu.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-kombu SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.5.3} +VERSION=${VERSION:-5.5.4} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-kombu/python3-kombu.info b/python/python3-kombu/python3-kombu.info index 3702b6fb8c..ee37ae23eb 100644 --- a/python/python3-kombu/python3-kombu.info +++ b/python/python3-kombu/python3-kombu.info @@ -1,8 +1,8 @@ PRGNAM="python3-kombu" -VERSION="5.5.3" +VERSION="5.5.4" HOMEPAGE="https://kombu.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/k/kombu/kombu-5.5.3.tar.gz" -MD5SUM="b87c6d9bc662e186f0c32aaf5ee7368e" +DOWNLOAD="https://pypi.python.org/packages/source/k/kombu/kombu-5.5.4.tar.gz" +MD5SUM="ea4c8a1192666ba193f91d275438d3a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-amqp python3-vine" diff --git a/python/python3-levenshtein/README b/python/python3-levenshtein/README index 6070723701..0846f72ed4 100644 --- a/python/python3-levenshtein/README +++ b/python/python3-levenshtein/README @@ -2,6 +2,3 @@ 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). 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..561c8dc023 --- /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="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/python3-libtmux.SlackBuild b/python/python3-libtmux/python3-libtmux.SlackBuild index d62917d620..9de9bae9d1 100644 --- a/python/python3-libtmux/python3-libtmux.SlackBuild +++ b/python/python3-libtmux/python3-libtmux.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-libtmux SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.46.1} +VERSION=${VERSION:-0.46.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-libtmux/python3-libtmux.info b/python/python3-libtmux/python3-libtmux.info index 25f4aec021..af1b5fd33b 100644 --- a/python/python3-libtmux/python3-libtmux.info +++ b/python/python3-libtmux/python3-libtmux.info @@ -1,8 +1,8 @@ PRGNAM="python3-libtmux" -VERSION="0.46.1" +VERSION="0.46.2" HOMEPAGE="https://github.com/tony/libtmux" -DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libtmux/libtmux-0.46.1.tar.gz" -MD5SUM="7fa68ef9d11e69e7c35e79a38a3a7679" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libtmux/libtmux-0.46.2.tar.gz" +MD5SUM="50ebb1d543bb74c60a555541fe8f36f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-libusb1/README b/python/python3-libusb1/README new file mode 100644 index 0000000000..4f8f5fabb4 --- /dev/null +++ b/python/python3-libusb1/README @@ -0,0 +1,3 @@ +Python ctype-based wrapper around libusb1 + +Supports all transfer types, both in synchronous and asynchronous mode. diff --git a/python/python3-libusb1/python3-libusb1.SlackBuild b/python/python3-libusb1/python3-libusb1.SlackBuild new file mode 100644 index 0000000000..40c4a05c82 --- /dev/null +++ b/python/python3-libusb1/python3-libusb1.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/bash + +# Slackware build script for python3-libusb1 + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-libusb1 +VERSION=${VERSION:-3.3.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=libusb1 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING COPYING.LESSER README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-libusb1/python3-libusb1.info b/python/python3-libusb1/python3-libusb1.info new file mode 100644 index 0000000000..12583c48a8 --- /dev/null +++ b/python/python3-libusb1/python3-libusb1.info @@ -0,0 +1,10 @@ +PRGNAM="python3-libusb1" +VERSION="3.3.1" +HOMEPAGE="https://github.com/vpelletier/python-libusb1" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-3.3.1.tar.gz" +MD5SUM="f4973afe56c872eb2b8e7a930f566bb4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-libusb1/slack-desc b/python/python3-libusb1/slack-desc new file mode 100644 index 0000000000..8839779ad6 --- /dev/null +++ b/python/python3-libusb1/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-libusb1: python3-libusb1 (Python ctype-based wrapper around libusb1) +python3-libusb1: +python3-libusb1: Supports all transfer types, both in synchronous and asynchronous +python3-libusb1: mode. +python3-libusb1: +python3-libusb1: +python3-libusb1: Homepage: https://github.com/vpelletier/python-libusb1 +python3-libusb1: +python3-libusb1: +python3-libusb1: +python3-libusb1: diff --git a/python/python3-lsp-server/README b/python/python3-lsp-server/README index 39062d7127..1980ac946e 100644 --- a/python/python3-lsp-server/README +++ b/python/python3-lsp-server/README @@ -1,5 +1,6 @@ Python LSP Server is a Python 3.7+ implementation of the Language Server Protocol. -python3-lsp-server 1.6.0 is the last available version for Slackware -15.0. Newer versions require python3-rope > 1.2.0. +python3-lsp-server 1.9.0 is the last available version for Slackware +15.0. Newer versions require spyder >= 5.5.1, which in return requires +python3-lsp-black >= 2.0.0. diff --git a/python/python3-lsp-server/python3-lsp-server.SlackBuild b/python/python3-lsp-server/python3-lsp-server.SlackBuild index 4b77d10462..132424d63a 100644 --- a/python/python3-lsp-server/python3-lsp-server.SlackBuild +++ b/python/python3-lsp-server/python3-lsp-server.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-lsp-server -# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-lsp-server -VERSION=${VERSION:-1.6.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.9.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,14 +65,18 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Workarounds for spyder -sed -i "s|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|" -i pyproject.toml -sed -i "s|flake8>=5.0.0,<5.1.0|flake8>=5.0.0|" -i pyproject.toml -sed -i "s|jedi>=0.17.2,<0.19.0|jedi>=0.17.2|" -i pyproject.toml -sed -i "s|pycodestyle>=2.9.0,<2.10.0|pycodestyle>=2.9.0|" -i pyproject.toml -sed -i "s|pyflakes>=2.5.0,<2.6.0|pyflakes>=2.5.0|" -i pyproject.toml -sed -i "s|pylint>=2.5.0,<3|pylint>=2.5.0|" -i pyproject.toml - -# Use newer, non-stock setuptools due to package requirements +sed -i "s|autopep8>=2.0.4,<2.1.0|autopep8>=2.0.4|" -i pyproject.toml +sed -i "s|flake8>=6.1.0,<7|flake8>=6.1.0|" -i pyproject.toml +sed -i "s|pycodestyle>=2.11.0,<2.12.0|pycodestyle>=2.11.0|" -i pyproject.toml +sed -i "s|pyflakes>=3.1.0,<3.2.0|pyflakes>=3.1.0|" -i pyproject.toml +sed -i "s|pylint>=2.5.0,<3.1|pylint>=2.5.0|" -i pyproject.toml + +# If yapf is still on 0.32.0, take this into account +# This involves reverting the following pull requests: +# https://github.com/python-lsp/python-lsp-server/pull/346 +# https://github.com/python-lsp/python-lsp-server/pull/377 +sed -i "s|yapf>=0.33.0|yapf>=0.32.0|" -i pyproject.toml + PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ diff --git a/python/python3-lsp-server/python3-lsp-server.info b/python/python3-lsp-server/python3-lsp-server.info index 7fc77d0feb..3469c33017 100644 --- a/python/python3-lsp-server/python3-lsp-server.info +++ b/python/python3-lsp-server/python3-lsp-server.info @@ -1,8 +1,8 @@ PRGNAM="python3-lsp-server" -VERSION="1.6.0" +VERSION="1.9.0" HOMEPAGE="https://github.com/python-lsp/python-lsp-server" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-1.6.0.tar.gz" -MD5SUM="921920b6692d0f00832f63f3edc53c7e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-1.9.0.tar.gz" +MD5SUM="308f20e6b03c73369b3fc09bab612dbc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-docstring-to-markdown python3-jedi python3-lsp-jsonrpc python3-pluggy" diff --git a/python/python3-lxml/python3-lxml.SlackBuild b/python/python3-lxml/python3-lxml.SlackBuild index 1276c6b879..a71e013eaf 100644 --- a/python/python3-lxml/python3-lxml.SlackBuild +++ b/python/python3-lxml/python3-lxml.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-lxml SRCNAM=lxml -VERSION=${VERSION:-5.4.0} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-lxml/python3-lxml.info b/python/python3-lxml/python3-lxml.info index 017d20e4dc..6fbbfdc4a0 100644 --- a/python/python3-lxml/python3-lxml.info +++ b/python/python3-lxml/python3-lxml.info @@ -1,8 +1,8 @@ PRGNAM="python3-lxml" -VERSION="5.4.0" +VERSION="6.0.1" HOMEPAGE="https://lxml.de/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lxml/lxml-5.4.0.tar.gz" -MD5SUM="687bd12393569b435290da6c599664f9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lxml/lxml-6.0.1.tar.gz" +MD5SUM="2aab7842d05041c68f8a83547e034bfd" 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-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 8ca91f16f9..29a02a0358 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.4} +VERSION=${VERSION:-1.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-maturin/python3-maturin.info b/python/python3-maturin/python3-maturin.info index b97779c25e..07a3bd3c36 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.4" +VERSION="1.9.3" HOMEPAGE="https://github.com/PyO3/maturin" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/maturin/maturin-1.8.4.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/maturin-vendored-sources-1.8.4-1.tar.xz" -MD5SUM="1773ff8c50ba884a50b7cd4fab355003 \ - d2146f7f8619b136fb331fd847ad688d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/maturin/maturin-1.9.3.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/maturin-vendored-sources-1.9.3-1.tar.xz" +MD5SUM="a8473c5b61a32fbdd21ca97854956292 \ + 14e59469f06e66fd62aefe18ca8ab356" 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 8f13f43e74..d17983502d 100644 --- a/python/python3-meson-opt/python3-meson-opt.SlackBuild +++ b/python/python3-meson-opt/python3-meson-opt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-meson-opt SRCNAM=meson -VERSION=${VERSION:-1.8.0} +VERSION=${VERSION:-1.8.4} 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 c8b77e1e06..3d38cbba9e 100644 --- a/python/python3-meson-opt/python3-meson-opt.info +++ b/python/python3-meson-opt/python3-meson-opt.info @@ -1,8 +1,8 @@ PRGNAM="python3-meson-opt" -VERSION="1.8.0" +VERSION="1.8.4" HOMEPAGE="https://github.com/mesonbuild/meson" -DOWNLOAD="https://github.com/mesonbuild/meson/releases/download/1.8.0/meson-1.8.0.tar.gz" -MD5SUM="74664d20851d29bc3e491d502d66e1f7" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/meson/meson-1.8.4.tar.gz" +MD5SUM="c9f81a04a1cc531575b41f1e454b2e9b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-mistune/python3-mistune.SlackBuild b/python/python3-mistune/python3-mistune.SlackBuild index 2a99744d3e..d4d526dd14 100644 --- a/python/python3-mistune/python3-mistune.SlackBuild +++ b/python/python3-mistune/python3-mistune.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-mistune -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-mistune -VERSION=${VERSION:-2.0.5} +VERSION=${VERSION:-3.1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,13 +64,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +# pyproject.toml does not explicitly state a requirement for a newer setuptools +# However, the newer setuptools is still needed (otherwise, the build breaks) +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-mistune/python3-mistune.info b/python/python3-mistune/python3-mistune.info index 3edfd4253d..3166b79c75 100644 --- a/python/python3-mistune/python3-mistune.info +++ b/python/python3-mistune/python3-mistune.info @@ -1,10 +1,10 @@ PRGNAM="python3-mistune" -VERSION="2.0.5" +VERSION="3.1.4" HOMEPAGE="https://github.com/lepture/mistune" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/mistune/mistune-2.0.5.tar.gz" -MD5SUM="f0d333acdc994ecca2a9145ce1c9680e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/mistune/mistune-3.1.4.tar.gz" +MD5SUM="47bd96502dcf22434a329b1814769480" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt python3-typing-extensions" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-mnemonic/README b/python/python3-mnemonic/README new file mode 100644 index 0000000000..81e6fdc5ba --- /dev/null +++ b/python/python3-mnemonic/README @@ -0,0 +1,10 @@ +Reference implementation of BIP-0039: Mnemonic code for generating +deterministic keys. + +This BIP describes the implementation of a mnemonic code or mnemonic +sentence – a group of easy to remember words – for the generation +of deterministic wallets. + +It consists of two parts: generating the mnenomic, and converting +it into a binary seed. This seed can be later used to generate +deterministic wallets using BIP-0032 or similar methods. diff --git a/python/python3-mnemonic/python3-mnemonic.SlackBuild b/python/python3-mnemonic/python3-mnemonic.SlackBuild new file mode 100644 index 0000000000..47bdf21263 --- /dev/null +++ b/python/python3-mnemonic/python3-mnemonic.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# Slackware build script for python3-mnemonic + +# Copyright (c) 2016 Reedych <reedych@reedych.pw> +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-mnemonic +VERSION=${VERSION:-0.21} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=mnemonic + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-mnemonic/python3-mnemonic.info b/python/python3-mnemonic/python3-mnemonic.info new file mode 100644 index 0000000000..03f0799584 --- /dev/null +++ b/python/python3-mnemonic/python3-mnemonic.info @@ -0,0 +1,10 @@ +PRGNAM="python3-mnemonic" +VERSION="0.21" +HOMEPAGE="https://github.com/trezor/mnemonic" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/mnemonic/mnemonic-0.21.tar.gz" +MD5SUM="21de7ae71ecf0a8b7a764bbb9a6268ca" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-mnemonic/slack-desc b/python/python3-mnemonic/slack-desc new file mode 100644 index 0000000000..b3d950698c --- /dev/null +++ b/python/python3-mnemonic/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-mnemonic: python3-mnemonic (Reference implementation of BIP-0039) +python3-mnemonic: +python3-mnemonic: This BIP describes the implementation of a mnemonic code or mnemonic +python3-mnemonic: sentence - a group of easy to remember words - for the generation +python3-mnemonic: of deterministic wallets. +python3-mnemonic: +python3-mnemonic: Homepage: https://github.com/trezor/python-mnemonic +python3-mnemonic: +python3-mnemonic: +python3-mnemonic: +python3-mnemonic: diff --git a/python/python3-msal/python3-msal.SlackBuild b/python/python3-msal/python3-msal.SlackBuild index 8cf1b40d84..59d5ff476f 100644 --- a/python/python3-msal/python3-msal.SlackBuild +++ b/python/python3-msal/python3-msal.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-msal -VERSION=${VERSION:-1.32.3} +VERSION=${VERSION:-1.33.0} SRCNAM=${SRCNAM:-microsoft-authentication-library-for-python} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-msal/python3-msal.info b/python/python3-msal/python3-msal.info index 15ebbbf9f4..9de5c29c98 100644 --- a/python/python3-msal/python3-msal.info +++ b/python/python3-msal/python3-msal.info @@ -1,8 +1,8 @@ PRGNAM="python3-msal" -VERSION="1.32.3" +VERSION="1.33.0" HOMEPAGE="https://msal-python.readthedocs.io/" -DOWNLOAD="https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/1.32.3/microsoft-authentication-library-for-python-1.32.3.tar.gz" -MD5SUM="bc93b91affdd0fba4dd812781e58b7f6" +DOWNLOAD="https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/1.33.0/microsoft-authentication-library-for-python-1.33.0.tar.gz" +MD5SUM="3c789ad12f31a35354282542aa907c0e" 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 4d8fcbb6a2..79c2b3bfbd 100644 --- a/python/python3-multidict/python3-multidict.SlackBuild +++ b/python/python3-multidict/python3-multidict.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-multidict -VERSION=${VERSION:-6.4.3} +VERSION=${VERSION:-6.6.4} 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 d97d32c6b7..d92780d934 100644 --- a/python/python3-multidict/python3-multidict.info +++ b/python/python3-multidict/python3-multidict.info @@ -1,8 +1,8 @@ PRGNAM="python3-multidict" -VERSION="6.4.3" +VERSION="6.6.4" HOMEPAGE="https://multidict.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/multidict/archive/v6.4.3/multidict-6.4.3.tar.gz" -MD5SUM="fbc5024c5486b1d988afac506accce5e" +DOWNLOAD="https://github.com/aio-libs/multidict/archive/v6.6.4/multidict-6.6.4.tar.gz" +MD5SUM="9dda309f70865535405117aa2e311621" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-narwhals/python3-narwhals.SlackBuild b/python/python3-narwhals/python3-narwhals.SlackBuild index fca5906dff..80249a0243 100644 --- a/python/python3-narwhals/python3-narwhals.SlackBuild +++ b/python/python3-narwhals/python3-narwhals.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-narwhals -VERSION=${VERSION:-1.37.1} +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-narwhals/python3-narwhals.info b/python/python3-narwhals/python3-narwhals.info index 008e9daba9..3bc81d9b53 100644 --- a/python/python3-narwhals/python3-narwhals.info +++ b/python/python3-narwhals/python3-narwhals.info @@ -1,8 +1,8 @@ PRGNAM="python3-narwhals" -VERSION="1.37.1" +VERSION="2.2.0" HOMEPAGE="https://narwhals-dev.github.io/narwhals/" -DOWNLOAD="https://github.com/narwhals-dev/narwhals/releases/download/v1.37.1/narwhals-1.37.1.tar.gz" -MD5SUM="b8efdb6f6b410c5081309e748b423ba4" +DOWNLOAD="https://github.com/narwhals-dev/narwhals/releases/download/v2.2.0/narwhals-2.2.0.tar.gz" +MD5SUM="1d432477118630d9ced04ad0f157821b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" 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/python3-netaddr/python3-netaddr.SlackBuild b/python/python3-netaddr/python3-netaddr.SlackBuild new file mode 100644 index 0000000000..f8135c5eea --- /dev/null +++ b/python/python3-netaddr/python3-netaddr.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/bash + +# Slackware build script for python3-netaddr + +# 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 +# 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-netaddr +SRC_PRGNAM=netaddr +VERSION=${VERSION:-1.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 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 +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 $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 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 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-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-orjson/python3-orjson.SlackBuild b/python/python3-orjson/python3-orjson.SlackBuild index cf1e8a34dd..102ea3e40a 100644 --- a/python/python3-orjson/python3-orjson.SlackBuild +++ b/python/python3-orjson/python3-orjson.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-orjson SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-3.10.18} +VERSION=${VERSION:-3.11.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-orjson/python3-orjson.info b/python/python3-orjson/python3-orjson.info index 1dd9778b62..37a05d02f8 100644 --- a/python/python3-orjson/python3-orjson.info +++ b/python/python3-orjson/python3-orjson.info @@ -1,8 +1,8 @@ PRGNAM="python3-orjson" -VERSION="3.10.18" +VERSION="3.11.2" HOMEPAGE="https://github.com/ijl/orjson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/o/orjson/orjson-3.10.18.tar.gz" -MD5SUM="3c1451b54cd31d1a3729871a07a7e3c9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/o/orjson/orjson-3.11.2.tar.gz" +MD5SUM="5d18a0323ffb6e609c430e712eef6e86" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin" diff --git a/python/python3-pandas/README b/python/python3-pandas/README index ca985dbc7a..8a5bef4acb 100644 --- a/python/python3-pandas/README +++ b/python/python3-pandas/README @@ -4,4 +4,5 @@ structures and data analysis tools for the Python programming language. NOTE: Unable to support newer versions than 2.1.4 due to requiring a -newer Cython than included in Slackware (needs 3.0.5). +newer python3-numpy than included on SBo (requires at least 2.0). Will +also require python/python3-cython-opt since 15.0's Cython is too old. diff --git a/python/python3-pandas/python3-pandas.SlackBuild b/python/python3-pandas/python3-pandas.SlackBuild index daa7810213..22f2209c19 100644 --- a/python/python3-pandas/python3-pandas.SlackBuild +++ b/python/python3-pandas/python3-pandas.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Copyright 2022 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/python/python3-pantalaimon/README b/python/python3-pantalaimon/README new file mode 100644 index 0000000000..27d236a0cf --- /dev/null +++ b/python/python3-pantalaimon/README @@ -0,0 +1,6 @@ +Pantalaimon is an end-to-end encryption aware Matrix reverse proxy +daemon. Pantalaimon acts as a good man in the middle that handles the +encryption for you. + +Messages are transparently encrypted and decrypted for clients inside +of pantalaimon. diff --git a/python/python3-pantalaimon/python3-pantalaimon.SlackBuild b/python/python3-pantalaimon/python3-pantalaimon.SlackBuild new file mode 100644 index 0000000000..d3c83648b5 --- /dev/null +++ b/python/python3-pantalaimon/python3-pantalaimon.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# Slackware build script for pantalaimon + +# 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-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 + 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 README.md CHANGELOG.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-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-pdm-backend/python3-pdm-backend.SlackBuild b/python/python3-pdm-backend/python3-pdm-backend.SlackBuild index 8fe96dad45..6729672a02 100644 --- a/python/python3-pdm-backend/python3-pdm-backend.SlackBuild +++ b/python/python3-pdm-backend/python3-pdm-backend.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdm-backend -VERSION=${VERSION:-2.4.4} +VERSION=${VERSION:-2.4.5} SRCNAM=${SRCNAM:-pdm_backend} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-pdm-backend/python3-pdm-backend.info b/python/python3-pdm-backend/python3-pdm-backend.info index df0d4ac701..74b141cb11 100644 --- a/python/python3-pdm-backend/python3-pdm-backend.info +++ b/python/python3-pdm-backend/python3-pdm-backend.info @@ -1,8 +1,8 @@ PRGNAM="python3-pdm-backend" -VERSION="2.4.4" +VERSION="2.4.5" HOMEPAGE="https://github.com/pdm-project/pdm-backend" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm_backend/pdm_backend-2.4.4.tar.gz" -MD5SUM="ff6df568255465521ecbed95dc388a23" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm_backend/pdm_backend-2.4.5.tar.gz" +MD5SUM="6e05613e331b4cb95a973ff99f642bc9" 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 2f00e21ceb..6d80369cd8 100644 --- a/python/python3-pdm/python3-pdm.SlackBuild +++ b/python/python3-pdm/python3-pdm.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdm -VERSION=${VERSION:-2.24.1} +VERSION=${VERSION:-2.25.9} 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 096a1c0e98..daef840188 100644 --- a/python/python3-pdm/python3-pdm.info +++ b/python/python3-pdm/python3-pdm.info @@ -1,8 +1,8 @@ PRGNAM="python3-pdm" -VERSION="2.24.1" +VERSION="2.25.9" HOMEPAGE="https://github.com/pdm-project/pdm" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm/pdm-2.24.1.tar.gz" -MD5SUM="d67ca59392fe8dec4bab61bf75e9e74b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm/pdm-2.25.9.tar.gz" +MD5SUM="ca21f1b21cdddc4f2553da2838a7ed71" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-blinker python3-dotenv python3-tomlkit python3-dep-logic python3-findpython python3-resolvelib python3-shellingham python3-unearth python3-cachecontrol requests-toolbelt python3-rich python3-hishel python3-pdm-build-locked python3-virtualenv python3-httpcore python3-id" diff --git a/python/python3-peewee/README b/python/python3-peewee/README new file mode 100644 index 0000000000..76e197c733 --- /dev/null +++ b/python/python3-peewee/README @@ -0,0 +1,6 @@ +Peewee is a simple and small ORM. It has few (but expressive) concepts, +making it easy to learn and intuitive to use. +- a small, expressive ORM +- python 2.7+ and 3.4+ +- supports sqlite, mysql, mariadb, postgresql +- tons of extensions diff --git a/python/python3-peewee/python3-peewee.SlackBuild b/python/python3-peewee/python3-peewee.SlackBuild new file mode 100644 index 0000000000..4f8bb3f5dc --- /dev/null +++ b/python/python3-peewee/python3-peewee.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for peewee + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-peewee +VERSION=${VERSION:-3.18.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=peewee + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-peewee/python3-peewee.info b/python/python3-peewee/python3-peewee.info new file mode 100644 index 0000000000..11249dc682 --- /dev/null +++ b/python/python3-peewee/python3-peewee.info @@ -0,0 +1,10 @@ +PRGNAM="python3-peewee" +VERSION="3.18.2" +HOMEPAGE="https://github.com/coleifer/peewee/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/peewee/peewee-3.18.2.tar.gz" +MD5SUM="acad099910f5a0da47b673c705bfd901" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-peewee/slack-desc b/python/python3-peewee/slack-desc new file mode 100644 index 0000000000..168076ab6f --- /dev/null +++ b/python/python3-peewee/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-peewee: python3-peewee (a simple and small ORM) +python3-peewee: +python3-peewee: Peewee is a simple and small ORM +python3-peewee: +python3-peewee: Project URL: https://github.com/coleifer/peewee/ +python3-peewee: +python3-peewee: +python3-peewee: +python3-peewee: +python3-peewee: +python3-peewee: diff --git a/python/python3-platformdirs/python3-platformdirs.SlackBuild b/python/python3-platformdirs/python3-platformdirs.SlackBuild index 6f1bacb2d6..5916622efe 100644 --- a/python/python3-platformdirs/python3-platformdirs.SlackBuild +++ b/python/python3-platformdirs/python3-platformdirs.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-platformdirs -VERSION=${VERSION:-4.3.8} +VERSION=${VERSION:-4.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-platformdirs/python3-platformdirs.info b/python/python3-platformdirs/python3-platformdirs.info index a8ae200f83..9cf8631027 100644 --- a/python/python3-platformdirs/python3-platformdirs.info +++ b/python/python3-platformdirs/python3-platformdirs.info @@ -1,8 +1,8 @@ PRGNAM="python3-platformdirs" -VERSION="4.3.8" +VERSION="4.4.0" HOMEPAGE="https://github.com/platformdirs/platformdirs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-4.3.8.tar.gz" -MD5SUM="90aef8202386996ce2e4b560a9f1d3e6" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-4.4.0.tar.gz" +MD5SUM="57c995d9e18d9ef42f784b597b72deb4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs python3-setuptools-scm-opt" diff --git a/python/python3-plotly/python3-plotly.SlackBuild b/python/python3-plotly/python3-plotly.SlackBuild index fd2706caba..28018c13b6 100644 --- a/python/python3-plotly/python3-plotly.SlackBuild +++ b/python/python3-plotly/python3-plotly.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-plotly -VERSION=${VERSION:-6.0.1} +VERSION=${VERSION:-6.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,10 +64,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Do not try to fetch stuff with npm (code taken from Gentoo repos) +export SKIP_NPM=1 + PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages -python3 -m build --no-isolation +python3 -m build --no-isolation --skip-dependency-check python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python3-plotly/python3-plotly.info b/python/python3-plotly/python3-plotly.info index 05f393221c..ad38cf92f9 100644 --- a/python/python3-plotly/python3-plotly.info +++ b/python/python3-plotly/python3-plotly.info @@ -1,8 +1,8 @@ PRGNAM="python3-plotly" -VERSION="6.0.1" +VERSION="6.3.0" HOMEPAGE="https://github.com/plotly/plotly.py" -DOWNLOAD="https://github.com/plotly/plotly.py/archive/v6.0.1/plotly.py-6.0.1.tar.gz" -MD5SUM="d59dea09bda8801794f1a71097656988" +DOWNLOAD="https://github.com/plotly/plotly.py/archive/v6.3.0/plotly.py-6.3.0.tar.gz" +MD5SUM="691cffb9bc0471bf87d5fea257a285c6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-narwhals" 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-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild index 7d531989e8..e24a4e5824 100644 --- a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild +++ b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-poetry-dynamic-versioning SRCNAM=poetry_dynamic_versioning -VERSION=${VERSION:-1.8.2} +VERSION=${VERSION:-1.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info index 3bb59553ac..d89faa1cf7 100644 --- a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info +++ b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info @@ -1,8 +1,8 @@ PRGNAM="python3-poetry-dynamic-versioning" -VERSION="1.8.2" +VERSION="1.9.1" HOMEPAGE="https://pypi.org/project/poetry-dynamic-versioning/" -DOWNLOAD="https://files.pythonhosted.org/packages/94/97/01cff7391c4b7d863a1c6cda1152613462524c5d740cbe97371db3d00a59/poetry_dynamic_versioning-1.8.2.tar.gz" -MD5SUM="bf83460396cd3b1d6891f5a84b92769e" +DOWNLOAD="https://files.pythonhosted.org/packages/d6/14/a9109e67fde1b464a9a468c68b106b26480eb04e66ca70408ed51635ae7d/poetry_dynamic_versioning-1.9.1.tar.gz" +MD5SUM="fc7354b8ff0fae0e5c78418e0bcf85b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-tomlkit python3-wheel" diff --git a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild index d629b000d2..c80d5b2446 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.22.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,14 +65,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 install --root=$PKG +# pyproject.toml does not explicitly state a requirement for a newer setuptools +# However, the newer setuptools is still needed (otherwise, the build breaks) +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE 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..ebbe3c8705 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.22.1" +HOMEPAGE="https://github.com/prometheus/client_python" +DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.22.1/client_python-0.22.1.tar.gz" +MD5SUM="cb40f13659c7846444d850cc644bfe86" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-propcache/python3-propcache.SlackBuild b/python/python3-propcache/python3-propcache.SlackBuild index 38d864797a..55901298df 100644 --- a/python/python3-propcache/python3-propcache.SlackBuild +++ b/python/python3-propcache/python3-propcache.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) SRCNAM=propcache PRGNAM=python3-propcache -VERSION=${VERSION:-0.3.1} +VERSION=${VERSION:-0.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-propcache/python3-propcache.info b/python/python3-propcache/python3-propcache.info index 18d859a294..0bb8f6103d 100644 --- a/python/python3-propcache/python3-propcache.info +++ b/python/python3-propcache/python3-propcache.info @@ -1,8 +1,8 @@ PRGNAM="python3-propcache" -VERSION="0.3.1" +VERSION="0.3.2" HOMEPAGE="https://propcache.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/propcache/propcache-0.3.1.tar.gz" -MD5SUM="5e4ae92cad41df24bdcafeaca092004e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/propcache/propcache-0.3.2.tar.gz" +MD5SUM="1c073b491620a9f6d568276d61f80277" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-cython-opt python3-expandvars" 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/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild index df60ee58e9..12b06fd6e4 100644 --- a/python/python3-pydantic/python3-pydantic.SlackBuild +++ b/python/python3-pydantic/python3-pydantic.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pydantic SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2.11.4} +VERSION=${VERSION:-2.11.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pydantic/python3-pydantic.info b/python/python3-pydantic/python3-pydantic.info index 2c5b63bbef..f3bbc30e8c 100644 --- a/python/python3-pydantic/python3-pydantic.info +++ b/python/python3-pydantic/python3-pydantic.info @@ -1,8 +1,8 @@ PRGNAM="python3-pydantic" -VERSION="2.11.4" +VERSION="2.11.7" HOMEPAGE="https://github.com/pydantic/pydantic" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.11.4.tar.gz" -MD5SUM="13bdd5856e805abdce75516cdb98935f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.11.7.tar.gz" +MD5SUM="0d1c309b8fdead08922e1ed9d86517b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme python3-typing-inspection" diff --git a/python/python3-pydbus/README b/python/python3-pydbus/README new file mode 100644 index 0000000000..4c81ad5bf9 --- /dev/null +++ b/python/python3-pydbus/README @@ -0,0 +1 @@ +Pythonic DBus library. diff --git a/python/python3-pydbus/python3-pydbus.SlackBuild b/python/python3-pydbus/python3-pydbus.SlackBuild new file mode 100644 index 0000000000..02b3190764 --- /dev/null +++ b/python/python3-pydbus/python3-pydbus.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# Slackware build script for pydbus + +# Copyright 2025 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-pydbus +VERSION=${VERSION:-0.6.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pydbus + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-pydbus/python3-pydbus.info b/python/python3-pydbus/python3-pydbus.info new file mode 100644 index 0000000000..bbd5ec4ccd --- /dev/null +++ b/python/python3-pydbus/python3-pydbus.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pydbus" +VERSION="0.6.0" +HOMEPAGE="https://github.com/LEW21/pydbus" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydbus/pydbus-0.6.0.tar.gz" +MD5SUM="c6abd44862322679bd4e907bebc3e0d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-wheel python3-setuptools-opt" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/python/python3-pydbus/slack-desc b/python/python3-pydbus/slack-desc new file mode 100644 index 0000000000..3028b3cce1 --- /dev/null +++ b/python/python3-pydbus/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pydbus: python3-pydbus (Pythonic DBus library.) +python3-pydbus: +python3-pydbus: +python3-pydbus: Project URL: https://github.com/LEW21/pydbus +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: +python3-pydbus: diff --git a/python/python3-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-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..9b9c011bb8 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.15} 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..979fba2184 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.15" 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.15/pypandoc-1.15.tar.gz" +MD5SUM_x86_64="ce5755bd20f489e4ee52c0c96b10651d" REQUIRES="pandoc-bin python3-wheel" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" 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..5e2b206db7 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.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,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 {} \+ +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..8ac4333dba 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.9.1" 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.9.1.tar.gz" +MD5SUM="d897e16dca18204e421f912487730668" 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..8617bce45c 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:-8.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pytest/python3-pytest.info b/python/python3-pytest/python3-pytest.info index 2e519e42d9..89cc1fe7fc 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="8.4.1" 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-8.4.1.tar.gz" +MD5SUM="ac7dfc1b6d681ee9ff65f94d65a6a5a1" 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-qbittorrent-api/python3-qbittorrent-api.SlackBuild b/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild index 010ed862f8..f4924e8e26 100644 --- a/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild +++ b/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-qbittorrent-api -VERSION=${VERSION:-2025.5.0} +VERSION=${VERSION:-2025.7.0} SRCNAM=${SRCNAM:-qbittorrent-api} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-qbittorrent-api/python3-qbittorrent-api.info b/python/python3-qbittorrent-api/python3-qbittorrent-api.info index 323885af0c..98639c0e6f 100644 --- a/python/python3-qbittorrent-api/python3-qbittorrent-api.info +++ b/python/python3-qbittorrent-api/python3-qbittorrent-api.info @@ -1,8 +1,8 @@ PRGNAM="python3-qbittorrent-api" -VERSION="2025.5.0" +VERSION="2025.7.0" HOMEPAGE="https://qbittorrent-api.readthedocs.io/" -DOWNLOAD="https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v2025.5.0/qbittorrent-api-2025.5.0.tar.gz" -MD5SUM="a44d4083ccf1e4f1618c5157f89fd25a" +DOWNLOAD="https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v2025.7.0/qbittorrent-api-2025.7.0.tar.gz" +MD5SUM="1c111d5e1e1f33b2d619177c6e4ffca1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt" 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..545bcd35a0 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.0} +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..ba6493a63d 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.0" 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.0/RapidFuzz-3.14.0.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="bb218937eb340ba87b7b6972c5c2f33b \ + 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-regex/python3-regex.SlackBuild b/python/python3-regex/python3-regex.SlackBuild index ea87a6a676..ad5c127c78 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.7.34} 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..b76398b18e 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.7.34" 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.7.34.tar.gz" +MD5SUM="f6e8863535579292a6281e7521fc252d" 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..cbbe100876 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.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -61,10 +61,10 @@ 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 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -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..84f1f16e90 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.3" 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.3.tar.gz" +MD5SUM="0270a3d99adcb7147439e64b51b77a65" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild b/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild index aae8a6e47b..2f5a69b4d5 100644 --- a/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild +++ b/python/python3-requests-unixsocket/python3-requests-unixsocket.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-requests-unixsocket -# Copyright 2022 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-requests-unixsocket -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=requests-unixsocket +SRCNAM=requests_unixsocket if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -81,7 +64,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -91,7 +78,7 @@ SITE_PACKAGES=$(python3 -c "import site; print(site.getsitepackages()[0])") rm -rf "$PKG$SITE_PACKAGES/${SRCNAM/-/_}/tests" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog LICENSE PKG-INFO README.rst requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-requests-unixsocket/python3-requests-unixsocket.info b/python/python3-requests-unixsocket/python3-requests-unixsocket.info index 66d52a2a17..579c36d257 100644 --- a/python/python3-requests-unixsocket/python3-requests-unixsocket.info +++ b/python/python3-requests-unixsocket/python3-requests-unixsocket.info @@ -1,10 +1,10 @@ PRGNAM="python3-requests-unixsocket" -VERSION="0.3.0" +VERSION="0.4.1" HOMEPAGE="https://github.com/msabramo/requests-unixsocket" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/requests-unixsocket/requests-unixsocket-0.3.0.tar.gz" -MD5SUM="2da31f8d76fb563bc3fd6d59a2fb260a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/requests_unixsocket/requests_unixsocket-0.4.1.tar.gz" +MD5SUM="a45dc2284ad8f8cb57579c8af4257aec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-scm-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-resolvelib/python3-resolvelib.SlackBuild b/python/python3-resolvelib/python3-resolvelib.SlackBuild index 74e0efddff..9d7e07285a 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.0} 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..a440c7644b 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.0" 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.0/resolvelib-1.2.0.tar.gz" +MD5SUM="0f210184f591cd06590f200d427e8ec1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata python3-setuptools-opt" diff --git a/python/python3-rich/python3-rich.SlackBuild b/python/python3-rich/python3-rich.SlackBuild index 3c078a7f45..8b8c787094 100644 --- a/python/python3-rich/python3-rich.SlackBuild +++ b/python/python3-rich/python3-rich.SlackBuild @@ -23,12 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # 20230122 46and2: Updated version, changed build process and deps. +# 20250822 46and2: reminder to remove typing-extensions dep at a later date. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rich SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-14.0.0} +VERSION=${VERSION:-14.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-rich/python3-rich.info b/python/python3-rich/python3-rich.info index 28691776ff..82beed1615 100644 --- a/python/python3-rich/python3-rich.info +++ b/python/python3-rich/python3-rich.info @@ -1,8 +1,8 @@ PRGNAM="python3-rich" -VERSION="14.0.0" +VERSION="14.1.0" HOMEPAGE="https://github.com/Textualize/rich" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rich/rich-14.0.0.tar.gz" -MD5SUM="79410a24ae5dd52f3b89c6f0e4eadc5f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rich/rich-14.1.0.tar.gz" +MD5SUM="38baf395e7860be314c6c29fcac8637d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core python3-markdown-it-py python3-typing-extensions" diff --git a/python/python3-rope/README b/python/python3-rope/README index 6fe3e26a53..67854a939f 100644 --- a/python/python3-rope/README +++ b/python/python3-rope/README @@ -1,6 +1,2 @@ Rope is the world's most advanced open source Python refactoring library (that's the upstream author's words). - -python3-rope 1.1.1 is the last available version for Slackware 15.0. -Newer versions depend on python3-pytoolconfig, which itself depends on -python-tomli >= 2.0. diff --git a/python/python3-rope/python3-rope.SlackBuild b/python/python3-rope/python3-rope.SlackBuild index 4ad2c04bb2..6e289b0778 100644 --- a/python/python3-rope/python3-rope.SlackBuild +++ b/python/python3-rope/python3-rope.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-rope -# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rope -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-1.14.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,13 +64,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.md COPYING README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md CODE_OF_CONDUCT.md COPYING README.rst SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-rope/python3-rope.info b/python/python3-rope/python3-rope.info index 3da8d8cd99..d49fd7341d 100644 --- a/python/python3-rope/python3-rope.info +++ b/python/python3-rope/python3-rope.info @@ -1,10 +1,10 @@ PRGNAM="python3-rope" -VERSION="1.1.1" +VERSION="1.14.0" HOMEPAGE="https://github.com/python-rope/rope" -DOWNLOAD="https://github.com/python-rope/rope/archive/1.1.1/rope-1.1.1.tar.gz" -MD5SUM="32771d1cdf52feb07c939383c4f1d300" +DOWNLOAD="https://github.com/python-rope/rope/archive/1.14.0/rope-1.14.0.tar.gz" +MD5SUM="97b6df310d51afd154336e8ee376741a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-pytoolconfig" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-rpds-py/python3-rpds-py.SlackBuild b/python/python3-rpds-py/python3-rpds-py.SlackBuild index d5ac8cc957..86f353b1d0 100644 --- a/python/python3-rpds-py/python3-rpds-py.SlackBuild +++ b/python/python3-rpds-py/python3-rpds-py.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rpds-py SRCNAM=rpds_py -VERSION=${VERSION:-0.24.0} +VERSION=${VERSION:-0.27.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-rpds-py/python3-rpds-py.info b/python/python3-rpds-py/python3-rpds-py.info index ee62f31d7e..0b9b7a3f0f 100644 --- a/python/python3-rpds-py/python3-rpds-py.info +++ b/python/python3-rpds-py/python3-rpds-py.info @@ -1,10 +1,10 @@ PRGNAM="python3-rpds-py" -VERSION="0.24.0" +VERSION="0.27.0" HOMEPAGE="https://github.com/crate-py/rpds" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rpds_py/rpds_py-0.24.0.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/rpds_py-vendored-sources-0.24.0-1.tar.xz" -MD5SUM="19e64c8eb9c1ea9123ba570470744b8f \ - 22c3a0622cdbf4d4892b11bc61a5bd0d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rpds_py/rpds_py-0.27.0.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/rpds_py-vendored-sources-0.27.0-1.tar.xz" +MD5SUM="0a46a21539cf88fe17b4b49277b8de22 \ + 28ff8a7f5c6631e26789a39f04166afb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin" 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 0386d3752c..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:-80.3.1} +VERSION=${VERSION:-80.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-setuptools-opt/python3-setuptools-opt.info b/python/python3-setuptools-opt/python3-setuptools-opt.info index b521515ca7..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="80.3.1" +VERSION="80.9.0" HOMEPAGE="https://pypi.org/project/setuptools/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-80.3.1.tar.gz" -MD5SUM="def5e5a92579663416097d8b22bb539d" +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/README b/python/python3-setuptools-rust/README deleted file mode 100644 index 0a64e10d53..0000000000 --- a/python/python3-setuptools-rust/README +++ /dev/null @@ -1,2 +0,0 @@ -setuptools-rust is a plugin for setuptools to build Rust Python -extensions implemented with PyO3 or rust-cpython. diff --git a/python/python3-setuptools-rust/python3-setuptools-rust.info b/python/python3-setuptools-rust/python3-setuptools-rust.info deleted file mode 100644 index 3166111c38..0000000000 --- a/python/python3-setuptools-rust/python3-setuptools-rust.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-setuptools-rust" -VERSION="0.12.1" -HOMEPAGE="https://github.com/PyO3/setuptools-rust/" -DOWNLOAD="https://github.com/PyO3/setuptools-rust/archive/v0.12.1/setuptools-rust-0.12.1.tar.gz" -MD5SUM="cdd3927e9c595aa141f8bca12e9eba2d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3-semantic-version python3-toml" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/python/python3-setuptools-rust/slack-desc b/python/python3-setuptools-rust/slack-desc deleted file mode 100644 index 770a2a3b74..0000000000 --- a/python/python3-setuptools-rust/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-setuptools-rust: python3-setuptools-rust (Setuptools plugin for Rust extensions) -python3-setuptools-rust: -python3-setuptools-rust: setuptools-rust is a plugin for setuptools to build Rust Python -python3-setuptools-rust: extensions implemented with PyO3 or rust-cpython. -python3-setuptools-rust: -python3-setuptools-rust: -python3-setuptools-rust: -python3-setuptools-rust: -python3-setuptools-rust: Project URL: https://github.com/PyO3/setuptools-rust/ -python3-setuptools-rust: -python3-setuptools-rust: diff --git a/python/python3-shamir-mnemonic/README b/python/python3-shamir-mnemonic/README new file mode 100644 index 0000000000..a245639017 --- /dev/null +++ b/python/python3-shamir-mnemonic/README @@ -0,0 +1,9 @@ +Reference implementation of SLIP-0039: Shamir's Secret-Sharing for +Mnemonic Codes + +This SLIP describes a standard and interoperable implementation of +Shamir’s secret sharing (SSS). SSS splits a secret into unique parts +which can be distributed among participants, and requires a specified +minimum number of parts to be supplied in order to reconstruct the +original secret. Knowledge of fewer than the required number of parts +does not leak information about the secret. diff --git a/python/python3-shamir-mnemonic/python3-shamir-mnemonic.SlackBuild b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.SlackBuild new file mode 100644 index 0000000000..54a15b3c52 --- /dev/null +++ b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# Slackware build script for python3-shamir-mnemonic + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-shamir-mnemonic +VERSION=${VERSION:-0.3.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=shamir_mnemonic + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-shamir-mnemonic/python3-shamir-mnemonic.info b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.info new file mode 100644 index 0000000000..9488b75424 --- /dev/null +++ b/python/python3-shamir-mnemonic/python3-shamir-mnemonic.info @@ -0,0 +1,10 @@ +PRGNAM="python3-shamir-mnemonic" +VERSION="0.3.0" +HOMEPAGE="https://github.com/trezor/python-shamir-mnemonic" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/shamir-mnemonic/shamir_mnemonic-0.3.0.tar.gz" +MD5SUM="e577a048fed301cfd96b13fc1318c903" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-shamir-mnemonic/slack-desc b/python/python3-shamir-mnemonic/slack-desc new file mode 100644 index 0000000000..d747259637 --- /dev/null +++ b/python/python3-shamir-mnemonic/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-shamir-mnemonic: python3-shamir-mnemonic (Reference implementation of SLIP-0039) +python3-shamir-mnemonic: +python3-shamir-mnemonic: This SLIP describes a standard and interoperable implementation of +python3-shamir-mnemonic: Shamir's secret sharing (SSS). SSS splits a secret into unique parts +python3-shamir-mnemonic: which can be distributed among participants, and requires a specified +python3-shamir-mnemonic: minimum number of parts to be supplied in order to reconstruct the +python3-shamir-mnemonic: original secret. Knowledge of fewer than the required number of parts +python3-shamir-mnemonic: does not leak information about the secret. +python3-shamir-mnemonic: +python3-shamir-mnemonic: Homepage: https://github.com/trezor/python-shamir-mnemonic +python3-shamir-mnemonic: diff --git a/python/python3-shtab/python3-shtab.SlackBuild b/python/python3-shtab/python3-shtab.SlackBuild index 0007661c26..59253dd9b1 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.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-shtab/python3-shtab.info b/python/python3-shtab/python3-shtab.info index 70a1e1b0de..5cd0d672ed 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.7.2" 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.7.2/shtab-1.7.2.tar.gz" +MD5SUM="71c18b84fa0b426a58946ea419b4e8d6" 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..3e5a2963f1 --- /dev/null +++ b/python/python3-slacklog/python3-slacklog.info @@ -0,0 +1,10 @@ +PRGNAM="python3-slacklog" +VERSION="10.0.0" +HOMEPAGE="https://github.com/rizitis/slacklog/tree/python3" +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" diff --git a/python/python3-slacklog/slack-desc b/python/python3-slacklog/slack-desc new file mode 100644 index 0000000000..f4321effb3 --- /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://github.com/rizitis/slacklog/tree/python3 +python3-slacklog: diff --git a/python/python3-slip10/README b/python/python3-slip10/README new file mode 100644 index 0000000000..4a50e4fba7 --- /dev/null +++ b/python/python3-slip10/README @@ -0,0 +1,4 @@ +A reference implementation of the SLIP-0010 specification, which +generalizes the BIP-0032 derivation scheme for private and public +key pairs in hierarchical deterministic wallets for the curves +secp256k1, NIST P-256, ed25519 and curve25519. diff --git a/python/python3-slip10/python3-slip10.SlackBuild b/python/python3-slip10/python3-slip10.SlackBuild new file mode 100644 index 0000000000..4a9db37bcd --- /dev/null +++ b/python/python3-slip10/python3-slip10.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# Slackware build script for python3-slip10 + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-slip10 +VERSION=${VERSION:-1.0.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=slip10 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-slip10/python3-slip10.info b/python/python3-slip10/python3-slip10.info new file mode 100644 index 0000000000..bbea8b8aff --- /dev/null +++ b/python/python3-slip10/python3-slip10.info @@ -0,0 +1,10 @@ +PRGNAM="python3-slip10" +VERSION="1.0.1" +HOMEPAGE="https://github.com/trezor/python-slip10" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/slip10/slip10-1.0.1.tar.gz" +MD5SUM="820fc977853e30df7092792b44ea2bb6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core python3-base58 cryptography ecdsa" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-slip10/slack-desc b/python/python3-slip10/slack-desc new file mode 100644 index 0000000000..4c8a26d648 --- /dev/null +++ b/python/python3-slip10/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-slip10: python3-slip10 (Minimalistic implementation of SLIP10) +python3-slip10: +python3-slip10: A reference implementation of the SLIP-0010 specification, which +python3-slip10: generalizes the BIP-0032 derivation scheme for private and public +python3-slip10: key pairs in hierarchical deterministic wallets for the curves +python3-slip10: secp256k1, NIST P-256, ed25519 and curve25519. +python3-slip10: +python3-slip10: Homepage: https://github.com/trezor/python-slip10 +python3-slip10: +python3-slip10: +python3-slip10: diff --git a/python/python3-smart_open/python3-smart_open.SlackBuild b/python/python3-smart_open/python3-smart_open.SlackBuild index af5b3a739e..a07da4cb68 100644 --- a/python/python3-smart_open/python3-smart_open.SlackBuild +++ b/python/python3-smart_open/python3-smart_open.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-smart_open -VERSION=${VERSION:-7.2.0} +VERSION=${VERSION:-7.3.0.post1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,7 +64,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python3-smart_open/python3-smart_open.info b/python/python3-smart_open/python3-smart_open.info index 5e5351e16a..6467bba055 100644 --- a/python/python3-smart_open/python3-smart_open.info +++ b/python/python3-smart_open/python3-smart_open.info @@ -1,10 +1,10 @@ PRGNAM="python3-smart_open" -VERSION="7.2.0" +VERSION="7.3.0.post1" HOMEPAGE="https://github.com/RaRe-Technologies/smart_open" -DOWNLOAD="https://github.com/RaRe-Technologies/smart_open/archive/v7.2.0/smart_open-7.2.0.tar.gz" -MD5SUM="2c7cf563124ee499efa63801bb5842e4" +DOWNLOAD="https://github.com/RaRe-Technologies/smart_open/archive/v7.3.0.post1/smart_open-7.3.0.post1.tar.gz" +MD5SUM="1d18e4788ee8c6622e14dff9f60e4b09" 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..9fbb56cd1b 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.7.2} 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..81d328d0e5 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.7.2" 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.7.2/python-socks-2.7.2.tar.gz" +MD5SUM="a27fff0e49a42bc3de5f3e9019a74675" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-soupsieve/python3-soupsieve.SlackBuild b/python/python3-soupsieve/python3-soupsieve.SlackBuild index 24d49bea9c..016e90fb6a 100644 --- a/python/python3-soupsieve/python3-soupsieve.SlackBuild +++ b/python/python3-soupsieve/python3-soupsieve.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-soupsieve -# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT, <slack@giand.it> +# Copyright 2023-2025 Giancarlo Dessi, Cagliari, IT, <slack@giand.it> # Copyright 2020-2022 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-soupsieve -VERSION=${VERSION:-2.6} +VERSION=${VERSION:-2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-soupsieve/python3-soupsieve.info b/python/python3-soupsieve/python3-soupsieve.info index 1fb8593c49..53aa8ecae8 100644 --- a/python/python3-soupsieve/python3-soupsieve.info +++ b/python/python3-soupsieve/python3-soupsieve.info @@ -1,8 +1,8 @@ PRGNAM="python3-soupsieve" -VERSION="2.6" +VERSION="2.7" HOMEPAGE="https://github.com/facelessuser/soupsieve" -DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.6/soupsieve-2.6.tar.gz" -MD5SUM="a3dcdd1a5472c9404110fc07dfc64415" +DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.7/soupsieve-2.7.tar.gz" +MD5SUM="7cc1ce9293161f02c93e9baf955eaa3e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-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-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/python3-tox.SlackBuild b/python/python3-tox/python3-tox.SlackBuild index d6cd1b3ae6..865119d15b 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.25.0} +VERSION=${VERSION:-4.28.4} 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 a888492152..89c26d1cb4 100644 --- a/python/python3-tox/python3-tox.info +++ b/python/python3-tox/python3-tox.info @@ -1,8 +1,8 @@ PRGNAM="python3-tox" -VERSION="4.25.0" +VERSION="4.28.4" HOMEPAGE="https://tox.wiki/" -DOWNLOAD="https://github.com/tox-dev/tox/archive/refs/tags/4.25.0/tox-4.25.0.tar.gz" -MD5SUM="9b68001768b0001f11b90ddd66ec30a2" +DOWNLOAD="https://github.com/tox-dev/tox/archive/refs/tags/4.28.4/tox-4.28.4.tar.gz" +MD5SUM="2ceaf4c0e9a058bb0ac45f25ba25df99" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-cachetools colorama python3-pyproject-api python3-virtualenv" diff --git a/python/python3-trakit/python3-trakit.SlackBuild b/python/python3-trakit/python3-trakit.SlackBuild index ed819872d5..367ac2c398 100644 --- a/python/python3-trakit/python3-trakit.SlackBuild +++ b/python/python3-trakit/python3-trakit.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-trakit -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.2.5} SRCNAM=${SRCNAM:-trakit} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-trakit/python3-trakit.info b/python/python3-trakit/python3-trakit.info index 57b90cd2d5..cccae25433 100644 --- a/python/python3-trakit/python3-trakit.info +++ b/python/python3-trakit/python3-trakit.info @@ -1,8 +1,8 @@ PRGNAM="python3-trakit" -VERSION="0.2.2" +VERSION="0.2.5" HOMEPAGE="https://github.com/ratoaq2/trakit" -DOWNLOAD="https://github.com/ratoaq2/trakit/archive/refs/tags/0.2.2/trakit-0.2.2.tar.gz" -MD5SUM="b463422c3f27e53d84637f43a711e89e" +DOWNLOAD="https://github.com/ratoaq2/trakit/archive/refs/tags/0.2.5/trakit-0.2.5.tar.gz" +MD5SUM="6270389394b683b89ad5614fb2d024cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-babelfish python3-rebulk" diff --git a/python/python3-treq/python3-treq.SlackBuild b/python/python3-treq/python3-treq.SlackBuild index 09883a8486..782b96577f 100644 --- a/python/python3-treq/python3-treq.SlackBuild +++ b/python/python3-treq/python3-treq.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-treq SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.9.1} +VERSION=${VERSION:-25.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,7 +62,8 @@ find -L . \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python3-treq/python3-treq.info b/python/python3-treq/python3-treq.info index 0233fad7b9..30c6730f97 100644 --- a/python/python3-treq/python3-treq.info +++ b/python/python3-treq/python3-treq.info @@ -1,8 +1,8 @@ PRGNAM="python3-treq" -VERSION="24.9.1" +VERSION="25.5.0" HOMEPAGE="https://pypi.org/project/treq/" -DOWNLOAD="https://pypi.python.org/packages/source/t/treq/treq-24.9.1.tar.gz" -MD5SUM="a48996ff540651deded304b638ba54ea" +DOWNLOAD="https://pypi.python.org/packages/source/t/treq/treq-25.5.0.tar.gz" +MD5SUM="b0a3c2e315375388e820019afc59919d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pyOpenSSL python3-twisted" diff --git a/python/python3-trezor-agent/README b/python/python3-trezor-agent/README new file mode 100644 index 0000000000..1a209f3c7c --- /dev/null +++ b/python/python3-trezor-agent/README @@ -0,0 +1 @@ +Plugin to use python3-libagent with the Trezor hardware wallet. diff --git a/python/python3-trezor-agent/python3-trezor-agent.SlackBuild b/python/python3-trezor-agent/python3-trezor-agent.SlackBuild new file mode 100644 index 0000000000..6d9c04f436 --- /dev/null +++ b/python/python3-trezor-agent/python3-trezor-agent.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# Slackware build script for python3-trezor-agent + +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-trezor-agent +VERSION=${VERSION:-0.12.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=trezor_agent + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 ./setup.py install --root=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-trezor-agent/python3-trezor-agent.info b/python/python3-trezor-agent/python3-trezor-agent.info new file mode 100644 index 0000000000..0bf4081b0b --- /dev/null +++ b/python/python3-trezor-agent/python3-trezor-agent.info @@ -0,0 +1,10 @@ +PRGNAM="python3-trezor-agent" +VERSION="0.12.0" +HOMEPAGE="https://github.com/romanz/trezor-agent" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trezor-agent/trezor_agent-0.12.0.tar.gz" +MD5SUM="e547e595ee62f44c1d5b55d29771ea05" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-libagent python3-trezor" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-trezor-agent/slack-desc b/python/python3-trezor-agent/slack-desc new file mode 100644 index 0000000000..321de448d0 --- /dev/null +++ b/python/python3-trezor-agent/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-trezor-agent: python3-trezor-agent (Using Trezor as hardware SSH/GPG agent) +python3-trezor-agent: +python3-trezor-agent: Plugin to use python3-libagent with the Trezor hardware wallet. +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: Homepage: https://github.com/romanz/trezor-agent +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: +python3-trezor-agent: diff --git a/python/python3-trezor/51-trezor.rules b/python/python3-trezor/51-trezor.rules new file mode 100644 index 0000000000..c0d43b2e0a --- /dev/null +++ b/python/python3-trezor/51-trezor.rules @@ -0,0 +1,17 @@ +# Trezor: The Original Hardware Wallet +# https://trezor.io/ +# +# Put this file into /etc/udev/rules.d +# +# If you are creating a distribution package, +# put this into /usr/lib/udev/rules.d or /lib/udev/rules.d +# depending on your distribution + +# Trezor +SUBSYSTEM=="usb", ATTR{idVendor}=="534c", ATTR{idProduct}=="0001", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n" +KERNEL=="hidraw*", ATTRS{idVendor}=="534c", ATTRS{idProduct}=="0001", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl" + +# Trezor v2 +SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c0", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n" +SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c1", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n" +KERNEL=="hidraw*", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="53c1", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl" diff --git a/python/python3-trezor/README b/python/python3-trezor/README new file mode 100644 index 0000000000..bded829b8c --- /dev/null +++ b/python/python3-trezor/README @@ -0,0 +1,2 @@ +Python library and command-line client for communicating with Trezor +Hardware Wallet. diff --git a/python/python3-trezor/python3-trezor.SlackBuild b/python/python3-trezor/python3-trezor.SlackBuild new file mode 100644 index 0000000000..4d6b1ca7a4 --- /dev/null +++ b/python/python3-trezor/python3-trezor.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Slackware build script for python3-trezor + +# Copyright (c) 2016-2017 Reedych <reedych@reedych.pw> +# Copyright 2025 nomnombtc <nomnombtc@arcor.de> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-trezor +VERSION=${VERSION:-0.13.10} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=trezor + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl + +mkdir -p $PKG/lib/udev/rules.d +install -m 644 $CWD/51-trezor.rules $PKG/lib/udev/rules.d + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-trezor/python3-trezor.info b/python/python3-trezor/python3-trezor.info new file mode 100644 index 0000000000..2c621c207a --- /dev/null +++ b/python/python3-trezor/python3-trezor.info @@ -0,0 +1,10 @@ +PRGNAM="python3-trezor" +VERSION="0.13.10" +HOMEPAGE="https://github.com/trezor/trezor-firmware/tree/master/python" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trezor/trezor-0.13.10.tar.gz" +MD5SUM="487f8dcf2ea818fc5e0df54f309fe8d6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="click python3-wheel python3-mnemonic python3-shamir-mnemonic python3-typing-extensions python3-construct-classes python3-slip10 python3-libusb1" +MAINTAINER="nomnombtc" +EMAIL="nomnombtc@arcor.de" diff --git a/python/python3-trezor/slack-desc b/python/python3-trezor/slack-desc new file mode 100644 index 0000000000..bbeecda32c --- /dev/null +++ b/python/python3-trezor/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-trezor: python3-trezor (Python library and command-line client) +python3-trezor: +python3-trezor: Python library and command-line client for communicating with Trezor +python3-trezor: Hardware Wallet. +python3-trezor: +python3-trezor: See https://trezor.io for more information. +python3-trezor: +python3-trezor: +python3-trezor: +python3-trezor: +python3-trezor: diff --git a/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild b/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild index c72625f589..df0e1735cd 100644 --- a/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild +++ b/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-trove-classifiers SRCNAM=trove_classifiers -VERSION=${VERSION:-2025.5.9.12} +VERSION=${VERSION:-2025.8.6.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-trove-classifiers/python3-trove-classifiers.info b/python/python3-trove-classifiers/python3-trove-classifiers.info index f1a0a1cf19..7ab9712b59 100644 --- a/python/python3-trove-classifiers/python3-trove-classifiers.info +++ b/python/python3-trove-classifiers/python3-trove-classifiers.info @@ -1,8 +1,8 @@ PRGNAM="python3-trove-classifiers" -VERSION="2025.5.9.12" +VERSION="2025.8.6.13" HOMEPAGE="https://github.com/pypa/trove-classifiers" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trove_classifiers/trove_classifiers-2025.5.9.12.tar.gz" -MD5SUM="382d0838616b5078d21596cd1cd0eeb2" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trove_classifiers/trove_classifiers-2025.8.6.13.tar.gz" +MD5SUM="939166b6e238cdafdbe63becd398e906" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-calver" diff --git a/python/python3-twisted/python3-twisted.SlackBuild b/python/python3-twisted/python3-twisted.SlackBuild index 7269dd8ed8..3f23e38086 100644 --- a/python/python3-twisted/python3-twisted.SlackBuild +++ b/python/python3-twisted/python3-twisted.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-twisted SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-24.11.0} +VERSION=${VERSION:-25.5.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-twisted/python3-twisted.info b/python/python3-twisted/python3-twisted.info index e9f0b17af0..4153662566 100644 --- a/python/python3-twisted/python3-twisted.info +++ b/python/python3-twisted/python3-twisted.info @@ -1,8 +1,8 @@ PRGNAM="python3-twisted" -VERSION="24.11.0" +VERSION="25.5.0" HOMEPAGE="https://twistedmatrix.com/" -DOWNLOAD="https://pypi.python.org/packages/source/t/twisted/twisted-24.11.0.tar.gz" -MD5SUM="a21b5326a74079a92d7bc4748b419280" +DOWNLOAD="https://pypi.python.org/packages/source/t/twisted/twisted-25.5.0.tar.gz" +MD5SUM="845d6782c2236ef764f3849948f4bfad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-automat python3-constantly python3-hyperlink python3-incremental zope.interface python3-service-identity" diff --git a/python/python3-txaio/python3-txaio.SlackBuild b/python/python3-txaio/python3-txaio.SlackBuild index 0b9943a31d..f8355085ef 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.6.1} 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..8bf217a840 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.6.1" 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.6.1.tar.gz" +MD5SUM="9e1796c0904dfa1440913007446d3037" 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-zxcvbn-python/python3-zxcvbn-python.SlackBuild b/python/python3-typeguard/python3-typeguard.SlackBuild index c5a5c743cd..8a592ffdfd 100644 --- a/python/python3-zxcvbn-python/python3-zxcvbn-python.SlackBuild +++ b/python/python3-typeguard/python3-typeguard.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python3-zxcvbn-python +# Slackware build script for python3-typeguard -# 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-typeguard SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.4.24} +VERSION=${VERSION:-4.4.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,27 +48,13 @@ 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 +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -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 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 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..c2559e2c69 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.20250822} 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..fcd6b904a1 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.20250822" 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.20250822.tar.gz" +MD5SUM="657986382720dc2a4955e6bacd16d3a7" 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 a42ab55fbb..23c73ed59e 100644 --- a/python/python3-typing-extensions/python3-typing-extensions.SlackBuild +++ b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-typing-extensions SRCNAM=typing_extensions -VERSION=${VERSION:-4.13.2} +VERSION=${VERSION:-4.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-typing-extensions/python3-typing-extensions.info b/python/python3-typing-extensions/python3-typing-extensions.info index 2a07b2e941..c2b9fbee1c 100644 --- a/python/python3-typing-extensions/python3-typing-extensions.info +++ b/python/python3-typing-extensions/python3-typing-extensions.info @@ -1,8 +1,8 @@ PRGNAM="python3-typing-extensions" -VERSION="4.13.2" +VERSION="4.15.0" HOMEPAGE="https://pypi.org/project/typing-extensions/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-4.13.2.tar.gz" -MD5SUM="58226788d248cee8d6283ee616543975" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-4.15.0.tar.gz" +MD5SUM="079e529d0b271647f3ec2720aee8fc65" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/python3-typing-inspection/python3-typing-inspection.SlackBuild b/python/python3-typing-inspection/python3-typing-inspection.SlackBuild index 957861b262..5d29950084 100644 --- a/python/python3-typing-inspection/python3-typing-inspection.SlackBuild +++ b/python/python3-typing-inspection/python3-typing-inspection.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-typing-inspection SRCNAM=typing_inspection -VERSION=${VERSION:-0.4.0} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-typing-inspection/python3-typing-inspection.info b/python/python3-typing-inspection/python3-typing-inspection.info index 3952afe7ef..46e5eeb7f1 100644 --- a/python/python3-typing-inspection/python3-typing-inspection.info +++ b/python/python3-typing-inspection/python3-typing-inspection.info @@ -1,8 +1,8 @@ PRGNAM="python3-typing-inspection" -VERSION="0.4.0" +VERSION="0.4.1" HOMEPAGE="https://github.com/pydantic/typing-inspection" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_inspection/typing_inspection-0.4.0.tar.gz" -MD5SUM="694cee9b0518959cd4b2b7ce2dc5cf2e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_inspection/typing_inspection-0.4.1.tar.gz" +MD5SUM="d451e03d8eac368f7af674f95db586f0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling python3-typing-extensions" diff --git a/python/python3-ufo2ft/python3-ufo2ft.SlackBuild b/python/python3-ufo2ft/python3-ufo2ft.SlackBuild index 7ceca695d2..f35232ac07 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.4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-ufo2ft/python3-ufo2ft.info b/python/python3-ufo2ft/python3-ufo2ft.info index 4c92ff1a36..3290c186c0 100644 --- a/python/python3-ufo2ft/python3-ufo2ft.info +++ b/python/python3-ufo2ft/python3-ufo2ft.info @@ -1,8 +1,8 @@ PRGNAM="python3-ufo2ft" -VERSION="3.4.2" +VERSION="3.4.3" 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.4.3.tar.gz" +MD5SUM="fad96b66af36973a160fccfbd5016113" 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" diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild index 2eade897d2..004cbb6c47 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild +++ b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild @@ -30,23 +30,19 @@ # 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 #-------------------------------------------------------------------------------# cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-uharfbuzz -VERSION=${VERSION:-0.45.0} +VERSION=${VERSION:-0.50.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,9 +88,7 @@ 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 \ @@ -102,6 +96,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:/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..d0d3070c40 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.50.2" 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/42/43/2c63967f7cefe2729660a5637fd7c82964889604eeef633de9267c4cf392/uharfbuzz-0.50.2.tar.gz" +MD5SUM="c84a5a884799951e502f6b200f75d649" 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-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-virtualenv/python3-virtualenv.SlackBuild b/python/python3-virtualenv/python3-virtualenv.SlackBuild index 205d863df1..2a49e41e3e 100644 --- a/python/python3-virtualenv/python3-virtualenv.SlackBuild +++ b/python/python3-virtualenv/python3-virtualenv.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-virtualenv SRCNAM=virtualenv -VERSION=${VERSION:-20.31.1} +VERSION=${VERSION:-20.34.0} 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 79bf04762f..eb4482f51d 100644 --- a/python/python3-virtualenv/python3-virtualenv.info +++ b/python/python3-virtualenv/python3-virtualenv.info @@ -1,8 +1,8 @@ PRGNAM="python3-virtualenv" -VERSION="20.31.1" +VERSION="20.34.0" HOMEPAGE="https://virtualenv.pypa.io/" -DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.31.1/virtualenv-20.31.1.tar.gz" -MD5SUM="03359fb102e6fc3b9294c554b4d19bd9" +DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.34.0/virtualenv-20.34.0.tar.gz" +MD5SUM="abb053aadeb11e51fcc44df7fea8b4bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt python3-distlib python3-filelock python3-platformdirs" diff --git a/python/python3-xapp/README b/python/python3-xapp/README new file mode 100644 index 0000000000..dddf6108cb --- /dev/null +++ b/python/python3-xapp/README @@ -0,0 +1 @@ +This package provides Python 3 Xapp Library diff --git a/python/python3-xapp/python3-xapp.SlackBuild b/python/python3-xapp/python3-xapp.SlackBuild new file mode 100644 index 0000000000..97036a7f44 --- /dev/null +++ b/python/python3-xapp/python3-xapp.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/bash + +# Slackware build script for python3-xapp + +# Copyright 2025 Olivier Brouckaert <olivier.b@i-services.be> +# Copyright 2021 Willy Sudiarto Raharjo <willysr@slackware-id.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=python3-xapp +VERSION=${VERSION:-2.2.2} +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 {} \; + +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 COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +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..394bc38a84 --- /dev/null +++ b/python/python3-xapp/python3-xapp.info @@ -0,0 +1,10 @@ +PRGNAM="python3-xapp" +VERSION="2.2.2" +HOMEPAGE="https://github.com/linuxmint/python3-xapp" +DOWNLOAD="https://github.com/linuxmint/python3-xapp/archive/2.2.2/python3-xapp-2.2.2.tar.gz" +MD5SUM="1456017fc8030a5e2e66d3fc0f18f605" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Olivier Brouckaert" +EMAIL="olivier.b@i-services.be" diff --git a/python/python3-xapp/slack-desc b/python/python3-xapp/slack-desc new file mode 100644 index 0000000000..17726f3cc2 --- /dev/null +++ b/python/python3-xapp/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-xapp: python3-xapp (Python 3 Xapp Library) +python3-xapp: +python3-xapp: This package provides Python 3 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 0510fcbe7e..4812762601 100644 --- a/python/python3-xcffib/python3-xcffib.SlackBuild +++ b/python/python3-xcffib/python3-xcffib.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xcffib SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) -VERSION=${VERSION:-1.8.0} +VERSION=${VERSION:-1.10.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 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 b68751145c..d416306f1f 100644 --- a/python/python3-xcffib/python3-xcffib.info +++ b/python/python3-xcffib/python3-xcffib.info @@ -1,10 +1,10 @@ PRGNAM="python3-xcffib" -VERSION="1.8.0" +VERSION="1.10.0" HOMEPAGE="https://github.com/tych0/xcffib" -DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-1.8.0.tar.gz" -MD5SUM="66eeae27fcaa32efcaf8923e5bb511ed" +DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-1.10.0.tar.gz" +MD5SUM="de28655bea52136c5f44eaeddf57db32" 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-yarl/python3-yarl.SlackBuild b/python/python3-yarl/python3-yarl.SlackBuild index 341a1c266a..955e92b888 100644 --- a/python/python3-yarl/python3-yarl.SlackBuild +++ b/python/python3-yarl/python3-yarl.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-yarl -VERSION=${VERSION:-1.20.0} +VERSION=${VERSION:-1.20.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-yarl/python3-yarl.info b/python/python3-yarl/python3-yarl.info index 7a05f202fd..3e74ad89e1 100644 --- a/python/python3-yarl/python3-yarl.info +++ b/python/python3-yarl/python3-yarl.info @@ -1,8 +1,8 @@ PRGNAM="python3-yarl" -VERSION="1.20.0" +VERSION="1.20.1" HOMEPAGE="https://yarl.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.20.0/yarl-1.20.0.tar.gz" -MD5SUM="83175a056c95e055a44627d998f3d84d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/y/yarl/yarl-1.20.1.tar.gz" +MD5SUM="23352fbc2b165825d4a33682c91788bc" 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-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/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/subliminal.SlackBuild b/python/subliminal/subliminal.SlackBuild index 60ccbe95f7..7a668ad569 100644 --- a/python/subliminal/subliminal.SlackBuild +++ b/python/subliminal/subliminal.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=subliminal -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/subliminal/subliminal.info b/python/subliminal/subliminal.info index 8140884b26..37b076b443 100644 --- a/python/subliminal/subliminal.info +++ b/python/subliminal/subliminal.info @@ -1,8 +1,8 @@ PRGNAM="subliminal" -VERSION="2.3.0" +VERSION="2.3.2" HOMEPAGE="http://subliminal.readthedocs.org/" -DOWNLOAD="https://github.com/Diaoul/subliminal/archive/refs/tags/2.3.0/subliminal-2.3.0.tar.gz" -MD5SUM="d97eeb83b657d967a145a53439de98ea" +DOWNLOAD="https://github.com/Diaoul/subliminal/archive/refs/tags/2.3.2/subliminal-2.3.2.tar.gz" +MD5SUM="1fd3c720b6cd0a06861b2abfecc18495" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-guessit python3-knowit BeautifulSoup4 python3-dogpile.cache python3-srt rarfile python3-setuptools-opt python3-platformdirs python3-click-option-group python3-pysubs2" diff --git a/python/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/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..3efd598170 --- /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.7.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} + +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..ceb1861131 --- /dev/null +++ b/python/uv-bin/uv-bin.info @@ -0,0 +1,10 @@ +PRGNAM="uv-bin" +VERSION="0.7.12" +HOMEPAGE="https://github.com/astral-sh/uv" +DOWNLOAD="https://github.com/astral-sh/uv/releases/download/0.7.12/uv-i686-unknown-linux-gnu.tar.gz" +MD5SUM="4b76f1f3c2210f1e83cf79cd32e82b8b" +DOWNLOAD_x86_64="https://github.com/astral-sh/uv/releases/download/0.7.12/uv-x86_64-unknown-linux-gnu.tar.gz" +MD5SUM_x86_64="3c5e0d88f2728c3ed10b9c35cb613ece" +REQUIRES="" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" diff --git a/python/yapf/yapf.SlackBuild b/python/yapf/yapf.SlackBuild index 8fed88796d..39875e5a00 100644 --- a/python/yapf/yapf.SlackBuild +++ b/python/yapf/yapf.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yapf -VERSION=${VERSION:-0.32.0} +VERSION=${VERSION:-0.43.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,20 +50,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -79,13 +65,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE AUTHORS CHANGELOG README.rst CONTRIBUTING.rst CONTRIBUTORS HACKING.rst \ +cp -a LICENSE AUTHORS CHANGELOG.md README.md CONTRIBUTING.md CONTRIBUTORS HACKING.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/yapf/yapf.info b/python/yapf/yapf.info index b58c80680a..f027b815e8 100644 --- a/python/yapf/yapf.info +++ b/python/yapf/yapf.info @@ -1,10 +1,10 @@ PRGNAM="yapf" -VERSION="0.32.0" +VERSION="0.43.0" HOMEPAGE="https://pypi.org/project/yapf/" -DOWNLOAD="https://files.pythonhosted.org/packages/c2/cd/d0d1e95b8d78b8097d90ca97af92f4af7fb2e867262a2b6e37d6f48e612a/yapf-0.32.0.tar.gz" -MD5SUM="0546f7be1566bbd7f8a9133fbfb9b3a0" +DOWNLOAD="https://files.pythonhosted.org/packages/source/y/yapf/yapf-0.43.0.tar.gz" +MD5SUM="e1d13822bad4ade3847164e3b48b6f03" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-tomli-opt python3-platformdirs" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" |