diff options
Diffstat (limited to 'python')
34 files changed, 307 insertions, 88 deletions
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/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-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-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-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild index afef2e2638..b2a3c87bd4 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.72.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..23d5891f2b 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.72.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.72.1/grpc-1.72.1.tar.gz" +MD5SUM="554ca144456e134c9cf26e77c589a24f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="protobuf3 re2" diff --git a/python/python3-json5/python3-json5.SlackBuild b/python/python3-json5/python3-json5.SlackBuild index 633db898de..511963afe1 100644 --- a/python/python3-json5/python3-json5.SlackBuild +++ b/python/python3-json5/python3-json5.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-json5 -VERSION=${VERSION:-0.10.0} +VERSION=${VERSION:-0.12.0} 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..1aae45a107 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.0" 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.0/pyjson5-0.12.0.tar.gz" +MD5SUM="810d409640a0d15226c4e4008cdeff64" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-mistune/python3-mistune.SlackBuild b/python/python3-mistune/python3-mistune.SlackBuild index 2a99744d3e..cedcdc183a 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.3} 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..0535f0801e 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.3" 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.3.tar.gz" +MD5SUM="a6eedc2cb09f56920e0853f297a8207d" 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-narwhals/python3-narwhals.SlackBuild b/python/python3-narwhals/python3-narwhals.SlackBuild index a461947acc..650a4c121d 100644 --- a/python/python3-narwhals/python3-narwhals.SlackBuild +++ b/python/python3-narwhals/python3-narwhals.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-narwhals -VERSION=${VERSION:-1.41.0} +VERSION=${VERSION:-1.41.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-narwhals/python3-narwhals.info b/python/python3-narwhals/python3-narwhals.info index d4d9c900ba..501e6edc14 100644 --- a/python/python3-narwhals/python3-narwhals.info +++ b/python/python3-narwhals/python3-narwhals.info @@ -1,8 +1,8 @@ PRGNAM="python3-narwhals" -VERSION="1.41.0" +VERSION="1.41.1" HOMEPAGE="https://narwhals-dev.github.io/narwhals/" -DOWNLOAD="https://github.com/narwhals-dev/narwhals/releases/download/v1.41.0/narwhals-1.41.0.tar.gz" -MD5SUM="01f309b452f9611ea99bd37954ee11ae" +DOWNLOAD="https://github.com/narwhals-dev/narwhals/releases/download/v1.41.1/narwhals-1.41.1.tar.gz" +MD5SUM="22dcb8f6f7973cdd62881bf47a147406" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-netaddr/python3-netaddr.SlackBuild b/python/python3-netaddr/python3-netaddr.SlackBuild index 273934dc9e..f8135c5eea 100644 --- a/python/python3-netaddr/python3-netaddr.SlackBuild +++ b/python/python3-netaddr/python3-netaddr.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-netaddr SRC_PRGNAM=netaddr -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,6 +40,9 @@ if [ -z "$ARCH" ]; then esac fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -78,14 +81,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/* \ - AUTHORS CHANGELOG COPYRIGHT LICENSE README* THANKS \ + AUTHORS* CHANGELOG* COPYRIGHT* LICENSE* MANIFEST* README* THANKS* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-netaddr/python3-netaddr.info b/python/python3-netaddr/python3-netaddr.info index 5d100d29c8..add22d8868 100644 --- a/python/python3-netaddr/python3-netaddr.info +++ b/python/python3-netaddr/python3-netaddr.info @@ -1,10 +1,10 @@ PRGNAM="python3-netaddr" -VERSION="0.10.1" +VERSION="1.3.0" HOMEPAGE="https://github.com/netaddr/netaddr" -DOWNLOAD="https://github.com/netaddr/netaddr/archive/refs/tags/0.10.1/netaddr-0.10.1.tar.gz" -MD5SUM="02ce5aa8af8699d1f0243d74c7535fd2" +DOWNLOAD="https://github.com/netaddr/netaddr/archive/1.3.0/netaddr-1.3.0.tar.gz" +MD5SUM="2f2f89193bccd3f8df16e9c55d4a9718" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Olivier Brouckaert" EMAIL="olivier.b@i-services.be" diff --git a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild index 5617a3aed7..c80d5b2446 100644 --- a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild +++ b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-prometheus_client -VERSION=${VERSION:-0.22.0} +VERSION=${VERSION:-0.22.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-prometheus_client/python3-prometheus_client.info b/python/python3-prometheus_client/python3-prometheus_client.info index c7739ecc3f..ebbe3c8705 100644 --- a/python/python3-prometheus_client/python3-prometheus_client.info +++ b/python/python3-prometheus_client/python3-prometheus_client.info @@ -1,8 +1,8 @@ PRGNAM="python3-prometheus_client" -VERSION="0.22.0" +VERSION="0.22.1" HOMEPAGE="https://github.com/prometheus/client_python" -DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.22.0/client_python-0.22.0.tar.gz" -MD5SUM="001e3adcd4ada8c24c61ca8ec33f9570" +DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.22.1/client_python-0.22.1.tar.gz" +MD5SUM="cb40f13659c7846444d850cc644bfe86" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" 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-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..ceb1b372d3 --- /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.4} +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..fbaed3bc09 --- /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.4" +HOMEPAGE="https://scikit-build-core.readthedocs.io/" +DOWNLOAD="https://github.com/scikit-build/scikit-build-core/archive/refs/tags/v0.11.4/scikit-build-core-0.11.4.tar.gz" +MD5SUM="8f00b2efce254231f4d24882805b1d9a" +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-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-typeguard/python3-typeguard.SlackBuild b/python/python3-typeguard/python3-typeguard.SlackBuild index f1edba1331..d4bf4a3f97 100644 --- a/python/python3-typeguard/python3-typeguard.SlackBuild +++ b/python/python3-typeguard/python3-typeguard.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-typeguard SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.4.2} +VERSION=${VERSION:-4.4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-typeguard/python3-typeguard.info b/python/python3-typeguard/python3-typeguard.info index e6fb07a14a..08fc5dee72 100644 --- a/python/python3-typeguard/python3-typeguard.info +++ b/python/python3-typeguard/python3-typeguard.info @@ -1,8 +1,8 @@ PRGNAM="python3-typeguard" -VERSION="4.4.2" +VERSION="4.4.3" HOMEPAGE="https://github.com/agronholm/typeguard" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typeguard/typeguard-4.4.2.tar.gz" -MD5SUM="6d58b856f3abf75963afa1884fb57d37" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typeguard/typeguard-4.4.3.tar.gz" +MD5SUM="e6a31d0c142ea1ede6802e6d600b6197" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt" diff --git a/python/python3-typing-extensions/python3-typing-extensions.SlackBuild b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild index a42ab55fbb..9fd06e4458 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.14.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..dfe9e1b3ec 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.14.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.14.0.tar.gz" +MD5SUM="06244b2d61784c4d1d85900927514f36" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" |