diff options
Diffstat (limited to 'python')
604 files changed, 3531 insertions, 4692 deletions
diff --git a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild index 67a9626f88..f773569eb0 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild +++ b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild @@ -66,6 +66,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +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/GeoIP-Python/GeoIP-Python.info b/python/GeoIP-Python/GeoIP-Python.info index b2be73dc60..277a5176b2 100644 --- a/python/GeoIP-Python/GeoIP-Python.info +++ b/python/GeoIP-Python/GeoIP-Python.info @@ -6,5 +6,5 @@ MD5SUM="6d1a82798b9f5f8448fca50296d974ba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="GeoIP" -MAINTAINER="Dominik Drobek" -EMAIL="dominik.drobek (at) o2.pl" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere.com" diff --git a/python/PyColorizer/PyColorizer.SlackBuild b/python/PyColorizer/PyColorizer.SlackBuild deleted file mode 100644 index f61df59ba0..0000000000 --- a/python/PyColorizer/PyColorizer.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for PyColorizer - -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece -# 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=PyColorizer -VERSION=${VERSION:-0.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 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} - -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 -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 {} \; - -python 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 PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/PyColorizer/PyColorizer.info b/python/PyColorizer/PyColorizer.info deleted file mode 100644 index b343a76764..0000000000 --- a/python/PyColorizer/PyColorizer.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="PyColorizer" -VERSION="0.1" -HOMEPAGE="https://github.com/PierreRambaud/color" -DOWNLOAD="https://pypi.python.org/packages/source/P/PyColorizer/PyColorizer-0.1.tar.gz" -MD5SUM="dbdecdd00199c52560a867cc7a5ec1f1" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/PyColorizer/README b/python/PyColorizer/README deleted file mode 100644 index 1041211019..0000000000 --- a/python/PyColorizer/README +++ /dev/null @@ -1 +0,0 @@ -Add color in your shell. diff --git a/python/PyGithub/PyGithub.SlackBuild b/python/PyGithub/PyGithub.SlackBuild deleted file mode 100644 index 630089438f..0000000000 --- a/python/PyGithub/PyGithub.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for PyGithub - -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece -# 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=PyGithub -VERSION=${VERSION:-1.38} -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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md COPYING* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/PyGithub/PyGithub.info b/python/PyGithub/PyGithub.info deleted file mode 100644 index c8ebaa19df..0000000000 --- a/python/PyGithub/PyGithub.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="PyGithub" -VERSION="1.38" -HOMEPAGE="https://pygithub.readthedocs.io/en/latest/" -DOWNLOAD="https://pypi.python.org/packages/d5/8d/c77ab4ab7a815d74093f8dd45ecbad84fc5ae2341cf92029ea755bc55fe5/PyGithub-1.38.tar.gz" -MD5SUM="2d86c425008dec1af6ff4f67d4ad57b0" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="pyjwt" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/PyGithub/README b/python/PyGithub/README deleted file mode 100644 index c7eb44798d..0000000000 --- a/python/PyGithub/README +++ /dev/null @@ -1 +0,0 @@ -PyGithub is a Python library to access the full Github API v3. diff --git a/python/PyGithub/slack-desc b/python/PyGithub/slack-desc deleted file mode 100644 index 2efeb97996..0000000000 --- a/python/PyGithub/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------------------------------------------------------| -PyGithub: PyGithub (Library to use Github API v3) -PyGithub: -PyGithub: PyGithub is a Python library to access the full Github API v3. -PyGithub: -PyGithub: Homepage: https://pygithub.readthedocs.io/en/latest/ -PyGithub: -PyGithub: -PyGithub: -PyGithub: -PyGithub: -PyGithub: diff --git a/python/PyInstaller/PyInstaller.SlackBuild b/python/PyInstaller/PyInstaller.SlackBuild deleted file mode 100644 index 84ab1e9aa8..0000000000 --- a/python/PyInstaller/PyInstaller.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for PyInstaller - -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece -# 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=PyInstaller -VERSION=${VERSION:-3.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -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 {} \; - -python 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 PKG-INFO doc/* $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/PyInstaller/PyInstaller.info b/python/PyInstaller/PyInstaller.info deleted file mode 100644 index 97cfd08c0e..0000000000 --- a/python/PyInstaller/PyInstaller.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="PyInstaller" -VERSION="3.2" -HOMEPAGE="http://www.pyinstaller.org/" -DOWNLOAD="https://pypi.python.org/packages/33/f9/034a89276301ef5e88efd11e5ea592e3d3b2324706e65bdff7445d271077/PyInstaller-3.2.tar.gz" -MD5SUM="ad924928983014e6b8ce5422d7687832" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/PyInstaller/README b/python/PyInstaller/README deleted file mode 100644 index 814237cdce..0000000000 --- a/python/PyInstaller/README +++ /dev/null @@ -1,7 +0,0 @@ -PyInstaller is a program that converts (packages) Python programs into -stand-alone executables, under Windows, Linux, Mac OS X, Solaris and -AIX. Its main advantages over similar tools are that PyInstaller works -with any version of Python since 2.4, it builds smaller executables -thanks to transparent compression, it is fully multi-platform, and -use the OS support to load the dynamic libraries, thus ensuring full -compatibility. diff --git a/python/argh/README b/python/argh/README deleted file mode 100644 index 01955b7076..0000000000 --- a/python/argh/README +++ /dev/null @@ -1,6 +0,0 @@ -Building a command-line interface? Found yourself uttering -"argh!" while struggling with the API of `argparse`? Don't like the -complexity but need the power? - -Argh is a smart wrapper for argparse. Argparse is a very powerful tool; -Argh just makes it easy to use. diff --git a/python/argh/argh.SlackBuild b/python/argh/argh.SlackBuild deleted file mode 100644 index a445709849..0000000000 --- a/python/argh/argh.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash - -# Slackware build script for argh - -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece -# 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=argh -VERSION=${VERSION:-0.26.2} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/argh/argh.info b/python/argh/argh.info deleted file mode 100644 index 316c4e0331..0000000000 --- a/python/argh/argh.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="argh" -VERSION="0.26.2" -HOMEPAGE="https://github.com/neithere/argh/" -DOWNLOAD="https://pypi.python.org/packages/e3/75/1183b5d1663a66aebb2c184e0398724b624cecd4f4b679cb6e25de97ed15/argh-0.26.2.tar.gz" -MD5SUM="edda25f3f0164a963dd89c0e3c619973" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/argh/slack-desc b/python/argh/slack-desc deleted file mode 100644 index 1a31d9a6ea..0000000000 --- a/python/argh/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------------------------------------------------------| -argh: argh (An unobtrusive argparse wrapper) -argh: -argh: Building a command-line interface? Found yourself uttering "argh!" -argh: while struggling with the API of argparse? Don't like the complexity -argh: but need the power? -argh: Argh is a smart wrapper for argparse. Argparse is a very powerful -argh: toll; Argh just makes it easy to use. -argh: -argh: Homepage: https://github.com/neithere/argh/ -argh: -argh: diff --git a/python/args/README b/python/args/README deleted file mode 100644 index 06068c7588..0000000000 --- a/python/args/README +++ /dev/null @@ -1,4 +0,0 @@ -Command Arguments for Humans. - -This simple module gives you an -elegant interface for your command line argumemnts. diff --git a/python/args/args.SlackBuild b/python/args/args.SlackBuild deleted file mode 100644 index 2cc1262dec..0000000000 --- a/python/args/args.SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/bash - -# Slackware build script for args - -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece -# 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=args -VERSION=${VERSION:-0.1.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} - -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 -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 {} \; - -python 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/args/args.info b/python/args/args.info deleted file mode 100644 index 244f143220..0000000000 --- a/python/args/args.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="args" -VERSION="0.1.0" -HOMEPAGE="https://github.com/kennethreitz/args" -DOWNLOAD="https://pypi.python.org/packages/source/a/args/args-0.1.0.tar.gz" -MD5SUM="66faf79ba2511def7b8b81d542482046" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/args/slack-desc b/python/args/slack-desc deleted file mode 100644 index e9a8b957e0..0000000000 --- a/python/args/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------------------------------------------------------| -args: args (Command Arguments for Humans) -args: -args: This simple module gives you an -args: elegant interface for your command line argumemnts. -args: -args: -args: -args: -args: -args: Hompepage: https://github.com/kennethreitz/args -args: diff --git a/python/asgiref/asgiref.info b/python/asgiref/asgiref.info index ee10201723..6513daaf0b 100644 --- a/python/asgiref/asgiref.info +++ b/python/asgiref/asgiref.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/12/19/64e38c1c2cbf0da9635b7082 MD5SUM="7cd61836ec3c329f415309f88e92e0e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="typing-extensions" +REQUIRES="python3-typing-extensions" MAINTAINER="Dimitris Zlatanidis" EMAIL="dslackw@gmail.com" diff --git a/python/babel/babel.info b/python/babel/babel.info index 9f2185cff8..69ed9e9d8e 100644 --- a/python/babel/babel.info +++ b/python/babel/babel.info @@ -7,6 +7,6 @@ MD5SUM="2c5b602366ddc0c67052ec7aa462410c \ 243bc671f53a751549ec21f075c63f23" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pytz" +REQUIRES="python2-pytz" MAINTAINER="Matteo Bernardini" EMAIL="ponce@slackbuilds.org" diff --git a/python/buildbot-badges/buildbot-badges.SlackBuild b/python/buildbot-badges/buildbot-badges.SlackBuild index e49967611d..fae6875f02 100644 --- a/python/buildbot-badges/buildbot-badges.SlackBuild +++ b/python/buildbot-badges/buildbot-badges.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=buildbot-badges -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-3.11.1} +SRCNAM=${PRGNAM//-/_} +VERSION=${VERSION:-3.11.3} 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 795df5c057..5f53123ceb 100644 --- a/python/buildbot-badges/buildbot-badges.info +++ b/python/buildbot-badges/buildbot-badges.info @@ -1,8 +1,8 @@ PRGNAM="buildbot-badges" -VERSION="3.11.1" +VERSION="3.11.3" HOMEPAGE="https://buildbot.net/" -DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot-badges/buildbot-badges-3.11.1.tar.gz" -MD5SUM="c9952c96b90281ccce9d442e70e33121" +DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot_badges/buildbot_badges-3.11.3.tar.gz" +MD5SUM="6d72c6d9def98bb31e544a2f265106d7" 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 7d53e0cdd4..beda1c958f 100644 --- a/python/buildbot-worker/buildbot-worker.SlackBuild +++ b/python/buildbot-worker/buildbot-worker.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=buildbot-worker -SRCNAM=${PRGNAM#python-*} -VERSION=${VERSION:-3.11.1} +SRCNAM=${PRGNAM//-/_} +VERSION=${VERSION:-3.11.3} 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 a6a04646f3..8f3be6f993 100644 --- a/python/buildbot-worker/buildbot-worker.info +++ b/python/buildbot-worker/buildbot-worker.info @@ -1,8 +1,8 @@ PRGNAM="buildbot-worker" -VERSION="3.11.1" +VERSION="3.11.3" HOMEPAGE="https://pypi.python.org/pypi/buildbot-worker" -DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot-worker/buildbot-worker-3.11.1.tar.gz" -MD5SUM="96f1a5187842dd6f2491921b4ba5654d" +DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot_worker/buildbot_worker-3.11.3.tar.gz" +MD5SUM="78ed8e19ff4caa734487e2880f98408b" 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 34fe015a46..24d472eda4 100644 --- a/python/buildbot/buildbot.SlackBuild +++ b/python/buildbot/buildbot.SlackBuild @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=buildbot SRCNAM=${PRGNAM#python-*} # "pkg" stays first -PACKAGES="pkg www console-view grid-view waterfall-view wsgi-dashboards" -VERSION=${VERSION:-3.11.1} +PACKAGES="pkg www console_view grid_view waterfall_view wsgi_dashboards" +VERSION=${VERSION:-3.11.3} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,7 @@ mkdir $SRCNAM-$VERSION cd $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz for pkg in $PACKAGES; do - tar xvf $CWD/$SRCNAM-$pkg-$VERSION.tar.gz + tar xvf $CWD/${SRCNAM}_${pkg}-${VERSION}.tar.gz done chown -R root:root . find -L . \ @@ -97,7 +97,7 @@ popd OLD_PYTHONPATH=$PYTHONPATH export PYTHONPATH=$(find $PKG -type d -name site-packages) for pkg in $PACKAGES; do - pushd $SRCNAM-$pkg-$VERSION + pushd ${SRCNAM}_${pkg}-${VERSION} python3 setup.py install --root=$PKG popd done @@ -122,7 +122,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd .. for pkg in $PACKAGES; do - cp $SRCNAM-$pkg-$VERSION/PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION/PKG-INFO-$pkg + cp ${SRCNAM}_${pkg}-${VERSION}/PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION/PKG-INFO-$pkg done cd $PKG diff --git a/python/buildbot/buildbot.info b/python/buildbot/buildbot.info index 9ffd2a61b4..479420c2ec 100644 --- a/python/buildbot/buildbot.info +++ b/python/buildbot/buildbot.info @@ -1,20 +1,20 @@ PRGNAM="buildbot" -VERSION="3.11.1" +VERSION="3.11.3" HOMEPAGE="https://buildbot.net/" -DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot/buildbot-3.11.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot-pkg/buildbot-pkg-3.11.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot-www/buildbot-www-3.11.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot-console-view/buildbot-console-view-3.11.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot-grid-view/buildbot-grid-view-3.11.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot-waterfall-view/buildbot-waterfall-view-3.11.1.tar.gz \ - https://pypi.python.org/packages/source/b/buildbot-wsgi-dashboards/buildbot-wsgi-dashboards-3.11.1.tar.gz" -MD5SUM="b6fa75f861b66f17356afff7b120fba2 \ - 093fdd89d8ca98275aa5432ff908346e \ - f46a612dc7758061662a2c19cecebb68 \ - 23caca945c44e7c0641cf78f9e15705f \ - 8c756eba4bd4c6b2af319dc2870c8c62 \ - 3bcf84c418a2f985d60127198f060f08 \ - 9f4baaa452b81cf7c4f02a26736303d0" +DOWNLOAD="https://pypi.python.org/packages/source/b/buildbot/buildbot-3.11.3.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_pkg/buildbot_pkg-3.11.3.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_www/buildbot_www-3.11.3.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_console_view/buildbot_console_view-3.11.3.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_grid_view/buildbot_grid_view-3.11.3.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_waterfall_view/buildbot_waterfall_view-3.11.3.tar.gz \ + https://pypi.python.org/packages/source/b/buildbot_wsgi_dashboards/buildbot_wsgi_dashboards-3.11.3.tar.gz" +MD5SUM="1ca453aa78450afc39ee61fdd9c2d2d9 \ + 0618c9c504c86a24f8e218649d657ae9 \ + 2b3eed2500e7a712f4361aa00b7e194c \ + 6251c3458c17c2d58b6d18df86555c03 \ + 5f81446f09c5d2deebcd56717bc2efc6 \ + 3902fddc1e10a63649eae576bebdbaf2 \ + efe239a6c0f5f23eab6aa356516a38b7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SQLAlchemy-legacy python3-twisted python3-autobahn python3-alembic python3-pyjwt python3-dateutil msgpack-python" diff --git a/python/certbot-dns-cloudflare/certbot-dns-cloudflare.SlackBuild b/python/certbot-dns-cloudflare/certbot-dns-cloudflare.SlackBuild index 37dbd46694..c0d9d11b4d 100644 --- a/python/certbot-dns-cloudflare/certbot-dns-cloudflare.SlackBuild +++ b/python/certbot-dns-cloudflare/certbot-dns-cloudflare.SlackBuild @@ -24,7 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=certbot-dns-cloudflare -VERSION=${VERSION:-2.10.0} +SRCNAM=certbot_dns_cloudflare +VERSION=${VERSION:-2.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,9 +66,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/certbot-dns-cloudflare/certbot-dns-cloudflare.info b/python/certbot-dns-cloudflare/certbot-dns-cloudflare.info index 48dba67317..b503505c54 100644 --- a/python/certbot-dns-cloudflare/certbot-dns-cloudflare.info +++ b/python/certbot-dns-cloudflare/certbot-dns-cloudflare.info @@ -1,8 +1,8 @@ PRGNAM="certbot-dns-cloudflare" -VERSION="2.10.0" +VERSION="2.11.0" HOMEPAGE="https://pypi.org/project/certbot-dns-cloudflare/" -DOWNLOAD="https://files.pythonhosted.org/packages/e9/42/afd7d47caa771fc40eb1b77d126648c3421b9277ca66917aa6d8e3599810/certbot-dns-cloudflare-2.10.0.tar.gz" -MD5SUM="f438fa6dbaf63f1fcea140fa885827a2" +DOWNLOAD="https://files.pythonhosted.org/packages/87/e3/a70184bc9f949170b12abed884105a342411a45a3542ece1c389bcc22b9b/certbot_dns_cloudflare-2.11.0.tar.gz" +MD5SUM="c06f667bb633a130ff12004d4683b8d7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-cloudflare" diff --git a/python/chump/README b/python/chump/README deleted file mode 100644 index 76b06832ab..0000000000 --- a/python/chump/README +++ /dev/null @@ -1 +0,0 @@ -Chump is an Apache2 Licensed, fully featured API wrapper for Pushover. diff --git a/python/chump/chump.SlackBuild b/python/chump/chump.SlackBuild deleted file mode 100644 index 3edc737715..0000000000 --- a/python/chump/chump.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash - -# Slackware build script for chump - -# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece -# 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=chump -VERSION=${VERSION:-1.5.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst HISTORY.rst LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/chump/chump.info b/python/chump/chump.info deleted file mode 100644 index e003cada8b..0000000000 --- a/python/chump/chump.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="chump" -VERSION="1.5.2" -HOMEPAGE="http://chump.readthedocs.org" -DOWNLOAD="https://pypi.python.org/packages/2a/6d/f0681f06d3324e254492e725e5866c80fe72c491e4269800a02119345b2f/chump-1.5.2.tar.gz" -MD5SUM="765b30548bbdcf65b5f1ef08ad46d569" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/chump/slack-desc b/python/chump/slack-desc deleted file mode 100644 index ec0cd36cea..0000000000 --- a/python/chump/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------------------------------------------------------| -chump: chump (API wrapper for Pushover) -chump: -chump: Chump is an Apache2 Licensed, fully featured API wrapper for -chump: Pushover. -chump: -chump: Homepage: http://chump.readthedocs.io/en/latest/ -chump: -chump: -chump: -chump: -chump: diff --git a/python/clint/README b/python/clint/README deleted file mode 100644 index e780ae6ec2..0000000000 --- a/python/clint/README +++ /dev/null @@ -1,22 +0,0 @@ -Clint: Python Command-line Application Tools. - -Clint is a module filled with a set of awesome tools for developing -commandline applications. - -C ommand L ine IN terface T ools . - -Clint is awesome. Crazy awesome. It supports colors, but detects if -the session is a TTY, so doesn't render the colors if you're piping -stuff around. - -Awesome nest-able indentation context manager. Example: (with -indent(4): puts ('indented text')). It supports custom email-style -quotes. Of course, it supports color too, if and when needed. - -It has an awesome Column printer with optional auto-expanding -columns. It detects how wide your current console is and adjusts -accordingly. It wraps your words properly to fit the column size. With -or without colors mixed in. All with a single function call. - -The world's easiest to use implicit argument system w/ chaining -methods for filtering. Seriously. diff --git a/python/clint/clint.SlackBuild b/python/clint/clint.SlackBuild deleted file mode 100644 index cad239c847..0000000000 --- a/python/clint/clint.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for clint - -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece -# 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=clint -VERSION=${VERSION:-0.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 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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION - -cp -a *.rst AUTHORS LICENSE NOTICE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/clint/clint.info b/python/clint/clint.info deleted file mode 100644 index f7598a01fb..0000000000 --- a/python/clint/clint.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="clint" -VERSION="0.5.1" -HOMEPAGE="https://github.com/kennethreitz/clint" -DOWNLOAD="https://pypi.python.org/packages/3d/b4/41ecb1516f1ba728f39ee7062b9dac1352d39823f513bb6f9e8aeb86e26d/clint-0.5.1.tar.gz" -MD5SUM="8afd569f077886e2f4e6cca377da2623" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="args" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/clint/slack-desc b/python/clint/slack-desc deleted file mode 100644 index 9a70221090..0000000000 --- a/python/clint/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------------------------------------------------------| -clint: clint (Python Command-line Application Tools) -clint: -clint: Clint is a module filled with a set of awesome tools for -clint: developing commandline applications. -clint: -clint: Homepage: https://github.com/kennethreitz/clint -clint: -clint: -clint: -clint: -clint: diff --git a/python/colorama/colorama.SlackBuild b/python/colorama/colorama.SlackBuild index 7676d072cb..767f0c3fed 100644 --- a/python/colorama/colorama.SlackBuild +++ b/python/colorama/colorama.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for colorama -# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 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=colorama -VERSION=${VERSION:-0.4.4} +VERSION=${VERSION:-0.4.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,12 +79,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -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 -# Python 3 support. -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 diff --git a/python/colorama/colorama.info b/python/colorama/colorama.info index 0541da92ab..79253ba533 100644 --- a/python/colorama/colorama.info +++ b/python/colorama/colorama.info @@ -1,10 +1,10 @@ PRGNAM="colorama" -VERSION="0.4.4" +VERSION="0.4.6" HOMEPAGE="https://github.com/tartley/colorama" -DOWNLOAD="https://files.pythonhosted.org/packages/1f/bb/5d3246097ab77fa083a61bd8d3d527b7ae063c7d8e8671b1cf8c4ec10cbe/colorama-0.4.4.tar.gz" -MD5SUM="57b22f2597f63df051b69906fbf310cc" +DOWNLOAD="https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz" +MD5SUM="11fe1cbf8299798551ac88f824ea11c4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-hatchling" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/colorclass/README b/python/colorclass/README deleted file mode 100644 index 8d844e6b48..0000000000 --- a/python/colorclass/README +++ /dev/null @@ -1,3 +0,0 @@ -Yet another ANSI color text library for Python. -Provides "auto colors" for dark/light terminals. -Works on Linux, OS X, and Windows. diff --git a/python/colorclass/colorclass.SlackBuild b/python/colorclass/colorclass.SlackBuild deleted file mode 100644 index c3913fd04c..0000000000 --- a/python/colorclass/colorclass.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for colorclass - -# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece -# 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=colorclass -VERSION=${VERSION:-2.2.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} - -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 -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 {} \; - -python 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.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/colorclass/colorclass.info b/python/colorclass/colorclass.info deleted file mode 100644 index ab09e62cb1..0000000000 --- a/python/colorclass/colorclass.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="colorclass" -VERSION="2.2.0" -HOMEPAGE="https://github.com/Robpol86/colorclass" -DOWNLOAD="https://pypi.python.org/packages/37/ea/ae8dbb956939d4392e6a7fdef87fda273854da1128edae016c4104240be8/colorclass-2.2.0.tar.gz" -MD5SUM="060139e93e31faafeb5d4bdfd6ea0bb8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/colorclass/slack-desc b/python/colorclass/slack-desc deleted file mode 100644 index 23d70acd74..0000000000 --- a/python/colorclass/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------------------------------------------------------| -colorclass: colorclass (ANSI color text library for Python) -colorclass: -colorclass: Yet another ANSI color text library for Python. Provides -colorclass: `auto colors` for dark/light terminals. Works on Linux, OS X, and -colorclass: Windows. -colorclass: -colorclass: Homepage: https://github.com/Robpol86/colorclass -colorclass: -colorclass: -colorclass: -colorclass: diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 606a982138..797c1e06c1 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -23,13 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2: -# - remove empty file from doc dir. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cryptography -VERSION=${VERSION:-42.0.7} +VERSION=${VERSION:-43.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -103,7 +100,8 @@ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages rm -rf tests/bench -python3 -m build --no-isolation +git init +python3 -m build --wheel --no-isolation python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/cryptography/cryptography.info b/python/cryptography/cryptography.info index 5214f2e767..46e17e0ef7 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,12 +1,12 @@ PRGNAM="cryptography" -VERSION="42.0.7" +VERSION="43.0.1" HOMEPAGE="https://cryptography.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-42.0.7.tar.gz \ - https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-42.0.7-1.tar.xz" -MD5SUM="07daf829afd60b3e6326d01166add3a1 \ - cbfb292fbdd71cbc8b9a05ac267af0c8" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-43.0.1.tar.gz \ + https://sbo-source.s3.ap-southeast-1.amazonaws.com/cryptography-vendored-sources-43.0.1-1.tar.xz" +MD5SUM="098045b2e33051979efab7a0a9880e0f \ + fa5e7596cea0af0e1473ada610eed062" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="rust16 python3-setuptools-rust-opt" +REQUIRES="python3-maturin" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/python/cryptography/mkvendored.sh b/python/cryptography/mkvendored.sh index c52093378e..2664e9eec4 100644 --- a/python/cryptography/mkvendored.sh +++ b/python/cryptography/mkvendored.sh @@ -1,17 +1,139 @@ #!/bin/bash -# This is a wrapper script for cargo-mkvendored.sh which is -# included in the cargo-vendor-filterer slackbuild and needs to be -# installed. It is only needed if you are upgrading the version and -# need new vendored rust libs. +# Create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz +# Requires network access, but does not require root privilege. +# Requires that $PRGNAM's REQUIRES need to be installed first (rust16) +# and cargo-vendor-filterer installed to include just the linux deps # -# create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz -# requires network access, but does not require root privilege. -# requires that $PRGNAM's REQUIRES need to be installed first +# Expects to be run within a slackbuild dir with the source archive +# already downloaded. +# +# Variables to use in your SlackBuild: +# VSBUILD # same use as BUILD but for vendored sources +# VSDIR=/sub/dir/ # (optional) alternate location in src for vendor dir +# +# Vendors sources for the following targets +# i686-unknown-linux-gnu +# x86_64-unknown-linux-gnu +# arm-unknown-linux-gnueabihf +# aarch64-unknown-linux-gnu + +INFO="$( echo *.info )" +if [ ! -e "$INFO" ]; then + echo "No (or multiple) .info file in current dir" 1>&2 + exit 1 +fi + +SBUILD="$( echo *.SlackBuild )" +if [ ! -e "$SBUILD" ]; then + echo "No (or multiple) .SlackBuild file in current dir" 1>&2 + exit 1 +fi + +CWD=$(pwd) +source ./$INFO + +INFOERR="variable not set, are you sure you have a valid *.info file?" +echo ${PRGNAM:?$INFOERR} +echo VERSION=${VERSION:?$INFOERR} + +set -e +WORKDIR=$( mktemp -d ) +cd $WORKDIR + +# don't depend on user's ~/.cargo +mkdir -p cargohome +export CARGO_HOME=$(pwd)/cargohome + +egrep "^BUILD=|^VSBUILD=|^VSDIR=|^SRCNAM=" $CWD/$SBUILD > sbvars +source ./sbvars + +# if no SRCNAM in slackbuild set to PRGNAM +SRCNAM=${SRCNAM:-$PRGNAM} + +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION/$VSDIR || exit 1 + +if [ ! -e "Cargo.toml" ]; then + echo "No Cargo.toml file in $SRCNAM-$VERSION dir" 1>&2 + exit 1 +elif [ -e "$CWD/Cargo-toml.patch" ]; then + echo "INFO: Applying Cargo.toml patch" + patch -Np1 < $CWD/Cargo-toml.patch +fi + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i686 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 + +# check if rust16 is installed +if [ ! -d /opt/rust16/bin ]; then + echo "ERROR: The rust16 slackbuild is required to be installed" + exit 1 +else + export PATH="/opt/rust16/bin:$PATH" + if [ -z "$LD_LIBRARY_PATH" ]; then + export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" + else + export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" + fi +fi -if [ -f /usr/bin/cargo-mkvendored.sh ]; then - /usr/bin/cargo-mkvendored.sh +# Configure cargo-vendor-filterer + cat << EOF >> Cargo.toml +[package.metadata.vendor-filter] +platforms = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabihf"] +all-features = true +exclude-crate-paths = [ + { name = "openssl-src", exclude = "openssl" }, +] +EOF + +if [ -f /usr/bin/cargo-vendor-filterer ]; then + echo "INFO: Creating filtered vendor libs tarball..." + /usr/bin/cargo-vendor-filterer else - echo " ERROR: cargo-mkvendored.sh script is not available!! - ERROR: Install the cargo-vendor-filterer slackbuild." + echo "WARNING: Creating unfiltered vendor libs tarball!" + cargo vendor fi + +# build would fail if the .a files were removed +#find vendor -type f -a -name \*.a -print0 | xargs -0 rm -f + +mkdir -p .cargo + cat <<EOF >.cargo/config.toml +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" +EOF +cd - + +cd $WORKDIR +tar cvfJ $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz \ + $SRCNAM-$VERSION/$VSDIR/{vendor,.cargo} +md5sum $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz +cd $CWD +rm -rf $WORKDIR diff --git a/python/django-debug-toolbar/django-debug-toolbar.SlackBuild b/python/django-debug-toolbar/django-debug-toolbar.SlackBuild index d8cc7dc755..31c8fe186c 100644 --- a/python/django-debug-toolbar/django-debug-toolbar.SlackBuild +++ b/python/django-debug-toolbar/django-debug-toolbar.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for django-debug-toolbar -# Copyright 2020 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2020-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=django-debug-toolbar -VERSION=${VERSION:-2.1} +SRCNAM=django_debug_toolbar +VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,9 +70,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 \ @@ -79,7 +80,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/django-debug-toolbar/django-debug-toolbar.info b/python/django-debug-toolbar/django-debug-toolbar.info index be55f5e9b8..386cdd982f 100644 --- a/python/django-debug-toolbar/django-debug-toolbar.info +++ b/python/django-debug-toolbar/django-debug-toolbar.info @@ -1,10 +1,10 @@ PRGNAM="django-debug-toolbar" -VERSION="2.1" +VERSION="4.3.0" HOMEPAGE="https://github.com/jazzband/django-debug-toolbar" -DOWNLOAD="https://files.pythonhosted.org/packages/23/0f/3567d62be25e3722be719e9915605a00e8b779620a2d53f2469331884629/django-debug-toolbar-2.1.tar.gz" -MD5SUM="d6a4b4dabc963e70110a7f6aaa491b4f" +DOWNLOAD="https://files.pythonhosted.org/packages/61/ff/b6d3cc2c31f9a6cf68eda0f7a640ada743f5c39122a0c14db8d3eee3f412/django_debug_toolbar-4.3.0.tar.gz" +MD5SUM="6eb042f887e7cf011f5c6e5b4f852d44" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-django" +REQUIRES="python3-hatchling python3-django" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/fabric/README b/python/fabric/README deleted file mode 100644 index 8e80ced49b..0000000000 --- a/python/fabric/README +++ /dev/null @@ -1,3 +0,0 @@ -Fabric is a Python (2.5-2.7) library and command-line tool -for streamlining the use of SSH for application deployment -or systems administration tasks. diff --git a/python/fabric/fabric.info b/python/fabric/fabric.info deleted file mode 100644 index 4517639293..0000000000 --- a/python/fabric/fabric.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="fabric" -VERSION="1.13.2" -HOMEPAGE="http://www.fabfile.org/" -DOWNLOAD="https://pypi.python.org/packages/2d/f8/8d847b77164b73e70a728f536c805adfe69a3f04772ee7b7dd917763a1c4/Fabric-1.13.2.tar.gz" -MD5SUM="e8a954f72abe0e9cf779b8c2e975b7b6" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python2-paramiko" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/fabric/slack-desc b/python/fabric/slack-desc deleted file mode 100644 index 353eab3cd0..0000000000 --- a/python/fabric/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------------------------------------------------------| -fabric: fabric (tool for remote execution and deployment) -fabric: -fabric: Fabric is a Python (2.5-2.7) library and command-line tool for -fabric: streamlining the use of SSH for application deployment or systems -fabric: administration tasks. -fabric: -fabric: Homepage: http://www.fabfile.org/ -fabric: -fabric: -fabric: -fabric: diff --git a/python/freetype-py/changelog b/python/freetype-py/changelog deleted file mode 100644 index 74d2604464..0000000000 --- a/python/freetype-py/changelog +++ /dev/null @@ -1,6 +0,0 @@ -Changelog for freetype-py SlackBuild Script --------------------------------------------------------------------- - -10/06/2023: - -submitted to SlackBuilds.org diff --git a/python/freetype-py/freetype-py.SlackBuild b/python/freetype-py/freetype-py.SlackBuild index 7347e9a4ca..785740ae68 100644 --- a/python/freetype-py/freetype-py.SlackBuild +++ b/python/freetype-py/freetype-py.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for freetype-py -# Copyright 2023 Vijay Marcel +# Copyright 2023-2024 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=freetype-py -VERSION=${VERSION:-2.4.0} +VERSION=${VERSION:-2.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -82,20 +79,15 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; export SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} - python3 -m build --wheel --skip-dependency-check --no-isolation -PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python3 -m installer --destdir="$PKG" dist/*.whl - -cd doc -make singlehtml -cd .. +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.txt README.rst NOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/_build/* $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -av LICENSE.txt README.rst NOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -av doc 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 {} \+ diff --git a/python/freetype-py/freetype-py.info b/python/freetype-py/freetype-py.info index f3b4bc1298..d5e5506963 100644 --- a/python/freetype-py/freetype-py.info +++ b/python/freetype-py/freetype-py.info @@ -1,10 +1,10 @@ PRGNAM="freetype-py" -VERSION="2.4.0" +VERSION="2.5.1" HOMEPAGE="https://github.com/rougier/freetype-py" -DOWNLOAD="https://github.com/rougier/freetype-py/archive/v2.4.0/freetype-py-2.4.0.tar.gz" -MD5SUM="74f8356993d6496216afcd6adf0d0a8d" +DOWNLOAD="https://github.com/rougier/freetype-py/archive/v2.5.1/freetype-py-2.5.1.tar.gz" +MD5SUM="8d78d77df035d5133473be4a3125e09b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="Sphinx sphinx-rtd-theme" +REQUIRES="python3-build python3-wheel" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/gunicorn/gunicorn.SlackBuild b/python/gunicorn/gunicorn.SlackBuild index 3aff3a8ea5..46db2aef69 100644 --- a/python/gunicorn/gunicorn.SlackBuild +++ b/python/gunicorn/gunicorn.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gunicorn -# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2016-2024 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=gunicorn -VERSION=${VERSION:-20.1.0} +VERSION=${VERSION:-22.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/gunicorn/gunicorn.info b/python/gunicorn/gunicorn.info index adaf475a12..d8f62aee72 100644 --- a/python/gunicorn/gunicorn.info +++ b/python/gunicorn/gunicorn.info @@ -1,10 +1,10 @@ PRGNAM="gunicorn" -VERSION="20.1.0" +VERSION="22.0.0" HOMEPAGE="https://gunicorn.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/28/5b/0d1f0296485a6af03366604142ea8f19f0833894db3512a40ed07b2a56dd/gunicorn-20.1.0.tar.gz" -MD5SUM="db8a7c5c2064000af70286534803bf1d" +DOWNLOAD="https://files.pythonhosted.org/packages/1e/88/e2f93c5738a4c1f56a458fc7a5b1676fc31dcdbb182bef6b40a141c17d66/gunicorn-22.0.0.tar.gz" +MD5SUM="c02e8493f941ebeddad35788f427aba2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/html2text/html2text.SlackBuild b/python/html2text/html2text.SlackBuild index 50a6a5a9c2..306eac94db 100644 --- a/python/html2text/html2text.SlackBuild +++ b/python/html2text/html2text.SlackBuild @@ -24,6 +24,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20240814 bkw: update for v2024.2.26. # 20200203 bkw: # - new maintainer # - i486 => i586 @@ -35,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=html2text -VERSION=${VERSION:-2020.1.16} +VERSION=${VERSION:-2024.2.26} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/html2text/html2text.info b/python/html2text/html2text.info index 1e6fcc1fc6..f9cabbe1ae 100644 --- a/python/html2text/html2text.info +++ b/python/html2text/html2text.info @@ -1,8 +1,8 @@ PRGNAM="html2text" -VERSION="2020.1.16" +VERSION="2024.2.26" HOMEPAGE="https://github.com/Alir3z4/html2text" -DOWNLOAD="https://github.com/Alir3z4/html2text/archive/2020.1.16/html2text-2020.1.16.tar.gz" -MD5SUM="1581148a70b6963216c2a3deaa3c3870" +DOWNLOAD="https://github.com/Alir3z4/html2text/archive/2024.2.26/html2text-2024.2.26.tar.gz" +MD5SUM="af81376e5368d8f4311cb342c8e96b2c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/humanize/humanize.SlackBuild b/python/humanize/humanize.SlackBuild index 0fa2cb7577..8a8f5185d4 100644 --- a/python/humanize/humanize.SlackBuild +++ b/python/humanize/humanize.SlackBuild @@ -79,6 +79,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/instaloader/README b/python/instaloader/README new file mode 100644 index 0000000000..5419057fab --- /dev/null +++ b/python/instaloader/README @@ -0,0 +1,13 @@ +Instaloader is a tool to download pictures (or videos) along with their +captions and other metadata from Instagram. + +What it do and is: + * downloads public and private profiles, hashtags, user stories, feeds + and saved media, + * downloads comments, geotags and captions of each post, + * automatically detects profile name changes and renames the target + directory accordingly, + * allows fine-grained customization of filters and where to store + downloaded media, + * automatically resumes previously-interrupted download iterations, + * is free open source software written in Python. diff --git a/python/instaloader/instaloader.SlackBuild b/python/instaloader/instaloader.SlackBuild new file mode 100644 index 0000000000..920b383227 --- /dev/null +++ b/python/instaloader/instaloader.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/bash + +# Slackware build script for instaloader + +# Copyright 2024 G. Galdini <jake@dioniso.com.br> Brazil +# 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=instaloader +VERSION=${VERSION:-4.13.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS.md CODE_OF_CONDUCT.md 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/instaloader/instaloader.info b/python/instaloader/instaloader.info new file mode 100644 index 0000000000..b0deb9a69a --- /dev/null +++ b/python/instaloader/instaloader.info @@ -0,0 +1,10 @@ +PRGNAM="instaloader" +VERSION="4.13.1" +HOMEPAGE="https://instaloader.github.io" +DOWNLOAD="https://github.com/instaloader/instaloader/archive/v4.13.1/instaloader-4.13.1.tar.gz" +MD5SUM="324fa74c8914dba3dfeb6dc2045d696f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="G. Galdini" +EMAIL="jake@dioniso.com.br" diff --git a/python/PyColorizer/slack-desc b/python/instaloader/slack-desc index 5a0d166400..96d7984b00 100644 --- a/python/PyColorizer/slack-desc +++ b/python/instaloader/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -PyColorizer: PyColorizer (Add color in your shell) -PyColorizer: -PyColorizer: ANSII Color formatting for output in terminal. -PyColorizer: -PyColorizer: Homepage: https://github.com/PierreRambaud/color -PyColorizer: -PyColorizer: -PyColorizer: -PyColorizer: -PyColorizer: -PyColorizer: +instaloader: instaloader (Tool for manipulate Instagram) +instaloader: +instaloader: Download pictures (or videos) along with their captions and other +instaloader: metadata from Instagram. +instaloader: +instaloader: Homepage: https://instaloader.github.io +instaloader: +instaloader: +instaloader: +instaloader: +instaloader: diff --git a/python/ipython/ipython.info b/python/ipython/ipython.info index 4fe95b7419..eb1352e149 100644 --- a/python/ipython/ipython.info +++ b/python/ipython/ipython.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipython/ipython-8.18. MD5SUM="b56b71635168357dc94ac384b0a78f0c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-decorator python3-jedi python3-pexpect python3-matplotlib-inline pickleshare python3-prompt_toolkit backcall python3-stack_data typing-extensions python3-exceptiongroup" +REQUIRES="python3-decorator python3-jedi python3-pexpect python3-matplotlib-inline pickleshare python3-prompt_toolkit backcall python3-stack_data python3-typing-extensions python3-exceptiongroup" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/ipython_genutils/ipython_genutils.SlackBuild b/python/ipython_genutils/ipython_genutils.SlackBuild deleted file mode 100644 index d0bc9991e4..0000000000 --- a/python/ipython_genutils/ipython_genutils.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/bash - -# Slackware build script for ipython_genutils - -# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2022 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=ipython_genutils -VERSION=${VERSION:-0.2.0} -BUILD=${BUILD:-3} -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} - -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 -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.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/jedi/README b/python/jedi/README deleted file mode 100644 index 71abdb4efa..0000000000 --- a/python/jedi/README +++ /dev/null @@ -1,3 +0,0 @@ -Jedi is an autocompletion tool for Python that can be used in -IDEs/editors. Jedi works. Jedi is fast. It understands all of -the basic Python syntax elements including many builtin functions. diff --git a/python/jedi/jedi.SlackBuild b/python/jedi/jedi.SlackBuild deleted file mode 100644 index 1b99d376f0..0000000000 --- a/python/jedi/jedi.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for jedi - -# Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece -# 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=jedi -VERSION=${VERSION:-0.14.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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.rst *.txt $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/jedi/jedi.info b/python/jedi/jedi.info deleted file mode 100644 index 73e00ebd00..0000000000 --- a/python/jedi/jedi.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="jedi" -VERSION="0.14.0" -HOMEPAGE="https://github.com/davidhalter/jedi" -DOWNLOAD="https://files.pythonhosted.org/packages/eb/3b/300fd8107e30f7b957a1dc1ef7f67cd382802aaf6be361022f039d95c130/jedi-0.14.0.tar.gz" -MD5SUM="8845cbe6ae3c4e667e7c7239afcbd70b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3-parso" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/jedi/slack-desc b/python/jedi/slack-desc deleted file mode 100644 index 77e93cf86c..0000000000 --- a/python/jedi/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------------------------------------------------------| -jedi: jedi (Autocompletion tool for Python) -jedi: -jedi: Jedi is an autocompletion tool for Python that can be used in -jedi: IDEs/editors. Jedi works. Jedi is fast. It understands all of the -jedi: basic Python syntax elements including many builtin functions. -jedi: -jedi: Homepage: https://github.com/davidhalter/jedi -jedi: -jedi: -jedi: -jedi: diff --git a/python/jellyfish/Cargo-toml.patch b/python/jellyfish/Cargo-toml.patch deleted file mode 100644 index be934640c8..0000000000 --- a/python/jellyfish/Cargo-toml.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/Cargo.toml b/Cargo.toml -index 6f9bf52..2deead4 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -20,6 +20,7 @@ unicode-segmentation = "^1.6.0" - unicode-normalization = "^0.1" - smallvec = "1.10.0" - ahash = "0.8.3" -+syn = "2.0.37" - - [dev-dependencies] - csv = "1.1" diff --git a/python/jellyfish/jellyfish.SlackBuild b/python/jellyfish/jellyfish.SlackBuild index 7946abf87d..d1d2535d57 100644 --- a/python/jellyfish/jellyfish.SlackBuild +++ b/python/jellyfish/jellyfish.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jellyfish -VERSION=${VERSION:-1.0.3} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,9 +85,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -# patch Cargo.toml to include missing dep when using filtered sources -patch --no-backup-if-mismatch -Np1 < $CWD/Cargo-toml.patch - # prevent cargo from using the network. # this only works because we have a vendored sources tarball with # everything cargo would have downloaded. @@ -106,7 +103,8 @@ fi PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ -python3 -m build --no-isolation +# building from sdist is broken with python3-maturin-1.7.0 +python3 -m build --wheel --no-isolation python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/jellyfish/jellyfish.info b/python/jellyfish/jellyfish.info index b739c73c80..bb6eee646c 100644 --- a/python/jellyfish/jellyfish.info +++ b/python/jellyfish/jellyfish.info @@ -1,10 +1,10 @@ PRGNAM="jellyfish" -VERSION="1.0.3" +VERSION="1.1.0" HOMEPAGE="https://github.com/sunlightlabs/jellyfish" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-1.0.3.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/jellyfish-vendored-sources-1.0.3-1.tar.xz" -MD5SUM="badb0546de65d66a07f7f7bf7ae3eabf \ - a738e2f93dbd44deb8fa54c1b184fa9b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-1.1.0.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/jellyfish-vendored-sources-1.1.0-1.tar.xz" +MD5SUM="40022ca4173441d95665568adb5f277b \ + 7fc47cc4f769ba858e703084a78aea40" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin" diff --git a/python/jsonpointer/jsonpointer.SlackBuild b/python/jsonpointer/jsonpointer.SlackBuild index 2492f90641..bfc8039a49 100644 --- a/python/jsonpointer/jsonpointer.SlackBuild +++ b/python/jsonpointer/jsonpointer.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jsonpointer -VERSION=${VERSION:-2.4} +VERSION=${VERSION:-3.0.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/jsonpointer/jsonpointer.info b/python/jsonpointer/jsonpointer.info index 7af7a83bd7..346a1a40f5 100644 --- a/python/jsonpointer/jsonpointer.info +++ b/python/jsonpointer/jsonpointer.info @@ -1,8 +1,8 @@ PRGNAM="jsonpointer" -VERSION="2.4" +VERSION="3.0.0" HOMEPAGE="https://pypi.org/project/jsonpointer/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonpointer/jsonpointer-2.4.tar.gz" -MD5SUM="16d785130e5ff235e4ae336eaa611e13" +DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonpointer/jsonpointer-3.0.0.tar.gz" +MD5SUM="9a0b3e940bbd65f544f41018a904991f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/kaptan/kaptan.SlackBuild b/python/kaptan/kaptan.SlackBuild index 9bcd133cb2..fd00747f06 100644 --- a/python/kaptan/kaptan.SlackBuild +++ b/python/kaptan/kaptan.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for kaptan -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 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=kaptan -VERSION=${VERSION:-0.5.12} +VERSION=${VERSION:-0.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python2 setup.py install --root=$PKG python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/kaptan/kaptan.info b/python/kaptan/kaptan.info index be309c1025..a7341c67ee 100644 --- a/python/kaptan/kaptan.info +++ b/python/kaptan/kaptan.info @@ -1,10 +1,10 @@ PRGNAM="kaptan" -VERSION="0.5.12" +VERSION="0.6.0" HOMEPAGE="https://github.com/emre/kaptan" -DOWNLOAD="https://files.pythonhosted.org/packages/94/64/f492edfcac55d4748014b5c9f9a90497325df7d97a678c5d56443f881b7a/kaptan-0.5.12.tar.gz" -MD5SUM="a58cba3a3f975d5765ce0befef7d8825" +DOWNLOAD="https://files.pythonhosted.org/packages/ca/c8/3569c90535df1b7c6079c75b7fd3f304d6ec8ee1626855d37ca137409ba2/kaptan-0.6.0.tar.gz" +MD5SUM="2d3b4256cface38bf9bd6c2d871da493" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python2-PyYAML" +REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/mando/README b/python/mando/README deleted file mode 100644 index a941d55a7e..0000000000 --- a/python/mando/README +++ /dev/null @@ -1,2 +0,0 @@ -mando is a wrapper around argparse, allowing you to write complete -CLI applications in seconds while maintaining all the flexibility. diff --git a/python/mando/mando.SlackBuild b/python/mando/mando.SlackBuild deleted file mode 100644 index d95b078064..0000000000 --- a/python/mando/mando.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for mando - -# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece -# 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=mando -VERSION=${VERSION:-0.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 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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG -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 PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/mando/mando.info b/python/mando/mando.info deleted file mode 100644 index b038a3d9a6..0000000000 --- a/python/mando/mando.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="mando" -VERSION="0.4" -HOMEPAGE="https://mando.readthedocs.org/" -DOWNLOAD="https://pypi.python.org/packages/2b/52/684d9ab8c2ccfb611275f2e44d3ebc76a6a6c56f4afacd2e91237fa07ec3/mando-0.4.tar.gz" -MD5SUM="1d3fe2ab518830d8984218d7b01b4631" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="Sphinx" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/mando/slack-desc b/python/mando/slack-desc deleted file mode 100644 index d528db6298..0000000000 --- a/python/mando/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------------------------------------------------------| -mando: mando (Create Python CLI apps) -mando: -mando: mando is a wrapper around argparse, and allows you to write complete -mando: CLI applications in seconds while maintaining all the flexibility. -mando: -mando: Homepage: https://mando.readthedocs.org/ -mando: -mando: -mando: -mando: -mando: diff --git a/python/minidb/minidb.SlackBuild b/python/minidb/minidb.SlackBuild index a901c2b672..2437c47f38 100644 --- a/python/minidb/minidb.SlackBuild +++ b/python/minidb/minidb.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for minidb -# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2016-2024 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=minidb -VERSION=${VERSION:-2.0.6} +VERSION=${VERSION:-2.0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/minidb/minidb.info b/python/minidb/minidb.info index 91cdb290fa..a3d73e6aad 100644 --- a/python/minidb/minidb.info +++ b/python/minidb/minidb.info @@ -1,8 +1,8 @@ PRGNAM="minidb" -VERSION="2.0.6" +VERSION="2.0.8" HOMEPAGE="https://thp.io/2010/minidb/" -DOWNLOAD="https://github.com/thp/minidb/archive/2.0.6/minidb-2.0.6.tar.gz" -MD5SUM="0dddddfd5c433ad5441df3b7b21a6f19" +DOWNLOAD="https://github.com/thp/minidb/archive/2.0.8/minidb-2.0.8.tar.gz" +MD5SUM="4b35a5a24fc3dfe2f763e504ca66816c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/monty/monty.SlackBuild b/python/monty/monty.SlackBuild index 353b872b7d..49bb91935d 100644 --- a/python/monty/monty.SlackBuild +++ b/python/monty/monty.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for monty -# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 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=monty -VERSION=${VERSION:-2022.9.9} +VERSION=${VERSION:-2024.5.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,13 +79,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 --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.rst PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.rst 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/monty/monty.info b/python/monty/monty.info index 9e28dc45a4..3e4dcf20e0 100644 --- a/python/monty/monty.info +++ b/python/monty/monty.info @@ -1,10 +1,10 @@ PRGNAM="monty" -VERSION="2022.9.9" +VERSION="2024.5.15" HOMEPAGE="https://github.com/materialsvirtuallab/monty" -DOWNLOAD="https://files.pythonhosted.org/packages/3d/23/c8894953f21267a0f6ab6360665aef137562c112284ce68a8803f6ec9436/monty-2022.9.9.tar.gz" -MD5SUM="daef8fc3b65453eb7027816bf6466894" +DOWNLOAD="https://files.pythonhosted.org/packages/ae/35/f47e80a6082b27475db29bbf485fb6b214e254db64c5866e1665cf9e6600/monty-2024.5.15.tar.gz" +MD5SUM="c582c55302876fcfdf0cc5f6e29d3963" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/more-itertools/more-itertools.SlackBuild b/python/more-itertools/more-itertools.SlackBuild index ad2e75c84c..5497caf053 100644 --- a/python/more-itertools/more-itertools.SlackBuild +++ b/python/more-itertools/more-itertools.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for more-itertools -# Copyright 2018 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2018-2024 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=more-itertools VERSION=${VERSION:-4.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,12 +79,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/more-itertools/more-itertools.info b/python/more-itertools/more-itertools.info index e7a5a4d6b1..80d50239b5 100644 --- a/python/more-itertools/more-itertools.info +++ b/python/more-itertools/more-itertools.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/munch/README b/python/munch/README index 7826fec661..42ddc061a3 100644 --- a/python/munch/README +++ b/python/munch/README @@ -1,5 +1,3 @@ Munch implements a Python dictionary that provides attribute-style access (a la JavaScript objects). Munch is a fork of David Schoonover's Bunch package. - -Munch will make use PyYAML and python3-PyYAML if they are installed. diff --git a/python/munch/munch.SlackBuild b/python/munch/munch.SlackBuild index 4a2b27b91e..ddeda23ee0 100644 --- a/python/munch/munch.SlackBuild +++ b/python/munch/munch.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for munch # Copyright 2016-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.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=munch -VERSION=${VERSION:-2.5.0} +VERSION=${VERSION:-4.0.0} 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 @@ -50,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 @@ -79,6 +63,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ + python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/munch/munch.info b/python/munch/munch.info index 74bbe7886f..daf79e95b4 100644 --- a/python/munch/munch.info +++ b/python/munch/munch.info @@ -1,10 +1,10 @@ PRGNAM="munch" -VERSION="2.5.0" +VERSION="4.0.0" HOMEPAGE="https://github.com/Infinidat/munch" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/munch/munch-2.5.0.tar.gz" -MD5SUM="ed84c3718416c8d4d03d0a6ef46e8e0c" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/munch/munch-4.0.0.tar.gz" +MD5SUM="4e70cf760e3b81dcaa6050803c1dbd72" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python2-pbr" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/mypy/mypy.SlackBuild b/python/mypy/mypy.SlackBuild index db07edb032..efe1f4eb5c 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.10.0} +VERSION=${VERSION:-1.11.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/mypy/mypy.info b/python/mypy/mypy.info index 075f53638a..505606844c 100644 --- a/python/mypy/mypy.info +++ b/python/mypy/mypy.info @@ -1,10 +1,10 @@ PRGNAM="mypy" -VERSION="1.10.0" +VERSION="1.11.2" HOMEPAGE="https://github.com/python/mypy" -DOWNLOAD="https://files.pythonhosted.org/packages/c3/b6/297734bb9f20ddf5e831cf4a83f422ddef5a29a33463999f0959d9cdc2df/mypy-1.10.0.tar.gz" -MD5SUM="fc3dad1171168682b7ddd185cba15cca" +DOWNLOAD="https://files.pythonhosted.org/packages/5c/86/5d7cbc4974fd564550b80fbb8103c05501ea11aa7835edf3351d90095896/mypy-1.11.2.tar.gz" +MD5SUM="2d9412e8d8d778842ef73ea89f954e26" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="typing-extensions mypy_extensions" +REQUIRES="python3-typing-extensions mypy_extensions" MAINTAINER="Tim Dickson" EMAIL="dickson.tim@googlemail.com" diff --git a/python/numpydoc/README b/python/numpydoc/README index 8a191c2f72..47e5dd0544 100644 --- a/python/numpydoc/README +++ b/python/numpydoc/README @@ -2,3 +2,6 @@ Sphinx extension to support docstrings in Numpy format. Numpy's documentation uses several custom extensions to Sphinx. These are shipped in this numpydoc package, in case you want to make use of them in third-party projects. + +numpydoc 1.6.0 is the last available version for Slackware 15.0. Newer +versions require Sphinx >= 6. diff --git a/python/numpydoc/numpydoc.SlackBuild b/python/numpydoc/numpydoc.SlackBuild index 561a1b7962..fa510cd48c 100644 --- a/python/numpydoc/numpydoc.SlackBuild +++ b/python/numpydoc/numpydoc.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for numpydoc -# Copyright 2015-2021 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2024 Isaac Yu <isaacyu@protonmail.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=numpydoc -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.6.0} 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 @@ -50,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 @@ -79,9 +63,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 +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 \ +find $PKG -print1 | 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 diff --git a/python/numpydoc/numpydoc.info b/python/numpydoc/numpydoc.info index fb2fb9a65c..7ef048b630 100644 --- a/python/numpydoc/numpydoc.info +++ b/python/numpydoc/numpydoc.info @@ -1,10 +1,10 @@ PRGNAM="numpydoc" -VERSION="1.1.0" +VERSION="1.6.0" HOMEPAGE="https://github.com/numpy/numpydoc" -DOWNLOAD="https://files.pythonhosted.org/packages/3d/fb/a70f636102045fc646656f2221c7fcdf92f7a9d71ba7c9875a949a58b3e8/numpydoc-1.1.0.tar.gz" -MD5SUM="2f05c4592e007b7a1fa37ddcb7e0e91b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-1.6.0.tar.gz" +MD5SUM="227e5a257f4bfe488a257d963c2df5bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="Sphinx" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +REQUIRES="python3-setuptools-opt Sphinx python3-tabulate" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/path.py/README b/python/path.py/README deleted file mode 100644 index 6d8a3a2c3b..0000000000 --- a/python/path.py/README +++ /dev/null @@ -1,3 +0,0 @@ -path.py implements a path objects as first-class entities, -allowing common operations on files to be invoked on those -path objects directly. diff --git a/python/path.py/path.py.SlackBuild b/python/path.py/path.py.SlackBuild deleted file mode 100644 index d67251e457..0000000000 --- a/python/path.py/path.py.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for path.py - -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece -# 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=path.py -VERSION=${VERSION:-11.0.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 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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG -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.rst CHANGES.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/path.py/path.py.info b/python/path.py/path.py.info deleted file mode 100644 index ab6185845d..0000000000 --- a/python/path.py/path.py.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="path.py" -VERSION="11.0.1" -HOMEPAGE="https://github.com/jaraco/path.py" -DOWNLOAD="https://pypi.python.org/packages/c0/8e/737f0e163c74ae0fc54ae3004843f6b630f6b29c83fe0d3c59e715e3d6f0/path.py-11.0.1.tar.gz" -MD5SUM="de65181c0efc12efc34d1ff1a0b1edfe" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python2-setuptools-scm" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/path.py/slack-desc b/python/path.py/slack-desc deleted file mode 100644 index c85172b889..0000000000 --- a/python/path.py/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------------------------------------------------------| -path.py: path.py (A module wrapper for os.path) -path.py: -path.py: path.py implements a path objects as first-class entities, -path.py: allowing common operations on files to be invoked on those -path.py: path objects directly. -path.py: -path.py: Homepage: https://github.com/jaraco/path.py -path.py: -path.py: -path.py: -path.py: diff --git a/python/pelican/pelican.info b/python/pelican/pelican.info index c3312f61db..c0f09ad816 100644 --- a/python/pelican/pelican.info +++ b/python/pelican/pelican.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pelican/pelican-4.8.0 MD5SUM="ca1169eeed239f82c3402af27b0aece7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="feedgenerator Unidecode python3-blinker pytz python3-dateutil python3-rich" +REQUIRES="feedgenerator Unidecode python3-blinker python3-pytz python3-dateutil python3-rich" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/pendulum/README b/python/pendulum/README deleted file mode 100644 index 41e4340bdc..0000000000 --- a/python/pendulum/README +++ /dev/null @@ -1 +0,0 @@ -Handle datetimes, timedeltas and timezones in a more natural fashion. diff --git a/python/pendulum/pendulum.SlackBuild b/python/pendulum/pendulum.SlackBuild deleted file mode 100644 index f38cf345f6..0000000000 --- a/python/pendulum/pendulum.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for pendulum - -# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece -# 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=pendulum -VERSION=${VERSION:-2.0.3} -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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/pendulum/pendulum.info b/python/pendulum/pendulum.info deleted file mode 100644 index 25db651663..0000000000 --- a/python/pendulum/pendulum.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pendulum" -VERSION="2.0.3" -HOMEPAGE="https://pendulum.eustace.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/c9/ec/93ed35ccd2b654b22992c78ed5e42e9061aa376b554f89e1d1db54b6c12a/pendulum-2.0.3.tar.gz" -MD5SUM="cc82dda147a51156a5a81817d58500f5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python2-dateutil pytzdata" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/pendulum/slack-desc b/python/pendulum/slack-desc deleted file mode 100644 index 00120d4f30..0000000000 --- a/python/pendulum/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------------------------------------------------------| -pendulum: pendulum (Python datetimes made easy) -pendulum: -pendulum: Handle datetimes, timedeltas and timezones in a more natural fashion. -pendulum: -pendulum: Homepage: https://pendulum.eustace.io/ -pendulum: -pendulum: -pendulum: -pendulum: -pendulum: -pendulum: diff --git a/python/pilkit/README b/python/pilkit/README deleted file mode 100644 index 20d41940ee..0000000000 --- a/python/pilkit/README +++ /dev/null @@ -1 +0,0 @@ -A collection of utilities and processors for the Python Imaging Libary. diff --git a/python/pilkit/pilkit.SlackBuild b/python/pilkit/pilkit.SlackBuild deleted file mode 100644 index f70c27f422..0000000000 --- a/python/pilkit/pilkit.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for pilkit - -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece -# 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=pilkit -VERSION=${VERSION:-2.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} - -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 || tar xvf $CWD/$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 {} \; - -python 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 AUTHORS 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/pilkit/pilkit.info b/python/pilkit/pilkit.info deleted file mode 100644 index c83bf69162..0000000000 --- a/python/pilkit/pilkit.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pilkit" -VERSION="2.0" -HOMEPAGE="https://github.com/matthewwithanm/pilkit/" -DOWNLOAD="https://github.com/matthewwithanm/pilkit/archive/2.0/pilkit-2.0.tar.gz" -MD5SUM="2ca2718b278b911f06f0d405dfcf6434" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/pilkit/slack-desc b/python/pilkit/slack-desc deleted file mode 100644 index 2080607d66..0000000000 --- a/python/pilkit/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------------------------------------------------------| -pilkit: pilkit (A collection of utilities and processors for Imaging Libary) -pilkit: -pilkit: PILKit is a collection of utilities for working with PIL (the Python -pilkit: Imaging Library). -pilkit: -pilkit: Homepage: https://github.com/matthewwithanm/pilkit/ -pilkit: -pilkit: -pilkit: -pilkit: -pilkit: diff --git a/python/pillowfight/README b/python/pillowfight/README deleted file mode 100644 index 598342a8c8..0000000000 --- a/python/pillowfight/README +++ /dev/null @@ -1,15 +0,0 @@ -Pillow is a replacement for PIL that works as a drop-in replacement. -Unlike PIL, it's actively maintained and easy to install. It's pretty -great. There's only one problem, which is that users must first -uninstall PIL before installing Pillow, as they share a namespace. - -This makes it very hard for Python modules or products that need to -run on a variety of configurations to easily depend on either PIL -or Pillow without inevitably breaking something (perhaps in subtle -ways). That makes it hard to safely transition. - -This package aims to "solve" that by providing a single dependency -that can intelligently depend on either PIL or Pillow, based on what's -already on the system. Packages that still need to work if PIL is -installed, but aim to transition to Pillow, can simply depend on the -pillowfight package. diff --git a/python/pillowfight/pillowfight.SlackBuild b/python/pillowfight/pillowfight.SlackBuild deleted file mode 100644 index 4707e9f47b..0000000000 --- a/python/pillowfight/pillowfight.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for pillowfight - -# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece -# 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=pillowfight -VERSION=${VERSION:-0.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -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 {} \; - -python 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.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/pillowfight/pillowfight.info b/python/pillowfight/pillowfight.info deleted file mode 100644 index ad5d3e472d..0000000000 --- a/python/pillowfight/pillowfight.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pillowfight" -VERSION="0.2" -HOMEPAGE="https://github.com/beanbaginc/pillowfight" -DOWNLOAD="https://pypi.python.org/packages/69/a3/47d229ad4a1fa90dc550ffee9f400e71c902e879780dbf77f8ab032d9d33/pillowfight-0.2.tar.gz" -MD5SUM="5f5df64de2e2bf7599460da08dfca08d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/pillowfight/slack-desc b/python/pillowfight/slack-desc deleted file mode 100644 index ba2fce6d50..0000000000 --- a/python/pillowfight/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------------------------------------------------------| -pillowfight: pillowfight (transition from PIL to Pillow) -pillowfight: -pillowfight: Pillow is a replacement for PIL that works as a drop-in replacement. -pillowfight: Unlike PIL, it's actively maintained and easy to install. It's -pillowfight: pretty great. There's only one problem, which is that users must -pillowfight: first uninstall PIL before installing Pillow, as they share a -pillowfight: namespace. -pillowfight: -pillowfight: Homepage: https://github.com/beanbaginc/pillowfight -pillowfight: -pillowfight: diff --git a/python/plaso/plaso.info b/python/plaso/plaso.info index e698108b4a..26fee549c2 100644 --- a/python/plaso/plaso.info +++ b/python/plaso/plaso.info @@ -5,6 +5,6 @@ DOWNLOAD="https://linuxleo.com/Source/plaso-20230717.tar.gz" MD5SUM="57e8bf97ab04fe81194cf4d97913a8e8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="dfvfs artifacts acstore python3-bencode python3-dateutil python3-defusedxml dfwinreg python3-lz4 pefile python3-psutil python3-pyzmq pytz libcaes libesedb libevt libevtx libfwsi liblnk libmsiecf libolecf libscca redis-py python3-yara XlsxWriter" +REQUIRES="dfvfs artifacts acstore python3-bencode python3-dateutil python3-defusedxml dfwinreg python3-lz4 pefile python3-psutil python3-pyzmq python3-pytz libcaes libesedb libevt libevtx libfwsi liblnk libmsiecf libolecf libscca redis-py python3-yara XlsxWriter" MAINTAINER="Barry J. Grundy" EMAIL="bgrundy<at>linuxleo.com" diff --git a/python/prompt_toolkit/README b/python/prompt_toolkit/README deleted file mode 100644 index 5f781a1d91..0000000000 --- a/python/prompt_toolkit/README +++ /dev/null @@ -1,3 +0,0 @@ -Library for building powerful interactive command lines in Python. -prompt_toolkit could be a replacement for GNU readline, but it can -be much more than that. diff --git a/python/prompt_toolkit/prompt_toolkit.SlackBuild b/python/prompt_toolkit/prompt_toolkit.SlackBuild deleted file mode 100644 index 6bc5e19ffc..0000000000 --- a/python/prompt_toolkit/prompt_toolkit.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for prompt_toolkit - -# Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece -# 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=prompt_toolkit -VERSION=${VERSION:-2.0.10} -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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/prompt_toolkit/prompt_toolkit.info b/python/prompt_toolkit/prompt_toolkit.info deleted file mode 100644 index e8e53c1bee..0000000000 --- a/python/prompt_toolkit/prompt_toolkit.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="prompt_toolkit" -VERSION="2.0.10" -HOMEPAGE="https://github.com/jonathanslenders/python-prompt-toolkit" -DOWNLOAD="https://files.pythonhosted.org/packages/0c/37/7ad3bf3c6dbe96facf9927ddf066fdafa0f86766237cff32c3c7355d3b7c/prompt_toolkit-2.0.10.tar.gz" -MD5SUM="5016c523e603cd7119644fbc0f00ce53" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="wcwidth" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/purl/README b/python/purl/README deleted file mode 100644 index f952015bcd..0000000000 --- a/python/purl/README +++ /dev/null @@ -1,4 +0,0 @@ -An immutable URL class for easy URL-building and manipulation. - -A simple, immutable URL class with a clean API for interrogation -and manipulation. Supports Python 2.6, 2.7 and 3.3. diff --git a/python/purl/purl.SlackBuild b/python/purl/purl.SlackBuild deleted file mode 100644 index d37c540624..0000000000 --- a/python/purl/purl.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for purl - -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece -# 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=purl -VERSION=${VERSION:-1.5} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -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 {} \; - -python 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.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/purl/purl.info b/python/purl/purl.info deleted file mode 100644 index c8fd3e074b..0000000000 --- a/python/purl/purl.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="purl" -VERSION="1.5" -HOMEPAGE="https://github.com/codeinthehole/purl" -DOWNLOAD="https://files.pythonhosted.org/packages/b8/f7/eb108f39ffcbebd6a1cc1030b912640fc28edb0146e8658b6a1aa60f1060/purl-1.5.tar.gz" -MD5SUM="2a10782a6f0c771f3f3319956d41f7ff" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/purl/slack-desc b/python/purl/slack-desc deleted file mode 100644 index b093f1bfb8..0000000000 --- a/python/purl/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------------------------------------------------------| -purl: purl (An immutable URL class for easy URL-building and manipulation) -purl: -purl: A simple, immutable URL class with a clean API for interrogation and -purl: manipulation. Supports Python 2.6, 2.7 and 3.3. -purl: -purl: -purl: -purl: -purl: Homepage: https://github.com/codeinthehole/purl -purl: -purl: diff --git a/python/pyOpenSSL/pyOpenSSL.SlackBuild b/python/pyOpenSSL/pyOpenSSL.SlackBuild index 03a3265baf..376779dc16 100644 --- a/python/pyOpenSSL/pyOpenSSL.SlackBuild +++ b/python/pyOpenSSL/pyOpenSSL.SlackBuild @@ -30,7 +30,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyOpenSSL -VERSION=${VERSION:-24.1.0} +SRCNAM=pyopenssl +VERSION=${VERSION:-24.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,28 +53,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 . \ diff --git a/python/pyOpenSSL/pyOpenSSL.info b/python/pyOpenSSL/pyOpenSSL.info index 30b46497c6..bc73e8973e 100644 --- a/python/pyOpenSSL/pyOpenSSL.info +++ b/python/pyOpenSSL/pyOpenSSL.info @@ -1,8 +1,8 @@ PRGNAM="pyOpenSSL" -VERSION="24.1.0" +VERSION="24.2.1" HOMEPAGE="https://pypi.python.org/pypi/pyOpenSSL" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyopenssl/pyOpenSSL-24.1.0.tar.gz" -MD5SUM="ba225e73975dce72113048c7eca05281" +DOWNLOAD="https://files.pythonhosted.org/packages/5d/70/ff56a63248562e77c0c8ee4aefc3224258f1856977e0c1472672b62dadb8/pyopenssl-24.2.1.tar.gz" +MD5SUM="4e41c41b8a14ac141dde132c348aaf5d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cryptography" diff --git a/python/pycxx/pycxx.SlackBuild b/python/pycxx/pycxx.SlackBuild index 17dcb24833..62bd541231 100644 --- a/python/pycxx/pycxx.SlackBuild +++ b/python/pycxx/pycxx.SlackBuild @@ -76,7 +76,7 @@ python setup.py build python setup.py install --root=$PKG # installer is totally broken -cp -av CXX $PKG/usr/include/python`python -c 'import sys; print sys.version[:3]'`/ +cp -av CXX $PKG/usr/include/python$( python -c 'import sys; print sys.version[:3]' )/ mkdir -p $PKG/usr/share/CXX cp -av Src/* $PKG/usr/share/CXX/ # fix even more broken include statements diff --git a/python/pyelftools/pyelftools.SlackBuild b/python/pyelftools/pyelftools.SlackBuild index a84b8f42ef..98b91747a1 100644 --- a/python/pyelftools/pyelftools.SlackBuild +++ b/python/pyelftools/pyelftools.SlackBuild @@ -6,12 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240814 bkw: updated for v0.31. # 20231120 bkw: updated for v0.30. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyelftools -VERSION=${VERSION:-0.30} +VERSION=${VERSION:-0.31} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pyelftools/pyelftools.info b/python/pyelftools/pyelftools.info index 2ea7d07b41..26fe4751f9 100644 --- a/python/pyelftools/pyelftools.info +++ b/python/pyelftools/pyelftools.info @@ -1,8 +1,8 @@ PRGNAM="pyelftools" -VERSION="0.30" +VERSION="0.31" HOMEPAGE="https://pypi.org/project/pyelftools/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-0.30.tar.gz" -MD5SUM="2b4f82fd30436834b9357a5e74b8ceb7" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-0.31.tar.gz" +MD5SUM="abd09b11e10bf32bfa6cf968b7a41e57" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/pyfiglet/pyfiglet.SlackBuild b/python/pyfiglet/pyfiglet.SlackBuild index 9260b3b684..0adc2a38de 100644 --- a/python/pyfiglet/pyfiglet.SlackBuild +++ b/python/pyfiglet/pyfiglet.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyfiglet -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyfiglet -VERSION=${VERSION:-0.7.5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.0.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,7 +62,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -73,7 +72,7 @@ gzip -9 doc/$PRGNAM.1 install -D -m0644 doc/$PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README doc/figfont.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md doc/figfont.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/pyfiglet/pyfiglet.info b/python/pyfiglet/pyfiglet.info index 89ad2f7a89..9590065ae7 100644 --- a/python/pyfiglet/pyfiglet.info +++ b/python/pyfiglet/pyfiglet.info @@ -1,10 +1,10 @@ PRGNAM="pyfiglet" -VERSION="0.7.5" +VERSION="1.0.2" HOMEPAGE="https://github.com/pwaller/pyfiglet" -DOWNLOAD="https://pypi.python.org/packages/source/p/pyfiglet/pyfiglet-0.7.5.tar.gz" -MD5SUM="aa956f7af37926ab4b739c9ef87f3808" +DOWNLOAD="https://files.pythonhosted.org/packages/a0/f2/2649b2acace54f861eccd4ab163bfd914236fc93ddb1df02dad2a2552b14/pyfiglet-1.0.2.tar.gz" +MD5SUM="0cb431d9b6b11de98a635f5466455a63" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/pyotp/pyotp.info b/python/pyotp/pyotp.info index 32b1d7df1a..5fb1776df5 100644 --- a/python/pyotp/pyotp.info +++ b/python/pyotp/pyotp.info @@ -6,5 +6,5 @@ MD5SUM="e8967efbff11497e3700ccfc150496ad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dominik Drobek" -EMAIL="dominik.drobek (at) o2.pl" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere.com" diff --git a/python/python-PySnooper/python-PySnooper.SlackBuild b/python/python-PySnooper/python-PySnooper.SlackBuild index fa75dbc5c6..50a1783cd9 100644 --- a/python/python-PySnooper/python-PySnooper.SlackBuild +++ b/python/python-PySnooper/python-PySnooper.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-PySnooper -# Copyright 2023 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2023-2024 Dimitris Zlatanidis Orestiada, Greece # Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-PySnooper -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,6 +82,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i "30d" setup.cfg + python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python-PySnooper/python-PySnooper.info b/python/python-PySnooper/python-PySnooper.info index 41993b21be..941be8a3c2 100644 --- a/python/python-PySnooper/python-PySnooper.info +++ b/python/python-PySnooper/python-PySnooper.info @@ -1,10 +1,10 @@ PRGNAM="python-PySnooper" -VERSION="1.1.1" +VERSION="1.2.0" HOMEPAGE="https://github.com/cool-RR/PySnooper" -DOWNLOAD="https://files.pythonhosted.org/packages/e9/82/3f6d0f73c9fd19bf07953d788e34d1c64c766a03e54625bf9fe98d730822/PySnooper-1.1.1.tar.gz" -MD5SUM="8f64bea7d65ed9c617509ddaff60bba2" +DOWNLOAD="https://files.pythonhosted.org/packages/66/08/474e7891ff7107328404b46f42cdc9bf58b99404924d35933037cd0fb145/PySnooper-1.2.0.tar.gz" +MD5SUM="9b2fe060f46b0c3054e0c30b38cc313a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python-djvulibre/python-djvulibre.SlackBuild b/python/python-djvulibre/python-djvulibre.SlackBuild index 658e561412..64c468f29f 100644 --- a/python/python-djvulibre/python-djvulibre.SlackBuild +++ b/python/python-djvulibre/python-djvulibre.SlackBuild @@ -6,6 +6,15 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240816 bkw: Note to self: +# https://github.com/FriedrichFroebel/python-djvulibre/ has a version +# 0.9.0 of this, which is shipped by a few distros. However, we cannot +# upgrade to this version, because it drops python 2 support. The only +# reason python-djvulibre is in our repo is because it's a dep of +# djvusmooth, which is in python 2. +# This build should probably be split into python2- and python3-, but +# we don't even need the python3- one (yet?) + # 20230108 bkw: update for v0.8.8. # 20211205 bkw: diff --git a/python/python-evdev/slack-desc b/python/python-evdev/slack-desc deleted file mode 100644 index 5a3bdeeb99..0000000000 --- a/python/python-evdev/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-evdev: python-evdev (Python input event library) -python-evdev: -python-evdev: python-evdev allows Python programs running in Linux to read and -python-evdev: write input events. It provides bindings to both the generic input -python-evdev: event interface (evdev) and the userspace input subsystem (Uinput). -python-evdev: -python-evdev: -python-evdev: -python-evdev: -python-evdev: -python-evdev: diff --git a/python/python-importlib_metadata/python-importlib_metadata.SlackBuild b/python/python-importlib_metadata/python-importlib_metadata.SlackBuild index f84063c950..7722f201a8 100644 --- a/python/python-importlib_metadata/python-importlib_metadata.SlackBuild +++ b/python/python-importlib_metadata/python-importlib_metadata.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-importlib_metadata -VERSION=${VERSION:-7.1.0} +VERSION=${VERSION:-8.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-importlib_metadata/python-importlib_metadata.info b/python/python-importlib_metadata/python-importlib_metadata.info index 1f0efb96cd..be5354362a 100644 --- a/python/python-importlib_metadata/python-importlib_metadata.info +++ b/python/python-importlib_metadata/python-importlib_metadata.info @@ -1,8 +1,8 @@ PRGNAM="python-importlib_metadata" -VERSION="7.1.0" +VERSION="8.5.0" HOMEPAGE="https://importlib-metadata.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-7.1.0.tar.gz" -MD5SUM="aa0201673a892c5925ffb3622a6adeaa" +DOWNLOAD="https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-8.5.0.tar.gz" +MD5SUM="9bb42414dd82839d7694332868f2420a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-zipp" diff --git a/python/python-krb5/python-krb5.SlackBuild b/python/python-krb5/python-krb5.SlackBuild index a63bb10ff1..98273c2e7c 100644 --- a/python/python-krb5/python-krb5.SlackBuild +++ b/python/python-krb5/python-krb5.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-krb5 -# Copyright 2023 Thibaut Notteboom, Paris, FRANCE +# Copyright 2023-2024 Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-krb5 -VERSION=${VERSION:-0.5.0} +VERSION=${VERSION:-0.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -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 diff --git a/python/python-krb5/python-krb5.info b/python/python-krb5/python-krb5.info index 7fdb7e7e2b..3228363f1e 100644 --- a/python/python-krb5/python-krb5.info +++ b/python/python-krb5/python-krb5.info @@ -1,8 +1,8 @@ PRGNAM="python-krb5" -VERSION="0.5.0" +VERSION="0.6.0" HOMEPAGE="https://github.com/jborean93/pykrb5" -DOWNLOAD="https://github.com/jborean93/pykrb5/archive/v0.5.0/pykrb5-0.5.0.tar.gz" -MD5SUM="bace0738b8a319d7115d5543fcec7c7e" +DOWNLOAD="https://github.com/jborean93/pykrb5/archive/v0.6.0/pykrb5-0.6.0.tar.gz" +MD5SUM="70d84fbe05c248fc76527a57443b428e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python-mysql-replication/python-mysql-replication.SlackBuild b/python/python-mysql-replication/python-mysql-replication.SlackBuild index 8617797374..df6b14b1a4 100644 --- a/python/python-mysql-replication/python-mysql-replication.SlackBuild +++ b/python/python-mysql-replication/python-mysql-replication.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-mysql-replication -SRCNAM=mysql-replication -VERSION=${VERSION:-1.0.8} +SRCNAM=mysql_replication +VERSION=${VERSION:-1.0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-mysql-replication/python-mysql-replication.info b/python/python-mysql-replication/python-mysql-replication.info index 4cc3d64634..42744fc9a1 100644 --- a/python/python-mysql-replication/python-mysql-replication.info +++ b/python/python-mysql-replication/python-mysql-replication.info @@ -1,8 +1,8 @@ PRGNAM="python-mysql-replication" -VERSION="1.0.8" +VERSION="1.0.9" HOMEPAGE="https://github.com/julien-duponchelle/python-mysql-replication" -DOWNLOAD="https://files.pythonhosted.org/packages/65/3b/74c995490ee88c906df4008a6a30c3cb0f7426edd8ed2257faaab27273d7/mysql-replication-1.0.8.tar.gz" -MD5SUM="9004112b965b8dcd72c30c46e1be5ca0" +DOWNLOAD="https://files.pythonhosted.org/packages/57/af/e23aa4e52a094e865554998112f0d94751072b1f076f16ac970ce93e6002/mysql_replication-1.0.9.tar.gz" +MD5SUM="c937a241e848b5d316bba88b06279119" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pymysql" diff --git a/python/python-zipp/python-zipp.SlackBuild b/python/python-zipp/python-zipp.SlackBuild index 109e154d76..f119a7c05a 100644 --- a/python/python-zipp/python-zipp.SlackBuild +++ b/python/python-zipp/python-zipp.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-zipp -VERSION=${VERSION:-3.18.1} +VERSION=${VERSION:-3.20.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-zipp/python-zipp.info b/python/python-zipp/python-zipp.info index 549d99aa42..e4190bc0db 100644 --- a/python/python-zipp/python-zipp.info +++ b/python/python-zipp/python-zipp.info @@ -1,8 +1,8 @@ PRGNAM="python-zipp" -VERSION="3.18.1" +VERSION="3.20.1" HOMEPAGE="https://github.com/jaraco/zipp" -DOWNLOAD="https://files.pythonhosted.org/packages/source/z/zipp/zipp-3.18.1.tar.gz" -MD5SUM="35d5af28231d6464fe2c2bea05d306dd" +DOWNLOAD="https://files.pythonhosted.org/packages/source/z/zipp/zipp-3.20.1.tar.gz" +MD5SUM="bf44bcdda7374f5818061a0a5fedb25c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python2-magick/python2-magick.SlackBuild b/python/python2-magick/python2-magick.SlackBuild index 9bc50c709e..baf1451b41 100644 --- a/python/python2-magick/python2-magick.SlackBuild +++ b/python/python2-magick/python2-magick.SlackBuild @@ -82,8 +82,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CPPFLAGS="`python-config --includes`" \ -PYTHON_LIB="`python-config --libs`" \ +CPPFLAGS="$( python-config --includes )" \ +PYTHON_LIB="$( python-config --libs )" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/python/python2-psutil/python2-psutil.SlackBuild b/python/python2-psutil/python2-psutil.SlackBuild index 65082e16a3..76726a06db 100644 --- a/python/python2-psutil/python2-psutil.SlackBuild +++ b/python/python2-psutil/python2-psutil.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python2-psutil SRCNAM=${PRGNAM#python2-*} -VERSION=${VERSION:-5.9.8} +VERSION=${VERSION:-6.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python2-psutil/python2-psutil.info b/python/python2-psutil/python2-psutil.info index aaf847bab4..85ca75b625 100644 --- a/python/python2-psutil/python2-psutil.info +++ b/python/python2-psutil/python2-psutil.info @@ -1,8 +1,8 @@ PRGNAM="python2-psutil" -VERSION="5.9.8" +VERSION="6.0.0" HOMEPAGE="https://github.com/giampaolo/psutil" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-5.9.8.tar.gz" -MD5SUM="7bb9d4378bd451765b705946a3541393" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-6.0.0.tar.gz" +MD5SUM="5874bd773d2fe7da3c0817424f383033" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/pytz/README b/python/python2-pytz/README index 354f8ea02c..354f8ea02c 100644 --- a/python/pytz/README +++ b/python/python2-pytz/README diff --git a/python/pytz/pytz.SlackBuild b/python/python2-pytz/python2-pytz.SlackBuild index 2d4da870cc..f11d44449d 100644 --- a/python/pytz/pytz.SlackBuild +++ b/python/python2-pytz/python2-pytz.SlackBuild @@ -24,12 +24,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=pytz +PRGNAM=python2-pytz VERSION=${VERSION:-2021.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pytz + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -55,9 +57,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -65,8 +67,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG -python3 setup.py install --root=$PKG +python2 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/pytz/pytz.info b/python/python2-pytz/python2-pytz.info index 6c4d2d5455..09cac0fab2 100644 --- a/python/pytz/pytz.info +++ b/python/python2-pytz/python2-pytz.info @@ -1,4 +1,4 @@ -PRGNAM="pytz" +PRGNAM="python2-pytz" VERSION="2021.3" HOMEPAGE="https://launchpad.net/pytz" DOWNLOAD="https://files.pythonhosted.org/packages/e3/8e/1cde9d002f48a940b9d9d38820aaf444b229450c0854bdf15305ce4a3d1a/pytz-2021.3.tar.gz" diff --git a/python/python2-pytz/slack-desc b/python/python2-pytz/slack-desc new file mode 100644 index 0000000000..50a032f116 --- /dev/null +++ b/python/python2-pytz/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-pytz: python2-pytz (World timezone definitions for Python) +python2-pytz: +python2-pytz: pytz brings the Olson tz database into Python. This library allows +python2-pytz: accurate and cross platform timezone calculations using Python 2.3 +python2-pytz: or higher. It also solves the issue of ambiguous times at the end +python2-pytz: of daylight savings, which you can read more about in the Python +python2-pytz: Library Reference (datetime.tzinfo). +python2-pytz: +python2-pytz: Homepage: https://launchpad.net/pytz +python2-pytz: +python2-pytz: diff --git a/python/python2-unicodecsv/README b/python/python2-unicodecsv/README deleted file mode 100644 index 65f114ab66..0000000000 --- a/python/python2-unicodecsv/README +++ /dev/null @@ -1,2 +0,0 @@ -Python2's stdlib csv module is nice, but it doesn't support unicode. -This module is a drop-in replacement which *does*. diff --git a/python/python2-unicodecsv/python2-unicodecsv.info b/python/python2-unicodecsv/python2-unicodecsv.info deleted file mode 100644 index 41eed8b4c8..0000000000 --- a/python/python2-unicodecsv/python2-unicodecsv.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python2-unicodecsv" -VERSION="0.14.1" -HOMEPAGE="https://github.com/jdunck/python-unicodecsv" -DOWNLOAD="https://pypi.python.org/packages/source/u/unicodecsv/unicodecsv-0.14.1.tar.gz" -MD5SUM="c18ffe8ded29a4f429224877b2b34252" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python2-yara/python2-yara.SlackBuild b/python/python2-yara/python2-yara.SlackBuild index 1d7f5facbc..a58966c27f 100644 --- a/python/python2-yara/python2-yara.SlackBuild +++ b/python/python2-yara/python2-yara.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Slackware build script for yara-python -# Copyright 2017-2023 Barry Grundy <bgrundy[at]linuxleo.com> +# Copyright 2017-2024 Barry Grundy <bgrundy[at]linuxleo.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,13 +21,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# updated - v4.3.1, July 2023, Barry J. Grundy. +# updated - v4.5.0, August 2024, Barry J. Grundy. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python2-yara SRCNAM=yara-python -VERSION=${VERSION:-4.3.1} +VERSION=${VERSION:-4.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python2-yara/python2-yara.info b/python/python2-yara/python2-yara.info index 1c6b04acfe..ae3881008a 100644 --- a/python/python2-yara/python2-yara.info +++ b/python/python2-yara/python2-yara.info @@ -1,8 +1,8 @@ PRGNAM="python2-yara" -VERSION="4.3.1" +VERSION="4.5.0" HOMEPAGE="https://github.com/VirusTotal/yara-python" -DOWNLOAD="https://github.com/VirusTotal/yara-python/archive/v4.3.1/yara-python-4.3.1.tar.gz" -MD5SUM="3232b37fa7b7edb0f76d977767ed5bbf" +DOWNLOAD="https://github.com/VirusTotal/yara-python/archive/v4.5.0/yara-python-4.5.0.tar.gz" +MD5SUM="658f457665c1f0a4f4242b94a236d36d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="yara" diff --git a/python/python3-BTrees/python3-BTrees.SlackBuild b/python/python3-BTrees/python3-BTrees.SlackBuild index 3d23e3e78b..b90d9b60cb 100644 --- a/python/python3-BTrees/python3-BTrees.SlackBuild +++ b/python/python3-BTrees/python3-BTrees.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-BTrees SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.2} +VERSION=${VERSION:-6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-BTrees/python3-BTrees.info b/python/python3-BTrees/python3-BTrees.info index 88eac0b5d8..ffad0a87e1 100644 --- a/python/python3-BTrees/python3-BTrees.info +++ b/python/python3-BTrees/python3-BTrees.info @@ -1,8 +1,8 @@ PRGNAM="python3-BTrees" -VERSION="5.2" +VERSION="6.0" HOMEPAGE="https://github.com/zopefoundation/BTrees" -DOWNLOAD="https://pypi.python.org/packages/source/B/BTrees/BTrees-5.2.tar.gz" -MD5SUM="71b67855d9ed0ac416f62218ec9333da" +DOWNLOAD="https://pypi.python.org/packages/source/B/BTrees/BTrees-6.0.tar.gz" +MD5SUM="f48da3b13040324f3ad5db51347687e4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-persistent" diff --git a/python/python3-Flask-RESTX/python3-Flask-RESTX.info b/python/python3-Flask-RESTX/python3-Flask-RESTX.info index bf1bee35c5..6e5be3393b 100644 --- a/python/python3-Flask-RESTX/python3-Flask-RESTX.info +++ b/python/python3-Flask-RESTX/python3-Flask-RESTX.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-restx/flask-res MD5SUM="262984a0c902db0b6f4afb86a69ea40e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-aniso8601 Flask python3-jsonschema pytz importlib-resources" +REQUIRES="python3-aniso8601 Flask python3-jsonschema python3-pytz importlib-resources" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-Flask-RESTful/python3-Flask-RESTful.info b/python/python3-Flask-RESTful/python3-Flask-RESTful.info index 92c3de04f8..5d87601720 100644 --- a/python/python3-Flask-RESTful/python3-Flask-RESTful.info +++ b/python/python3-Flask-RESTful/python3-Flask-RESTful.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-restful/Flask-R MD5SUM="2a1f17e91c526a03bf721e178d8fce94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-aniso8601 Flask pytz" +REQUIRES="python3-aniso8601 Flask python3-pytz" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-Flask-WTF/python3-Flask-WTF.SlackBuild b/python/python3-Flask-WTF/python3-Flask-WTF.SlackBuild index 4abaef1c47..8ae8b11703 100644 --- a/python/python3-Flask-WTF/python3-Flask-WTF.SlackBuild +++ b/python/python3-Flask-WTF/python3-Flask-WTF.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-Flask-WTF -# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -65,6 +65,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-PyGithub/python3-PyGithub.SlackBuild b/python/python3-PyGithub/python3-PyGithub.SlackBuild index b31decfb32..0bf13c9591 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.3.0} +VERSION=${VERSION:-2.4.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 670528744a..172089e7d7 100644 --- a/python/python3-PyGithub/python3-PyGithub.info +++ b/python/python3-PyGithub/python3-PyGithub.info @@ -1,8 +1,8 @@ PRGNAM="python3-PyGithub" -VERSION="2.3.0" +VERSION="2.4.0" HOMEPAGE="https://pygithub.readthedocs.io/" -DOWNLOAD="https://github.com/PyGithub/PyGithub/archive/refs/tags/v2.3.0/PyGithub-2.3.0.tar.gz" -MD5SUM="7d1facc215e638a7e5aab6169771733d" +DOWNLOAD="https://github.com/PyGithub/PyGithub/archive/refs/tags/v2.4.0/PyGithub-2.4.0.tar.gz" +MD5SUM="b5117899abe43f5d3bd858cecb840b0e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-deprecated python3-pyjwt pynacl python3-setuptools-scm-opt" diff --git a/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild b/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild index bb0690c9d7..89c74cdaab 100644 --- a/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild +++ b/python/python3-PyMuPDF/python3-PyMuPDF.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-PyMuPDF -VERSION=${VERSION:-1.24.2} +VERSION=${VERSION:-1.24.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-PyMuPDF/python3-PyMuPDF.info b/python/python3-PyMuPDF/python3-PyMuPDF.info index 69ed3b9c11..a8d41d76a3 100644 --- a/python/python3-PyMuPDF/python3-PyMuPDF.info +++ b/python/python3-PyMuPDF/python3-PyMuPDF.info @@ -1,10 +1,10 @@ PRGNAM="python3-PyMuPDF" -VERSION="1.24.2" +VERSION="1.24.10" HOMEPAGE="https://github.com/pymupdf/PyMuPDF" -DOWNLOAD="https://github.com/pymupdf/PyMuPDF/archive/1.24.2/PyMuPDF-1.24.2.tar.gz \ - https://mupdf.com/downloads/archive/mupdf-1.24.1-source.tar.lz" -MD5SUM="f78d847b251d46d60ba9ef0a22ba9293 \ - 9bc87d3dd7acbd6f958b65353c73ebc5" +DOWNLOAD="https://github.com/pymupdf/PyMuPDF/archive/1.24.10/PyMuPDF-1.24.10.tar.gz \ + https://mupdf.com/downloads/archive/mupdf-1.24.9-source.tar.lz" +MD5SUM="f25c2be01fb95165ad74f329c070b5cf \ + 72bb7fcb940cacd28e640ea86f081895" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-psutil %README%" diff --git a/python/python3-PyPDF2/python3-PyPDF2.info b/python/python3-PyPDF2/python3-PyPDF2.info index b99493a1fb..e78b95c0eb 100644 --- a/python/python3-PyPDF2/python3-PyPDF2.info +++ b/python/python3-PyPDF2/python3-PyPDF2.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.io/packages/source/P/PyPDF2/PyPDF2-2.12.1.tar.gz" MD5SUM="e1b9b9f91a57f76f9cce8f6763cddedb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wheel typing-extensions" +REQUIRES="python3-wheel python3-typing-extensions" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/python3-WTForms/python3-WTForms.SlackBuild b/python/python3-WTForms/python3-WTForms.SlackBuild index 9b450c890c..f9f03a21b9 100644 --- a/python/python3-WTForms/python3-WTForms.SlackBuild +++ b/python/python3-WTForms/python3-WTForms.SlackBuild @@ -65,6 +65,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-aiofiles/python3-aiofiles.SlackBuild b/python/python3-aiofiles/python3-aiofiles.SlackBuild index 7ca0edefab..30901cbdbd 100644 --- a/python/python3-aiofiles/python3-aiofiles.SlackBuild +++ b/python/python3-aiofiles/python3-aiofiles.SlackBuild @@ -77,6 +77,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/python3-aiohappyeyeballs/README b/python/python3-aiohappyeyeballs/README new file mode 100644 index 0000000000..20b5090284 --- /dev/null +++ b/python/python3-aiohappyeyeballs/README @@ -0,0 +1,4 @@ +python3-aiohappyeyeballs (Happy Eyeballs for asyncio) + +This library exists to allow connecting with Happy Eyeballs when you +already have a list of addrinfo and not a DNS name. diff --git a/python/python3-aiohappyeyeballs/python3-aiohappyeyeballs.SlackBuild b/python/python3-aiohappyeyeballs/python3-aiohappyeyeballs.SlackBuild new file mode 100644 index 0000000000..ac29ff2441 --- /dev/null +++ b/python/python3-aiohappyeyeballs/python3-aiohappyeyeballs.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-aiohappyeyeballs + +# Copyright 2024 by Jay Lanagan (j@lngn.net), Detroit, MI, 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-aiohappyeyeballs +VERSION=${VERSION:-2.4.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=aiohappyeyeballs + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir=$PKG dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a 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-aiohappyeyeballs/python3-aiohappyeyeballs.info b/python/python3-aiohappyeyeballs/python3-aiohappyeyeballs.info new file mode 100644 index 0000000000..f09eef93d8 --- /dev/null +++ b/python/python3-aiohappyeyeballs/python3-aiohappyeyeballs.info @@ -0,0 +1,10 @@ +PRGNAM="python3-aiohappyeyeballs" +VERSION="2.4.0" +HOMEPAGE="https://aiohappyeyeballs.readthedocs.io/en/stable/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohappyeyeballs/aiohappyeyeballs-2.4.0.tar.gz" +MD5SUM="3c9a696b2d2808a3a633743965415d4d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-wheel python3-poetry-core" +MAINTAINER="Jay Lanagan" +EMAIL="j@lngn.net" diff --git a/python/python3-aiohappyeyeballs/slack-desc b/python/python3-aiohappyeyeballs/slack-desc new file mode 100644 index 0000000000..d10cc23f6d --- /dev/null +++ b/python/python3-aiohappyeyeballs/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-aiohappyeyeballs: python3-aiohappyeyeballs (Happy Eyeballs for asyncio) +python3-aiohappyeyeballs: +python3-aiohappyeyeballs: This library exists to allow connecting with Happy Eyeballs when you +python3-aiohappyeyeballs: already have a list of addrinfo and not a DNS name. +python3-aiohappyeyeballs: +python3-aiohappyeyeballs: Homepage: https://github.com/aio-libs/aiohappyeyeballs +python3-aiohappyeyeballs: +python3-aiohappyeyeballs: +python3-aiohappyeyeballs: +python3-aiohappyeyeballs: +python3-aiohappyeyeballs: diff --git a/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild b/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild index ed52e2ab74..16889936a3 100644 --- a/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild +++ b/python/python3-aiohttp-socks/python3-aiohttp-socks.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-aiohttp-socks # Copyright 2019-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023 nomnombtc <nomnombtc@arcor.de> +# Copyright 2023-2024 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=python3-aiohttp-socks -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-aiohttp-socks/python3-aiohttp-socks.info b/python/python3-aiohttp-socks/python3-aiohttp-socks.info index de092709fc..dafbb3fe0f 100644 --- a/python/python3-aiohttp-socks/python3-aiohttp-socks.info +++ b/python/python3-aiohttp-socks/python3-aiohttp-socks.info @@ -1,8 +1,8 @@ PRGNAM="python3-aiohttp-socks" -VERSION="0.8.4" +VERSION="0.9.0" HOMEPAGE="https://github.com/romis2012/aiohttp-socks/" -DOWNLOAD="https://github.com/romis2012/aiohttp-socks/archive/v0.8.4/aiohttp-socks-0.8.4.tar.gz" -MD5SUM="157771a68f5db520bb783269b688a719" +DOWNLOAD="https://github.com/romis2012/aiohttp-socks/archive/v0.9.0/aiohttp-socks-0.9.0.tar.gz" +MD5SUM="391fa4d4b06fd877e5ef9de0692718bd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-aiohttp python3-socks" diff --git a/python/python3-aiohttp/python3-aiohttp.SlackBuild b/python/python3-aiohttp/python3-aiohttp.SlackBuild index 1f43b179fd..cbe0b9decd 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.9.5} +VERSION=${VERSION:-3.10.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,7 +65,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +python3 -m build --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-aiohttp/python3-aiohttp.info b/python/python3-aiohttp/python3-aiohttp.info index b17dc44277..8176a58016 100644 --- a/python/python3-aiohttp/python3-aiohttp.info +++ b/python/python3-aiohttp/python3-aiohttp.info @@ -1,10 +1,10 @@ PRGNAM="python3-aiohttp" -VERSION="3.9.5" +VERSION="3.10.5" HOMEPAGE="https://aiohttp.readthedocs.io/en/stable/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.9.5.tar.gz" -MD5SUM="14829a5ea507c8219e3f679fceeb5585" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.10.5.tar.gz" +MD5SUM="29173b702ff6043fa62da8de0795ddea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-async-timeout python3-attrs python3-yarl python3-aiosignal" +REQUIRES="python3-aiohappyeyeballs python3-aiosignal python3-async-timeout python3-attrs python3-yarl" MAINTAINER="Jay Lanagan" EMAIL="j@lngn.net" diff --git a/python/python3-aiosmtpd/python3-aiosmtpd.SlackBuild b/python/python3-aiosmtpd/python3-aiosmtpd.SlackBuild index 2f31f6b220..b6edc2792a 100644 --- a/python/python3-aiosmtpd/python3-aiosmtpd.SlackBuild +++ b/python/python3-aiosmtpd/python3-aiosmtpd.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-aiosmtpd SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.4.5} +VERSION=${VERSION:-1.4.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-aiosmtpd/python3-aiosmtpd.info b/python/python3-aiosmtpd/python3-aiosmtpd.info index ee9c870e35..bbd4b97f0d 100644 --- a/python/python3-aiosmtpd/python3-aiosmtpd.info +++ b/python/python3-aiosmtpd/python3-aiosmtpd.info @@ -1,8 +1,8 @@ PRGNAM="python3-aiosmtpd" -VERSION="1.4.5" +VERSION="1.4.6" HOMEPAGE="https://aiosmtpd.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/a/aiosmtpd/aiosmtpd-1.4.5.tar.gz" -MD5SUM="46a1fc6aa6a548f1231981b2ddacf40c" +DOWNLOAD="https://pypi.python.org/packages/source/a/aiosmtpd/aiosmtpd-1.4.6.tar.gz" +MD5SUM="d9d2a7c9aff2d7a579c6d20777930a71" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-atpublic python3-attrs" diff --git a/python/python3-aksharamukha/README b/python/python3-aksharamukha/README index 9bbd61968b..11a95b9de4 100644 --- a/python/python3-aksharamukha/README +++ b/python/python3-aksharamukha/README @@ -4,3 +4,13 @@ transliteration between the main Indian scripts along with sinhala. Apart from simple mapping of characters it implements various script language-specific conventions.Aksharamukha supports 120 scripts. +Some scripts use diacritics to better represent the phonetics in +english.To transliterate to other language from english Use the +compose function in KDE for easier usage of diacritrics. +you can enable it in systemsettings->Input Devices->Keyboard +->Advanced->select configure keyboard option ->position of compose key. +Then you can select which key you want to activate. + +For example if you enabled RightAlt key, to type á first press +RightAlt key then type '+a you will automatically get á afterwards +the compose key is released. diff --git a/python/python3-aksharamukha/python3-aksharamukha.SlackBuild b/python/python3-aksharamukha/python3-aksharamukha.SlackBuild index 66290962da..0bfd757fe5 100644 --- a/python/python3-aksharamukha/python3-aksharamukha.SlackBuild +++ b/python/python3-aksharamukha/python3-aksharamukha.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-aksharamukha -# Copyright 2023 Vijay Marcel +# Copyright 2023-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-aksharamukha -VERSION=${VERSION:-2.1.2} +VERSION=${VERSION:-2.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,10 +84,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-aksharamukha/python3-aksharamukha.info b/python/python3-aksharamukha/python3-aksharamukha.info index 1af65368de..92e272cc8a 100644 --- a/python/python3-aksharamukha/python3-aksharamukha.info +++ b/python/python3-aksharamukha/python3-aksharamukha.info @@ -1,11 +1,11 @@ PRGNAM="python3-aksharamukha" -VERSION="2.1.2" +VERSION="2.2.2" HOMEPAGE="https://github.com/virtualvinodh/aksharamukha-python" -DOWNLOAD="https://pypi.io/packages/source/a/aksharamukha/aksharamukha-2.1.2.tar.gz \ +DOWNLOAD="https://pypi.io/packages/source/a/aksharamukha/aksharamukha-2.2.2.tar.gz \ https://www.gnu.org/licenses/agpl-3.0.txt \ https://www.gnu.org/licenses/gpl-3.0.txt \ https://github.com/lecramyajiv/akshara-doc/archive/1.0/akshara-doc-1.0.tar.gz" -MD5SUM="4a272bc8daa35e0df603ab48dbe9d5b4 \ +MD5SUM="bb477c7d9181f4982fb8dc7f6635c3d6 \ eb1e647870add0502f8f010b19de32af \ 1ebbd3e34237af26da5dc08a4e440464 \ 1d287bc9c57a0b65489754c30917264d" diff --git a/python/python3-alembic/python3-alembic.SlackBuild b/python/python3-alembic/python3-alembic.SlackBuild index 033c2b0ce1..daec12613f 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.13.1} +VERSION=${VERSION:-1.13.2} 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 99fb6e1707..493afa11ed 100644 --- a/python/python3-alembic/python3-alembic.info +++ b/python/python3-alembic/python3-alembic.info @@ -1,8 +1,8 @@ PRGNAM="python3-alembic" -VERSION="1.13.1" +VERSION="1.13.2" HOMEPAGE="https://pypi.org/project/alembic/" -DOWNLOAD="https://pypi.python.org/packages/source/a/alembic/alembic-1.13.1.tar.gz" -MD5SUM="29579d34ea694627280b52a3d3116664" +DOWNLOAD="https://pypi.python.org/packages/source/a/alembic/alembic-1.13.2.tar.gz" +MD5SUM="0118e72e5ffaf9752d995fa7d6c2a565" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SQLAlchemy" diff --git a/python/python3-annotated-types/python3-annotated-types.SlackBuild b/python/python3-annotated-types/python3-annotated-types.SlackBuild index a62808a952..b65bb2d54b 100644 --- a/python/python3-annotated-types/python3-annotated-types.SlackBuild +++ b/python/python3-annotated-types/python3-annotated-types.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-annotated-types -# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2024 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-annotated-types SRCNAM=annotated_types -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +63,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-annotated-types/python3-annotated-types.info b/python/python3-annotated-types/python3-annotated-types.info index 2209a0f168..14f5c94dfd 100644 --- a/python/python3-annotated-types/python3-annotated-types.info +++ b/python/python3-annotated-types/python3-annotated-types.info @@ -1,10 +1,10 @@ PRGNAM="python3-annotated-types" -VERSION="0.6.0" +VERSION="0.7.0" HOMEPAGE="https://github.com/annotated-types/annotated-types" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/annotated-types/annotated_types-0.6.0.tar.gz" -MD5SUM="5fe2125b08851f0d05a8efad6456861c" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/annotated-types/annotated_types-0.7.0.tar.gz" +MD5SUM="5c943b7c51b0b7dcadf46da4a99c84a1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-hatchling typing-extensions" +REQUIRES="python3-hatchling python3-typing-extensions" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-anyio/python3-anyio.SlackBuild b/python/python3-anyio/python3-anyio.SlackBuild index ece1f69579..c926aa9e7a 100644 --- a/python/python3-anyio/python3-anyio.SlackBuild +++ b/python/python3-anyio/python3-anyio.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-anyio -VERSION=${VERSION:-4.3.0} +VERSION=${VERSION:-4.5.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 4e8728a28d..7dfdc1d676 100644 --- a/python/python3-anyio/python3-anyio.info +++ b/python/python3-anyio/python3-anyio.info @@ -1,8 +1,8 @@ PRGNAM="python3-anyio" -VERSION="4.3.0" +VERSION="4.5.0" HOMEPAGE="https://github.com/agronholm/anyio" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/anyio/anyio-4.3.0.tar.gz" -MD5SUM="1fd5c47374d7a239707f0b5540b00704" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/anyio/anyio-4.5.0.tar.gz" +MD5SUM="83a44288a878a7f97c45f4018b4b82a0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-exceptiongroup python3-sniffio" diff --git a/python/python3-argcomplete/python3-argcomplete.SlackBuild b/python/python3-argcomplete/python3-argcomplete.SlackBuild index 9fc0e02978..f346951733 100644 --- a/python/python3-argcomplete/python3-argcomplete.SlackBuild +++ b/python/python3-argcomplete/python3-argcomplete.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-argcomplete -VERSION=${VERSION:-3.3.0} +VERSION=${VERSION:-3.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-argcomplete/python3-argcomplete.info b/python/python3-argcomplete/python3-argcomplete.info index 8afe1d7f5d..9c557e0a91 100644 --- a/python/python3-argcomplete/python3-argcomplete.info +++ b/python/python3-argcomplete/python3-argcomplete.info @@ -1,8 +1,8 @@ PRGNAM="python3-argcomplete" -VERSION="3.3.0" +VERSION="3.5.0" HOMEPAGE="https://github.com/kislyuk/argcomplete" -DOWNLOAD="https://pypi.io/packages/source/a/argcomplete/argcomplete-3.3.0.tar.gz" -MD5SUM="255e2c9f2cdb18f88d1dc8de9b78a072" +DOWNLOAD="https://pypi.io/packages/source/a/argcomplete/argcomplete-3.5.0.tar.gz" +MD5SUM="5e5bb2e193a5581cb06abae2de3dd3d8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata python3-setuptools-opt" diff --git a/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild b/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild index eca4d0b459..0330792f14 100644 --- a/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild +++ b/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild @@ -67,6 +67,9 @@ find -L . \ export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION +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-astroid/python3-astroid.SlackBuild b/python/python3-astroid/python3-astroid.SlackBuild index ea008a6d25..4f7bbe5381 100644 --- a/python/python3-astroid/python3-astroid.SlackBuild +++ b/python/python3-astroid/python3-astroid.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-astroid SRCNAM=astroid -VERSION=${VERSION:-3.1.0} +VERSION=${VERSION:-3.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-astroid/python3-astroid.info b/python/python3-astroid/python3-astroid.info index 04d884d7ed..98a8dc55ed 100644 --- a/python/python3-astroid/python3-astroid.info +++ b/python/python3-astroid/python3-astroid.info @@ -1,10 +1,10 @@ PRGNAM="python3-astroid" -VERSION="3.1.0" +VERSION="3.2.0" HOMEPAGE="https://github.com/PyCQA/astroid" -DOWNLOAD="https://files.pythonhosted.org/packages/a9/b9/f11533eed9b65606fb02f1b0994d8ed0903358bc55a6b9759e42f1134725/astroid-3.1.0.tar.gz" -MD5SUM="75c5ffd8edd0d2d74a6407db704a2e20" +DOWNLOAD="https://files.pythonhosted.org/packages/b6/e8/f86aa1fd91b7fa5b51ed53c9a06a94dba7cc388b51cb712e8721c41605ef/astroid-3.2.0.tar.gz" +MD5SUM="95091b8798bbffcc43e33a32e274ae26" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-setuptools-opt typing-extensions" +REQUIRES="python3-setuptools-opt python3-typing-extensions" MAINTAINER="Dimitris Zlatanidis" EMAIL="dslackw@gmail.com" diff --git a/python/python3-async-timeout/python3-async-timeout.info b/python/python3-async-timeout/python3-async-timeout.info index c8e0d904db..472a460066 100644 --- a/python/python3-async-timeout/python3-async-timeout.info +++ b/python/python3-async-timeout/python3-async-timeout.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/aio-libs/async-timeout/releases/download/v4.0.3/asy MD5SUM="9bf7b764a7310cb063c1c261c21342e4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="typing-extensions" +REQUIRES="python3-typing-extensions" MAINTAINER="Jay Lanagan" EMAIL="j@lngn.net" diff --git a/python/python3-atpublic/python3-atpublic.SlackBuild b/python/python3-atpublic/python3-atpublic.SlackBuild index 94a9a8c908..481448555d 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:-4.1.0} +VERSION=${VERSION:-5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,6 +59,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) -exec chmod 755 {} \; -o \( -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-atpublic/python3-atpublic.info b/python/python3-atpublic/python3-atpublic.info index 6fb3780047..5ebfae3138 100644 --- a/python/python3-atpublic/python3-atpublic.info +++ b/python/python3-atpublic/python3-atpublic.info @@ -1,8 +1,8 @@ PRGNAM="python3-atpublic" -VERSION="4.1.0" +VERSION="5.0" HOMEPAGE="https://public.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/source/a/atpublic/atpublic-4.1.0.tar.gz" -MD5SUM="5bbc649ac1d650232eac0481c4f1583d" +DOWNLOAD="https://pypi.python.org/packages/source/a/atpublic/atpublic-5.0.tar.gz" +MD5SUM="01c2be00ea984ce9304baede0954fbc6" 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 86e170971c..19b1724551 100644 --- a/python/python3-attrs/python3-attrs.SlackBuild +++ b/python/python3-attrs/python3-attrs.SlackBuild @@ -65,6 +65,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-authheaders/python3-authheaders.SlackBuild b/python/python3-authheaders/python3-authheaders.SlackBuild index 151791b94b..b3030b0278 100644 --- a/python/python3-authheaders/python3-authheaders.SlackBuild +++ b/python/python3-authheaders/python3-authheaders.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-authheaders SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.16.2} +VERSION=${VERSION:-0.16.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-authheaders/python3-authheaders.info b/python/python3-authheaders/python3-authheaders.info index 7e0c417d0f..4839795f00 100644 --- a/python/python3-authheaders/python3-authheaders.info +++ b/python/python3-authheaders/python3-authheaders.info @@ -1,8 +1,8 @@ PRGNAM="python3-authheaders" -VERSION="0.16.2" +VERSION="0.16.3" HOMEPAGE="https://github.com/ValiMail/authentication-headers" -DOWNLOAD="https://pypi.python.org/packages/source/a/authheaders/authheaders-0.16.2.tar.gz" -MD5SUM="603ee21293102e8a3cacd0b3cabe8fcb" +DOWNLOAD="https://pypi.python.org/packages/source/a/authheaders/authheaders-0.16.3.tar.gz" +MD5SUM="64014b9038ee1058ad7bd9f545b5f2a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-authres python3-dkimpy python3-publicsuffix2" diff --git a/python/python3-babel/python3-babel.SlackBuild b/python/python3-babel/python3-babel.SlackBuild index bc8f3ad9e8..29301f9b5d 100644 --- a/python/python3-babel/python3-babel.SlackBuild +++ b/python/python3-babel/python3-babel.SlackBuild @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-babel -VERSION=${VERSION:-2.14.0} -CLDRVER=${CLDRVER:-43.0} +VERSION=${VERSION:-2.15.0} +CLDRVER=${CLDRVER:-44.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-babel/python3-babel.info b/python/python3-babel/python3-babel.info index 9e5f31f41a..69f5af9611 100644 --- a/python/python3-babel/python3-babel.info +++ b/python/python3-babel/python3-babel.info @@ -1,12 +1,12 @@ PRGNAM="python3-babel" -VERSION="2.14.0" +VERSION="2.15.0" HOMEPAGE="http://babel.pocoo.org/" -DOWNLOAD="https://github.com/python-babel/babel/archive/v2.14.0/babel-2.14.0.tar.gz \ - http://unicode.org/Public/cldr/43/cldr-common-43.0.zip" -MD5SUM="6e152ddfd2fbf4ea9c9c6513d23964c0 \ - 29433ac732f0fe62a98b5ab135479162" +DOWNLOAD="https://github.com/python-babel/babel/archive/v2.15.0/babel-2.15.0.tar.gz \ + http://unicode.org/Public/cldr/44/cldr-common-44.0.zip" +MD5SUM="cd0818360a808a42860e95bf3e581530 \ + 75eca6e41976b235512192ecf657908f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pytz" +REQUIRES="python3-pytz" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-babelfish/python3-babelfish.SlackBuild b/python/python3-babelfish/python3-babelfish.SlackBuild index 3725d12903..efabb1706d 100644 --- a/python/python3-babelfish/python3-babelfish.SlackBuild +++ b/python/python3-babelfish/python3-babelfish.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-babelfish -# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 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-babelfish SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.6.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,20 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -76,11 +59,15 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +# to get rid of version warning +sed -i '/^importlib-metadata/ s/4.6/7.1.0/' pyproject.toml -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-babelfish/python3-babelfish.info b/python/python3-babelfish/python3-babelfish.info index d3ab04789f..fd24d42956 100644 --- a/python/python3-babelfish/python3-babelfish.info +++ b/python/python3-babelfish/python3-babelfish.info @@ -1,10 +1,10 @@ PRGNAM="python3-babelfish" -VERSION="0.6.0" +VERSION="0.6.1" HOMEPAGE="https://github.com/Diaoul/babelfish" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/babelfish/babelfish-0.6.0.tar.gz" -MD5SUM="985464e05a7fd275d650347af8aa2439" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/babelfish/babelfish-0.6.1.tar.gz" +MD5SUM="a3ef27e5b12c795d48aa6fa4005d2826" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-poetry-core python-importlib_metadata" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-backports_tarfile/python3-backports_tarfile.SlackBuild b/python/python3-backports_tarfile/python3-backports_tarfile.SlackBuild index 1ee7346e72..c2bf2b8f72 100644 --- a/python/python3-backports_tarfile/python3-backports_tarfile.SlackBuild +++ b/python/python3-backports_tarfile/python3-backports_tarfile.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-backports_tarfile SRCNAM=backports_tarfile -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-backports_tarfile/python3-backports_tarfile.info b/python/python3-backports_tarfile/python3-backports_tarfile.info index d1d48ccd32..a84371b39f 100644 --- a/python/python3-backports_tarfile/python3-backports_tarfile.info +++ b/python/python3-backports_tarfile/python3-backports_tarfile.info @@ -1,8 +1,8 @@ PRGNAM="python3-backports_tarfile" -VERSION="1.1.1" +VERSION="1.2.0" HOMEPAGE="https://github.com/jaraco/backports.tarfile" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/backports_tarfile/backports_tarfile-1.1.1.tar.gz" -MD5SUM="170fa2ce05030f85bf50caf111d83ed4" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/backports_tarfile/backports_tarfile-1.2.0.tar.gz" +MD5SUM="6fa4cba424a2bf48a7764412e9e65dcd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-bcrypt/python3-bcrypt.SlackBuild b/python/python3-bcrypt/python3-bcrypt.SlackBuild index 9d7fc49b58..666a649ed0 100644 --- a/python/python3-bcrypt/python3-bcrypt.SlackBuild +++ b/python/python3-bcrypt/python3-bcrypt.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-bcrypt SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-4.1.2} +VERSION=${VERSION:-4.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -163,7 +163,6 @@ find -L . \ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ - CARGO_HOME=.cargo \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/python/python3-bcrypt/python3-bcrypt.info b/python/python3-bcrypt/python3-bcrypt.info index 00cc577aa8..0428c05a3f 100644 --- a/python/python3-bcrypt/python3-bcrypt.info +++ b/python/python3-bcrypt/python3-bcrypt.info @@ -1,113 +1,117 @@ PRGNAM="python3-bcrypt" -VERSION="4.1.2" +VERSION="4.1.3" HOMEPAGE="https://github.com/pyca/bcrypt/" -DOWNLOAD="https://pypi.python.org/packages/source/b/bcrypt/bcrypt-4.1.2.tar.gz \ - https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \ - https://static.crates.io/crates/base64/base64-0.21.5.crate \ +DOWNLOAD="https://pypi.python.org/packages/source/b/bcrypt/bcrypt-4.1.3.tar.gz \ + https://static.crates.io/crates/autocfg/autocfg-1.3.0.crate \ + https://static.crates.io/crates/base64/base64-0.22.1.crate \ https://static.crates.io/crates/bcrypt-pbkdf/bcrypt-pbkdf-0.10.0.crate \ - https://static.crates.io/crates/bcrypt/bcrypt-0.15.0.crate \ - https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \ + https://static.crates.io/crates/bcrypt/bcrypt-0.15.1.crate \ + https://static.crates.io/crates/bitflags/bitflags-2.5.0.crate \ https://static.crates.io/crates/block-buffer/block-buffer-0.10.4.crate \ https://static.crates.io/crates/blowfish/blowfish-0.9.1.crate \ https://static.crates.io/crates/byteorder/byteorder-1.5.0.crate \ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \ https://static.crates.io/crates/cipher/cipher-0.4.4.crate \ - https://static.crates.io/crates/cpufeatures/cpufeatures-0.2.11.crate \ + https://static.crates.io/crates/cpufeatures/cpufeatures-0.2.12.crate \ https://static.crates.io/crates/crypto-common/crypto-common-0.1.6.crate \ https://static.crates.io/crates/digest/digest-0.10.7.crate \ https://static.crates.io/crates/generic-array/generic-array-0.14.7.crate \ - https://static.crates.io/crates/getrandom/getrandom-0.2.11.crate \ + https://static.crates.io/crates/getrandom/getrandom-0.2.14.crate \ https://static.crates.io/crates/heck/heck-0.4.1.crate \ - https://static.crates.io/crates/indoc/indoc-2.0.4.crate \ + https://static.crates.io/crates/indoc/indoc-2.0.5.crate \ https://static.crates.io/crates/inout/inout-0.1.3.crate \ - https://static.crates.io/crates/libc/libc-0.2.151.crate \ - https://static.crates.io/crates/lock_api/lock_api-0.4.11.crate \ - https://static.crates.io/crates/memoffset/memoffset-0.9.0.crate \ + https://static.crates.io/crates/libc/libc-0.2.154.crate \ + https://static.crates.io/crates/lock_api/lock_api-0.4.12.crate \ + https://static.crates.io/crates/memoffset/memoffset-0.9.1.crate \ https://static.crates.io/crates/once_cell/once_cell-1.19.0.crate \ - https://static.crates.io/crates/parking_lot/parking_lot-0.12.1.crate \ - https://static.crates.io/crates/parking_lot_core/parking_lot_core-0.9.9.crate \ + https://static.crates.io/crates/parking_lot/parking_lot-0.12.2.crate \ + https://static.crates.io/crates/parking_lot_core/parking_lot_core-0.9.10.crate \ https://static.crates.io/crates/pbkdf2/pbkdf2-0.12.2.crate \ - https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.70.crate \ - https://static.crates.io/crates/pyo3-build-config/pyo3-build-config-0.20.0.crate \ - https://static.crates.io/crates/pyo3-ffi/pyo3-ffi-0.20.0.crate \ - https://static.crates.io/crates/pyo3-macros-backend/pyo3-macros-backend-0.20.0.crate \ - https://static.crates.io/crates/pyo3-macros/pyo3-macros-0.20.0.crate \ - https://static.crates.io/crates/pyo3/pyo3-0.20.0.crate \ - https://static.crates.io/crates/quote/quote-1.0.33.crate \ - https://static.crates.io/crates/redox_syscall/redox_syscall-0.4.1.crate \ + https://static.crates.io/crates/portable-atomic/portable-atomic-1.6.0.crate \ + https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.81.crate \ + https://static.crates.io/crates/pyo3-build-config/pyo3-build-config-0.21.2.crate \ + https://static.crates.io/crates/pyo3-ffi/pyo3-ffi-0.21.2.crate \ + https://static.crates.io/crates/pyo3-macros-backend/pyo3-macros-backend-0.21.2.crate \ + https://static.crates.io/crates/pyo3-macros/pyo3-macros-0.21.2.crate \ + https://static.crates.io/crates/pyo3/pyo3-0.21.2.crate \ + https://static.crates.io/crates/quote/quote-1.0.36.crate \ + https://static.crates.io/crates/redox_syscall/redox_syscall-0.5.1.crate \ https://static.crates.io/crates/scopeguard/scopeguard-1.2.0.crate \ https://static.crates.io/crates/sha2/sha2-0.10.8.crate \ - https://static.crates.io/crates/smallvec/smallvec-1.11.2.crate \ + https://static.crates.io/crates/smallvec/smallvec-1.13.2.crate \ https://static.crates.io/crates/subtle/subtle-2.5.0.crate \ - https://static.crates.io/crates/syn/syn-2.0.41.crate \ - https://static.crates.io/crates/target-lexicon/target-lexicon-0.12.12.crate \ + https://static.crates.io/crates/syn/syn-2.0.60.crate \ + https://static.crates.io/crates/target-lexicon/target-lexicon-0.12.14.crate \ https://static.crates.io/crates/typenum/typenum-1.17.0.crate \ https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.12.crate \ https://static.crates.io/crates/unindent/unindent-0.2.3.crate \ https://static.crates.io/crates/version_check/version_check-0.9.4.crate \ https://static.crates.io/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1.crate \ - https://static.crates.io/crates/windows-targets/windows-targets-0.48.5.crate \ - https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.48.5.crate \ - https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.48.5.crate \ - https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.48.5.crate \ - https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.48.5.crate \ - https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.48.5.crate \ - https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.48.5.crate \ - https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.48.5.crate \ + https://static.crates.io/crates/windows-targets/windows-targets-0.52.5.crate \ + https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.52.5.crate \ + https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.52.5.crate \ + https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.52.5.crate \ + https://static.crates.io/crates/windows_i686_gnullvm/windows_i686_gnullvm-0.52.5.crate \ + https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.52.5.crate \ + https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.52.5.crate \ + https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.52.5.crate \ + https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.52.5.crate \ https://static.crates.io/crates/zeroize/zeroize-1.7.0.crate" -MD5SUM="5ac5308e271ad9ad5f5a315e1525532b \ - 05d77ef52e90ad161fdd41b252420467 \ - 577bba6ae4d7493e169ca895141dd106 \ +MD5SUM="30617ec75d7867f586948842030621db \ + 88a8c7336f056de768ee2966cefd8303 \ + 20084c4c04bcc06fd3d7ff662deca706 \ 60cbc9c6df95ebe4e5ecd67569b866a6 \ - 608e105278defb667c2ab921b43443c2 \ - a295edb6953237ebbdfa8e731229f9a3 \ + 22d36854f49eaf43d4c012b414632ceb \ + f3406374808b01be3a263666aa9aa2f5 \ 023b03cf9968b29253a5dfe62051008d \ c0d5296acca72ce01a0058b7b8f56e55 \ 45339d90b2b3a4f123af5ec459954102 \ 74634128440dbc3766bda76fdf0aaa05 \ ef4cc5591659a050ca0de3363b6ab353 \ - e7b31625f54f7c0f141d9bc9701dc389 \ + 162407e4c09897085d00344230f375a0 \ 89e88633cab0e4b6f3d3878b84dffe8b \ 3d62bfbbe08bdcee55fcb8cda85554d9 \ 64a6d8fe0c9a450bcefa41894e17d7ac \ - 3b00daaa372df161c5c8eeaf16a741d1 \ + 8fa6facea904eb4b4c8d2e4eded272fe \ b92fa50f56a1e06a7f1bf665442d4a73 \ - 6fed0a0a2bbb2cfa4ce6783106ee16e7 \ + 3081de27c16d004a798de20d4bb6d314 \ 5f3fd38b7aefc1ca48efe279994953f8 \ - 181cb83a57d327b26ebc21db41b28480 \ - cc1b0e90e372869ad03ef40bd53fa30f \ - fb6241893b457ed69fae5c1ae19920da \ + 0bc840b564ce2b698189d5b204538624 \ + eb44c81f81e4aecdbdbafeac9c0fdcab \ + 1fb91af1c97373201990f1baedc58c35 \ 8390247ae7126c00e162732b249be9d7 \ - 1be45f99109d447849f4244b58c5a470 \ - 7502c2f15026ee3e6a01f57b92942771 \ + 9d6c117b30034665155c9e6852b86e88 \ + fe316e1d51e3dff1e0455d0142dd37e4 \ 8dcc72ff75b917257f9e9bb29de4b9e1 \ - 3f210fd91912a2d7d2f0af5038704d17 \ - 01071a24d0f7d9f95698399fb7ad532f \ - e78a3edcd9bd40910a2ba01cb3d787e7 \ - 8daf9386365063ba1dafc1cc1a690851 \ - c6aa420d2891785cd81452709cb5c93c \ - 8105bb65b6e5c6428f1c4d0debf9e10a \ - 0ddb8bccd3198892d0dd0ec7151f7cd3 \ - ff1d093069cfc9eb161907e17a51208b \ + b9d053b396a8cc2c6632e05985ba2ae1 \ + 11d049cc954c7a9744b9fa85d9596b0c \ + 5be59fce5e8c3c36abf98595ba16e1ed \ + a9a6a8eb929c86a45615784380070f5a \ + f955aa331b1daa8265dd13a976048d1c \ + 32ae58173ef8d72fbd8a5964c28c01bd \ + f092a97f5047a1cfb815f69916256e5d \ + 7267e731f46f52edb7b5304b60982cf4 \ + ea6dadf813d422419f900efa67ed9170 \ f1358be8c98b98837cbd2cf51e75f8b3 \ 289b776935f2184c6ba2974877285013 \ - a88ce3625ee63d53088ad83d8581b368 \ + 50d5a501f911bb592f0dce2d052c2aa8 \ 24e0b498b23c398c49e3af66373c91cc \ - 6f0860e6bd66278b2008e8e55b83fe3f \ - 70018e00fdada95c5bf1629133f07cdc \ + 5f38b77f4cd61a26d90079aaf5ad2257 \ + 1f3035abdc5ab99eeb519a06568d9b01 \ 6ebb8deee5a5a0d1c26b20eeee1926b3 \ ca65153603a1a7240bbd9d2ce19f2d67 \ 812b2b925f9734bbc39717f284bc712b \ d18d362345c4fe512ef67b738b239fb8 \ e972ea58ec203bfa6c79c1207852298b \ - 24c64817e85ef77765ed0f26c31c9b4c \ - dae6d89034a6988042fd8be4cf5e037d \ - de2839e16d9d7a9fd1c397da62f62b4a \ - e0c35ffb8cfdb74a39bf799811f79304 \ - d990172b607020701f9e84ca8e1c043c \ - 0a68848588e847ceccf504891584d00b \ - 45b469ad607b912256b7c80141fa2d17 \ - 7799baff9a5664205d9110a2624e8989 \ + 940f8708332e8e3720266a7bce4d761d \ + 967cf93762a3bc25e18d0b8b7e811b84 \ + 0bc2062598ed9d8ed536e27fddd81ce7 \ + a35e6187f2f41e601cf885c279ebb43e \ + 183b6a856fadbc8f21a6c53ca81155c9 \ + cc1f120172ea435e8ac1e813435bc630 \ + 1dbfec917710e57b574e92effa934924 \ + 3817cf594b24311c4ea944398a58a48d \ + 7cc8e977768423992930663aadcc43dd \ 4ca31ec33e1508b14d3445f19a16ba55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/python/python3-beniget/python3-beniget.SlackBuild b/python/python3-beniget/python3-beniget.SlackBuild index cd290b10e2..239c8223de 100644 --- a/python/python3-beniget/python3-beniget.SlackBuild +++ b/python/python3-beniget/python3-beniget.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-beniget # Copyright 2022 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.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-beniget -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.4.2.post1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-beniget/python3-beniget.info b/python/python3-beniget/python3-beniget.info index 9a15c83a08..73b31ede43 100644 --- a/python/python3-beniget/python3-beniget.info +++ b/python/python3-beniget/python3-beniget.info @@ -1,8 +1,8 @@ PRGNAM="python3-beniget" -VERSION="0.4.1" +VERSION="0.4.2.post1" HOMEPAGE="https://github.com/serge-sans-paille/beniget" -DOWNLOAD="https://github.com/serge-sans-paille/beniget/archive/0.4.1/beniget-0.4.1.tar.gz" -MD5SUM="0b6b55daf2313f04f7759cfeac46a448" +DOWNLOAD="https://github.com/serge-sans-paille/beniget/archive/0.4.2.post1/beniget-0.4.2.post1.tar.gz" +MD5SUM="62db4db6110f945925cbab4aa41e3702" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-gast" diff --git a/python/python3-black/python3-black.SlackBuild b/python/python3-black/python3-black.SlackBuild index 92f9b3028a..28189c53dd 100644 --- a/python/python3-black/python3-black.SlackBuild +++ b/python/python3-black/python3-black.SlackBuild @@ -79,6 +79,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-black/python3-black.info b/python/python3-black/python3-black.info index 93eac072ff..ed7bb46f0f 100644 --- a/python/python3-black/python3-black.info +++ b/python/python3-black/python3-black.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/b/black/black-22.12.0.t MD5SUM="520c6d1854a2a94ea2eae1df86f441b9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-hatch_fancy_pypi_readme click mypy_extensions python3-platformdirs typing-extensions" +REQUIRES="python3-hatch_fancy_pypi_readme click mypy_extensions python3-platformdirs python3-typing-extensions" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-boto3/python3-boto3.SlackBuild b/python/python3-boto3/python3-boto3.SlackBuild index 3343badbf5..c7a0500c75 100644 --- a/python/python3-boto3/python3-boto3.SlackBuild +++ b/python/python3-boto3/python3-boto3.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-boto3 -VERSION=${VERSION:-1.34.14} +VERSION=${VERSION:-1.34.99} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-boto3/python3-boto3.info b/python/python3-boto3/python3-boto3.info index 6d013d3d68..99a3fb7b0a 100644 --- a/python/python3-boto3/python3-boto3.info +++ b/python/python3-boto3/python3-boto3.info @@ -1,8 +1,8 @@ PRGNAM="python3-boto3" -VERSION="1.34.14" +VERSION="1.34.99" HOMEPAGE="https://aws.amazon.com/sdk-for-python/" -DOWNLOAD="https://github.com/boto/boto3/archive/1.34.14/boto3-1.34.14.tar.gz" -MD5SUM="3f35d2664447ec738ac8d5284077edd1" +DOWNLOAD="https://github.com/boto/boto3/archive/1.34.99/boto3-1.34.99.tar.gz" +MD5SUM="584b99efa57fbac24f98dce51dc90ce1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="s3transfer" diff --git a/python/python3-build/python3-build.SlackBuild b/python/python3-build/python3-build.SlackBuild index bed9b2dd61..83f672a6ff 100644 --- a/python/python3-build/python3-build.SlackBuild +++ b/python/python3-build/python3-build.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-build SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-1.2.2} 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 ad5c5be3b2..8aa62b3214 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.1" +VERSION="1.2.2" HOMEPAGE="https://github.com/pypa/build" -DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-1.2.1.tar.gz" -MD5SUM="9675d7b278f4533b9b75701e6e87390b" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-1.2.2.tar.gz" +MD5SUM="f80cc64db8e7fd8f8403a5e8a0562d4d" 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 57d55ea887..6387674289 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.3.3} +VERSION=${VERSION:-5.5.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 6012377ad4..b3b1cd8a06 100644 --- a/python/python3-cachetools/python3-cachetools.info +++ b/python/python3-cachetools/python3-cachetools.info @@ -1,8 +1,8 @@ PRGNAM="python3-cachetools" -VERSION="5.3.3" +VERSION="5.5.0" HOMEPAGE="https://github.com/tkem/cachetools" -DOWNLOAD="https://github.com/tkem/cachetools/archive/refs/tags/v5.3.3/cachetools-5.3.3.tar.gz" -MD5SUM="ff085ed059179cdbec045b5d23b93940" +DOWNLOAD="https://github.com/tkem/cachetools/archive/refs/tags/v5.5.0/cachetools-5.5.0.tar.gz" +MD5SUM="2085804e291965b6d390f52d4000d479" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-cairocffi/python3-cairocffi.SlackBuild b/python/python3-cairocffi/python3-cairocffi.SlackBuild index a8cd54b8af..15866c40e5 100644 --- a/python/python3-cairocffi/python3-cairocffi.SlackBuild +++ b/python/python3-cairocffi/python3-cairocffi.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cairocffi SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.7.0} +VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-cairocffi/python3-cairocffi.info b/python/python3-cairocffi/python3-cairocffi.info index 443405dfff..9ce3384e9e 100644 --- a/python/python3-cairocffi/python3-cairocffi.info +++ b/python/python3-cairocffi/python3-cairocffi.info @@ -1,8 +1,8 @@ PRGNAM="python3-cairocffi" -VERSION="1.7.0" +VERSION="1.7.1" HOMEPAGE="https://github.com/Kozea/cairocffi" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-1.7.0.tar.gz" -MD5SUM="45546b73a7ec182d44340df50b5ce7a3" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-1.7.1.tar.gz" +MD5SUM="8d08a3e885ac61de281992d9ebe72e81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pytest-runner" diff --git a/python/python3-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild index e3080b5df6..efb23e07ed 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:-23.2.3} +VERSION=${VERSION:-24.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +63,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-cattrs/python3-cattrs.info b/python/python3-cattrs/python3-cattrs.info index d4875b9e1e..47964a1d41 100644 --- a/python/python3-cattrs/python3-cattrs.info +++ b/python/python3-cattrs/python3-cattrs.info @@ -1,10 +1,10 @@ PRGNAM="python3-cattrs" -VERSION="23.2.3" +VERSION="24.1.1" HOMEPAGE="https://github.com/python-attrs/cattrs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-23.2.3.tar.gz" -MD5SUM="555a80a76a06708adc793ceab25326b9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-24.1.1.tar.gz" +MD5SUM="b57bb90e1360322c078ba368adfcc68b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="typing-extensions python3-attrs python3-exceptiongroup" +REQUIRES="python3-typing-extensions python3-attrs python3-exceptiongroup" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-celery/python3-celery.info b/python/python3-celery/python3-celery.info index 2337a42ff8..f71ad0e8b2 100644 --- a/python/python3-celery/python3-celery.info +++ b/python/python3-celery/python3-celery.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/c/celery/celery-5.4.0.tar.gz" MD5SUM="77397577d4de615e3abcabe1ea8bc461" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-kombu python3-billiard python3-prompt_toolkit python3-click-didyoumean click-plugins python3-click-repl python3-dateutil typing-extensions tzdata" +REQUIRES="python3-kombu python3-billiard python3-prompt_toolkit python3-click-didyoumean click-plugins python3-click-repl python3-dateutil python3-typing-extensions tzdata" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-click-option-group/README b/python/python3-click-option-group/README new file mode 100644 index 0000000000..5bd26d8f4f --- /dev/null +++ b/python/python3-click-option-group/README @@ -0,0 +1,11 @@ +python3-click-option-group (Option groups missing in Click) + +Click is a package for creating powerful and beautiful command line +interfaces (CLI) in Python, but it has no the functionality for +creating option groups. + +Option groups are convenient mechanism for logical structuring +CLI, also it allows you to set the specific behavior and set the +relationship among grouped options (mutually exclusive options +for example). Moreover, argparse stdlib package contains this +functionality out of the box. diff --git a/python/python3-click-option-group/python3-click-option-group.SlackBuild b/python/python3-click-option-group/python3-click-option-group.SlackBuild new file mode 100644 index 0000000000..19535e3b4e --- /dev/null +++ b/python/python3-click-option-group/python3-click-option-group.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-click-option-group + +# Copyright 2024 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-click-option-group +VERSION=${VERSION:-0.5.6} +SRCNAM=${SRCNAM:-click-option-group} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir=$PKG dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md 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-click-option-group/python3-click-option-group.info b/python/python3-click-option-group/python3-click-option-group.info new file mode 100644 index 0000000000..d702cb9596 --- /dev/null +++ b/python/python3-click-option-group/python3-click-option-group.info @@ -0,0 +1,10 @@ +PRGNAM="python3-click-option-group" +VERSION="0.5.6" +HOMEPAGE="https://click-option-group.readthedocs.io/" +DOWNLOAD="https://github.com/click-contrib/click-option-group/archive/refs/tags/v0.5.6/click-option-group-0.5.6.tar.gz" +MD5SUM="f2ed15717ad729d99491ba8d14b279a8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="click python3-hatchling" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-click-option-group/slack-desc b/python/python3-click-option-group/slack-desc new file mode 100644 index 0000000000..5548733459 --- /dev/null +++ b/python/python3-click-option-group/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-click-option-group: python3-click-option-group (Option groups missing in Click) +python3-click-option-group: +python3-click-option-group: Click is a package for creating powerful and beautiful command line +python3-click-option-group: interfaces (CLI) in Python, but it has no the functionality for +python3-click-option-group: creating option groups. +python3-click-option-group: +python3-click-option-group: Option groups are convenient mechanism for logical structuring +python3-click-option-group: CLI, also it allows you to set the specific behavior and set the +python3-click-option-group: relationship among grouped options (mutually exclusive options +python3-click-option-group: for example). Moreover, argparse stdlib package contains this +python3-click-option-group: functionality out of the box. diff --git a/python/python3-cloudflare/python3-cloudflare.SlackBuild b/python/python3-cloudflare/python3-cloudflare.SlackBuild index 3e96b6e0ef..1453c95b08 100644 --- a/python/python3-cloudflare/python3-cloudflare.SlackBuild +++ b/python/python3-cloudflare/python3-cloudflare.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cloudflare SRCNAM=python-cloudflare -VERSION=${VERSION:-2.19.4} +VERSION=${VERSION:-2.20.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-cloudflare/python3-cloudflare.info b/python/python3-cloudflare/python3-cloudflare.info index 2eb193861d..bfcee2e162 100644 --- a/python/python3-cloudflare/python3-cloudflare.info +++ b/python/python3-cloudflare/python3-cloudflare.info @@ -1,8 +1,8 @@ PRGNAM="python3-cloudflare" -VERSION="2.19.4" +VERSION="2.20.0" HOMEPAGE="https://github.com/cloudflare/python-cloudflare" -DOWNLOAD="https://github.com/cloudflare/python-cloudflare/archive/2.19.4/python-cloudflare-2.19.4.tar.gz" -MD5SUM="41fa857c2c6ad7124d1fe56dde624a9a" +DOWNLOAD="https://github.com/cloudflare/python-cloudflare/archive/2.20.0/python-cloudflare-2.20.0.tar.gz" +MD5SUM="aab4cc26ee34d068c10f3a2c3a4c8919" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-jsonlines BeautifulSoup4" diff --git a/python/python3-comm/python3-comm.SlackBuild b/python/python3-comm/python3-comm.SlackBuild index 7bcfbf092a..ba30537e1c 100644 --- a/python/python3-comm/python3-comm.SlackBuild +++ b/python/python3-comm/python3-comm.SlackBuild @@ -78,6 +78,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-daemon/packaging-version.patch b/python/python3-daemon/packaging-version.patch new file mode 100644 index 0000000000..e488b3cacc --- /dev/null +++ b/python/python3-daemon/packaging-version.patch @@ -0,0 +1,73 @@ +From 3bbc46967d35cd7e05677018bdc9d552efaeea3e Mon Sep 17 00:00:00 2001 +From: Ben Finney <ben+python@benfinney.id.au> +Date: Mar 08 2023 07:02:47 +0000 +Subject: Use explicitly-maintained ‘packaging.version’ for version string parsing. + + +--- + +#diff --git a/ChangeLog b/ChangeLog +#index bba4b5a..f5ee1e0 100644 +#--- a/ChangeLog +#+++ b/ChangeLog +#@@ -14,9 +14,14 @@ Version NEXT +# :Released: FUTURE +# :Maintainer: UNKNOWN <unknown@example.org> +# +#-Changes: +#+Bugs Fixed: +#+ +#+* Migrate to use the explicitly-maintained ‘packaging’ library. +#+ +#+ The package bundled in ‘setuptools.extern.packaging’ is to help make that +#+ package self-contained, but is not a supported API. +# +#-* None. +#+ Closes: Pagure #73. Thanks to Michał Górny for the report. +# +# +# Version 3.0.1 +diff --git a/test_version.py b/test_version.py +index c43cd36..d6095e4 100644 +--- a/test_version.py ++++ b/test_version.py +@@ -20,10 +20,10 @@ import unittest.mock + import docutils + import docutils.nodes + import docutils.writers ++from packaging.version import InvalidVersion + import setuptools + import setuptools.command + import setuptools.dist +-from setuptools.extern.packaging.version import InvalidVersion + import testscenarios + import testtools + +diff --git a/version.py b/version.py +index 20d3ef3..2d7d048 100644 +--- a/version.py ++++ b/version.py +@@ -31,12 +31,12 @@ import re + import sys + import textwrap + ++import packaging.version + import setuptools + import setuptools.command.build + import setuptools.command.build_py + import setuptools.command.egg_info + import setuptools.dist +-import setuptools.extern.packaging.version + + + def ensure_class_bases_begin_with(namespace, class_name, base_class): +@@ -186,7 +186,7 @@ class ChangeLogEntry: + # A valid non-version value. + return None + +- valid_version = setuptools.extern.packaging.version.Version(value) ++ valid_version = packaging.version.Version(value) + + @classmethod + def validate_maintainer(cls, value): + diff --git a/python/python3-daemon/python3-daemon.SlackBuild b/python/python3-daemon/python3-daemon.SlackBuild index bfb082a12a..d07bc2e09d 100644 --- a/python/python3-daemon/python3-daemon.SlackBuild +++ b/python/python3-daemon/python3-daemon.SlackBuild @@ -80,6 +80,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 {} \; +# 46and2: needs following patch minus Changelog fix or will not build +# https://pagure.io/python-daemon/c/3bbc4696 +# upstream is still working on proper fix, see issue #94 +patch -p1 < $CWD/packaging-version.patch + PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ diff --git a/python/python3-debugpy/python3-debugpy.SlackBuild b/python/python3-debugpy/python3-debugpy.SlackBuild index a6e611e125..8d2c072270 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.1} +VERSION=${VERSION:-1.8.5} 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-debugpy/python3-debugpy.info b/python/python3-debugpy/python3-debugpy.info index 8b84d080b2..c5be3f972a 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.1" +VERSION="1.8.5" HOMEPAGE="https://github.com/microsoft/debugpy/" -DOWNLOAD="https://github.com/microsoft/debugpy/archive/v1.8.1/debugpy-1.8.1.tar.gz" -MD5SUM="970aba798bf170d2089ed681cb6620d1" +DOWNLOAD="https://github.com/microsoft/debugpy/archive/v1.8.5/debugpy-1.8.5.tar.gz" +MD5SUM="1345995cd51454ce30f677c1fc7f3145" 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 baac4bd3e1..1c988af15d 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.2.0} +VERSION=${VERSION:-0.4.6} SRCNAM=${SRCNAM:-dep-logic} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,6 +65,9 @@ find -L . \ # Fix version detection export PDM_BUILD_SCM_VERSION=$VERSION +# Removed forced dependency version +sed -i 's|>=22|>=20|' pyproject.toml + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-dep-logic/python3-dep-logic.info b/python/python3-dep-logic/python3-dep-logic.info index 8b897e2d92..6fe251ed2c 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.2.0" +VERSION="0.4.6" HOMEPAGE="https://github.com/pdm-project/dep-logic/" -DOWNLOAD="https://github.com/pdm-project/dep-logic/archive/refs/tags/0.2.0/dep-logic-0.2.0.tar.gz" -MD5SUM="6273b775daef50be942117392c8b8af2" +DOWNLOAD="https://github.com/pdm-project/dep-logic/archive/refs/tags/0.4.6/dep-logic-0.4.6.tar.gz" +MD5SUM="cd654f9f4d949b4a92ea613f9e7e7709" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pdm-backend" diff --git a/python/python3-dill/python3-dill.SlackBuild b/python/python3-dill/python3-dill.SlackBuild index 3f30685455..ec771dac8c 100644 --- a/python/python3-dill/python3-dill.SlackBuild +++ b/python/python3-dill/python3-dill.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-dill -# Copyright 2022 None Orestiada, Greece +# Copyright 2022-2024 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-dill SRCNAM=dill -VERSION=${VERSION:-0.3.6} +VERSION=${VERSION:-0.3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-dill/python3-dill.info b/python/python3-dill/python3-dill.info index f1da173201..2c8b82c039 100644 --- a/python/python3-dill/python3-dill.info +++ b/python/python3-dill/python3-dill.info @@ -1,10 +1,10 @@ PRGNAM="python3-dill" -VERSION="0.3.6" +VERSION="0.3.8" HOMEPAGE="https://github.com/uqfoundation/dill" -DOWNLOAD="https://files.pythonhosted.org/packages/7c/e7/364a09134e1062d4d5ff69b853a56cf61c223e0afcc6906b6832bcd51ea8/dill-0.3.6.tar.gz" -MD5SUM="a76261d7418cd8ed1b3f9af0e47f31fc" +DOWNLOAD="https://files.pythonhosted.org/packages/17/4d/ac7ffa80c69ea1df30a8aa11b3578692a5118e7cd1aa157e3ef73b092d15/dill-0.3.8.tar.gz" +MD5SUM="0718c5472a311b15479ac2e1a6702594" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-dkimpy/python3-dkimpy.SlackBuild b/python/python3-dkimpy/python3-dkimpy.SlackBuild index e7995fc506..4553e61839 100644 --- a/python/python3-dkimpy/python3-dkimpy.SlackBuild +++ b/python/python3-dkimpy/python3-dkimpy.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-dkimpy SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.1.6} +VERSION=${VERSION:-1.1.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-dkimpy/python3-dkimpy.info b/python/python3-dkimpy/python3-dkimpy.info index f468e55608..aa75d3c59a 100644 --- a/python/python3-dkimpy/python3-dkimpy.info +++ b/python/python3-dkimpy/python3-dkimpy.info @@ -1,8 +1,8 @@ PRGNAM="python3-dkimpy" -VERSION="1.1.6" +VERSION="1.1.8" HOMEPAGE="https://pypi.org/project/dkimpy/" -DOWNLOAD="https://pypi.python.org/packages/source/d/dkimpy/dkimpy-1.1.6.tar.gz" -MD5SUM="aa35e37730062d5d9f62eb98d24c4824" +DOWNLOAD="https://pypi.python.org/packages/source/d/dkimpy/dkimpy-1.1.8.tar.gz" +MD5SUM="74b0fd4e1ffcbc25b30955e71864dd06" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-dnspython" diff --git a/python/python3-dnspython/python3-dnspython.SlackBuild b/python/python3-dnspython/python3-dnspython.SlackBuild index 8b754254a7..34da9319d5 100644 --- a/python/python3-dnspython/python3-dnspython.SlackBuild +++ b/python/python3-dnspython/python3-dnspython.SlackBuild @@ -64,6 +64,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-docker/python3-docker.SlackBuild b/python/python3-docker/python3-docker.SlackBuild index c20dc53833..879052e8b2 100644 --- a/python/python3-docker/python3-docker.SlackBuild +++ b/python/python3-docker/python3-docker.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-docker -# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 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-docker SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-7.0.0} +VERSION=${VERSION:-7.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +63,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-docker/python3-docker.info b/python/python3-docker/python3-docker.info index e36aaa7368..998edc898f 100644 --- a/python/python3-docker/python3-docker.info +++ b/python/python3-docker/python3-docker.info @@ -1,10 +1,10 @@ PRGNAM="python3-docker" -VERSION="7.0.0" +VERSION="7.1.0" HOMEPAGE="https://github.com/docker/docker-py" -DOWNLOAD="https://files.pythonhosted.org/packages/source/d/docker/docker-7.0.0.tar.gz" -MD5SUM="b08eeccf6a5efd11c316c08207edfeef" +DOWNLOAD="https://files.pythonhosted.org/packages/source/d/docker/docker-7.1.0.tar.gz" +MD5SUM="04e92a7b6dc8b88dde3c7cca6850b277" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-wheel python3-websocket-client" +REQUIRES="python3-hatch_vcs python3-websocket-client" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-dogpile.cache/python3-dogpile.cache.info b/python/python3-dogpile.cache/python3-dogpile.cache.info index be9404d531..1eecc236fa 100644 --- a/python/python3-dogpile.cache/python3-dogpile.cache.info +++ b/python/python3-dogpile.cache/python3-dogpile.cache.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/sqlalchemy/dogpile.cache/archive/rel_1_3_3/dogpile. MD5SUM="3a252847b9d7c7c083786dd9ddf95afa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-stevedore python3-decorator typing-extensions python3-setuptools-opt" +REQUIRES="python3-stevedore python3-decorator python3-typing-extensions python3-setuptools-opt" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-dunamai/README b/python/python3-dunamai/README new file mode 100644 index 0000000000..1aa3830fb2 --- /dev/null +++ b/python/python3-dunamai/README @@ -0,0 +1,3 @@ +Dunamai is a Python 3.5+ library and command line tool for producing +dynamic, standards-compliant version strings, derived from tags in +your version control system. diff --git a/python/python3-dunamai/python3-dunamai.SlackBuild b/python/python3-dunamai/python3-dunamai.SlackBuild new file mode 100644 index 0000000000..2eab27fb39 --- /dev/null +++ b/python/python3-dunamai/python3-dunamai.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-dunamai + +# Copyright 2024 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=python3-dunamai +SRCNAM=dunamai +VERSION=${VERSION:-1.22.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 -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 *.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-dunamai/python3-dunamai.info b/python/python3-dunamai/python3-dunamai.info new file mode 100644 index 0000000000..f698ed5f1d --- /dev/null +++ b/python/python3-dunamai/python3-dunamai.info @@ -0,0 +1,10 @@ +PRGNAM="python3-dunamai" +VERSION="1.22.0" +HOMEPAGE="https://github.com/mtkennerly/dunamai" +DOWNLOAD="https://files.pythonhosted.org/packages/a0/fe/aee602f08765de4dd753d2e5d6cbd480857182e345f161f7a19ad1979e4d/dunamai-1.22.0.tar.gz" +MD5SUM="1b3ca932416961ea6953dbbc21e6d42c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" diff --git a/python/python3-dunamai/slack-desc b/python/python3-dunamai/slack-desc new file mode 100644 index 0000000000..3f3dc5ce6b --- /dev/null +++ b/python/python3-dunamai/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-dunamai: python3-dunamai (Dynamic versioning library and CLI) +python3-dunamai: +python3-dunamai: Dunamai is a Python 3.5+ library and command line tool for producing +python3-dunamai: dynamic, standards-compliant version strings, derived from tags in +python3-dunamai: your version control system +python3-dunamai: +python3-dunamai: Project URL: https://github.com/mtkennerly/dunamai +python3-dunamai: +python3-dunamai: +python3-dunamai: +python3-dunamai: diff --git a/python/python3-enzyme/python3-enzyme.SlackBuild b/python/python3-enzyme/python3-enzyme.SlackBuild index a206304a46..beb8f297ac 100644 --- a/python/python3-enzyme/python3-enzyme.SlackBuild +++ b/python/python3-enzyme/python3-enzyme.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-enzyme -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2024 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-enzyme -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.5.2} SRCNAM=${SRCNAM:-enzyme} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,14 +62,26 @@ 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 +# Add unused section to avoid ERROR message from setuptools_scm +# Make it an if statement just in case upstream decides to update +# it and I don't notice. +if ! grep -qF "[tool.setuptools_scm]" pyproject.toml; then + echo "[tool.setuptools_scm]" >> pyproject.toml +fi +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + +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 \ - HISTORY.rst LICENSE README.rst \ + LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-enzyme/python3-enzyme.info b/python/python3-enzyme/python3-enzyme.info index 95dfa72eba..5f638c1296 100644 --- a/python/python3-enzyme/python3-enzyme.info +++ b/python/python3-enzyme/python3-enzyme.info @@ -1,10 +1,10 @@ PRGNAM="python3-enzyme" -VERSION="0.4.1" +VERSION="0.5.2" HOMEPAGE="https://github.com/Diaoul/enzyme/" -DOWNLOAD="https://github.com/Diaoul/enzyme/archive/refs/tags/0.4.1/enzyme-0.4.1.tar.gz" -MD5SUM="eb2c076cbd784007b4a3f880fe1590f1" +DOWNLOAD="https://github.com/Diaoul/enzyme/archive/refs/tags/0.5.2/enzyme-0.5.2.tar.gz" +MD5SUM="11174fa4fa06a14fc66b8d580d6fe694" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/et_xmlfile/README b/python/python3-et_xmlfile/README index 8e9a7fa532..32c7d0ef41 100644 --- a/python/et_xmlfile/README +++ b/python/python3-et_xmlfile/README @@ -1,3 +1 @@ et_xmlfile is a low memory library for creating large XML files. - -This SlackBuild builds only the python3 modules. diff --git a/python/et_xmlfile/et_xmlfile.SlackBuild b/python/python3-et_xmlfile/python3-et_xmlfile.SlackBuild index 7300514c13..008cb86408 100644 --- a/python/et_xmlfile/et_xmlfile.SlackBuild +++ b/python/python3-et_xmlfile/python3-et_xmlfile.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for et_xmlfile +# Slackware build script for python3-et_xmlfile -# Copyright 2020-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2020-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=et_xmlfile +PRGNAM=python3-et_xmlfile VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=et_xmlfile + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -47,24 +49,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - 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 \ diff --git a/python/et_xmlfile/et_xmlfile.info b/python/python3-et_xmlfile/python3-et_xmlfile.info index e39aa1f1d5..d6d2f38eb7 100644 --- a/python/et_xmlfile/et_xmlfile.info +++ b/python/python3-et_xmlfile/python3-et_xmlfile.info @@ -1,4 +1,4 @@ -PRGNAM="et_xmlfile" +PRGNAM="python3-et_xmlfile" VERSION="1.1.0" HOMEPAGE="https://et-xmlfile.readthedocs.io/en/latest/" DOWNLOAD="https://pypi.python.org/packages/source/e/et_xmlfile/et_xmlfile-1.1.0.tar.gz" diff --git a/python/python2-unicodecsv/slack-desc b/python/python3-et_xmlfile/slack-desc index 4db372563c..23917ba105 100644 --- a/python/python2-unicodecsv/slack-desc +++ b/python/python3-et_xmlfile/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -python2-unicodecsv: python2-unicodecsv (csv module) -python2-unicodecsv: -python2-unicodecsv: Python2's stdlib csv module is nice, but it doesn't support unicode. -python2-unicodecsv: This module is a drop-in replacement which *does*. -python2-unicodecsv: -python2-unicodecsv: Homepage: https://github.com/jdunck/python2-unicodecsv -python2-unicodecsv: -python2-unicodecsv: -python2-unicodecsv: -python2-unicodecsv: -python2-unicodecsv: +python3-et_xmlfile: python3-et_xmlfile (python library to create large XML files) +python3-et_xmlfile: +python3-et_xmlfile: et_xmlfile is a low memory library for creating large XML files. +python3-et_xmlfile: +python3-et_xmlfile: +python3-et_xmlfile: +python3-et_xmlfile: +python3-et_xmlfile: +python3-et_xmlfile: +python3-et_xmlfile: +python3-et_xmlfile: diff --git a/python/python-evdev/README b/python/python3-evdev/README index 9a2720d8a0..9a2720d8a0 100644 --- a/python/python-evdev/README +++ b/python/python3-evdev/README diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python3-evdev/python3-evdev.SlackBuild index f18028d337..e70f61145e 100644 --- a/python/python-evdev/python-evdev.SlackBuild +++ b/python/python3-evdev/python3-evdev.SlackBuild @@ -1,10 +1,11 @@ #!/bin/bash -# Slackware build script for python-evdev +# Slackware build script for python3-evdev # Copyright 2015 Dugan Chen, Canada <thedoogster@gmail.com> # Copyright 2020-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023-2024 Erich Ritz, Jenks, Oklahoma, USA +# Copyright 2023-2024 Erich Ritz, Jenks, Oklahoma, USA <erich.public@protonmail.com> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python-evdev -VERSION=${VERSION:-1.7.0} +PRGNAM=python3-evdev +VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,13 +72,14 @@ find -L . -perm 660 -exec chmod 644 {} \; PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ + python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python-evdev/python-evdev.info b/python/python3-evdev/python3-evdev.info index 76e1d03ccc..412b624390 100644 --- a/python/python-evdev/python-evdev.info +++ b/python/python3-evdev/python3-evdev.info @@ -1,10 +1,10 @@ -PRGNAM="python-evdev" -VERSION="1.7.0" +PRGNAM="python3-evdev" +VERSION="1.7.1" HOMEPAGE="http://python-evdev.readthedocs.org/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/evdev/evdev-1.7.0.tar.gz" -MD5SUM="ef6d242ed75a92f93022b8715c4c8fe5" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/evdev/evdev-1.7.1.tar.gz" +MD5SUM="c20a623d2d05fd87c1f46d736ee9c3cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" -MAINTAINER="Erich Ritz" -EMAIL="erich.public@protonmail.com" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-evdev/slack-desc b/python/python3-evdev/slack-desc new file mode 100644 index 0000000000..de7c13f135 --- /dev/null +++ b/python/python3-evdev/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-evdev: python3-evdev (Python input event library) +python3-evdev: +python3-evdev: python-evdev allows Python programs running in Linux to read and +python3-evdev: write input events. It provides bindings to both the generic input +python3-evdev: event interface (evdev) and the userspace input subsystem (Uinput). +python3-evdev: +python3-evdev: +python3-evdev: +python3-evdev: +python3-evdev: +python3-evdev: diff --git a/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild b/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild index b4dc10b43d..ab6436c3b8 100644 --- a/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild +++ b/python/python3-exceptiongroup/python3-exceptiongroup.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-exceptiongroup SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-1.2.2} 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 6efe520170..68805da217 100644 --- a/python/python3-exceptiongroup/python3-exceptiongroup.info +++ b/python/python3-exceptiongroup/python3-exceptiongroup.info @@ -1,8 +1,8 @@ PRGNAM="python3-exceptiongroup" -VERSION="1.2.1" +VERSION="1.2.2" HOMEPAGE="https://github.com/agronholm/exceptiongroup" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/exceptiongroup/exceptiongroup-1.2.1.tar.gz" -MD5SUM="4b18d11e20aadce2e87accccf434b1c4" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/exceptiongroup/exceptiongroup-1.2.2.tar.gz" +MD5SUM="e371f497eba3ca3fa6ac6f0dc2a08919" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-flit_scm" diff --git a/python/python3-executing/python3-executing.SlackBuild b/python/python3-executing/python3-executing.SlackBuild index a420b9b44a..9d085f2a94 100644 --- a/python/python3-executing/python3-executing.SlackBuild +++ b/python/python3-executing/python3-executing.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-executing # Copyright 2022 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2024 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-executing SRCNAM=executing -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-executing/python3-executing.info b/python/python3-executing/python3-executing.info index 465e83ab6c..d859dfdde0 100644 --- a/python/python3-executing/python3-executing.info +++ b/python/python3-executing/python3-executing.info @@ -1,8 +1,8 @@ PRGNAM="python3-executing" -VERSION="2.0.1" +VERSION="2.1.0" HOMEPAGE="https://github.com/alexmojaki/executing" -DOWNLOAD="https://files.pythonhosted.org/packages/source/e/executing/executing-2.0.1.tar.gz" -MD5SUM="91da12f933267a5fe085033db2a3b84d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/e/executing/executing-2.1.0.tar.gz" +MD5SUM="e64dd9916bb0a6c89f88295f4867c1b6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-fasteners/python3-fasteners.SlackBuild b/python/python3-fasteners/python3-fasteners.SlackBuild index 55c6f61fe1..34b2ae2155 100644 --- a/python/python3-fasteners/python3-fasteners.SlackBuild +++ b/python/python3-fasteners/python3-fasteners.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-fasteners -# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com> +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.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-fasteners -VERSION=${VERSION:-0.17.3} +VERSION=${VERSION:-0.19} SRCNAM=fasteners BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,10 +72,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 -c 'from setuptools import setup; setup()' 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG LICENSE MANIFEST.in README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md LICENSE MANIFEST.in 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-fasteners/python3-fasteners.info b/python/python3-fasteners/python3-fasteners.info index 92582b34c4..6aabf4ed04 100644 --- a/python/python3-fasteners/python3-fasteners.info +++ b/python/python3-fasteners/python3-fasteners.info @@ -1,10 +1,10 @@ PRGNAM="python3-fasteners" -VERSION="0.17.3" +VERSION="0.19" HOMEPAGE="https://github.com/harlowja/fasteners/" -DOWNLOAD="https://files.pythonhosted.org/packages/bd/f4/148f44998c1bdb064a508e7cbcf9e50b34572b3d36fcc378a5d61b7dc8c5/fasteners-0.17.3.tar.gz" -MD5SUM="3822d6ed0cf530d625e574a390f8f6fb" +DOWNLOAD="https://files.pythonhosted.org/packages/5f/d4/e834d929be54bfadb1f3e3b931c38e956aaa3b235a46a3c764c26c774902/fasteners-0.19.tar.gz" +MD5SUM="e957e11c2e00629e44166e1d2881798e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-monotonic" +REQUIRES="python3-setuptools-opt python3-monotonic" MAINTAINER="Pouria Rezaei" EMAIL="Pouria.rz@outlook.com" diff --git a/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild b/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild index 51fe572475..95bce7db90 100644 --- a/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild +++ b/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-fastjsonschema -VERSION=${VERSION:-2.19.1} +VERSION=${VERSION:-2.20.0} 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-fastjsonschema/python3-fastjsonschema.info b/python/python3-fastjsonschema/python3-fastjsonschema.info index 281853c42b..cfc7b6bd5a 100644 --- a/python/python3-fastjsonschema/python3-fastjsonschema.info +++ b/python/python3-fastjsonschema/python3-fastjsonschema.info @@ -1,8 +1,8 @@ PRGNAM="python3-fastjsonschema" -VERSION="2.19.1" +VERSION="2.20.0" HOMEPAGE="https://github.com/horejsek/python-fastjsonschema" -DOWNLOAD="https://github.com/horejsek/python-fastjsonschema/archive/v2.19.1/python-fastjsonschema-2.19.1.tar.gz" -MD5SUM="17e7c158f94a6a8eb93e1c8c46471493" +DOWNLOAD="https://github.com/horejsek/python-fastjsonschema/archive/v2.20.0/python-fastjsonschema-2.20.0.tar.gz" +MD5SUM="f2af89a64f8e9ebd7895e76dd0d40ca4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-filelock/python3-filelock.SlackBuild b/python/python3-filelock/python3-filelock.SlackBuild index 16f1fbb573..deaab2a409 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.14.0} +VERSION=${VERSION:-3.16.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,6 +66,9 @@ find -L . \ export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION +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-filelock/python3-filelock.info b/python/python3-filelock/python3-filelock.info index 2be5bbe7ad..599ddfec35 100644 --- a/python/python3-filelock/python3-filelock.info +++ b/python/python3-filelock/python3-filelock.info @@ -1,8 +1,8 @@ PRGNAM="python3-filelock" -VERSION="3.14.0" -HOMEPAGE="https://github.com/tox-dev/py-filelock" -DOWNLOAD="https://github.com/tox-dev/py-filelock/archive/3.14.0/filelock-3.14.0.tar.gz" -MD5SUM="2b7e84b2cf5a7f05d0589846d4bbd389" +VERSION="3.16.1" +HOMEPAGE="https://github.com/tox-dev/filelock" +DOWNLOAD="https://github.com/tox-dev/filelock/archive/3.16.1/filelock-3.16.1.tar.gz" +MD5SUM="720d7e74bf86bd2004969e0868bd229d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs" diff --git a/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild b/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild index 300e7aa994..a36b9d12bd 100644 --- a/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild +++ b/python/python3-flufl.i18n/python3-flufl.i18n.SlackBuild @@ -59,6 +59,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) -exec chmod 755 {} \; -o \( -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-flufl.lock/python3-flufl.lock.SlackBuild b/python/python3-flufl.lock/python3-flufl.lock.SlackBuild index 0058747d56..eac85e5c37 100644 --- a/python/python3-flufl.lock/python3-flufl.lock.SlackBuild +++ b/python/python3-flufl.lock/python3-flufl.lock.SlackBuild @@ -59,6 +59,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) -exec chmod 755 {} \; -o \( -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-fontmake/python3-fontmake.info b/python/python3-fontmake/python3-fontmake.info index ff8d653bad..3df3e39a0c 100644 --- a/python/python3-fontmake/python3-fontmake.info +++ b/python/python3-fontmake/python3-fontmake.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.io/packages/source/f/fontmake/fontmake-3.9.0.zip" MD5SUM="9a22c3cc017f782e14ab11ac126d7c85" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pyclipper python3-fontMath ttfautohint-py python3-MutatorMath python3-glyphslib" +REQUIRES="python3-pyclipper ttfautohint-py python3-MutatorMath python3-glyphslib" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/python3-fonttools/README b/python/python3-fonttools/README index ce6ddefb1b..d5eb8b9c57 100644 --- a/python/python3-fonttools/README +++ b/python/python3-fonttools/README @@ -7,9 +7,5 @@ python3-reportlab – to drawing glyphs as PNG images python3-sympy – for symbolic font statistics analysis -Note: -Install pytz, Sphinx, sphinx-rtd-theme, snowballstemmer, -imagesize,msgpack-python, html5lib first and then go for -other dependencies.If you encounter an error about syntax -error in python then check if the slackbuild builds for python2, -disable it and then try to install. +Sphinx,sphinx-rtd-theme,freetype-py are optional +dependencies only needed for document generation. diff --git a/python/python3-fonttools/python3-fonttools.SlackBuild b/python/python3-fonttools/python3-fonttools.SlackBuild index 2303aff7c4..9c6dab80ee 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.51.0} +VERSION=${VERSION:-4.53.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +79,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl @@ -88,16 +90,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mv -v $PKG/usr/share/man $PKG/usr rm -rvf $PKG/usr/share -cd Doc -make man -mv -v $TMP/$SRCNAM-$VERSION/Doc/build/man/fonttools.1 $PKG/usr/man/man1/ -cd .. - 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 CONTRIBUTING.md LICENSE.external LICENSE README.rst CODE_OF_CONDUCT.md NEWS.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.external LICENSE README.rst NEWS.rst $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 {} \+ diff --git a/python/python3-fonttools/python3-fonttools.info b/python/python3-fonttools/python3-fonttools.info index 00f7afbdae..3f75b7ff11 100644 --- a/python/python3-fonttools/python3-fonttools.info +++ b/python/python3-fonttools/python3-fonttools.info @@ -1,10 +1,10 @@ PRGNAM="python3-fonttools" -VERSION="4.51.0" +VERSION="4.53.1" HOMEPAGE="https://github.com/fonttools/fonttools" -DOWNLOAD="https://github.com/fonttools/fonttools/archive/4.51.0/fonttools-4.51.0.tar.gz" -MD5SUM="f3183c58106f442b924a0aa208129544" +DOWNLOAD="https://pypi.io/packages/source/f/fonttools/fonttools-4.53.1.tar.gz" +MD5SUM="2601d5b066fc9f388a6816725f52f368" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-unicodedata2 munkres python3-scipy python3-zopfli python3-fs python3-uharfbuzz freetype-py python3-matplotlib python3-lxml python3-lz4" +REQUIRES="python-unicodedata2 python3-scipy python3-zopfli python3-fs python3-uharfbuzz python3-lxml python3-lz4 python3-setuptools-opt" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/python3-gast/README b/python/python3-gast/README index 0117896980..ab8cfc9bbc 100644 --- a/python/python3-gast/README +++ b/python/python3-gast/README @@ -1,3 +1,7 @@ GAST provides a compatibility layer between the AST (Abstract Syntax Tree) of various Python versions, as produced by ast.parse from the standard ast module. + +NOTE: Unable to support newer versions than 0.5.5 due to breaking +python/python3-pythran. As of 19 JUL 24, only the master branch of +pythran supports gast 0.6.x. diff --git a/python/python3-gast/python3-gast.SlackBuild b/python/python3-gast/python3-gast.SlackBuild index d87422aef6..a694561b13 100644 --- a/python/python3-gast/python3-gast.SlackBuild +++ b/python/python3-gast/python3-gast.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-gast # Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2024 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-gast SRCNAM=gast -VERSION=${VERSION:-0.5.4} +VERSION=${VERSION:-0.5.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-gast/python3-gast.info b/python/python3-gast/python3-gast.info index a0fbd5b417..4022b41034 100644 --- a/python/python3-gast/python3-gast.info +++ b/python/python3-gast/python3-gast.info @@ -1,8 +1,8 @@ PRGNAM="python3-gast" -VERSION="0.5.4" +VERSION="0.5.5" HOMEPAGE="https://github.com/serge-sans-paille/gast" -DOWNLOAD="https://github.com/serge-sans-paille/gast/archive/0.5.4/gast-0.5.4.tar.gz" -MD5SUM="4591ae87c5870c1229b0b7eda2b154ae" +DOWNLOAD="https://github.com/serge-sans-paille/gast/archive/0.5.5/gast-0.5.5.tar.gz" +MD5SUM="a33b800eaa894f8c5d64892240021769" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-gensim/python3-gensim.SlackBuild b/python/python3-gensim/python3-gensim.SlackBuild index a45acaae27..9c559f2e86 100644 --- a/python/python3-gensim/python3-gensim.SlackBuild +++ b/python/python3-gensim/python3-gensim.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-gensim -VERSION=${VERSION:-4.3.2} +VERSION=${VERSION:-4.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-gensim/python3-gensim.info b/python/python3-gensim/python3-gensim.info index ac19fa227d..86e21ac862 100644 --- a/python/python3-gensim/python3-gensim.info +++ b/python/python3-gensim/python3-gensim.info @@ -1,8 +1,8 @@ PRGNAM="python3-gensim" -VERSION="4.3.2" +VERSION="4.3.3" HOMEPAGE="https://radimrehurek.com/gensim/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/gensim/gensim-4.3.2.tar.gz" -MD5SUM="d0f9e2d9db9e4a5316eb5e5b08169b03" +DOWNLOAD="https://files.pythonhosted.org/packages/source/g/gensim/gensim-4.3.3.tar.gz" +MD5SUM="4cc2e87007cf5047b22555a79c9364fb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-scipy python3-smart_open" diff --git a/python/python3-glances/python3-glances.SlackBuild b/python/python3-glances/python3-glances.SlackBuild index d211b2bebc..5d595b0490 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:-3.4.0.5} +VERSION=${VERSION:-4.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,9 +55,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${SRCNAM^}-$VERSION -tar xvzf $CWD/${SRCNAM^}-$VERSION.tar.gz -cd ${SRCNAM^}-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvzf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/python/python3-glances/python3-glances.info b/python/python3-glances/python3-glances.info index e373c4eb53..a1ebcc67e7 100644 --- a/python/python3-glances/python3-glances.info +++ b/python/python3-glances/python3-glances.info @@ -1,10 +1,10 @@ PRGNAM="python3-glances" -VERSION="3.4.0.5" +VERSION="4.1.2" HOMEPAGE="https://github.com/nicolargo/glances" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/glances/Glances-3.4.0.5.tar.gz" -MD5SUM="865998839b2176d385947cfa762e8cf7" +DOWNLOAD="https://files.pythonhosted.org/packages/source/g/glances/glances-4.1.2.tar.gz" +MD5SUM="57d5338f5e5e5cb2bdf22a801132559e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-psutil python3-defusedxml python3-ujson" +REQUIRES="python3-psutil python3-defusedxml python3-orjson python3-netifaces python3-pymdstat python3-py-cpuinfo" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-glyphslib/python3-glyphslib.SlackBuild b/python/python3-glyphslib/python3-glyphslib.SlackBuild index b0a6b82693..e8fc51f975 100644 --- a/python/python3-glyphslib/python3-glyphslib.SlackBuild +++ b/python/python3-glyphslib/python3-glyphslib.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-glyphslib -VERSION=${VERSION:-6.7.1} +VERSION=${VERSION:-6.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-glyphslib/python3-glyphslib.info b/python/python3-glyphslib/python3-glyphslib.info index 4c2a3e0e25..78d34ddb8d 100644 --- a/python/python3-glyphslib/python3-glyphslib.info +++ b/python/python3-glyphslib/python3-glyphslib.info @@ -1,8 +1,8 @@ PRGNAM="python3-glyphslib" -VERSION="6.7.1" +VERSION="6.8.2" HOMEPAGE="https://github.com/googlefonts/glyphsLib" -DOWNLOAD="https://pypi.io/packages/source/g/glyphsLib/glyphslib-6.7.1.tar.gz" -MD5SUM="2311220c7732cacffbd1f1c608a8a9a3" +DOWNLOAD="https://pypi.io/packages/source/g/glyphsLib/glyphslib-6.8.2.tar.gz" +MD5SUM="e327171039cc14236b7bbf9b687a6c58" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-openstep-plist python3-ufolib2 python3-ufo2ft python3-xmldiff" diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild index d58f76d759..8d2a526400 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.63.0} +VERSION=${VERSION:-1.66.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 f7f193c75f..170b4cd866 100644 --- a/python/python3-grpcio/python3-grpcio.info +++ b/python/python3-grpcio/python3-grpcio.info @@ -1,8 +1,8 @@ PRGNAM="python3-grpcio" -VERSION="1.63.0" +VERSION="1.66.1" HOMEPAGE="https://grpc.io/" -DOWNLOAD="https://github.com/grpc/grpc/archive/v1.63.0/grpc-1.63.0.tar.gz" -MD5SUM="a7a4cd8ce187c4a49d9498b3fcd148b2" +DOWNLOAD="https://github.com/grpc/grpc/archive/v1.66.1/grpc-1.66.1.tar.gz" +MD5SUM="93b5c17163d51517308a798221d3a563" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="protobuf3 re2" diff --git a/python/python3-h5py/python3-h5py.SlackBuild b/python/python3-h5py/python3-h5py.SlackBuild index 3a02232620..746daebfa3 100644 --- a/python/python3-h5py/python3-h5py.SlackBuild +++ b/python/python3-h5py/python3-h5py.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for python3-h5py +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> # Copyright 2023 Petar Petrov slackalaxy@gmail.com -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2023 Isaac Yu # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-h5py -VERSION=${VERSION:-3.8.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.11.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,16 +52,12 @@ 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 diff --git a/python/python3-h5py/python3-h5py.info b/python/python3-h5py/python3-h5py.info index cd0cbb02be..b61bfd5439 100644 --- a/python/python3-h5py/python3-h5py.info +++ b/python/python3-h5py/python3-h5py.info @@ -1,10 +1,10 @@ PRGNAM="python3-h5py" -VERSION="3.8.0" +VERSION="3.11.0" HOMEPAGE="https://www.h5py.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/h5py/h5py-3.8.0.tar.gz" -MD5SUM="51d5e91d32abb192e1b1363e306bdb02" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/h5py/h5py-3.11.0.tar.gz" +MD5SUM="710eb17c1bae08a3ba684889b1108fdb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="hdf5 liblzf python3-numpy python3-pkgconfig" -MAINTAINER="Petar Petrov" -EMAIL="slackalaxy@gmail.com" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" 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 b3eb0e60f0..c941609e57 100644 --- a/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild +++ b/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild @@ -77,6 +77,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-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild b/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild index bbd4e4437b..d647e85c74 100644 --- a/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild +++ b/python/python3-hatch_fancy_pypi_readme/python3-hatch_fancy_pypi_readme.SlackBuild @@ -63,6 +63,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-hatch_jupyter_builder/python3-hatch_jupyter_builder.SlackBuild b/python/python3-hatch_jupyter_builder/python3-hatch_jupyter_builder.SlackBuild index 032fd73619..5c2e51c528 100644 --- a/python/python3-hatch_jupyter_builder/python3-hatch_jupyter_builder.SlackBuild +++ b/python/python3-hatch_jupyter_builder/python3-hatch_jupyter_builder.SlackBuild @@ -63,6 +63,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-hatch_vcs/python3-hatch_vcs.SlackBuild b/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild index 515e621734..d92bd8f837 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-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -63,6 +63,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 + #lower version requirement of setuptools-scm to get rid of warning sed -i 's/6\.4\.0/6.3.2/' pyproject.toml diff --git a/python/python3-hatchling/README b/python/python3-hatchling/README index 62415b08ff..23639b967c 100644 --- a/python/python3-hatchling/README +++ b/python/python3-hatchling/README @@ -2,3 +2,9 @@ python3-hatchling (Hatch build backend) This is the extensible, standards compliant build backend used by Hatch. + +Add the following before the python3 build commands in your +Slackbuild as hatchling now requires python3-packaging-opt: + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages diff --git a/python/python3-hatchling/python3-hatchling.SlackBuild b/python/python3-hatchling/python3-hatchling.SlackBuild index 48fe1c76b9..d320fdaa26 100644 --- a/python/python3-hatchling/python3-hatchling.SlackBuild +++ b/python/python3-hatchling/python3-hatchling.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. +# 20240908 46and2: Updated version of packaging in /opt is now required. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-hatchling SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.22.5} +VERSION=${VERSION:-1.25.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +65,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-hatchling/python3-hatchling.info b/python/python3-hatchling/python3-hatchling.info index 7311a60d20..a384bde5c4 100644 --- a/python/python3-hatchling/python3-hatchling.info +++ b/python/python3-hatchling/python3-hatchling.info @@ -1,10 +1,10 @@ PRGNAM="python3-hatchling" -VERSION="1.22.5" +VERSION="1.25.0" HOMEPAGE="https://github.com/pypa/hatch/tree/master/backend" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.22.5.tar.gz" -MD5SUM="e5f74d4918c6831ad9c8ed739b87291e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-1.25.0.tar.gz" +MD5SUM="ac265366ccd17365db319dc95a9e5bc5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-editables python3-pathspec python3-pluggy python3-trove-classifiers" +REQUIRES="python3-editables python3-pathspec python3-pluggy python3-trove-classifiers python3-setuptools-opt" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-hishel/python3-hishel.SlackBuild b/python/python3-hishel/python3-hishel.SlackBuild index ce76d3d8c6..e6888d95a8 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.0.26} +VERSION=${VERSION:-0.0.30} SRCNAM=${SRCNAM:-hishel} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,6 +62,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-hishel/python3-hishel.info b/python/python3-hishel/python3-hishel.info index 61fa7a35ba..79f3bbfa17 100644 --- a/python/python3-hishel/python3-hishel.info +++ b/python/python3-hishel/python3-hishel.info @@ -1,8 +1,8 @@ PRGNAM="python3-hishel" -VERSION="0.0.26" +VERSION="0.0.30" HOMEPAGE="https://hishel.com/" -DOWNLOAD="https://github.com/karpetrosyan/hishel/archive/refs/tags/0.0.26/hishel-0.0.26.tar.gz" -MD5SUM="95455ba6180c0ec530b7fda71b2a9e3e" +DOWNLOAD="https://github.com/karpetrosyan/hishel/archive/refs/tags/0.0.30/hishel-0.0.30.tar.gz" +MD5SUM="1521d6d3bcbb99141144059b341c1e08" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-httpx" diff --git a/python/python3-httpcore/python3-httpcore.SlackBuild b/python/python3-httpcore/python3-httpcore.SlackBuild index 060b6dc12e..68a80748e2 100644 --- a/python/python3-httpcore/python3-httpcore.SlackBuild +++ b/python/python3-httpcore/python3-httpcore.SlackBuild @@ -66,6 +66,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +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-httpx/python3-httpx.SlackBuild b/python/python3-httpx/python3-httpx.SlackBuild index 824b559f95..9c54101cb3 100644 --- a/python/python3-httpx/python3-httpx.SlackBuild +++ b/python/python3-httpx/python3-httpx.SlackBuild @@ -66,6 +66,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + #remove upper version requirement from pyproject.toml and PKG-INFO /usr/bin/sed -i 's/,<[0-9].*\",$/\",/' pyproject.toml /usr/bin/sed -i 's/<[0-9].*,//' PKG-INFO diff --git a/python/python3-icalendar/python3-icalendar.info b/python/python3-icalendar/python3-icalendar.info index 4b363ac133..8b0f55f981 100644 --- a/python/python3-icalendar/python3-icalendar.info +++ b/python/python3-icalendar/python3-icalendar.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/1e/4b/b9e53b2fc4f7942c56988420 MD5SUM="83c9ebbd0e4476fe5a2bd40c5e54c344" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pytz python3-dateutil" +REQUIRES="python3-pytz python3-dateutil" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" diff --git a/python/python3-identify/python3-identify.SlackBuild b/python/python3-identify/python3-identify.SlackBuild index 754c338f1c..97aa4058e9 100644 --- a/python/python3-identify/python3-identify.SlackBuild +++ b/python/python3-identify/python3-identify.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-identify SRCNAM=identify -VERSION=${VERSION:-2.5.36} +VERSION=${VERSION:-2.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-identify/python3-identify.info b/python/python3-identify/python3-identify.info index 8fa4cf69a3..c3ae889d37 100644 --- a/python/python3-identify/python3-identify.info +++ b/python/python3-identify/python3-identify.info @@ -1,8 +1,8 @@ PRGNAM="python3-identify" -VERSION="2.5.36" +VERSION="2.6.0" HOMEPAGE="https://github.com/pre-commit/identify" -DOWNLOAD="https://files.pythonhosted.org/packages/aa/9a/83775a4e09de8b9d774a2217bfe03038c488778e58561e6970daa39b4801/identify-2.5.36.tar.gz" -MD5SUM="6f9a1ccf7b934e11389a9dc4a3a0898a" +DOWNLOAD="https://files.pythonhosted.org/packages/32/f4/8e8f7db397a7ce20fbdeac5f25adaf567fc362472432938d25556008e03a/identify-2.6.0.tar.gz" +MD5SUM="57ba9baea86fe9a394d717306cc2ee08" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-iniconfig/python3-iniconfig.SlackBuild b/python/python3-iniconfig/python3-iniconfig.SlackBuild index 8a0a187ea7..627971c624 100644 --- a/python/python3-iniconfig/python3-iniconfig.SlackBuild +++ b/python/python3-iniconfig/python3-iniconfig.SlackBuild @@ -64,6 +64,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-ipython-sql/python3-ipython-sql.SlackBuild b/python/python3-ipython-sql/python3-ipython-sql.SlackBuild index 99fc317606..305633b44d 100644 --- a/python/python3-ipython-sql/python3-ipython-sql.SlackBuild +++ b/python/python3-ipython-sql/python3-ipython-sql.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-ipython-sql -# Copyright 2020-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2020-2024 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-ipython-sql VERSION=${VERSION:-0.5.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,16 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/python3-ipython-sql/python3-ipython-sql.info b/python/python3-ipython-sql/python3-ipython-sql.info index 8dbc97def7..e0ab53be8d 100644 --- a/python/python3-ipython-sql/python3-ipython-sql.info +++ b/python/python3-ipython-sql/python3-ipython-sql.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipython-sql/ipython-s MD5SUM="63525f1936658d1a5a704ccc2941ad55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ipython PrettyTable SQLAlchemy sqlparse ipython_genutils" +REQUIRES="ipython PrettyTable SQLAlchemy sqlparse python3-ipython_genutils" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/ipython_genutils/README b/python/python3-ipython_genutils/README index f349c79dc4..f349c79dc4 100644 --- a/python/ipython_genutils/README +++ b/python/python3-ipython_genutils/README diff --git a/python/python3-ipython_genutils/python3-ipython_genutils.SlackBuild b/python/python3-ipython_genutils/python3-ipython_genutils.SlackBuild new file mode 100644 index 0000000000..e817dce6aa --- /dev/null +++ b/python/python3-ipython_genutils/python3-ipython_genutils.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for ipython_genutils + +# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-ipython_genutils +VERSION=${VERSION:-0.2.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=ipython_genutils + +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 \ + COPYING.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/ipython_genutils/ipython_genutils.info b/python/python3-ipython_genutils/python3-ipython_genutils.info index fc927022bb..cdf20c9164 100644 --- a/python/ipython_genutils/ipython_genutils.info +++ b/python/python3-ipython_genutils/python3-ipython_genutils.info @@ -1,4 +1,4 @@ -PRGNAM="ipython_genutils" +PRGNAM="python3-ipython_genutils" VERSION="0.2.0" HOMEPAGE="https://jupyter.org/" DOWNLOAD="https://github.com/ipython/ipython_genutils/archive/0.2.0/ipython_genutils-0.2.0.tar.gz" diff --git a/python/python3-ipython_genutils/slack-desc b/python/python3-ipython_genutils/slack-desc new file mode 100644 index 0000000000..3e4818fafa --- /dev/null +++ b/python/python3-ipython_genutils/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-ipython_genutils: python3-ipython_genutils (vestigial IPython utilities) +python3-ipython_genutils: +python3-ipython_genutils: ipython_genutils contains some common utilities shared by Jupyter +python3-ipython_genutils: and IPython projects during the code split. +python3-ipython_genutils: +python3-ipython_genutils: +python3-ipython_genutils: +python3-ipython_genutils: +python3-ipython_genutils: +python3-ipython_genutils: +python3-ipython_genutils: diff --git a/python/python3-isort/python3-isort.SlackBuild b/python/python3-isort/python3-isort.SlackBuild index d929624828..fcc5bd4e94 100644 --- a/python/python3-isort/python3-isort.SlackBuild +++ b/python/python3-isort/python3-isort.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-isort -# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2024 Dimitris Zlatanidis Orestiada, Greece # Copyright 2018 Markus Rinne Finland # All rights reserved. # @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-isort SRCNAM=isort -VERSION=${VERSION:-5.11.3} +VERSION=${VERSION:-5.13.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-isort/python3-isort.info b/python/python3-isort/python3-isort.info index f830d9c150..ace107d5f3 100644 --- a/python/python3-isort/python3-isort.info +++ b/python/python3-isort/python3-isort.info @@ -1,10 +1,10 @@ PRGNAM="python3-isort" -VERSION="5.11.3" +VERSION="5.13.2" HOMEPAGE="https://timothycrosley.github.io/isort/" -DOWNLOAD="https://files.pythonhosted.org/packages/e2/43/d99899bfa24a3914f0318536918ab8c91c09350b5482e4e9bb7291840ae3/isort-5.11.3.tar.gz" -MD5SUM="66fbcee3d4dc83e8e434b1566086f1b1" +DOWNLOAD="https://files.pythonhosted.org/packages/87/f9/c1eb8635a24e87ade2efce21e3ce8cd6b8630bb685ddc9cdaca1349b2eb5/isort-5.13.2.tar.gz" +MD5SUM="a4d791bf2a42d1fbaeb1f5cb2c9147b2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-jaconv/python3-jaconv.SlackBuild b/python/python3-jaconv/python3-jaconv.SlackBuild index 380cdad738..a4ee63f44f 100644 --- a/python/python3-jaconv/python3-jaconv.SlackBuild +++ b/python/python3-jaconv/python3-jaconv.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-jaconv -# Copyright 2023 Vijay Marcel +# Copyright 2023-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-jaconv -VERSION=${VERSION:-0.3.4} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,10 +81,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true rm -rvf $PKG/usr/CHANGES.rst rm -rvf $PKG/usr/README.rst diff --git a/python/python3-jaconv/python3-jaconv.info b/python/python3-jaconv/python3-jaconv.info index f11234004f..7247b01813 100644 --- a/python/python3-jaconv/python3-jaconv.info +++ b/python/python3-jaconv/python3-jaconv.info @@ -1,8 +1,8 @@ PRGNAM="python3-jaconv" -VERSION="0.3.4" +VERSION="0.4.0" HOMEPAGE="https://github.com/ikegami-yukino/jaconv" -DOWNLOAD="https://pypi.io/packages/source/j/jaconv/jaconv-0.3.4.tar.gz" -MD5SUM="fb09353b1639e62abaefff3176ce0ff2" +DOWNLOAD="https://pypi.io/packages/source/j/jaconv/jaconv-0.4.0.tar.gz" +MD5SUM="c0160fe293839a2e397708c984612955" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-jaraco.functools/python3-jaraco.functools.info b/python/python3-jaraco.functools/python3-jaraco.functools.info index a71fd03674..b174e2e449 100644 --- a/python/python3-jaraco.functools/python3-jaraco.functools.info +++ b/python/python3-jaraco.functools/python3-jaraco.functools.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco_functools/jara MD5SUM="7bc3fe47d508077b0ddbc32f84dc1374" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-setuptools-opt typing-extensions python3-more-itertools python3-wheel" +REQUIRES="python3-setuptools-opt python3-typing-extensions python3-more-itertools python3-wheel" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-jsonlines/python3-jsonlines.SlackBuild b/python/python3-jsonlines/python3-jsonlines.SlackBuild index dc4f951974..a7cb8d65a0 100644 --- a/python/python3-jsonlines/python3-jsonlines.SlackBuild +++ b/python/python3-jsonlines/python3-jsonlines.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2022 S.S. Bolokanar, Bulgaria <bolokanar@bulgars.org> +# Copyright 2022 S.S. Bolokanar, Bulgaria <bolokanar@bulgarsociety.org> # С. С. Болоканаръ, България # All rights reserved. # diff --git a/python/python3-jsonlines/python3-jsonlines.info b/python/python3-jsonlines/python3-jsonlines.info index 529d694c04..137d9442d6 100644 --- a/python/python3-jsonlines/python3-jsonlines.info +++ b/python/python3-jsonlines/python3-jsonlines.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-attrs" MAINTAINER="S. S. Bolokanar" -EMAIL="bolokanar@bulgars.org" +EMAIL="bolokanar@bulgarsociety.org" diff --git a/python/python3-jsonschema/python3-jsonschema.SlackBuild b/python/python3-jsonschema/python3-jsonschema.SlackBuild index 4e78831f1e..4bf776830c 100644 --- a/python/python3-jsonschema/python3-jsonschema.SlackBuild +++ b/python/python3-jsonschema/python3-jsonschema.SlackBuild @@ -67,6 +67,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-keyring/python3-keyring.SlackBuild b/python/python3-keyring/python3-keyring.SlackBuild index 385b8eedd8..1e7bca94b7 100644 --- a/python/python3-keyring/python3-keyring.SlackBuild +++ b/python/python3-keyring/python3-keyring.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-keyring -VERSION=${VERSION:-25.2.0} +VERSION=${VERSION:-25.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-keyring/python3-keyring.info b/python/python3-keyring/python3-keyring.info index b9a3a597c9..b1f7fa52ac 100644 --- a/python/python3-keyring/python3-keyring.info +++ b/python/python3-keyring/python3-keyring.info @@ -1,8 +1,8 @@ PRGNAM="python3-keyring" -VERSION="25.2.0" +VERSION="25.4.1" HOMEPAGE="https://github.com/jaraco/keyring" -DOWNLOAD="https://files.pythonhosted.org/packages/source/k/keyring/keyring-25.2.0.tar.gz" -MD5SUM="02d8ecd28cc341d1875d4cc8412e4919" +DOWNLOAD="https://files.pythonhosted.org/packages/source/k/keyring/keyring-25.4.1.tar.gz" +MD5SUM="18421ba10fcf6af96586aa0761cc667d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata python3-jaraco.classes python3-jaraco.context python3-jaraco.functools secretstorage" diff --git a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild index 53c78d794e..48245ab098 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild +++ b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2018 Serban Udrea <s.udrea@gsi.de> # Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-kiwisolver -SRCNAM=kiwisolver -VERSION=${VERSION:-1.4.5} +SRCNAM=kiwi +VERSION=${VERSION:-1.4.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,6 +71,8 @@ find -L . \ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl @@ -78,7 +80,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE PKG-INFO README.rst releasenotes.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.rst releasenotes.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-kiwisolver/python3-kiwisolver.info b/python/python3-kiwisolver/python3-kiwisolver.info index f54bac9c1f..a817039754 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.info +++ b/python/python3-kiwisolver/python3-kiwisolver.info @@ -1,8 +1,8 @@ PRGNAM="python3-kiwisolver" -VERSION="1.4.5" +VERSION="1.4.7" HOMEPAGE="https://github.com/nucleic/kiwi" -DOWNLOAD="https://github.com/nucleic/kiwi/releases/download/1.4.5/kiwisolver-1.4.5.tar.gz" -MD5SUM="20dea6992699d6be8a563995d7fe0309" +DOWNLOAD="https://github.com/nucleic/kiwi/archive/refs/tags/1.4.7/kiwi-1.4.7.tar.gz" +MD5SUM="2f90662eebcf7ce9a11c0dccb941ae6f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cppy" diff --git a/python/python3-librosa/python3-librosa.SlackBuild b/python/python3-librosa/python3-librosa.SlackBuild index c34c2df935..34b5248757 100644 --- a/python/python3-librosa/python3-librosa.SlackBuild +++ b/python/python3-librosa/python3-librosa.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-librosa SRCNAM=librosa -VERSION=${VERSION:-0.10.2} +VERSION=${VERSION:-0.10.2.post1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-librosa/python3-librosa.info b/python/python3-librosa/python3-librosa.info index 33e2a1a4cc..0306f6a338 100644 --- a/python/python3-librosa/python3-librosa.info +++ b/python/python3-librosa/python3-librosa.info @@ -1,8 +1,8 @@ PRGNAM="python3-librosa" -VERSION="0.10.2" +VERSION="0.10.2.post1" HOMEPAGE="https://librosa.org/" -DOWNLOAD="https://github.com/librosa/librosa/archive/refs/tags/0.10.2/librosa-0.10.2.tar.gz" -MD5SUM="dfd6cd2aa29050c61cb73c942dee768f" +DOWNLOAD="https://github.com/librosa/librosa/archive/refs/tags/0.10.2.post1/librosa-0.10.2.post1.tar.gz" +MD5SUM="1a2887782ce0db1468b9a2b51d409e81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-lazy_loader python3-matplotlib ipython python3-mir_eval python3-soundfile audioread python3-soxr python3-numba python3-llvmlite msgpack-python python3-pooch scikit-learn python3-presets" diff --git a/python/python3-lxml/python3-lxml.SlackBuild b/python/python3-lxml/python3-lxml.SlackBuild index be185e0959..21c7158367 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.2.1} +VERSION=${VERSION:-5.3.0} 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 bb56256246..a5f7f6bf7c 100644 --- a/python/python3-lxml/python3-lxml.info +++ b/python/python3-lxml/python3-lxml.info @@ -1,8 +1,8 @@ PRGNAM="python3-lxml" -VERSION="5.2.1" +VERSION="5.3.0" HOMEPAGE="https://lxml.de/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lxml/lxml-5.2.1.tar.gz" -MD5SUM="184bcadae701562c67c9ce40b5da5937" +DOWNLOAD="https://files.pythonhosted.org/packages/source/l/lxml/lxml-5.3.0.tar.gz" +MD5SUM="d3e6f800f4b73f2756663cc4a76df5e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="BeautifulSoup4 html5lib python3-cssselect" diff --git a/python/python3-lz4/python3-lz4.SlackBuild b/python/python3-lz4/python3-lz4.SlackBuild index 334ed8da02..747312b0b8 100644 --- a/python/python3-lz4/python3-lz4.SlackBuild +++ b/python/python3-lz4/python3-lz4.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-lz4 # -# Copyright 2022-2023, Barry J. Grundy +# Copyright 2022-2024, Barry J. Grundy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,13 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# Updated for version v4.3.2 July 2023 +# Updated for version v4.3.3 August 2024 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-lz4 TARNAM=lz4 -VERSION=${VERSION:-4.3.2} +VERSION=${VERSION:-4.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-lz4/python3-lz4.info b/python/python3-lz4/python3-lz4.info index 69134f29ef..4a303eb81c 100644 --- a/python/python3-lz4/python3-lz4.info +++ b/python/python3-lz4/python3-lz4.info @@ -1,10 +1,10 @@ PRGNAM="python3-lz4" -VERSION="4.3.2" +VERSION="4.3.3" HOMEPAGE="https://github.com/python-lz4/python-lz4" -DOWNLOAD="https://files.pythonhosted.org/packages/9f/54/32b2d68d25b80ae4037cd1c68b8a6a28c6753cba3632cbf6d64bebd2b200/lz4-4.3.2.tar.gz" -MD5SUM="12bf7614d70e36f8c3317cd11b5955ad" +DOWNLOAD="https://files.pythonhosted.org/packages/a4/31/ec1259ca8ad11568abaf090a7da719616ca96b60d097ccc5799cd0ff599c/lz4-4.3.3.tar.gz" +MD5SUM="8d4477a96cfe82e419bb895d73dccfb7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wheel python3-pkgconfig" +REQUIRES="python3-tox python3-pytest-runner python3-pkgconfig" MAINTAINER="Barry J. Grundy" EMAIL="bgrundy<at>linuxleo.com" diff --git a/python/python3-mailman/python3-mailman.info b/python/python3-mailman/python3-mailman.info index 5368501506..58e8d61332 100644 --- a/python/python3-mailman/python3-mailman.info +++ b/python/python3-mailman/python3-mailman.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/m/mailman/mailman-3.3.9.tar.gz MD5SUM="8d31e7a0972344e7bcd6fcf27dd720cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="click gunicorn importlib-resources python3-passlib python3-aiosmtpd python3-alembic python3-authheaders python3-dateutil python3-falcon python3-flufl.bounce python3-flufl.i18n python3-flufl.lock python3-lazr.config typing-extensions zope.configuration zope.component" +REQUIRES="click gunicorn importlib-resources python3-passlib python3-aiosmtpd python3-alembic python3-authheaders python3-dateutil python3-falcon python3-flufl.bounce python3-flufl.i18n python3-flufl.lock python3-lazr.config python3-typing-extensions zope.configuration zope.component" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/python/python3-marisa-trie/python3-marisa-trie.SlackBuild b/python/python3-marisa-trie/python3-marisa-trie.SlackBuild index 15417683bd..4c3e1d9b52 100644 --- a/python/python3-marisa-trie/python3-marisa-trie.SlackBuild +++ b/python/python3-marisa-trie/python3-marisa-trie.SlackBuild @@ -25,11 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-marisa-trie -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=${SRCNAM:-marisa-trie} +SRCNAM=${SRCNAM:-marisa_trie} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -49,13 +49,13 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2" LIBDIRSUFFIX="64" elif [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" @@ -82,12 +82,12 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS.rst CHANGES.rst LICENSE README.rst $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 {} \+ diff --git a/python/python3-marisa-trie/python3-marisa-trie.info b/python/python3-marisa-trie/python3-marisa-trie.info index 342c5131ef..6da9286ac5 100644 --- a/python/python3-marisa-trie/python3-marisa-trie.info +++ b/python/python3-marisa-trie/python3-marisa-trie.info @@ -1,8 +1,8 @@ PRGNAM="python3-marisa-trie" -VERSION="1.1.0" +VERSION="1.2.0" HOMEPAGE="https://github.com/pytries/marisa-trie" -DOWNLOAD="https://pypi.io/packages/source/m/marisa-trie/marisa-trie-1.1.0.tar.gz" -MD5SUM="a98fd6023f47957a8039786fc39b5ae1" +DOWNLOAD="https://pypi.io/packages/source/m/marisa-trie/marisa_trie-1.2.0.tar.gz" +MD5SUM="fb1f3a97d74279a0f4417460ba840589" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-maturin/python3-maturin.SlackBuild b/python/python3-maturin/python3-maturin.SlackBuild index 42431d25d0..2fa5b30cb4 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.5.1} +VERSION=${VERSION:-1.7.1} 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 92c71c2f79..85c2e9b643 100644 --- a/python/python3-maturin/python3-maturin.info +++ b/python/python3-maturin/python3-maturin.info @@ -1,10 +1,10 @@ PRGNAM="python3-maturin" -VERSION="1.5.1" +VERSION="1.7.1" HOMEPAGE="https://github.com/PyO3/maturin" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/maturin/maturin-1.5.1.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/maturin-vendored-sources-1.5.1-1.tar.xz" -MD5SUM="f2d2e72a6d97a7561e7d7222090418af \ - de11e6557b831f50d7c3df7baaa88fae" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/maturin/maturin-1.7.1.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/maturin-vendored-sources-1.7.1-1.tar.xz" +MD5SUM="45a6ec2a16fafad9da96ccaaa5cafe54 \ + 0ec123dc9f0aa1392f7c3b2c25a278be" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rust16 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 0d1cb99139..d83b18f4b4 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.4.0} +VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-meson-opt/python3-meson-opt.info b/python/python3-meson-opt/python3-meson-opt.info index 924f53b917..9eee06e0d5 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.4.0" +VERSION="1.5.1" HOMEPAGE="https://github.com/mesonbuild/meson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/meson/meson-1.4.0.tar.gz" -MD5SUM="a5cddd4299ead830106242c53ea7f10f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/meson/meson-1.5.1.tar.gz" +MD5SUM="c4f2b3e5ea632685f61ba1b833c4905c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-mistune/README b/python/python3-mistune/README index c28308673a..8589235a7c 100644 --- a/python/python3-mistune/README +++ b/python/python3-mistune/README @@ -5,7 +5,4 @@ It has the following features: * Very Fast. It is the fastest in all pure Python markdown parsers. * More Features. Table, footnotes, autolink, fenced code etc. -This is the python3 only package (the current v2 series of mistune). - -For the legacy v1 series of mistune, please install the python2-mistune -SlackBuild instead. +This SlackBuild only installs the python3 build of mistune. diff --git a/python/python3-mistune/python3-mistune.SlackBuild b/python/python3-mistune/python3-mistune.SlackBuild index 00eafc1ce0..2a99744d3e 100644 --- a/python/python3-mistune/python3-mistune.SlackBuild +++ b/python/python3-mistune/python3-mistune.SlackBuild @@ -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-more-itertools/python3-more-itertools.SlackBuild b/python/python3-more-itertools/python3-more-itertools.SlackBuild index 6784cff6f0..2851fb4e37 100644 --- a/python/python3-more-itertools/python3-more-itertools.SlackBuild +++ b/python/python3-more-itertools/python3-more-itertools.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-more-itertools SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-10.2.0} +VERSION=${VERSION:-10.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-more-itertools/python3-more-itertools.info b/python/python3-more-itertools/python3-more-itertools.info index c4ccb8fadd..d395de9599 100644 --- a/python/python3-more-itertools/python3-more-itertools.info +++ b/python/python3-more-itertools/python3-more-itertools.info @@ -1,8 +1,8 @@ PRGNAM="python3-more-itertools" -VERSION="10.2.0" +VERSION="10.5.0" HOMEPAGE="https://github.com/erikrose/more-itertools" -DOWNLOAD="https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-10.2.0.tar.gz" -MD5SUM="1737bb4d9d09501f75f498538efe3cf4" +DOWNLOAD="https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-10.5.0.tar.gz" +MD5SUM="43150affe17a010264115f2caea5de70" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/python3-msal/python3-msal.SlackBuild b/python/python3-msal/python3-msal.SlackBuild index ee4b7a2a5a..ab5f081117 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.28.0} +VERSION=${VERSION:-1.31.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 c6e3f117e1..99b14f0ebc 100644 --- a/python/python3-msal/python3-msal.info +++ b/python/python3-msal/python3-msal.info @@ -1,8 +1,8 @@ PRGNAM="python3-msal" -VERSION="1.28.0" +VERSION="1.31.0" HOMEPAGE="https://msal-python.readthedocs.io/" -DOWNLOAD="https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/1.28.0/microsoft-authentication-library-for-python-1.28.0.tar.gz" -MD5SUM="7951a366dcae3902e9421bad429b9c98" +DOWNLOAD="https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/1.31.0/microsoft-authentication-library-for-python-1.31.0.tar.gz" +MD5SUM="9f19655f1edffe283c897d77a51dc887" 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 5de03caeb7..4405e3546c 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.0.5} +VERSION=${VERSION:-6.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-multidict/python3-multidict.info b/python/python3-multidict/python3-multidict.info index 92fa3526c3..78e2d1b5de 100644 --- a/python/python3-multidict/python3-multidict.info +++ b/python/python3-multidict/python3-multidict.info @@ -1,8 +1,8 @@ PRGNAM="python3-multidict" -VERSION="6.0.5" +VERSION="6.1.0" HOMEPAGE="https://multidict.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/multidict/archive/v6.0.5/multidict-6.0.5.tar.gz" -MD5SUM="d9905b304e4c4d83b663dc5d7c0c5aa3" +DOWNLOAD="https://github.com/aio-libs/multidict/archive/v6.1.0/multidict-6.1.0.tar.gz" +MD5SUM="0a965b93af12c238f998012e6b1d50f4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-natsort/python3-natsort.SlackBuild b/python/python3-natsort/python3-natsort.SlackBuild index 9b86ab07f1..1416354619 100644 --- a/python/python3-natsort/python3-natsort.SlackBuild +++ b/python/python3-natsort/python3-natsort.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-natsort SRCNAM=natsort -VERSION=${VERSION:-8.1.0} +VERSION=${VERSION:-8.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-natsort/python3-natsort.info b/python/python3-natsort/python3-natsort.info index d6b9dc9881..26aa20d6f4 100644 --- a/python/python3-natsort/python3-natsort.info +++ b/python/python3-natsort/python3-natsort.info @@ -1,8 +1,8 @@ PRGNAM="python3-natsort" -VERSION="8.1.0" +VERSION="8.4.0" HOMEPAGE="https://github.com/SethMMorton/natsort" -DOWNLOAD="https://files.pythonhosted.org/packages/f7/37/207acdf07c2229a799b7a042c0977ad2372f4adb3446fba8f7703e2840e1/natsort-8.1.0.tar.gz" -MD5SUM="4a942b99fda7e768f30177eb14d165e5" +DOWNLOAD="https://files.pythonhosted.org/packages/e2/a9/a0c57aee75f77794adaf35322f8b6404cbd0f89ad45c87197a937764b7d0/natsort-8.4.0.tar.gz" +MD5SUM="e2e5314ac58cb7b48ca1680c02637893" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-nltk/python3-nltk.SlackBuild b/python/python3-nltk/python3-nltk.SlackBuild index 0654412bba..396898e4cb 100644 --- a/python/python3-nltk/python3-nltk.SlackBuild +++ b/python/python3-nltk/python3-nltk.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-nltk. # # Copyright 2009-2011 Marco Bonetti <sid77@slackware.it> -# Copyright 2015-2023 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2015-2024 Gregory J. L. Tourte <artourter@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-nltk -VERSION=${VERSION:-3.8.1} +VERSION=${VERSION:-3.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -67,10 +67,8 @@ cd $SRCNAM-$SRCVER 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 {} \; + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-nltk/python3-nltk.info b/python/python3-nltk/python3-nltk.info index 171e4c3bdc..19b65e01e4 100644 --- a/python/python3-nltk/python3-nltk.info +++ b/python/python3-nltk/python3-nltk.info @@ -1,8 +1,8 @@ PRGNAM="python3-nltk" -VERSION="3.8.1" +VERSION="3.9.1" HOMEPAGE="http://www.nltk.org/" -DOWNLOAD="https://github.com/nltk/nltk/archive/refs/tags/3.8.1/nltk-3.8.1.tar.gz" -MD5SUM="e8a74c5fd3ac8f789768636f20cba998" +DOWNLOAD="https://github.com/nltk/nltk/archive/3.9.1/nltk-3.9.1.tar.gz" +MD5SUM="1efe6ad00b27f44708a22daefe84b947" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-regex python3-build python3-wheel" diff --git a/python/python3-opencv/README b/python/python3-opencv/README new file mode 100644 index 0000000000..32252311fd --- /dev/null +++ b/python/python3-opencv/README @@ -0,0 +1,27 @@ +Python3 bindings for opencv matching system opencv version. + +Please note that python3-numpy is a runtime dependency as +well as a build time dependency. Installing the resulting +python3-opencv package without python3-numpy already installed +will create unpredictable behaviour i.e. + first install python3-numpy + then install python3-opencv + +By default, additional "contrib" modules are included. If these +are not wanted, set the CONTRIB environment variable to 0 +e.g. + CONTRIB=0 bash python3-opencv.SlackBuild + +A successful installation can be quickly tested by runnng the +ocv-test.py script found in the documentation directory + +OPTIONAL EXTRAS + The following installations are automatically detected and +used if available at build time: + - VTK visualization and image processing + - libdc1394 IIDC/DCAM/Firewire based camera control + - zulu-openjdk17 Java Development Kit + (other Java varieties probably also work) + - apache-ant Java build tool + (only relevant if Java is also detected) + diff --git a/python/python3-opencv/no-ADE-download.diff b/python/python3-opencv/no-ADE-download.diff new file mode 100644 index 0000000000..8c72d9660f --- /dev/null +++ b/python/python3-opencv/no-ADE-download.diff @@ -0,0 +1,37 @@ +--- opencv/modules/gapi/cmake/DownloadADE.cmake.orig 2022-03-04 16:48:17.000000000 +1000 ++++ opencv/modules/gapi/cmake/DownloadADE.cmake 2024-08-19 23:51:02.079316762 +1000 +@@ -2,20 +2,20 @@ + set(ade_filename "v0.1.1f.zip") + set(ade_subdir "ade-0.1.1f") + set(ade_md5 "b624b995ec9c439cbc2e9e6ee940d3a2") +-ocv_download(FILENAME ${ade_filename} +- HASH ${ade_md5} +- URL +- "${OPENCV_ADE_URL}" +- "$ENV{OPENCV_ADE_URL}" +- "https://github.com/opencv/ade/archive/" +- DESTINATION_DIR ${ade_src_dir} +- ID ADE +- STATUS res +- UNPACK RELATIVE_URL) +- +-if (NOT res) +- return() +-endif() ++#ocv_download(FILENAME ${ade_filename} ++# HASH ${ade_md5} ++# URL ++# "${OPENCV_ADE_URL}" ++# "$ENV{OPENCV_ADE_URL}" ++# "https://github.com/opencv/ade/archive/" ++# DESTINATION_DIR ${ade_src_dir} ++# ID ADE ++# STATUS res ++# UNPACK RELATIVE_URL) ++# ++#if (NOT res) ++# return() ++#endif() + + set(ADE_root "${ade_src_dir}/${ade_subdir}/sources/ade") + file(GLOB_RECURSE ADE_sources "${ADE_root}/source/*.cpp") diff --git a/python/python3-opencv/ocv-test.py b/python/python3-opencv/ocv-test.py new file mode 100644 index 0000000000..39748c9d1f --- /dev/null +++ b/python/python3-opencv/ocv-test.py @@ -0,0 +1,13 @@ +#!/usr/bin/python3 + +import cv2 + +#read image +img = cv2.imread('/usr/share/wallpapers/Next/contents/images/360x720.png') + +#show image +cv2.imshow('Example - Show image in window',img) + +cv2.waitKey(0) # waits until a key is pressed +cv2.destroyAllWindows() # destroys the window showing image + diff --git a/python/python2-unicodecsv/python2-unicodecsv.SlackBuild b/python/python3-opencv/python3-opencv.SlackBuild index ec1d239b9f..487f7d2206 100644 --- a/python/python2-unicodecsv/python2-unicodecsv.SlackBuild +++ b/python/python3-opencv/python3-opencv.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for python-unicodecsv +# Slackware build script for python3-opencv -# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2024 Christoph Willing Sydney, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +24,10 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=python2-unicodecsv -SRCNAM=$( echo $PRGNAM | cut -d- -f2 ) -VERSION=${VERSION:-0.14.1} +PRGNAM=python3-opencv +VERSION=${VERSION:-4.5.5.64} +ADEVERSION=${ADEVERSION:-0.1.1f} +SRCNAM=opencv-python BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,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 @@ -51,19 +49,7 @@ 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 +PYVER=${PYVER:-$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')} set -e @@ -73,6 +59,17 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION + +patch -p0 < $CWD/sync_with_sci-build-$VERSION.diff + +# Provide local ADE rather than download during build +patch -p0 < $CWD/no-ADE-download.diff +ADE_DIR=_skbuild/linux-${ARCH/i586/i686}-$PYVER/cmake-build/3rdparty/ade +mkdir -p $ADE_DIR +cd $ADE_DIR + unzip $CWD/ade-$ADEVERSION.zip +cd - + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -80,13 +77,21 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python2 setup.py install --root=$PKG + +[ "${CONTRIB:-1}" = "1" ] && export ENABLE_CONTRIB=1 +export CMAKE_ARGS="-DWITH_IPP=OFF -DOPENCV_ENABLE_NONFREE=ON" +pip3 wheel . --no-build-isolation --verbose + +pip3 install opencv_python-${VERSION}-*.whl --root $PKG +unset ENABLE_CONTRIB find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + $CWD/ocv-test.py LICENSE-3RD-PARTY.txt LICENSE.txt 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-opencv/python3-opencv.info b/python/python3-opencv/python3-opencv.info new file mode 100644 index 0000000000..2aba4680b2 --- /dev/null +++ b/python/python3-opencv/python3-opencv.info @@ -0,0 +1,12 @@ +PRGNAM="python3-opencv" +VERSION="4.5.5.64" +HOMEPAGE="https://pypi.org/project/opencv-python" +DOWNLOAD="https://files.pythonhosted.org/packages/3c/61/ee4496192ed27f657532fdf0d814b05b9787e7fc5122ed3ca57282bae69c/opencv-python-4.5.5.64.tar.gz \ + https://github.com/opencv/ade/archive/refs/tags/v0.1.1f/ade-0.1.1f.zip" +MD5SUM="428bc4ea8ef33cb88b9b7c721fa92bb4 \ + b624b995ec9c439cbc2e9e6ee940d3a2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-numpy scikit-build" +MAINTAINER="Christoph Willing" +EMAIL="chris.willing@linux.com" diff --git a/python/et_xmlfile/slack-desc b/python/python3-opencv/slack-desc index d0f9146a03..766e6f1d18 100644 --- a/python/et_xmlfile/slack-desc +++ b/python/python3-opencv/slack-desc @@ -5,15 +5,15 @@ # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. - |-----handy-ruler------------------------------------------------------| -et_xmlfile: et_xmlfile (python library to create large XML files) -et_xmlfile: -et_xmlfile: et_xmlfile is a low memory library for creating large XML files. -et_xmlfile: -et_xmlfile: -et_xmlfile: -et_xmlfile: -et_xmlfile: -et_xmlfile: -et_xmlfile: -et_xmlfile: + |-----handy-ruler------------------------------------------------------| +python3-opencv: python3-opencv (Python3 bindings for OpenCV) +python3-opencv: +python3-opencv: Python3 bindings for OpenCV +python3-opencv: +python3-opencv: +python3-opencv: +python3-opencv: +python3-opencv: +python3-opencv: +python3-opencv: +python3-opencv: diff --git a/python/python3-opencv/sync_with_sci-build-4.10.0.84.diff b/python/python3-opencv/sync_with_sci-build-4.10.0.84.diff new file mode 100644 index 0000000000..501230915a --- /dev/null +++ b/python/python3-opencv/sync_with_sci-build-4.10.0.84.diff @@ -0,0 +1,19 @@ +--- setup.py.orig 2024-06-18 03:55:09.000000000 +1000 ++++ setup.py 2024-08-17 14:58:24.426316098 +1000 +@@ -23,16 +23,6 @@ + build_rolling = get_build_env_var_by_name("rolling") + + install_requires = [ +- 'numpy>=1.13.3; python_version<"3.7"', +- 'numpy>=1.17.0; python_version>="3.7"', # https://github.com/numpy/numpy/pull/13725 +- 'numpy>=1.17.3; python_version>="3.8"', +- 'numpy>=1.19.3; python_version>="3.9"', +- 'numpy>=1.21.2; python_version>="3.10"', +- 'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"', +- 'numpy>=1.21.0; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"', +- 'numpy>=1.21.4; python_version>="3.10" and platform_system=="Darwin"', +- "numpy>=1.23.5; python_version>='3.11'", +- "numpy>=1.26.0; python_version>='3.12'" + ] + + python_version = cmaker.CMaker.get_python_version() diff --git a/python/python3-opencv/sync_with_sci-build-4.5.5.64.diff b/python/python3-opencv/sync_with_sci-build-4.5.5.64.diff new file mode 100644 index 0000000000..5c9788aee5 --- /dev/null +++ b/python/python3-opencv/sync_with_sci-build-4.5.5.64.diff @@ -0,0 +1,25 @@ +--- setup.py.orig 2022-03-04 16:47:38.000000000 +1000 ++++ setup.py 2024-08-16 19:58:40.508399337 +1000 +@@ -23,13 +23,6 @@ + build_java = "ON" if get_build_env_var_by_name("java") else "OFF" + + install_requires = [ +- 'numpy>=1.13.3; python_version<"3.7"', +- 'numpy>=1.14.5; python_version>="3.7"', +- 'numpy>=1.17.3; python_version>="3.8"', +- 'numpy>=1.19.3; python_version>="3.9"', +- 'numpy>=1.21.2; python_version>="3.10"', +- 'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"', +- 'numpy>=1.21.2; python_version>="3.6" and platform_system=="Darwin" and platform_machine=="arm64"', + ] + + python_version = cmaker.CMaker.get_python_version() +@@ -451,7 +444,7 @@ + data_files, + # To get around a check that prepends source dir to paths and breaks package detection code. + cmake_source_dir="", +- cmake_install_dir=cmake_install_reldir, ++ _cmake_install_dir=cmake_install_reldir, + ) + + diff --git a/python/python3-openpyxl/python3-openpyxl.SlackBuild b/python/python3-openpyxl/python3-openpyxl.SlackBuild index e14195e3a7..3fc50fea32 100644 --- a/python/python3-openpyxl/python3-openpyxl.SlackBuild +++ b/python/python3-openpyxl/python3-openpyxl.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-openpyxl -# Copyright 2020-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2020-2024 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-openpyxl -VERSION=${VERSION:-3.1.2} +VERSION=${VERSION:-3.1.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,16 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/python3-openpyxl/python3-openpyxl.info b/python/python3-openpyxl/python3-openpyxl.info index aa3a1ce4bc..693f021f2a 100644 --- a/python/python3-openpyxl/python3-openpyxl.info +++ b/python/python3-openpyxl/python3-openpyxl.info @@ -1,10 +1,10 @@ PRGNAM="python3-openpyxl" -VERSION="3.1.2" +VERSION="3.1.5" HOMEPAGE="https://openpyxl.readthedocs.org/" -DOWNLOAD="https://foss.heptapod.net/openpyxl/openpyxl/-/archive/3.1.2/openpyxl-3.1.2.tar.bz2" -MD5SUM="696de7e70a1a5707e40bc923ee2cbd05" +DOWNLOAD="https://foss.heptapod.net/openpyxl/openpyxl/-/archive/3.1.5/openpyxl-3.1.5.tar.bz2" +MD5SUM="28ab1feee07ae3b295e81cc3ee23beb7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="et_xmlfile" +REQUIRES="python3-et_xmlfile" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-orjson/python3-orjson.SlackBuild b/python/python3-orjson/python3-orjson.SlackBuild index 6f4a19e4ef..ca24dc339d 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.3} +VERSION=${VERSION:-3.10.7} 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 6f556c56ee..0b54ec05e7 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.3" +VERSION="3.10.7" HOMEPAGE="https://github.com/ijl/orjson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/o/orjson/orjson-3.10.3.tar.gz" -MD5SUM="4c34f9037cfe42bbc59f7ed032df1748" +DOWNLOAD="https://files.pythonhosted.org/packages/source/o/orjson/orjson-3.10.7.tar.gz" +MD5SUM="15887b76f1f4c03c3fb00a56c404af19" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin" diff --git a/python/python3-packaging-opt/README b/python/python3-packaging-opt/README new file mode 100644 index 0000000000..b82522f8e1 --- /dev/null +++ b/python/python3-packaging-opt/README @@ -0,0 +1,6 @@ +python3-packaging-opt (Install packaging in /opt) + +Reusable core utilities for various Python Packaging interoperability +specifications + +Installs to /opt/python$PYVER/site-packages diff --git a/python/fabric/fabric.SlackBuild b/python/python3-packaging-opt/python3-packaging-opt.SlackBuild index 3fea9a9e03..a2fd0b93f7 100644 --- a/python/fabric/fabric.SlackBuild +++ b/python/python3-packaging-opt/python3-packaging-opt.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for fabric +# Slackware build script for python3-packaging-opt -# Copyright 2016-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,16 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=fabric -SRCNAM=${PRGNAM^} -VERSION=${VERSION:-1.13.2} +PRGNAM=python3-packaging-opt +SRCNAM=packaging +VERSION=${VERSION:-24.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +# installing into /opt, set to noarch +ARCH=noarch + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -51,20 +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 @@ -76,19 +62,37 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -python2 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +python3 -m flit_core.wheel +python3 -m installer -d "$PKG" dist/*.whl + +if [ "$PKG/usr/" != "/usr/" ]; then + mkdir -p $PKG/opt + mv $PKG/usr/lib*/python$PYVER $PKG/opt/ + rmdir $PKG/usr/lib* +else + echo "ERROR: \$PKG is not set! We don't want to move the real /usr/lib*/python$PYVER" + exit 1 +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS LICENSE PKG-INFO README.rst INSTALL $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 +# If there's a CHANGELOG.rst, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r CHANGELOG.rst ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PRGNAM}-$VERSION) + cat CHANGELOG.rst | head -n 1000 > $DOCSDIR/CHANGELOG.rst + touch -r CHANGELOG.rst $DOCSDIR/CHANGELOG.rst +fi + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/python3-packaging-opt/python3-packaging-opt.info b/python/python3-packaging-opt/python3-packaging-opt.info new file mode 100644 index 0000000000..085c2eed1b --- /dev/null +++ b/python/python3-packaging-opt/python3-packaging-opt.info @@ -0,0 +1,10 @@ +PRGNAM="python3-packaging-opt" +VERSION="24.1" +HOMEPAGE="https://pypi.org/project/packaging/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/packaging/packaging-24.1.tar.gz" +MD5SUM="99b97d1f30017a62a2aae777a14782d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/requirements-detector/slack-desc b/python/python3-packaging-opt/slack-desc index 1dd73a749d..c3cb71ec8c 100644 --- a/python/requirements-detector/slack-desc +++ b/python/python3-packaging-opt/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -requirements-detector: requirements-detector (find requirements of a Python project) -requirements-detector: -requirements-detector: This package is a simple Python tool which attempts to find and list -requirements-detector: the requirements of a Python project. -requirements-detector: -requirements-detector: Homepage: https://github.com/landscapeio/requirements-detector -requirements-detector: -requirements-detector: -requirements-detector: -requirements-detector: -requirements-detector: +python3-packaging-opt: python3-packaging-opt (Install packaging in /opt) +python3-packaging-opt: +python3-packaging-opt: Reusable core utilities for various Python Packaging interoperability +python3-packaging-opt: specifications +python3-packaging-opt: +python3-packaging-opt: Installs to /opt/python$PYVER/site-packages +python3-packaging-opt: +python3-packaging-opt: +python3-packaging-opt: Project URL: https://pypi.org/project/packaging/ +python3-packaging-opt: +python3-packaging-opt: diff --git a/python/python3-pandas/python3-pandas.info b/python/python3-pandas/python3-pandas.info index c2b6a3adf9..45852698ca 100644 --- a/python/python3-pandas/python3-pandas.info +++ b/python/python3-pandas/python3-pandas.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pandas/pandas-2.1.4.t MD5SUM="e4b598d1e0aac2a3407ed32added3f62" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-numpy python3-dateutil pytz tzdata python3-versioneer" +REQUIRES="python3-numpy python3-dateutil python3-pytz tzdata python3-versioneer" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/pandocfilters/README b/python/python3-pandocfilters/README index 908b47fbd7..908b47fbd7 100644 --- a/python/pandocfilters/README +++ b/python/python3-pandocfilters/README diff --git a/python/python3-pandocfilters/python3-pandocfilters.SlackBuild b/python/python3-pandocfilters/python3-pandocfilters.SlackBuild new file mode 100644 index 0000000000..1b118a4bf9 --- /dev/null +++ b/python/python3-pandocfilters/python3-pandocfilters.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for python3-pandocfilters + +# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2022-2024 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-pandocfilters +VERSION=${VERSION:-1.5.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=pandocfilters + +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 \ + CHANGELOG.md 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/pandocfilters/pandocfilters.info b/python/python3-pandocfilters/python3-pandocfilters.info index 7904694367..858a9a7c0d 100644 --- a/python/pandocfilters/pandocfilters.info +++ b/python/python3-pandocfilters/python3-pandocfilters.info @@ -1,4 +1,4 @@ -PRGNAM="pandocfilters" +PRGNAM="python3-pandocfilters" VERSION="1.5.1" HOMEPAGE="https://github.com/jgm/pandocfilters" DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pandocfilters/pandocfilters-1.5.1.tar.gz" diff --git a/python/python3-pandocfilters/slack-desc b/python/python3-pandocfilters/slack-desc new file mode 100644 index 0000000000..2f0ea6a68d --- /dev/null +++ b/python/python3-pandocfilters/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-pandocfilters: python3-pandocfilters (Python module for writing pandoc filters) +python3-pandocfilters: +python3-pandocfilters: Pandocfilters is a Python module for writing pandoc filters. +python3-pandocfilters: +python3-pandocfilters: +python3-pandocfilters: +python3-pandocfilters: +python3-pandocfilters: +python3-pandocfilters: +python3-pandocfilters: +python3-pandocfilters: diff --git a/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild b/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild index b66662b18b..e1b0374428 100644 --- a/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild +++ b/python/python3-pdfCropMargins/python3-pdfCropMargins.SlackBuild @@ -25,8 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdfCropMargins -VERSION=${VERSION:-2.1.2} -RVERSION=release_2.1.2 +VERSION=${VERSION:-2.1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,9 +52,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM:8}-$RVERSION -tar xvf $CWD/${PRGNAM:8}-$RVERSION.tar.gz -cd ${PRGNAM:8}-$RVERSION +rm -rf pdfCropMargins-release_$VERSION +tar xvf $CWD/pdfCropMargins-release_$VERSION.tar.gz +cd pdfCropMargins-release_$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/python3-pdfCropMargins/python3-pdfCropMargins.info b/python/python3-pdfCropMargins/python3-pdfCropMargins.info index 405446976d..6614933858 100644 --- a/python/python3-pdfCropMargins/python3-pdfCropMargins.info +++ b/python/python3-pdfCropMargins/python3-pdfCropMargins.info @@ -1,8 +1,8 @@ PRGNAM="python3-pdfCropMargins" -VERSION="2.1.2" +VERSION="2.1.4" HOMEPAGE="https://github.com/abarker/pdfCropMargins" -DOWNLOAD="https://github.com/abarker/pdfCropMargins/archive/release_2.1.2/pdfCropMargins-2.1.2.tar.gz" -MD5SUM="9a1175e9c0c106c968539c5424f4b65e" +DOWNLOAD="https://github.com/abarker/pdfCropMargins/archive/release_2.1.4/pdfCropMargins-release_2.1.4.tar.gz" +MD5SUM="8223a203f4e2cf546e7db9aa8e7912f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-PySimpleGUI python3-PyMuPDF" diff --git a/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild b/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild index 3a199319e0..27148d7723 100644 --- a/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild +++ b/python/python3-pdfminer.six/python3-pdfminer.six.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pdfminer.six -VERSION=${VERSION:-20231228} +VERSION=${VERSION:-20240706} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pdfminer.six/python3-pdfminer.six.info b/python/python3-pdfminer.six/python3-pdfminer.six.info index 3cf13c51fa..10515977bc 100644 --- a/python/python3-pdfminer.six/python3-pdfminer.six.info +++ b/python/python3-pdfminer.six/python3-pdfminer.six.info @@ -1,8 +1,8 @@ PRGNAM="python3-pdfminer.six" -VERSION="20231228" +VERSION="20240706" HOMEPAGE="https://github.com/pdfminer/pdfminer.six" -DOWNLOAD="https://github.com/pdfminer/pdfminer.six/archive/20231228/pdfminer.six-20231228.tar.gz" -MD5SUM="2df4a0dcdc6dba561e7f806ffc2ab2bf" +DOWNLOAD="https://github.com/pdfminer/pdfminer.six/archive/20240706/pdfminer.six-20240706.tar.gz" +MD5SUM="7b6e98471239dde4bbdfb910b13ffa05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cryptography python3-setuptools-git-versioning" diff --git a/python/python3-pdm-backend/python3-pdm-backend.SlackBuild b/python/python3-pdm-backend/python3-pdm-backend.SlackBuild index 2910527c10..0c905ba32d 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.3.0} +VERSION=${VERSION:-2.3.3} 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 4decac62d8..7f60a4a966 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.3.0" +VERSION="2.3.3" HOMEPAGE="https://github.com/pdm-project/pdm-backend" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm_backend/pdm_backend-2.3.0.tar.gz" -MD5SUM="f660cc3f12458e31ab1561c54aedb258" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm_backend/pdm_backend-2.3.3.tar.gz" +MD5SUM="ba2ab8fb453ec751bc186e9c341d4f3a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-importlib_metadata" diff --git a/python/python3-pdm-build-locked/README b/python/python3-pdm-build-locked/README new file mode 100644 index 0000000000..11a3759c76 --- /dev/null +++ b/python/python3-pdm-build-locked/README @@ -0,0 +1,4 @@ +python3-pdm-build-locked (lugin to publish locked deps as optional) + +pdm-build-locked is a pdm plugin to add locked packages as additional +optional dependency groups to the distribution metadata. diff --git a/python/python3-pdm-build-locked/python3-pdm-build-locked.SlackBuild b/python/python3-pdm-build-locked/python3-pdm-build-locked.SlackBuild new file mode 100644 index 0000000000..f7310801eb --- /dev/null +++ b/python/python3-pdm-build-locked/python3-pdm-build-locked.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# Slackware build script for python3-pdm-build-locked + +# Copyright 2024 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-pdm-build-locked +VERSION=${VERSION:-0.3.3} +SRCNAM=${SRCNAM:-pdm-build-locked} +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 {} \; + +export PDM_BUILD_SCM_VERSION=$VERSION + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir=$PKG dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + 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-pdm-build-locked/python3-pdm-build-locked.info b/python/python3-pdm-build-locked/python3-pdm-build-locked.info new file mode 100644 index 0000000000..4cd8913303 --- /dev/null +++ b/python/python3-pdm-build-locked/python3-pdm-build-locked.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pdm-build-locked" +VERSION="0.3.3" +HOMEPAGE="https://pdm-build-locked.readthedocs.io/" +DOWNLOAD="https://github.com/pdm-project/pdm-build-locked/archive/refs/tags/0.3.3/pdm-build-locked-0.3.3.tar.gz" +MD5SUM="f962ee2386d91ade6640ca6569b6f470" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-pdm-backend" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-pdm-build-locked/slack-desc b/python/python3-pdm-build-locked/slack-desc new file mode 100644 index 0000000000..a1777c0bd1 --- /dev/null +++ b/python/python3-pdm-build-locked/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-pdm-build-locked: python3-pdm-build-locked (lugin to publish locked deps as optional) +python3-pdm-build-locked: +python3-pdm-build-locked: pdm-build-locked is a pdm plugin to add locked packages as additional +python3-pdm-build-locked: optional dependency groups to the distribution metadata. +python3-pdm-build-locked: +python3-pdm-build-locked: HOMEPAGE: https://pdm-build-locked.readthedocs.io/ +python3-pdm-build-locked: +python3-pdm-build-locked: +python3-pdm-build-locked: +python3-pdm-build-locked: +python3-pdm-build-locked: diff --git a/python/python3-pdm/python3-pdm.SlackBuild b/python/python3-pdm/python3-pdm.SlackBuild index 13a0150954..849c54e041 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.15.2} +VERSION=${VERSION:-2.18.2} SRCNAM=${SRCNAM:-pdm} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,7 +63,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Remove unused dependency (used for redistributable builds of python) -sed -i '/\"pbs-installer\[install\]\",/d' pyproject.toml +sed -i '/\"pbs-installer.*\",/d' 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 d50cdcb18c..2f78d819a5 100644 --- a/python/python3-pdm/python3-pdm.info +++ b/python/python3-pdm/python3-pdm.info @@ -1,10 +1,10 @@ PRGNAM="python3-pdm" -VERSION="2.15.2" +VERSION="2.18.2" HOMEPAGE="https://github.com/pdm-project/pdm" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm/pdm-2.15.2.tar.gz" -MD5SUM="360099247a49e0dc86f8fc19743eae4a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdm/pdm-2.18.2.tar.gz" +MD5SUM="a922f845ee50da081bc820ad67f29029" 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" +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 virtualenv" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-persistent/python3-persistent.SlackBuild b/python/python3-persistent/python3-persistent.SlackBuild index 5cb77a5b3a..3a2f7e8c22 100644 --- a/python/python3-persistent/python3-persistent.SlackBuild +++ b/python/python3-persistent/python3-persistent.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-persistent SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.2} +VERSION=${VERSION:-6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-persistent/python3-persistent.info b/python/python3-persistent/python3-persistent.info index 4983b25218..084144904e 100644 --- a/python/python3-persistent/python3-persistent.info +++ b/python/python3-persistent/python3-persistent.info @@ -1,8 +1,8 @@ PRGNAM="python3-persistent" -VERSION="5.2" +VERSION="6.0" HOMEPAGE="https://github.com/zopefoundation/persistent/" -DOWNLOAD="https://pypi.python.org/packages/source/p/persistent/persistent-5.2.tar.gz" -MD5SUM="c220001a706fa6d595ac39c444fb7134" +DOWNLOAD="https://pypi.python.org/packages/source/p/persistent/persistent-6.0.tar.gz" +MD5SUM="c27ab3ab8cbce3cafa25759a747000b6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="zope.interface" diff --git a/python/python3-pexpect/python3-pexpect.SlackBuild b/python/python3-pexpect/python3-pexpect.SlackBuild index 0380af2edd..ff8f8b1fbc 100644 --- a/python/python3-pexpect/python3-pexpect.SlackBuild +++ b/python/python3-pexpect/python3-pexpect.SlackBuild @@ -5,6 +5,7 @@ # Copyright (c) 2007 Javier Rojas <jerojasro@gmail.com> # Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pexpect -VERSION=${VERSION:-4.8.0} +VERSION=${VERSION:-4.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +43,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 @@ -54,20 +52,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-pexpect/python3-pexpect.info b/python/python3-pexpect/python3-pexpect.info index 75d320e782..044570f306 100644 --- a/python/python3-pexpect/python3-pexpect.info +++ b/python/python3-pexpect/python3-pexpect.info @@ -1,10 +1,10 @@ PRGNAM="python3-pexpect" -VERSION="4.8.0" +VERSION="4.9.0" HOMEPAGE="https://github.com/pexpect/pexpect" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-4.8.0.tar.gz" -MD5SUM="153eb25184249d6a85fde9acf4804085" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-4.9.0.tar.gz" +MD5SUM="f48d48325ee7f1221add0396ea9e2f14" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-ptyprocess" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pipx/python3-pipx.SlackBuild b/python/python3-pipx/python3-pipx.SlackBuild index 4cfd48ba3f..c4421db773 100644 --- a/python/python3-pipx/python3-pipx.SlackBuild +++ b/python/python3-pipx/python3-pipx.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pipx -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,14 +83,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 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | 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 CHANGELOG.md CONTRIBUTING.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -av docs LICENSE pipx_demo.gif $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 {} \+ diff --git a/python/python3-pipx/python3-pipx.info b/python/python3-pipx/python3-pipx.info index 1ab0b466ea..0689ed4c90 100644 --- a/python/python3-pipx/python3-pipx.info +++ b/python/python3-pipx/python3-pipx.info @@ -1,8 +1,8 @@ PRGNAM="python3-pipx" -VERSION="1.5.0" +VERSION="1.7.1" HOMEPAGE="https://github.com/pipxproject/pipx" -DOWNLOAD="https://pypi.io/packages/source/p/pipx/pipx-1.5.0.tar.gz" -MD5SUM="a582b57504074f6783b69777dc3f95c9" +DOWNLOAD="https://pypi.io/packages/source/p/pipx/pipx-1.7.1.tar.gz" +MD5SUM="7b2bd7c1397e74e7e7beb04b121702c4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs python3-platformdirs python3-argcomplete python3-userpath" diff --git a/python/python3-platformdirs/python3-platformdirs.SlackBuild b/python/python3-platformdirs/python3-platformdirs.SlackBuild index 6e052c1995..92689c2088 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.2.1} +VERSION=${VERSION:-4.3.6} 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 adda1fbb2b..1c1378b106 100644 --- a/python/python3-platformdirs/python3-platformdirs.info +++ b/python/python3-platformdirs/python3-platformdirs.info @@ -1,8 +1,8 @@ PRGNAM="python3-platformdirs" -VERSION="4.2.1" +VERSION="4.3.6" HOMEPAGE="https://github.com/platformdirs/platformdirs" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-4.2.1.tar.gz" -MD5SUM="20ed4a4ffc70a4f7e58e974355ad1895" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-4.3.6.tar.gz" +MD5SUM="9f63e7b2b462ee13ee2bf857f2839926" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs python3-setuptools-scm-opt" diff --git a/python/python3-plexapi/python3-plexapi.SlackBuild b/python/python3-plexapi/python3-plexapi.SlackBuild index cbab954ccb..abefd851e4 100644 --- a/python/python3-plexapi/python3-plexapi.SlackBuild +++ b/python/python3-plexapi/python3-plexapi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-PlexAPI -# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com> +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.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-plexapi -VERSION=${VERSION:-4.11.1} +VERSION=${VERSION:-4.15.16} SRCNAM=PlexAPI BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,20 +52,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-plexapi/python3-plexapi.info b/python/python3-plexapi/python3-plexapi.info index e8ad79fa6c..0371a950f6 100644 --- a/python/python3-plexapi/python3-plexapi.info +++ b/python/python3-plexapi/python3-plexapi.info @@ -1,8 +1,8 @@ PRGNAM="python3-plexapi" -VERSION="4.11.1" +VERSION="4.15.16" HOMEPAGE="https://github.com/pkkid/python-plexapi" -DOWNLOAD="https://files.pythonhosted.org/packages/dc/5e/6f7217a96df11ddff988971c1c865ef94862d6c3903141a8204a10a8beb9/PlexAPI-4.11.1.tar.gz" -MD5SUM="42cef612663cbb99c1e39acee89ab7e3" +DOWNLOAD="https://files.pythonhosted.org/packages/2a/28/c0920a19272f30bc86ead5f546fb97f9cb09175a27b805f9410ce08aa67e/PlexAPI-4.15.16.tar.gz" +MD5SUM="b288e02329e154e4f20df7493f50c608" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-plotly/python3-plotly.SlackBuild b/python/python3-plotly/python3-plotly.SlackBuild index 49e9e4af95..10867df4d3 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:-5.22.0} +VERSION=${VERSION:-5.24.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-plotly/python3-plotly.info b/python/python3-plotly/python3-plotly.info index e0daa6084f..f56d7d92c5 100644 --- a/python/python3-plotly/python3-plotly.info +++ b/python/python3-plotly/python3-plotly.info @@ -1,8 +1,8 @@ PRGNAM="python3-plotly" -VERSION="5.22.0" +VERSION="5.24.1" HOMEPAGE="https://github.com/plotly/plotly.py" -DOWNLOAD="https://github.com/plotly/plotly.py/archive/v5.22.0/plotly.py-5.22.0.tar.gz" -MD5SUM="43e9f68f9b78083ae4a0bd8842c28818" +DOWNLOAD="https://github.com/plotly/plotly.py/archive/v5.24.1/plotly.py-5.24.1.tar.gz" +MD5SUM="3a349bd6a7e482797ee63d1e45bda4ec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-tenacity" diff --git a/python/python3-poetry-dynamic-versioning/README b/python/python3-poetry-dynamic-versioning/README new file mode 100644 index 0000000000..9e366e2bc4 --- /dev/null +++ b/python/python3-poetry-dynamic-versioning/README @@ -0,0 +1,2 @@ +This is a Python plugin for Poetry and Poetry Core to enable dynamic +versioning based on tags in your version control system. diff --git a/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild new file mode 100644 index 0000000000..e3c8e9f5ec --- /dev/null +++ b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-poetry-dynamic-versioning + +# Copyright 2024 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=python3-poetry-dynamic-versioning +SRCNAM=poetry_dynamic_versioning +VERSION=${VERSION:-1.4.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +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 *.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-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info new file mode 100644 index 0000000000..8fd2d5c4d2 --- /dev/null +++ b/python/python3-poetry-dynamic-versioning/python3-poetry-dynamic-versioning.info @@ -0,0 +1,10 @@ +PRGNAM="python3-poetry-dynamic-versioning" +VERSION="1.4.1" +HOMEPAGE="https://pypi.org/project/poetry-dynamic-versioning/" +DOWNLOAD="https://files.pythonhosted.org/packages/dd/70/1138211a6e5051d28596922ed39acf20b42819db5ae1f93e465b9a903c28/poetry_dynamic_versioning-1.4.1.tar.gz" +MD5SUM="91032d27f9da010d8a9b7e76bfd09d24" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-tomlkit python3-wheel" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" diff --git a/python/python3-poetry-dynamic-versioning/slack-desc b/python/python3-poetry-dynamic-versioning/slack-desc new file mode 100644 index 0000000000..81719c0d97 --- /dev/null +++ b/python/python3-poetry-dynamic-versioning/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-poetry-dynamic-versioning: python3-poetry-dynamic-versioning (Plugin for Poetry) +python3-poetry-dynamic-versioning: +python3-poetry-dynamic-versioning: This is a Python plugin for Poetry and Poetry Core to enable dynamic +python3-poetry-dynamic-versioning: versioning based on tags in your version control system. +python3-poetry-dynamic-versioning: +python3-poetry-dynamic-versioning: Project URL: https://pypi.org/project/poetry-dynamic-versioning/ +python3-poetry-dynamic-versioning: +python3-poetry-dynamic-versioning: +python3-poetry-dynamic-versioning: +python3-poetry-dynamic-versioning: +python3-poetry-dynamic-versioning: diff --git a/python/python3-pooch/python3-pooch.SlackBuild b/python/python3-pooch/python3-pooch.SlackBuild index 292872b972..a7bda19d58 100644 --- a/python/python3-pooch/python3-pooch.SlackBuild +++ b/python/python3-pooch/python3-pooch.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pooch -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.8.2} SRCNAM=${SRCNAM:-pooch} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,6 +64,9 @@ find -L . \ export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-pooch/python3-pooch.info b/python/python3-pooch/python3-pooch.info index 0042026b93..51fec59246 100644 --- a/python/python3-pooch/python3-pooch.info +++ b/python/python3-pooch/python3-pooch.info @@ -1,8 +1,8 @@ PRGNAM="python3-pooch" -VERSION="1.8.1" +VERSION="1.8.2" HOMEPAGE="https://github.com/fatiando/pooch" -DOWNLOAD="https://github.com/fatiando/pooch/archive/refs/tags/v1.8.1/pooch-1.8.1.tar.gz" -MD5SUM="4c09e69a51b7a9f6640bbbb2cd853e24" +DOWNLOAD="https://github.com/fatiando/pooch/archive/refs/tags/v1.8.2/pooch-1.8.2.tar.gz" +MD5SUM="1c66938f0082821b4d550c6532b8b065" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-platformdirs python3-pandas" diff --git a/python/python3-prometheus_client/python3-prometheus_client.SlackBuild b/python/python3-prometheus_client/python3-prometheus_client.SlackBuild index 9fdeea80a6..c0be15c515 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.20.0} +VERSION=${VERSION:-0.21.0} 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 33cd8f57c3..894d0f7d41 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.20.0" +VERSION="0.21.0" HOMEPAGE="https://prometheus.io/" -DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.20.0/client_python-0.20.0.tar.gz" -MD5SUM="de8121cca3a05ce9443065ae9d80c48f" +DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.21.0/client_python-0.21.0.tar.gz" +MD5SUM="5ea002871096de3da342a045f5ed7587" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild index 824948cfb0..1f2f92f4c4 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-prompt_toolkit -VERSION=${VERSION:-3.0.43} +VERSION=${VERSION:-3.0.47} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.info b/python/python3-prompt_toolkit/python3-prompt_toolkit.info index e2e19f7ddf..0eacd668d1 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.info +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.info @@ -1,8 +1,8 @@ PRGNAM="python3-prompt_toolkit" -VERSION="3.0.43" +VERSION="3.0.47" HOMEPAGE="https://github.com/jonathanslenders/python-prompt-toolkit" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.43.tar.gz" -MD5SUM="f33c0f4ae8d11addababf6d90c98f8bc" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.47.tar.gz" +MD5SUM="68c7156bafee001d10e9931ce52805a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-wcwidth" diff --git a/python/python3-psutil/python3-psutil.SlackBuild b/python/python3-psutil/python3-psutil.SlackBuild index 584d70c5cd..5f3caa3343 100644 --- a/python/python3-psutil/python3-psutil.SlackBuild +++ b/python/python3-psutil/python3-psutil.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-psutil SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.9.8} +VERSION=${VERSION:-6.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-psutil/python3-psutil.info b/python/python3-psutil/python3-psutil.info index 6da2e10e6b..13d933d479 100644 --- a/python/python3-psutil/python3-psutil.info +++ b/python/python3-psutil/python3-psutil.info @@ -1,8 +1,8 @@ PRGNAM="python3-psutil" -VERSION="5.9.8" +VERSION="6.0.0" HOMEPAGE="https://github.com/giampaolo/psutil" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-5.9.8.tar.gz" -MD5SUM="7bb9d4378bd451765b705946a3541393" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-6.0.0.tar.gz" +MD5SUM="5874bd773d2fe7da3c0817424f383033" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-psycopg3/python3-psycopg3.SlackBuild b/python/python3-psycopg3/python3-psycopg3.SlackBuild index dfaa05587f..86ce3297c3 100644 --- a/python/python3-psycopg3/python3-psycopg3.SlackBuild +++ b/python/python3-psycopg3/python3-psycopg3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-psycopg3 -# Copyright 2022 Zlatanidis Dimitris Greece, Orestiada +# Copyright 2022-2024 Zlatanidis Dimitris Greece, Orestiada # 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-psycopg3 SRCNAM=psycopg -VERSION=${VERSION:-3.0.11} +VERSION=${VERSION:-3.1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,7 +85,6 @@ 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.rst LICENSE.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-psycopg3/python3-psycopg3.info b/python/python3-psycopg3/python3-psycopg3.info index d2fe6d31a2..3b46d78938 100644 --- a/python/python3-psycopg3/python3-psycopg3.info +++ b/python/python3-psycopg3/python3-psycopg3.info @@ -1,10 +1,10 @@ PRGNAM="python3-psycopg3" -VERSION="3.0.11" +VERSION="3.1.19" HOMEPAGE="https://www.psycopg.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/b9/ed/b4a17a02ca1cdccd88a87e964d4eb0625070518c81b7e940d3b9be6bec0a/psycopg-3.0.11.tar.gz" -MD5SUM="772b8cf21f19231716c7525a19b32b7f" +DOWNLOAD="https://files.pythonhosted.org/packages/e5/b8/dc85a3b5d3576527c288197de5db85edd141d6ce27fcf73e9f77e871824a/psycopg-3.1.19.tar.gz" +MD5SUM="8eafcbda12408038a872e3239bc61931" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="postgresql" +REQUIRES="python3-typing-extensions postgresql" MAINTAINER="Zlatanidis Dimitris" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-pulsectl/python3-pulsectl.SlackBuild b/python/python3-pulsectl/python3-pulsectl.SlackBuild index 01ead5702c..171de3cf71 100644 --- a/python/python3-pulsectl/python3-pulsectl.SlackBuild +++ b/python/python3-pulsectl/python3-pulsectl.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pulsectl SRCNAM=pulsectl -VERSION=${VERSION:-22.3.2} +VERSION=${VERSION:-24.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pulsectl/python3-pulsectl.info b/python/python3-pulsectl/python3-pulsectl.info index f7d3605a6e..d8da86e6e3 100644 --- a/python/python3-pulsectl/python3-pulsectl.info +++ b/python/python3-pulsectl/python3-pulsectl.info @@ -1,8 +1,8 @@ PRGNAM="python3-pulsectl" -VERSION="22.3.2" +VERSION="24.4.0" HOMEPAGE="https://github.com/mk-fg/python-pulse-control" -DOWNLOAD="https://files.pythonhosted.org/packages/38/b5/7fb041271e9db6ad54a74eecbc84f8c9a9faf696c267b63dfc9fbbf63d49/pulsectl-22.3.2.tar.gz" -MD5SUM="e27a3fd297f585eacd1d4f42ec11e09f" +DOWNLOAD="https://files.pythonhosted.org/packages/9d/bf/c10b9ccdffbd4d5c1e7d0aef1874e3d9adb72524339e825728777898ff51/pulsectl-24.4.0.tar.gz" +MD5SUM="e26b82664face4c5b5591c20735bfc0f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-pure_eval/python3-pure_eval.SlackBuild b/python/python3-pure_eval/python3-pure_eval.SlackBuild index 16f330fdb0..4f8c2ab27a 100644 --- a/python/python3-pure_eval/python3-pure_eval.SlackBuild +++ b/python/python3-pure_eval/python3-pure_eval.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for python3-pure_eval # Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pure_eval SRCNAM=pure_eval -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pure_eval/python3-pure_eval.info b/python/python3-pure_eval/python3-pure_eval.info index 081486070f..0e2995c044 100644 --- a/python/python3-pure_eval/python3-pure_eval.info +++ b/python/python3-pure_eval/python3-pure_eval.info @@ -1,8 +1,8 @@ PRGNAM="python3-pure_eval" -VERSION="0.2.2" +VERSION="0.2.3" HOMEPAGE="https://github.com/alexmojaki/pure_eval" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pure_eval/pure_eval-0.2.2.tar.gz" -MD5SUM="212fd27ca2c58d9effddec69748d738a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pure_eval/pure_eval-0.2.3.tar.gz" +MD5SUM="d545186f2c899d9dd273c03d71b7ffb7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild index 1aa67afa8c..f091f32108 100644 --- a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild +++ b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pydantic-core SRCNAM=pydantic_core -VERSION=${VERSION:-2.18.2} +VERSION=${VERSION:-2.23.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pydantic-core/python3-pydantic-core.info b/python/python3-pydantic-core/python3-pydantic-core.info index f793a3e89c..8d34f03fb5 100644 --- a/python/python3-pydantic-core/python3-pydantic-core.info +++ b/python/python3-pydantic-core/python3-pydantic-core.info @@ -1,10 +1,10 @@ PRGNAM="python3-pydantic-core" -VERSION="2.18.2" +VERSION="2.23.3" HOMEPAGE="https://github.com/pydantic/pydantic-core" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic-core/pydantic_core-2.18.2.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/pydantic_core-vendored-sources-2.18.2-1.tar.xz" -MD5SUM="ab1cb4e3ca6029712348b78cd7dff507 \ - a09f26d30c01d8b60192cb86980d071e" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic-core/pydantic_core-2.23.3.tar.gz \ + https://slackware.uk/~fourtysixandtwo/src/pydantic_core-vendored-sources-2.23.3-1.tar.xz" +MD5SUM="4b7939f3e9cc30b62ddc56827f5aae19 \ + c51a3bcca46dcd2d6071d83165d84d13" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-maturin python3-hatchling" diff --git a/python/python3-pydantic/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild index c695d7d7de..42fc483fa9 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.7.1} +VERSION=${VERSION:-2.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +63,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-pydantic/python3-pydantic.info b/python/python3-pydantic/python3-pydantic.info index 66ac5edd47..5576384427 100644 --- a/python/python3-pydantic/python3-pydantic.info +++ b/python/python3-pydantic/python3-pydantic.info @@ -1,8 +1,8 @@ PRGNAM="python3-pydantic" -VERSION="2.7.1" +VERSION="2.9.1" HOMEPAGE="https://github.com/pydantic/pydantic" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.7.1.tar.gz" -MD5SUM="367d4dfcab65affed15590ab99417850" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.9.1.tar.gz" +MD5SUM="bb48eef1bb7dd93b180b6a285435d95d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme" diff --git a/python/python3-pykakasi/python3-pykakasi.SlackBuild b/python/python3-pykakasi/python3-pykakasi.SlackBuild index 2b59e38cec..5ee2d00dbd 100644 --- a/python/python3-pykakasi/python3-pykakasi.SlackBuild +++ b/python/python3-pykakasi/python3-pykakasi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pykakasi -# Copyright 2023 Vijay Marcel +# Copyright 2023-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pykakasi -VERSION=${VERSION:-2.2.1} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,10 +81,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 --prefix=/usr --root=$PKG --optimize=1 +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs AUTHORS CHANGELOG.rst CHANGELOG_0.rst CONTRIBUTE.rst COPYING README.rst $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-pykakasi/python3-pykakasi.info b/python/python3-pykakasi/python3-pykakasi.info index 0a70a1d7b6..d8ecb8ea02 100644 --- a/python/python3-pykakasi/python3-pykakasi.info +++ b/python/python3-pykakasi/python3-pykakasi.info @@ -1,10 +1,10 @@ PRGNAM="python3-pykakasi" -VERSION="2.2.1" +VERSION="2.3.0" HOMEPAGE="https://codeberg.org/miurahr/pykakasi" -DOWNLOAD="https://pypi.io/packages/source/p/pykakasi/pykakasi-2.2.1.tar.gz" -MD5SUM="d812a38b9fc394e4c307036b9c9e0f51" +DOWNLOAD="https://pypi.io/packages/source/p/pykakasi/pykakasi-2.3.0.tar.gz" +MD5SUM="d7736fcc1a39a7f08b8f62c9dd694535" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-wheel python3-jaconv python3-deprecated python3-klepto" +REQUIRES="python3-build python3-wheel python3-jaconv python3-deprecated python3-klepto python3-setuptools-opt python3-setuptools-scm-opt" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/python3-pykeepass/fix_missing_pykeepass_kdbx_parsing.patch b/python/python3-pykeepass/fix_missing_pykeepass_kdbx_parsing.patch deleted file mode 100644 index 0f75cec6b2..0000000000 --- a/python/python3-pykeepass/fix_missing_pykeepass_kdbx_parsing.patch +++ /dev/null @@ -1,13 +0,0 @@ -This patch was taken from Arch Linux's gitlab repo: -https://gitlab.archlinux.org/archlinux/packaging/packages/python-pykeepass/-/blob/main/0001-fix_missing_pykeepass_kdbx_parsing.patch ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -37,7 +37,7 @@ - Changelog = "https://github.com/libkeepass/pykeepass/blob/master/CHANGELOG.rst" - - [tool.setuptools] --packages = ["pykeepass"] -+packages = ["pykeepass", "pykeepass.kdbx_parsing"] - include-package-data = true - - [build-system] diff --git a/python/python3-pykeepass/python3-pykeepass.SlackBuild b/python/python3-pykeepass/python3-pykeepass.SlackBuild index 4f23b98d47..e7ca71e931 100644 --- a/python/python3-pykeepass/python3-pykeepass.SlackBuild +++ b/python/python3-pykeepass/python3-pykeepass.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pykeepass -VERSION=${VERSION:-4.0.7} -BUILD=${BUILD:-3} +VERSION=${VERSION:-4.1.0.post1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -67,14 +67,6 @@ find -L . \ # fix dos line endings or patch will fail perl -pi -e 's/\r\n/\n/g' pyproject.toml -# Fix missing pykeepass.kdbx_parsing when built with modern tools -# https://github.com/libkeepass/pykeepass/pull/378 -patch -p1 < $CWD/fix_missing_pykeepass_kdbx_parsing.patch - -# Use built-in isoformat support -# https://github.com/libkeepass/pykeepass/pull/383 -patch -p1 < $CWD/use_built_in_isoformat_support.patch - PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ diff --git a/python/python3-pykeepass/python3-pykeepass.info b/python/python3-pykeepass/python3-pykeepass.info index e0841b442b..5c6fef225f 100644 --- a/python/python3-pykeepass/python3-pykeepass.info +++ b/python/python3-pykeepass/python3-pykeepass.info @@ -1,8 +1,8 @@ PRGNAM="python3-pykeepass" -VERSION="4.0.7" +VERSION="4.1.0.post1" HOMEPAGE="https://github.com/libkeepass/pykeepass" -DOWNLOAD="https://github.com/libkeepass/pykeepass/archive/v4.0.7/pykeepass-4.0.7.tar.gz" -MD5SUM="5f5aa9ac74ada7779385d65dc375279e" +DOWNLOAD="https://github.com/libkeepass/pykeepass/archive/v4.1.0.post1/pykeepass-4.1.0.post1.tar.gz" +MD5SUM="bb1d308857b9eeef14bb5340ee9f64ca" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-argon2-cffi python3-construct python3-lxml python3-setuptools-opt pycryptodomex" diff --git a/python/python3-pykeepass/use_built_in_isoformat_support.patch b/python/python3-pykeepass/use_built_in_isoformat_support.patch deleted file mode 100644 index 4daf98514b..0000000000 --- a/python/python3-pykeepass/use_built_in_isoformat_support.patch +++ /dev/null @@ -1,33 +0,0 @@ -This patch was taken from Arch Linux's gitlab repo: -https://gitlab.archlinux.org/archlinux/packaging/packages/python-pykeepass/-/blob/main/0002-Use_built_in_isoformat_support.patch ---- a/pykeepass/pykeepass.py -+++ b/pykeepass/pykeepass.py -@@ -28,7 +28,6 @@ - BLANK_DATABASE_FILENAME = "blank_database.kdbx" - BLANK_DATABASE_LOCATION = os.path.join(os.path.dirname(os.path.realpath(__file__)), BLANK_DATABASE_FILENAME) - BLANK_DATABASE_PASSWORD = "password" --DT_ISOFORMAT = "%Y-%m-%dT%H:%M:%S%fZ" - - class PyKeePass(): - """Open a KeePass database -@@ -804,7 +803,7 @@ def _encode_time(self, value): - struct.pack('<Q', diff_seconds) - ).decode('utf-8') - else: -- return value.strftime(DT_ISOFORMAT) -+ return value.isoformat() - - def _decode_time(self, text): - """datetime.datetime: Convert base64 time or plaintext time to datetime""" -@@ -819,9 +818,9 @@ def _decode_time(self, text): - ) - ) - except BinasciiError: -- return datetime.strptime(text, DT_ISOFORMAT).replace(tzinfo=timezone.utc) -+ return datetime.fromisoformat(text).replace(tzinfo=timezone.utc) - else: -- return datetime.strptime(text, DT_ISOFORMAT).replace(tzinfo=timezone.utc) -+ return datetime.fromisoformat(text).replace(tzinfo=timezone.utc) - - def create_database( - filename, password=None, keyfile=None, transformed_key=None diff --git a/python/python3-pylint/python3-pylint.SlackBuild b/python/python3-pylint/python3-pylint.SlackBuild index 9e494f3cf6..e0e34d2c1a 100644 --- a/python/python3-pylint/python3-pylint.SlackBuild +++ b/python/python3-pylint/python3-pylint.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pylint SRCNAM=pylint -VERSION=${VERSION:-3.1.0} +VERSION=${VERSION:-3.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pylint/python3-pylint.info b/python/python3-pylint/python3-pylint.info index 104e9b1b74..d33f11b8fc 100644 --- a/python/python3-pylint/python3-pylint.info +++ b/python/python3-pylint/python3-pylint.info @@ -1,10 +1,10 @@ PRGNAM="python3-pylint" -VERSION="3.1.0" +VERSION="3.2.0" HOMEPAGE="https://www.pylint.org" -DOWNLOAD="https://files.pythonhosted.org/packages/35/1c/4a8135f77a4ec8c0a6dc1d4543dd6fee55b36bb8bf629e2bcce8a94763a9/pylint-3.1.0.tar.gz" -MD5SUM="b73081ea9c0e33139b75d0d379dd78e0" +DOWNLOAD="https://files.pythonhosted.org/packages/62/75/e48496ea7fc2de24b361dd8084300a2f7e51c47e82363c736026d41cdf2f/pylint-3.2.0.tar.gz" +MD5SUM="ef6f8388897bea9bc845bcc4e696f484" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-astroid python3-isort python3-mccabe python3-dill python3-tomlkit python3-platformdirs" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-pyogrio/README b/python/python3-pyogrio/README new file mode 100644 index 0000000000..bf929e7e0a --- /dev/null +++ b/python/python3-pyogrio/README @@ -0,0 +1,11 @@ +Pyogrio provides a GeoPandas-oriented API to OGR vector data sources, +such as ESRI Shapefile, GeoPackage, and GeoJSON. Vector data sources +have geometries, such as points, lines, or polygons, and associated +records with potentially many columns worth of data. + +Pyogrio uses a vectorized approach for reading and writing GeoDataFrames +to and from OGR vector data sources in order to give you faster +interoperability. It uses pre-compiled bindings for GDAL/OGR so that the +performance is primarily limited by the underlying I/O speed of data +source drivers in GDAL/OGR rather than multiple steps of converting to +and from Python data types within Python. diff --git a/python/python3-pyogrio/python3-pyogrio.SlackBuild b/python/python3-pyogrio/python3-pyogrio.SlackBuild new file mode 100644 index 0000000000..9652d6dc94 --- /dev/null +++ b/python/python3-pyogrio/python3-pyogrio.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/bash + +# Slackware build script for python3-pyogrio + +# Copyright 2024 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-pyogrio +VERSION=${VERSION:-0.9.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=pyogrio + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Remove versioneer version constraint +sed -i 's/versioneer\[toml\]==0.28/versioneer\[toml\]/' pyproject.toml + +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-pyogrio/python3-pyogrio.info b/python/python3-pyogrio/python3-pyogrio.info new file mode 100644 index 0000000000..d02c40fc19 --- /dev/null +++ b/python/python3-pyogrio/python3-pyogrio.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pyogrio" +VERSION="0.9.0" +HOMEPAGE="https://pyogrio.readthedocs.io/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyogrio/pyogrio-0.9.0.tar.gz" +MD5SUM="a82220371300e16b3b809c4e12950997" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="gdal python3-versioneer" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pyogrio/slack-desc b/python/python3-pyogrio/slack-desc new file mode 100644 index 0000000000..ab00836649 --- /dev/null +++ b/python/python3-pyogrio/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-pyogrio: python3-pyogrio (Vectorized vector I/O using OGR) +python3-pyogrio: +python3-pyogrio: Pyogrio provides a GeoPandas-oriented API to OGR vector data sources, +python3-pyogrio: such as ESRI Shapefile, GeoPackage, and GeoJSON. +python3-pyogrio: +python3-pyogrio: +python3-pyogrio: +python3-pyogrio: +python3-pyogrio: +python3-pyogrio: +python3-pyogrio: diff --git a/python/python3-pypandoc/python3-pypandoc.info b/python/python3-pypandoc/python3-pypandoc.info index c65089cdea..f236cda982 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" HOMEPAGE="https://github.com/JessicaTegner/pypandoc" -DOWNLOAD="https://github.com/JessicaTegner/pypandoc/archive/v1.13/pypandoc-1.13.tar.gz" -MD5SUM="b442b31e0ea35b4171f0ca3dac5205c4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/JessicaTegner/pypandoc/archive/v1.13/pypandoc-1.13.tar.gz" +MD5SUM_x86_64="b442b31e0ea35b4171f0ca3dac5205c4" REQUIRES="pandoc-bin python3-wheel" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pypresence/python3-pypresence.SlackBuild b/python/python3-pypresence/python3-pypresence.SlackBuild index b38e0c2249..116bbb5019 100644 --- a/python/python3-pypresence/python3-pypresence.SlackBuild +++ b/python/python3-pypresence/python3-pypresence.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pypresence SRCNAM=pypresence -VERSION=${VERSION:-4.2.1} +VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pypresence/python3-pypresence.info b/python/python3-pypresence/python3-pypresence.info index a3135b57ee..8fd4c0146f 100644 --- a/python/python3-pypresence/python3-pypresence.info +++ b/python/python3-pypresence/python3-pypresence.info @@ -1,8 +1,8 @@ PRGNAM="python3-pypresence" -VERSION="4.2.1" +VERSION="4.3.0" HOMEPAGE="https://github.com/qwertyquerty/pypresence" -DOWNLOAD="https://files.pythonhosted.org/packages/58/df/be2dbd7ed2262791536278295d3c4e56d5c17d4291666f35fd6190a7f2ab/pypresence-4.2.1.tar.gz" -MD5SUM="14ebd0486238cda6e3a6ec3337751ad9" +DOWNLOAD="https://files.pythonhosted.org/packages/f4/2e/d110f862720b5e3ba1b0b719657385fc4151929befa2c6981f48360aa480/pypresence-4.3.0.tar.gz" +MD5SUM="f7c163cdd001af2456c09e241b90bad7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-pyproject-api/python3-pyproject-api.SlackBuild b/python/python3-pyproject-api/python3-pyproject-api.SlackBuild index 5f3a30df6b..fef1bf5318 100644 --- a/python/python3-pyproject-api/python3-pyproject-api.SlackBuild +++ b/python/python3-pyproject-api/python3-pyproject-api.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pyproject-api -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2024 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-pyproject-api -VERSION=${VERSION:-1.6.1} +VERSION=${VERSION:-1.8.0} SRCNAM=${SRCNAM:-pyproject-api} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,20 +47,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -76,8 +62,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION +# Revert unnecessary dependency version requirements +sed -i 's|2\.0\.1|1\.2\.2|' pyproject.toml # tomli + +# Hide warning for packaging>=24 since it resides in /opt/ +sed -i 's|.*packaging.*||' pyproject.toml + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-pyproject-api/python3-pyproject-api.info b/python/python3-pyproject-api/python3-pyproject-api.info index c227b18342..83619157a9 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.6.1" +VERSION="1.8.0" HOMEPAGE="https://pyproject-api.readthedocs.io/en/latest/" -DOWNLOAD="https://github.com/tox-dev/pyproject-api/archive/refs/tags/1.6.1/pyproject-api-1.6.1.tar.gz" -MD5SUM="640a1bce926d72ae5af769541c2a89a5" +DOWNLOAD="https://github.com/tox-dev/pyproject-api/archive/refs/tags/1.8.0/pyproject-api-1.8.0.tar.gz" +MD5SUM="9872ebd1a45f0cb97227c935d787be73" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs" diff --git a/python/python3-pysdl2/python3-pysdl2.SlackBuild b/python/python3-pysdl2/python3-pysdl2.SlackBuild index fdc0f5c98a..cb4ef0a62c 100644 --- a/python/python3-pysdl2/python3-pysdl2.SlackBuild +++ b/python/python3-pysdl2/python3-pysdl2.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pysdl2 SRCNAM=PySDL2 -VERSION=${VERSION:-0.9.11} +VERSION=${VERSION:-0.9.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pysdl2/python3-pysdl2.info b/python/python3-pysdl2/python3-pysdl2.info index d753842f1d..061282d6a8 100644 --- a/python/python3-pysdl2/python3-pysdl2.info +++ b/python/python3-pysdl2/python3-pysdl2.info @@ -1,8 +1,8 @@ PRGNAM="python3-pysdl2" -VERSION="0.9.11" +VERSION="0.9.16" HOMEPAGE="https://github.com/marcusva/py-sdl2" -DOWNLOAD="https://files.pythonhosted.org/packages/0e/64/fd874c5fd060464b68686be1351acb5258d2b1e4b9ba8ce6edb2055f157d/PySDL2-0.9.11.tar.gz" -MD5SUM="0e2ce2f4d131ce74db4b8e08147b39ad" +DOWNLOAD="https://files.pythonhosted.org/packages/63/ae/f40e4c4738fb39ce140950ed7d9bc21358826416d91a5426a190c612f789/PySDL2-0.9.16.tar.gz" +MD5SUM="b497f7f3562b665eb7c2c418ce701f5c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-pyspf/README b/python/python3-pyspf/README new file mode 100644 index 0000000000..4caac01cdb --- /dev/null +++ b/python/python3-pyspf/README @@ -0,0 +1,6 @@ +Sender Policy Framework (SPF) for Python + +This module provides SPF (Sender Policy Framework) for Python 3. +It is RFC 7208 compliant. + +For more information about SPF see http://www.open-spf.org/ diff --git a/python/pandocfilters/pandocfilters.SlackBuild b/python/python3-pyspf/python3-pyspf.SlackBuild index 209914fbd6..53eff8f3c5 100644 --- a/python/pandocfilters/pandocfilters.SlackBuild +++ b/python/python3-pyspf/python3-pyspf.SlackBuild @@ -1,9 +1,8 @@ #!/bin/bash -# Slackware build script for pandocfilters +# Slackware build script for python3-pyspf -# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2024 pyllyukko # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,11 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=pandocfilters -VERSION=${VERSION:-1.5.1} +PRGNAM=python3-pyspf +VERSION=${VERSION:-2.0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pyspf if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -57,6 +57,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -67,9 +70,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}-${SRCNAM}-${VERSION} +tar xvf ${CWD}/${SRCNAM}-${SRCNAM}-${VERSION}.tar.gz +cd ${SRCNAM}-${SRCNAM}-${VERSION} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -84,7 +87,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGELOG.md LICENSE README.rst \ + CHANGELOG README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-pyspf/python3-pyspf.info b/python/python3-pyspf/python3-pyspf.info new file mode 100644 index 0000000000..932c3699cc --- /dev/null +++ b/python/python3-pyspf/python3-pyspf.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pyspf" +VERSION="2.0.14" +HOMEPAGE="https://pypi.org/project/pyspf/" +DOWNLOAD="https://github.com/sdgathman/pyspf/archive/pyspf-2.0.14/pyspf-pyspf-2.0.14.tar.gz" +MD5SUM="a786c5057b39ab5fdff1a2d370532fad" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-dnspython python3-authres" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/python/pandocfilters/slack-desc b/python/python3-pyspf/slack-desc index de31eaa042..3ede718447 100644 --- a/python/pandocfilters/slack-desc +++ b/python/python3-pyspf/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -pandocfilters: pandocfilters (Python module for writing pandoc filters) -pandocfilters: -pandocfilters: Pandocfilters is a Python module for writing pandoc filters. -pandocfilters: -pandocfilters: -pandocfilters: -pandocfilters: -pandocfilters: -pandocfilters: -pandocfilters: -pandocfilters: +python3-pyspf: python3-pyspf (Sender Policy Framework for Python) +python3-pyspf: +python3-pyspf: This module provides SPF (Sender Policy Framework) for Python 3. +python3-pyspf: It is RFC 7208 compliant. +python3-pyspf: +python3-pyspf: +python3-pyspf: +python3-pyspf: +python3-pyspf: +python3-pyspf: For more information about SPF see http://www.open-spf.org/ +python3-pyspf: diff --git a/python/python3-pysubs2/README b/python/python3-pysubs2/README new file mode 100644 index 0000000000..1139635cc6 --- /dev/null +++ b/python/python3-pysubs2/README @@ -0,0 +1,6 @@ +python3-pysubs2 (Library for editing subtitle files) + +pysubs2 is a Python library for editing subtitle files. It’s based +on SubStation Alpha, the native format of Aegisub; it also supports +SubRip (SRT), MicroDVD, MPL2, TMP and WebVTT formats and OpenAI +Whisper captions. diff --git a/python/python3-pysubs2/python3-pysubs2.SlackBuild b/python/python3-pysubs2/python3-pysubs2.SlackBuild new file mode 100644 index 0000000000..e68f62cd91 --- /dev/null +++ b/python/python3-pysubs2/python3-pysubs2.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-pysubs2 + +# Copyright 2024 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-pysubs2 +VERSION=${VERSION:-1.7.3} +SRCNAM=${SRCNAM:-pysubs2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir=$PKG dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README.md LICENSE.txt \ + $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-pysubs2/python3-pysubs2.info b/python/python3-pysubs2/python3-pysubs2.info new file mode 100644 index 0000000000..f4d82846a5 --- /dev/null +++ b/python/python3-pysubs2/python3-pysubs2.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pysubs2" +VERSION="1.7.3" +HOMEPAGE="http://pysubs2.readthedocs.io/" +DOWNLOAD="https://github.com/tkarabela/pysubs2/archive/refs/tags/1.7.3/pysubs2-1.7.3.tar.gz" +MD5SUM="1b9bcc49df75c647d8bd0264fd2a43dc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build python3-wheel" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-pysubs2/slack-desc b/python/python3-pysubs2/slack-desc new file mode 100644 index 0000000000..01ae245e9b --- /dev/null +++ b/python/python3-pysubs2/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-pysubs2: python3-pysubs2 (Library for editing subtitle files) +python3-pysubs2: +python3-pysubs2: pysubs2 is a Python library for editing subtitle files. It's based +python3-pysubs2: on SubStation Alpha, the native format of Aegisub; it also supports +python3-pysubs2: SubRip (SRT), MicroDVD, MPL2, TMP and WebVTT formats and OpenAI +python3-pysubs2: Whisper captions. +python3-pysubs2: +python3-pysubs2: HOMEPAGE: http://pysubs2.readthedocs.io/ +python3-pysubs2: +python3-pysubs2: +python3-pysubs2: diff --git a/python/python3-pytest/python3-pytest.SlackBuild b/python/python3-pytest/python3-pytest.SlackBuild index 79836cd610..a630532749 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.2.0} +VERSION=${VERSION:-8.3.3} 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 671dc3a0eb..f6b48daf4c 100644 --- a/python/python3-pytest/python3-pytest.info +++ b/python/python3-pytest/python3-pytest.info @@ -1,8 +1,8 @@ PRGNAM="python3-pytest" -VERSION="8.2.0" +VERSION="8.3.3" HOMEPAGE="http://pytest.org" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytest/pytest-8.2.0.tar.gz" -MD5SUM="89fe0664e310ee8ee6a8bc1639f44775" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytest/pytest-8.3.3.tar.gz" +MD5SUM="71466867181a5a7aefdb298b7146bcad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-iniconfig python3-exceptiongroup python3-setuptools-opt" diff --git a/python/python3-pytube/python3-pytube.SlackBuild b/python/python3-pytube/python3-pytube.SlackBuild index bfc76805a3..01ee99b110 100644 --- a/python/python3-pytube/python3-pytube.SlackBuild +++ b/python/python3-pytube/python3-pytube.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pytube -# Copyright 2022-2023 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2024 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-pytube SRCNAM=pytube -VERSION=${VERSION:-12.1.3} +VERSION=${VERSION:-15.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-pytube/python3-pytube.info b/python/python3-pytube/python3-pytube.info index 8c25467ebf..cf54ec9af9 100644 --- a/python/python3-pytube/python3-pytube.info +++ b/python/python3-pytube/python3-pytube.info @@ -1,10 +1,10 @@ PRGNAM="python3-pytube" -VERSION="12.1.3" +VERSION="15.0.0" HOMEPAGE="https://github.com/pytube/pytube" -DOWNLOAD="https://files.pythonhosted.org/packages/9b/27/768869cb1211218a57bb5bbc7acd8dc8fe4443fe9d36b6b2302940791cfe/pytube-12.1.3.tar.gz" -MD5SUM="baac8084a5e0d06c0eb4323c0f1b58fe" +DOWNLOAD="https://files.pythonhosted.org/packages/d8/e7/16fec46c8d255c4bbc4b185d89c91dc92cdb802836570d8004d0db169c91/pytube-15.0.0.tar.gz" +MD5SUM="fd11326cb975238b63e1365722ecd814" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-pytz/README b/python/python3-pytz/README new file mode 100644 index 0000000000..354f8ea02c --- /dev/null +++ b/python/python3-pytz/README @@ -0,0 +1,5 @@ +pytz brings the Olson tz database into Python. This library allows +accurate and cross platform timezone calculations using Python 2.3 +or higher. It also solves the issue of ambiguous times at the end +of daylight savings, which you can read more about in the Python +Library Reference (datetime.tzinfo). diff --git a/python/python3-pytz/python3-pytz.SlackBuild b/python/python3-pytz/python3-pytz.SlackBuild new file mode 100644 index 0000000000..a9248cd575 --- /dev/null +++ b/python/python3-pytz/python3-pytz.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for pytz + +# Copyright 2009-2021 Heinz Wiesinger, Amsterdam, The Netherlands <pprkut@slackbuilds.org> +# Copyright 2024 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-pytz +VERSION=${VERSION:-2024.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=pytz + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 setup.py install --root=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.txt README.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-pytz/python3-pytz.info b/python/python3-pytz/python3-pytz.info new file mode 100644 index 0000000000..9e781a317d --- /dev/null +++ b/python/python3-pytz/python3-pytz.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pytz" +VERSION="2024.2" +HOMEPAGE="https://pypi.org/project/pytz/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytz/pytz-2024.2.tar.gz" +MD5SUM="efcb554763a36b3e18acee074f44d1a5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-pytz/slack-desc b/python/python3-pytz/slack-desc new file mode 100644 index 0000000000..fa89da2089 --- /dev/null +++ b/python/python3-pytz/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-pytz: python3-pytz (World timezone definitions for Python) +python3-pytz: +python3-pytz: pytz brings the Olson tz database into Python. This library allows +python3-pytz: accurate and cross platform timezone calculations using Python 2.3 +python3-pytz: or higher. It also solves the issue of ambiguous times at the end +python3-pytz: of daylight savings, which you can read more about in the Python +python3-pytz: Library Reference (datetime.tzinfo). +python3-pytz: +python3-pytz: Homepage: https://launchpad.net/pytz +python3-pytz: +python3-pytz: diff --git a/python/pyudev/README b/python/python3-pyudev/README index 4634587d26..4634587d26 100644 --- a/python/pyudev/README +++ b/python/python3-pyudev/README diff --git a/python/pyudev/pyudev.SlackBuild b/python/python3-pyudev/python3-pyudev.SlackBuild index b177b59cb6..2925c8890b 100644 --- a/python/pyudev/pyudev.SlackBuild +++ b/python/python3-pyudev/python3-pyudev.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for pyudev # Copyright 2012 Jon Ware <jon@waremail.net> -# Copyright 2018-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2018-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,12 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=pyudev -VERSION=${VERSION:-0.24.1} +PRGNAM=python3-pyudev +VERSION=${VERSION:-0.24.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=pyudev + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -48,28 +50,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 -o -perm 511 \) \ diff --git a/python/python3-pyudev/python3-pyudev.info b/python/python3-pyudev/python3-pyudev.info new file mode 100644 index 0000000000..20cfe783d6 --- /dev/null +++ b/python/python3-pyudev/python3-pyudev.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pyudev" +VERSION="0.24.3" +HOMEPAGE="https://github.com/pyudev/pyudev" +DOWNLOAD="https://github.com/pyudev/pyudev/archive/v0.24.3/pyudev-0.24.3.tar.gz" +MD5SUM="6470382b3c4137c63f6bdc578b35cfb2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/prompt_toolkit/slack-desc b/python/python3-pyudev/slack-desc index f415e8f935..3d830ce557 100644 --- a/python/prompt_toolkit/slack-desc +++ b/python/python3-pyudev/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -prompt_toolkit: prompt_toolkit (interactive command lines) -prompt_toolkit: -prompt_toolkit: Library for building powerful interactive command lines in Python. -prompt_toolkit: prompt_toolkit could be a replacement for GNU readline, but it can be -prompt_toolkit: much more than that. -prompt_toolkit: -prompt_toolkit: Homepage: https://github.com/jonathanslenders/python-prompt-toolkit -prompt_toolkit: -prompt_toolkit: -prompt_toolkit: -prompt_toolkit: +python3-pyudev: python3-pyudev (pure Python libudev binding) +python3-pyudev: +python3-pyudev: pyudev is an LGPL licensed, pure Python 2/3 binding to libudev, the +python3-pyudev: device and hardware management and information library of Linux. +python3-pyudev: +python3-pyudev: homepage: http://pyudev.readthedocs.org +python3-pyudev: +python3-pyudev: +python3-pyudev: +python3-pyudev: +python3-pyudev: diff --git a/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild b/python/python3-qbittorrent-api/python3-qbittorrent-api.SlackBuild index 6bb638b295..a054e21c33 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:-2024.3.60} +VERSION=${VERSION:-2024.9.66} 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 d6ac2a6d6a..d572448997 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="2024.3.60" +VERSION="2024.9.66" HOMEPAGE="https://qbittorrent-api.readthedocs.io/" -DOWNLOAD="https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v2024.3.60/qbittorrent-api-2024.3.60.tar.gz" -MD5SUM="cecc8a3919170d1241ad9bfa9c973415" +DOWNLOAD="https://github.com/rmartin16/qbittorrent-api/archive/refs/tags/v2024.9.66/qbittorrent-api-2024.9.66.tar.gz" +MD5SUM="6143efccd58b31d6fc6c18a2d95627e4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt" diff --git a/python/python3-regex/python3-regex.SlackBuild b/python/python3-regex/python3-regex.SlackBuild index 201bff7584..f49a765529 100644 --- a/python/python3-regex/python3-regex.SlackBuild +++ b/python/python3-regex/python3-regex.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-regex -VERSION=${VERSION:-2024.5.10} +VERSION=${VERSION:-2024.9.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-regex/python3-regex.info b/python/python3-regex/python3-regex.info index 8b8e2766df..9c2ac3a94f 100644 --- a/python/python3-regex/python3-regex.info +++ b/python/python3-regex/python3-regex.info @@ -1,8 +1,8 @@ PRGNAM="python3-regex" -VERSION="2024.5.10" -HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/regex/regex-2024.5.10.tar.gz" -MD5SUM="c2c995cc8fb698a3464a07ad2cca7a2f" +VERSION="2024.9.11" +HOMEPAGE="https://github.com/mrabarnett/mrab-regex" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/regex/regex-2024.9.11.tar.gz" +MD5SUM="a544771359e2c977578297506de829eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-regex/slack-desc b/python/python3-regex/slack-desc index 382df472a8..67ff7d72a4 100644 --- a/python/python3-regex/slack-desc +++ b/python/python3-regex/slack-desc @@ -12,7 +12,7 @@ python3-regex: A new regex implementation intended eventually to replace Python' python3-regex: current re module implementation. For testing and comparison with the python3-regex: new implementation is in the form of a module called 'regex'. python3-regex: -python3-regex: Homepage: https://code.google.com/p/mrab-regex-hg/ +python3-regex: Homepage: https://github.com/mrabarnett/mrab-regex python3-regex: python3-regex: python3-regex: diff --git a/python/python3-reportlab/README b/python/python3-reportlab/README index 43391124d9..d382fe51ea 100644 --- a/python/python3-reportlab/README +++ b/python/python3-reportlab/README @@ -4,9 +4,6 @@ developers or creative design professionals who need to quickly and easily create or automate complex (even data-driven) documents. It is released by ReportLab Inc., under BSD license. -It includes binary extensions (previously available separately) -_rl_accel and renderPM - It has the following features: - create professional portable documents - real document layout engine (Platypus) diff --git a/python/python3-reportlab/python3-reportlab.SlackBuild b/python/python3-reportlab/python3-reportlab.SlackBuild index 4216cfb977..34ddf2199a 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.2.0} +VERSION=${VERSION:-4.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-reportlab/python3-reportlab.info b/python/python3-reportlab/python3-reportlab.info index 79c9f7cb0f..0fabb219d7 100644 --- a/python/python3-reportlab/python3-reportlab.info +++ b/python/python3-reportlab/python3-reportlab.info @@ -1,8 +1,8 @@ PRGNAM="python3-reportlab" -VERSION="4.2.0" +VERSION="4.2.2" HOMEPAGE="https://reportlab.com" -DOWNLOAD="https://pypi.org/packages/source/r/reportlab/reportlab-4.2.0.tar.gz" -MD5SUM="83aa69a14f3450cd8e84e376d8713436" +DOWNLOAD="https://pypi.org/packages/source/r/reportlab/reportlab-4.2.2.tar.gz" +MD5SUM="5198e2ec141b3ad8ab0ddc14065f83e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-rtree/python3-rtree.SlackBuild b/python/python3-rtree/python3-rtree.SlackBuild index f07810e02f..445a36e1e4 100644 --- a/python/python3-rtree/python3-rtree.SlackBuild +++ b/python/python3-rtree/python3-rtree.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-rtree -# Copyright 2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rtree -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.3.0} 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 @@ -78,13 +64,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -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-rtree can be built by running setup.py directly. +# However, this brings about a "SetuptoolsDeprecationWarning: setup.py install is deprecated." +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 CREDITS.txt LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CREDITS.txt 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-rtree/python3-rtree.info b/python/python3-rtree/python3-rtree.info index 9a0030ace5..be110a4906 100644 --- a/python/python3-rtree/python3-rtree.info +++ b/python/python3-rtree/python3-rtree.info @@ -1,10 +1,10 @@ PRGNAM="python3-rtree" -VERSION="1.0.1" -HOMEPAGE="https://github.com/Toblerity/rtree/" -DOWNLOAD="https://github.com/Toblerity/rtree/archive/1.0.1/rtree-1.0.1.tar.gz" -MD5SUM="c70d72aa1cfa232aac945735da364e9d" +VERSION="1.3.0" +HOMEPAGE="https://rtree.readthedocs.io/en/latest/" +DOWNLOAD="https://github.com/Toblerity/rtree/archive/1.3.0/rtree-1.3.0.tar.gz" +MD5SUM="f8cbe574b941f38e6dc0f56aa0c99ad3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libspatialindex python3-wheel" +REQUIRES="libspatialindex python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-schedule/python3-schedule.SlackBuild b/python/python3-schedule/python3-schedule.SlackBuild index 9ad3f68d8c..94aa327097 100644 --- a/python/python3-schedule/python3-schedule.SlackBuild +++ b/python/python3-schedule/python3-schedule.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-schedule -# Copyright 2023 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2023-2024 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-schedule SRCNAM=schedule -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-schedule/python3-schedule.info b/python/python3-schedule/python3-schedule.info index b29e8543cf..68a7640917 100644 --- a/python/python3-schedule/python3-schedule.info +++ b/python/python3-schedule/python3-schedule.info @@ -1,10 +1,10 @@ PRGNAM="python3-schedule" -VERSION="1.1.0" +VERSION="1.2.0" HOMEPAGE="https://github.com/dbader/schedule" -DOWNLOAD="https://files.pythonhosted.org/packages/a8/b5/a291a4c0faa491fd5baefa6d89011ece581cff47b23c0a39b42a63383358/schedule-1.1.0.tar.gz" -MD5SUM="9bf7544e37824e450457187633a17b17" +DOWNLOAD="https://files.pythonhosted.org/packages/29/22/9dd374cbf76a42ece1f1f41cc8f4957f0ad512577372527cd3dd52758241/schedule-1.2.1.tar.gz" +MD5SUM="ecb436a797e1a149bac4643330b268ca" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-service-identity/python3-service-identity.SlackBuild b/python/python3-service-identity/python3-service-identity.SlackBuild index 3825d06e78..e16fad51d9 100644 --- a/python/python3-service-identity/python3-service-identity.SlackBuild +++ b/python/python3-service-identity/python3-service-identity.SlackBuild @@ -85,6 +85,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-setuptools-opt/python3-setuptools-opt.SlackBuild b/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild index e92d788a63..0435a532e6 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:-69.5.1} +VERSION=${VERSION:-74.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -96,6 +96,7 @@ if [ "$LIBDIRSUFFIX" = "64" ]; then fi 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 @@ -114,12 +115,12 @@ cp -a NEWS.rst LICENSE PKG-INFO README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# If there's a CHANGES.rst, installing at least part of the recent history +# If there's a docs/history.rst, installing at least part of the recent history # is useful, but don't let it get totally out of control: -if [ -r CHANGES.rst ]; then +if [ -r docs/history.rst ]; then DOCSDIR=$(echo $PKG/usr/doc/${PRGNAM}-$VERSION) - cat CHANGES.rst | head -n 1000 > $DOCSDIR/CHANGES.rst - touch -r CHANGES.rst $DOCSDIR/CHANGES.rst + cat docs/history.rst | head -n 1000 > $DOCSDIR/history.rst + touch -r docs/history.rst $DOCSDIR/history.rst fi mkdir -p $PKG/install diff --git a/python/python3-setuptools-opt/python3-setuptools-opt.info b/python/python3-setuptools-opt/python3-setuptools-opt.info index 36cb763a1d..ac937ff8f3 100644 --- a/python/python3-setuptools-opt/python3-setuptools-opt.info +++ b/python/python3-setuptools-opt/python3-setuptools-opt.info @@ -1,10 +1,10 @@ PRGNAM="python3-setuptools-opt" -VERSION="69.5.1" +VERSION="74.1.2" HOMEPAGE="https://pypi.org/project/setuptools/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-69.5.1.tar.gz" -MD5SUM="645f672221ed628e888e38a9da6c5aed" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-74.1.2.tar.gz" +MD5SUM="dade67d5cb658dfb31c1ec7e0186426e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-wheel" +REQUIRES="python3-packaging-opt python3-wheel" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild index 500539769b..eacfd59ce3 100644 --- a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild +++ b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-setuptools-rust-opt -SRCNAM=setuptools-rust -VERSION=${VERSION:-1.9.0} +SRCNAM=setuptools_rust +VERSION=${VERSION:-1.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info index 5d5035580c..b44b25127a 100644 --- a/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info +++ b/python/python3-setuptools-rust-opt/python3-setuptools-rust-opt.info @@ -1,10 +1,10 @@ PRGNAM="python3-setuptools-rust-opt" -VERSION="1.9.0" +VERSION="1.10.1" HOMEPAGE="https://github.com/PyO3/setuptools-rust/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools-rust/setuptools-rust-1.9.0.tar.gz" -MD5SUM="e3be6366d0d71304ca859edca3c89606" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_rust/setuptools_rust-1.10.1.tar.gz" +MD5SUM="d92da96159f470af8a15da8ddef1975e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-setuptools-opt typing-extensions python3-semantic-version" +REQUIRES="python3-setuptools-opt python3-typing-extensions python3-semantic-version" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info index 6ddaa3d8fb..6d677c69ef 100644 --- a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info +++ b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_scm/setupt MD5SUM="036efc8cbff77f9ba420225c4807e938" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="typing-extensions python3-rich python-importlib_metadata" +REQUIRES="python3-typing-extensions python3-rich python-importlib_metadata" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-shtab/python3-shtab.SlackBuild b/python/python3-shtab/python3-shtab.SlackBuild index 97c18b7b35..0007661c26 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-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2024 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.6.1} +VERSION=${VERSION:-1.7.1} 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 @@ -78,13 +64,28 @@ 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 +# Use newer setuptools despite not explicitly stating so within pyproject.toml. +# Otherwise, shtab does not compile properly +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +# generate shell completions +for shell in bash zsh; do + python3 -m shtab --print-own-completion "$shell" > "$shell.completion" +done + +# install completions +install -vDm644 bash.completion $PKG/usr/share/bash-completion/completions/shtab +install -vDm644 zsh.completion $PKG/usr/share/zsh/site-functions/_shtab 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 CONTRIBUTING.md LICENCE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CONTRIBUTING.md 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-shtab/python3-shtab.info b/python/python3-shtab/python3-shtab.info index 1308f58d98..70a1e1b0de 100644 --- a/python/python3-shtab/python3-shtab.info +++ b/python/python3-shtab/python3-shtab.info @@ -1,10 +1,10 @@ PRGNAM="python3-shtab" -VERSION="1.6.1" +VERSION="1.7.1" HOMEPAGE="https://github.com/iterative/shtab" -DOWNLOAD="https://github.com/iterative/shtab/releases/download/v1.6.1/shtab-1.6.1.tar.gz" -MD5SUM="d9e0f4e3a1c46dfc7d1cce2b10aaf217" +DOWNLOAD="https://github.com/iterative/shtab/releases/download/v1.7.1/shtab-1.7.1.tar.gz" +MD5SUM="da7bd07a2b2888974d6bf5c4ea70cdcf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wheel" -MAINTAINER="orphaned (no maintainer)" -EMAIL="nobody@domain.com" +REQUIRES="python3-setuptools-opt" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/python3-simple-term-menu/python3-simple-term-menu.SlackBuild b/python/python3-simple-term-menu/python3-simple-term-menu.SlackBuild index fe632134a1..8b296f2033 100644 --- a/python/python3-simple-term-menu/python3-simple-term-menu.SlackBuild +++ b/python/python3-simple-term-menu/python3-simple-term-menu.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-simple-term-menu -# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2024 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-simple-term-menu SRCNAM=simple-term-menu -VERSION=${VERSION:-1.5.2} +VERSION=${VERSION:-1.6.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-simple-term-menu/python3-simple-term-menu.info b/python/python3-simple-term-menu/python3-simple-term-menu.info index 57d3018c3b..656fbcbb69 100644 --- a/python/python3-simple-term-menu/python3-simple-term-menu.info +++ b/python/python3-simple-term-menu/python3-simple-term-menu.info @@ -1,10 +1,10 @@ PRGNAM="python3-simple-term-menu" -VERSION="1.5.2" +VERSION="1.6.4" HOMEPAGE="https://github.com/IngoMeyer441/simple-term-menu" -DOWNLOAD="https://files.pythonhosted.org/packages/97/b6/80cd0b89b41f5b3f98bfaf91278a2354ef0de2ed1f81ef3637c9363fcbe3/simple-term-menu-1.5.2.tar.gz" -MD5SUM="73fbc24ee2513cb6cc9a05b342f34452" +DOWNLOAD="https://files.pythonhosted.org/packages/a1/a0/7e78b93510886f6fb5b7146bd5cee03986fa5c2319644155c275e389c55a/simple-term-menu-1.6.4.tar.gz" +MD5SUM="16607a137205fb7443fa642611798794" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-sipsimple/python3-sipsimple.info b/python/python3-sipsimple/python3-sipsimple.info index 8ea5b1bfa0..02c7a39fcc 100644 --- a/python/python3-sipsimple/python3-sipsimple.info +++ b/python/python3-sipsimple/python3-sipsimple.info @@ -1,14 +1,14 @@ PRGNAM="python3-sipsimple" VERSION="5.3.0" HOMEPAGE="https://sipsimpleclient.org" -DOWNLOAD="https://github.com/AGProjects/python3-sipsimple/archive/5.3.0/python3-sipsimple-5.3.0.tar.gz \ +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/AGProjects/python3-sipsimple/archive/5.3.0/python3-sipsimple-5.3.0.tar.gz \ https://github.com/pjsip/pjproject/archive/2.10/pjproject-2.10.tar.gz \ https://github.com/wernerd/ZRTPCPP/archive/6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03/ZRTPCPP-6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03.tar.gz" -MD5SUM="b7501cb3f173463f013b0777f4531f96 \ +MD5SUM_x86_64="b7501cb3f173463f013b0777f4531f96 \ 13e5c418008ae46c4ce0c1e27cdfe9b5 \ 9ffa563579f7fde59a797d1d994675e1" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" REQUIRES="python3-dnspython python3-lxml python3-twisted python3-dateutil greenlet python3-eventlib python3-gnutls python3-otr python3-msrplib python3-xcaplib opencore-amr gsm libilbc libyuv" MAINTAINER="Lockywolf" EMAIL="for_sbo.python3-sipsimple_2023-09-22@lockywolf.net" diff --git a/python/python3-socks/python3-socks.SlackBuild b/python/python3-socks/python3-socks.SlackBuild index 27cb68702d..393c24c8d3 100644 --- a/python/python3-socks/python3-socks.SlackBuild +++ b/python/python3-socks/python3-socks.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-socks # Copyright 2019-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023 nomnombtc <nomnombtc@arcor.de> +# Copyright 2023-2024 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=python3-socks -VERSION=${VERSION:-2.4.4} +VERSION=${VERSION:-2.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-socks/python3-socks.info b/python/python3-socks/python3-socks.info index 8e560a8f4b..cd677dd8aa 100644 --- a/python/python3-socks/python3-socks.info +++ b/python/python3-socks/python3-socks.info @@ -1,8 +1,8 @@ PRGNAM="python3-socks" -VERSION="2.4.4" +VERSION="2.5.1" HOMEPAGE="https://github.com/romis2012/python-socks/" -DOWNLOAD="https://github.com/romis2012/python-socks/archive/v2.4.4/python-socks-2.4.4.tar.gz" -MD5SUM="ace59e85b10c2871d6d6216720aa9b8d" +DOWNLOAD="https://github.com/romis2012/python-socks/archive/v2.5.1/python-socks-2.5.1.tar.gz" +MD5SUM="c9fd0ced56621b535e88e19c88d769d7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-soupsieve/python3-soupsieve.SlackBuild b/python/python3-soupsieve/python3-soupsieve.SlackBuild index 8bf2d9e5a7..24d49bea9c 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 Giancarlo Dessi, Cagliari, IT, <slack@giand.it> +# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT, <slack@giand.it> # Copyright 2020-2022 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # @@ -23,13 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220415 bkw: Modified by SlackBuilds.org, BUILD=2: -# - clean up the doc dir. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-soupsieve -VERSION=${VERSION:-2.5} +VERSION=${VERSION:-2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,15 +65,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 {} \+ +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 -# 20220415 bkw: since we can't build the HTML docs from the markdown -# source (we lack the tools), just put the markdown files in the doc dir. -# they're pretty readable as-is. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.md docs/src/markdown/{*.md,selectors,about} $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-soupsieve/python3-soupsieve.info b/python/python3-soupsieve/python3-soupsieve.info index 1bc97baec6..1fb8593c49 100644 --- a/python/python3-soupsieve/python3-soupsieve.info +++ b/python/python3-soupsieve/python3-soupsieve.info @@ -1,8 +1,8 @@ PRGNAM="python3-soupsieve" -VERSION="2.5" +VERSION="2.6" HOMEPAGE="https://github.com/facelessuser/soupsieve" -DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.5/soupsieve-2.5.tar.gz" -MD5SUM="b2d9add32560a781ade688c4513458c6" +DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.6/soupsieve-2.6.tar.gz" +MD5SUM="a3dcdd1a5472c9404110fc07dfc64415" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling" diff --git a/python/python3-srt/README b/python/python3-srt/README new file mode 100644 index 0000000000..823b3ca88b --- /dev/null +++ b/python/python3-srt/README @@ -0,0 +1,4 @@ +python3-srt (Tools for parsing, modifying, and composing SRT files) + +srt is a tiny but featureful Python library for parsing, modifying, +and composing SRT files. diff --git a/python/python3-srt/python3-srt.SlackBuild b/python/python3-srt/python3-srt.SlackBuild new file mode 100644 index 0000000000..e13e9b2116 --- /dev/null +++ b/python/python3-srt/python3-srt.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-srt + +# Copyright 2024 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-srt +VERSION=${VERSION:-3.5.3} +SRCNAM=${SRCNAM:-srt} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 setup.py install --root=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.rst \ + $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-srt/python3-srt.info b/python/python3-srt/python3-srt.info new file mode 100644 index 0000000000..01907fbacb --- /dev/null +++ b/python/python3-srt/python3-srt.info @@ -0,0 +1,10 @@ +PRGNAM="python3-srt" +VERSION="3.5.3" +HOMEPAGE="https://github.com/cdown/srt" +DOWNLOAD="https://github.com/cdown/srt/archive/refs/tags/3.5.3/srt-3.5.3.tar.gz" +MD5SUM="33187d059091a27f7ce33b191feed98d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/PyInstaller/slack-desc b/python/python3-srt/slack-desc index 983ade4c5c..fa411f16eb 100644 --- a/python/PyInstaller/slack-desc +++ b/python/python3-srt/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -PyInstaller: PyInstaller (Converts Python programs) -PyInstaller: -PyInstaller: PyInstaller is a program that converts (packages) Python programs -PyInstaller: into stand-alone executables, under Windows, Linux, Mac OS X, AIX -PyInstaller: and Solaris. -PyInstaller: -PyInstaller: Homepage: http://www.pyinstaller.org/ -PyInstaller: -PyInstaller: -PyInstaller: -PyInstaller: +python3-srt: python3-srt (Tools for parsing, modifying, and composing SRT files) +python3-srt: +python3-srt: srt is a tiny but featureful Python library for parsing, modifying, +python3-srt: and composing SRT files. +python3-srt: +python3-srt: HOMEPAGE: https://github.com/cdown/srt +python3-srt: +python3-srt: +python3-srt: +python3-srt: +python3-srt: diff --git a/python/python3-stevedore/python3-stevedore.SlackBuild b/python/python3-stevedore/python3-stevedore.SlackBuild index 5929e799a6..14045c8789 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.2.0} +VERSION=${VERSION:-5.3.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 0da184bd26..66a2d1cb7e 100644 --- a/python/python3-stevedore/python3-stevedore.info +++ b/python/python3-stevedore/python3-stevedore.info @@ -1,8 +1,8 @@ PRGNAM="python3-stevedore" -VERSION="5.2.0" +VERSION="5.3.0" HOMEPAGE="https://opendev.org/openstack/stevedore/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-5.2.0.tar.gz" -MD5SUM="3e671daf97272ae35ab1f078c9973c38" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-5.3.0.tar.gz" +MD5SUM="f9117028291767cb5dfe665e3845c5ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-tekore/python3-tekore.SlackBuild b/python/python3-tekore/python3-tekore.SlackBuild index 44cc78b33a..b997143314 100644 --- a/python/python3-tekore/python3-tekore.SlackBuild +++ b/python/python3-tekore/python3-tekore.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-tekore -# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com> +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.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-tekore SRCNAM=tekore -VERSION=${VERSION:-4.3.0} +VERSION=${VERSION:-5.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,20 +52,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,9 +67,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 -e "s~.*scripts=glob.glob(\"Scripts/\*.py\"),~~" setup.py +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ -python3 setup.py install --root=$PKG +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-tekore/python3-tekore.info b/python/python3-tekore/python3-tekore.info index 7131a79faa..d32c6d2f3d 100644 --- a/python/python3-tekore/python3-tekore.info +++ b/python/python3-tekore/python3-tekore.info @@ -1,10 +1,10 @@ PRGNAM="python3-tekore" -VERSION="4.3.0" +VERSION="5.5.0" HOMEPAGE="https://pypi.org/project/tekore/" -DOWNLOAD="https://files.pythonhosted.org/packages/60/35/faea7eb3e936eeb30edb196245ce280512139c084afd5245a6fe3cbaa477/tekore-4.3.0.tar.gz" -MD5SUM="d58ba00cd9271d97c926b52b257a158e" +DOWNLOAD="https://github.com/felix-hilden/tekore/archive/v5.5.0/tekore-5.5.0.tar.gz" +MD5SUM="5dc29c9391364dcef0e0ebc37554fa77" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Pouria Rezaei" EMAIL="Pouria.rz@outlook.com" diff --git a/python/python3-tempora/python3-tempora.info b/python/python3-tempora/python3-tempora.info index 4afb2795f4..526f78d603 100644 --- a/python/python3-tempora/python3-tempora.info +++ b/python/python3-tempora/python3-tempora.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tempora/tempora-5.5.1 MD5SUM="a904fca738bc16b31f28472379987e6a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-jaraco.functools pytz python3-setuptools-opt" +REQUIRES="python3-jaraco.functools python3-pytz python3-setuptools-opt" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-tenacity/python3-tenacity.SlackBuild b/python/python3-tenacity/python3-tenacity.SlackBuild index e5dd099056..f5fd1eb4cb 100644 --- a/python/python3-tenacity/python3-tenacity.SlackBuild +++ b/python/python3-tenacity/python3-tenacity.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tenacity -VERSION=${VERSION:-8.3.0} +VERSION=${VERSION:-9.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-tenacity/python3-tenacity.info b/python/python3-tenacity/python3-tenacity.info index ca39030f13..0a48dae30d 100644 --- a/python/python3-tenacity/python3-tenacity.info +++ b/python/python3-tenacity/python3-tenacity.info @@ -1,8 +1,8 @@ PRGNAM="python3-tenacity" -VERSION="8.3.0" +VERSION="9.0.0" HOMEPAGE="https://github.com/jd/tenacity" -DOWNLOAD="https://github.com/jd/tenacity/archive/refs/tags/8.3.0/tenacity-8.3.0.tar.gz" -MD5SUM="0a05465d33942718e57b30fd13a6cef8" +DOWNLOAD="https://github.com/jd/tenacity/archive/refs/tags/9.0.0/tenacity-9.0.0.tar.gz" +MD5SUM="bdc8b7e2609df121a254b94e769bac6f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/terminado/README b/python/python3-terminado/README index 54baa522ae..54baa522ae 100644 --- a/python/terminado/README +++ b/python/python3-terminado/README diff --git a/python/python3-terminado/python3-terminado.SlackBuild b/python/python3-terminado/python3-terminado.SlackBuild new file mode 100644 index 0000000000..23e6bb7a1c --- /dev/null +++ b/python/python3-terminado/python3-terminado.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# Slackware build script for python3-terminado + +# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2022-2024 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-terminado +VERSION=${VERSION:-0.18.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=terminado + +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 CONTRIBUTING.rst 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/terminado/terminado.info b/python/python3-terminado/python3-terminado.info index 7e61fcaa57..8f637ffd7d 100644 --- a/python/terminado/terminado.info +++ b/python/python3-terminado/python3-terminado.info @@ -1,4 +1,4 @@ -PRGNAM="terminado" +PRGNAM="python3-terminado" VERSION="0.18.1" HOMEPAGE="https://github.com/jupyter/terminado" DOWNLOAD="https://files.pythonhosted.org/packages/source/t/terminado/terminado-0.18.1.tar.gz" diff --git a/python/python3-terminado/slack-desc b/python/python3-terminado/slack-desc new file mode 100644 index 0000000000..4e208f8c91 --- /dev/null +++ b/python/python3-terminado/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-terminado: python3-terminado (terminals served by tornado websockets) +python3-terminado: +python3-terminado: Terminado is a Tornado websocket backend for the term.js Javascript +python3-terminado: terminal emulator library. +python3-terminado: +python3-terminado: +python3-terminado: +python3-terminado: +python3-terminado: +python3-terminado: +python3-terminado: diff --git a/python/testpath/README b/python/python3-testpath/README index b2cab199cf..b2cab199cf 100644 --- a/python/testpath/README +++ b/python/python3-testpath/README diff --git a/python/terminado/terminado.SlackBuild b/python/python3-testpath/python3-testpath.SlackBuild index 5992c8be24..e69c4bdea2 100644 --- a/python/terminado/terminado.SlackBuild +++ b/python/python3-testpath/python3-testpath.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Slackware build script for terminado +# Slackware build script for python3-testpath # Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> @@ -25,12 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=terminado -VERSION=${VERSION:-0.18.1} +PRGNAM=python3-testpath +VERSION=${VERSION:-0.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=testpath + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -53,9 +55,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,7 +72,9 @@ 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.md CONTRIBUTING.rst LICENSE README.md $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/testpath/testpath.info b/python/python3-testpath/python3-testpath.info index ec99fcea06..95ea824b22 100644 --- a/python/testpath/testpath.info +++ b/python/python3-testpath/python3-testpath.info @@ -1,4 +1,4 @@ -PRGNAM="testpath" +PRGNAM="python3-testpath" VERSION="0.6.0" HOMEPAGE="https://github.com/jupyter/testpath" DOWNLOAD="https://files.pythonhosted.org/packages/source/t/testpath/testpath-0.6.0.tar.gz" diff --git a/python/ipython_genutils/slack-desc b/python/python3-testpath/slack-desc index 8732df118f..dfbe21bae3 100644 --- a/python/ipython_genutils/slack-desc +++ b/python/python3-testpath/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -ipython_genutils: ipython_genutils (vestigial IPython utilities) -ipython_genutils: -ipython_genutils: ipython_genutils contains some common utilities shared by Jupyter -ipython_genutils: and IPython projects during the code split. -ipython_genutils: -ipython_genutils: -ipython_genutils: -ipython_genutils: -ipython_genutils: -ipython_genutils: -ipython_genutils: +python3-testpath: python3-testpath (Collection of utilities for Python code working) +python3-testpath: +python3-testpath: testpath is a collection of utilities for Python code working with +python3-testpath: files and commands. +python3-testpath: +python3-testpath: +python3-testpath: +python3-testpath: +python3-testpath: +python3-testpath: +python3-testpath: diff --git a/python/python3-textdistance/python3-textdistance.SlackBuild b/python/python3-textdistance/python3-textdistance.SlackBuild index 73bd4a37d2..ee1e71adf0 100644 --- a/python/python3-textdistance/python3-textdistance.SlackBuild +++ b/python/python3-textdistance/python3-textdistance.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-textdistance -VERSION=${VERSION:-4.6.2} +VERSION=${VERSION:-4.6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-textdistance/python3-textdistance.info b/python/python3-textdistance/python3-textdistance.info index 6c3440fc08..9ef9a0e8d7 100644 --- a/python/python3-textdistance/python3-textdistance.info +++ b/python/python3-textdistance/python3-textdistance.info @@ -1,8 +1,8 @@ PRGNAM="python3-textdistance" -VERSION="4.6.2" +VERSION="4.6.3" HOMEPAGE="https://github.com/life4/textdistance" -DOWNLOAD="https://github.com/life4/textdistance/archive/4.6.2/textdistance-4.6.2.tar.gz" -MD5SUM="ce45430e7d68ed7ca8d3bf2cdd0148d7" +DOWNLOAD="https://github.com/life4/textdistance/archive/4.6.3/textdistance-4.6.3.tar.gz" +MD5SUM="cceeba5dd010d2ae2ce52467d8d5c84f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-tinydb/python3-tinydb.SlackBuild b/python/python3-tinydb/python3-tinydb.SlackBuild index c2ee8fff16..2012eafabe 100644 --- a/python/python3-tinydb/python3-tinydb.SlackBuild +++ b/python/python3-tinydb/python3-tinydb.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-tinydb -# Copyright 2023 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2023-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tinydb SRCNAM=tinydb -VERSION=${VERSION:-4.7.1} +VERSION=${VERSION:-4.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,12 +77,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 {} \; -python3 setup.py install --root=$PKG +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/python3-tinydb/python3-tinydb.info b/python/python3-tinydb/python3-tinydb.info index 8d2d11d6eb..5d0dbf3ca7 100644 --- a/python/python3-tinydb/python3-tinydb.info +++ b/python/python3-tinydb/python3-tinydb.info @@ -1,10 +1,10 @@ PRGNAM="python3-tinydb" -VERSION="4.7.1" +VERSION="4.8.0" HOMEPAGE="https://tinydb.readthedocs.io/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/32/ed/78f24df0fec08f0fb92fc4b4758adcab780660caa8c3f94c2e175eb7e2ba/tinydb-4.7.1.tar.gz" -MD5SUM="d570288bdae4338497ed8655261bbf89" +DOWNLOAD="https://files.pythonhosted.org/packages/30/0b/9e75a8d3333a6a3d9b36de04bf87a37a8d7f100035ea23c9c37bf0a112ab/tinydb-4.8.0.tar.gz" +MD5SUM="8738999976febfe7e8ea81c4b1910f9b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-poetry-core" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-tomlkit/python3-tomlkit.SlackBuild b/python/python3-tomlkit/python3-tomlkit.SlackBuild index 8145d18a51..b4aae67f9c 100644 --- a/python/python3-tomlkit/python3-tomlkit.SlackBuild +++ b/python/python3-tomlkit/python3-tomlkit.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tomlkit -VERSION=${VERSION:-0.12.5} +VERSION=${VERSION:-0.13.2} 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 d580e6adeb..ab644d2ca4 100644 --- a/python/python3-tomlkit/python3-tomlkit.info +++ b/python/python3-tomlkit/python3-tomlkit.info @@ -1,8 +1,8 @@ PRGNAM="python3-tomlkit" -VERSION="0.12.5" +VERSION="0.13.2" HOMEPAGE="https://github.com/sdispater/tomlkit" -DOWNLOAD="https://github.com/sdispater/tomlkit/releases/download/0.12.5/tomlkit-0.12.5.tar.gz" -MD5SUM="d80337406fdca101c12adff115983f31" +DOWNLOAD="https://github.com/sdispater/tomlkit/releases/download/0.13.2/tomlkit-0.13.2.tar.gz" +MD5SUM="0db1a3750c64b141720f05430df9b433" 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 f5974e4f5c..607a4987eb 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 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2024 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.0} +VERSION=${VERSION:-6.4.1} 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 c1efe1a0aa..2821883d5f 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.0" +VERSION="6.4.1" HOMEPAGE="http://www.tornadoweb.org" -DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v6.4.0/tornado-6.4.0.tar.gz" -MD5SUM="55eb5707d6083392b2442f81203de419" +DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v6.4.1/tornado-6.4.1.tar.gz" +MD5SUM="5189580444e4d5e88b656e7e7f7536fd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-tox/python3-tox.SlackBuild b/python/python3-tox/python3-tox.SlackBuild index bdc47bcacf..cc14723b27 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.15.0} +VERSION=${VERSION:-4.20.0} SRCNAM=${SRCNAM:-tox} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,8 +62,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 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION +# This seems to run fine with versions available in 15.0... no need for warnings +sed -i 's|=5\.2|=4\.0\.0|' pyproject.toml # chardet +sed -i 's|=2\.0\.1|=1\.2\.2|' pyproject.toml # tomli + +# Hide warning for packaging>=24 since it resides in /opt/ +sed -i 's|.*packaging.*||' pyproject.toml + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl diff --git a/python/python3-tox/python3-tox.info b/python/python3-tox/python3-tox.info index c016ff83ba..28b78ea89f 100644 --- a/python/python3-tox/python3-tox.info +++ b/python/python3-tox/python3-tox.info @@ -1,8 +1,8 @@ PRGNAM="python3-tox" -VERSION="4.15.0" +VERSION="4.20.0" HOMEPAGE="https://tox.wiki/" -DOWNLOAD="https://github.com/tox-dev/tox/archive/refs/tags/4.15.0/tox-4.15.0.tar.gz" -MD5SUM="913ef63e6b6fde79cf84d9126c2ee023" +DOWNLOAD="https://github.com/tox-dev/tox/archive/refs/tags/4.20.0/tox-4.20.0.tar.gz" +MD5SUM="3787ff4ee95ced9d7003160d2258823b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-cachetools colorama python3-pyproject-api python3-virtualenv" diff --git a/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild b/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild index 4e1bed95d9..780b02ac06 100644 --- a/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild +++ b/python/python3-trove-classifiers/python3-trove-classifiers.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-trove-classifiers -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2024.4.10} +SRCNAM=trove_classifiers +VERSION=${VERSION:-2024.7.2} 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 d9b9fa168d..b339a6ff22 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="2024.4.10" +VERSION="2024.7.2" HOMEPAGE="https://github.com/pypa/trove-classifiers" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trove-classifiers/trove-classifiers-2024.4.10.tar.gz" -MD5SUM="ab22d0b1e315f189a61d8ae3f12c29cf" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/trove_classifiers/trove_classifiers-2024.7.2.tar.gz" +MD5SUM="ee42acfdbe6fee98be4bcbe0fdaa937c" 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 ae16aff15b..89962ae546 100644 --- a/python/python3-twisted/python3-twisted.SlackBuild +++ b/python/python3-twisted/python3-twisted.SlackBuild @@ -86,6 +86,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-types-python-dateutil/python3-types-python-dateutil.SlackBuild b/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild index a9a0a73425..b240fc9fb5 100644 --- a/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild +++ b/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-types-python-dateutil -VERSION=${VERSION:-2.9.0.20240316} +VERSION=${VERSION:-2.9.0.20240906} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-types-python-dateutil/python3-types-python-dateutil.info b/python/python3-types-python-dateutil/python3-types-python-dateutil.info index defa91a6aa..d708934d87 100644 --- a/python/python3-types-python-dateutil/python3-types-python-dateutil.info +++ b/python/python3-types-python-dateutil/python3-types-python-dateutil.info @@ -1,8 +1,8 @@ PRGNAM="python3-types-python-dateutil" -VERSION="2.9.0.20240316" +VERSION="2.9.0.20240906" 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.20240316.tar.gz" -MD5SUM="bb93503d154461a62a2008c58c3cac99" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/types-python-dateutil/types-python-dateutil-2.9.0.20240906.tar.gz" +MD5SUM="0d91422e92000e77d633a8adff3039e7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-typing-extensions/README b/python/python3-typing-extensions/README new file mode 100644 index 0000000000..1f4ec70cc5 --- /dev/null +++ b/python/python3-typing-extensions/README @@ -0,0 +1,14 @@ +Typing Extensions – Backported and Experimental Type Hints for Python + +The typing_extensions module serves two related purposes: + +- Enable use of new type system features on older Python versions. For + example, `typing.TypeGuard` is new in Python 3.10, but + typing_extensions allows users on previous Python versions to use it + too. +- Enable experimentation with new type system PEPs before they are + accepted and added to the typing module. + +typing_extensions is treated specially by static type checkers such as +mypy and pyright. Objects defined in typing_extensions are treated the +same way as equivalent forms in typing. diff --git a/python/typing-extensions/typing-extensions.SlackBuild b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild index 8689e7bb3f..580770f501 100644 --- a/python/typing-extensions/typing-extensions.SlackBuild +++ b/python/python3-typing-extensions/python3-typing-extensions.SlackBuild @@ -26,15 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=typing-extensions -PKGNAM=typing_extensions -VERSION=${VERSION:-4.11.0} +PRGNAM=python3-typing-extensions +SRCNAM=typing_extensions +VERSION=${VERSION:-4.12.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM="$(printf $PKGNAM | cut -d- -f2-)" - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; diff --git a/python/typing-extensions/typing-extensions.info b/python/python3-typing-extensions/python3-typing-extensions.info index 1604fe1daf..c8266bddf3 100644 --- a/python/typing-extensions/typing-extensions.info +++ b/python/python3-typing-extensions/python3-typing-extensions.info @@ -1,8 +1,8 @@ -PRGNAM="typing-extensions" -VERSION="4.11.0" +PRGNAM="python3-typing-extensions" +VERSION="4.12.2" HOMEPAGE="https://pypi.org/project/typing-extensions/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-4.11.0.tar.gz" -MD5SUM="6b89642c3d08d034dbc9f3d97c6d735d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-4.12.2.tar.gz" +MD5SUM="cf64c2313f5fa5eb04c1deb3fc93abe9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/python3-typing-extensions/slack-desc b/python/python3-typing-extensions/slack-desc new file mode 100644 index 0000000000..02179318f5 --- /dev/null +++ b/python/python3-typing-extensions/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-typing-extensions: python3-typing-extensions (Backported Type Hints for Python) +python3-typing-extensions: +python3-typing-extensions: The typing_extensions module enables use of new type system features +python3-typing-extensions: on older Python versions and enables experimentation with new type +python3-typing-extensions: system PEPs before they are accepted and added to the typing module. +python3-typing-extensions: +python3-typing-extensions: Homepage: https://pypi.org/project/typing-extensions/ +python3-typing-extensions: +python3-typing-extensions: +python3-typing-extensions: +python3-typing-extensions: diff --git a/python/python3-ufo2ft/python3-ufo2ft.SlackBuild b/python/python3-ufo2ft/python3-ufo2ft.SlackBuild index b25afbc25f..d465c42f49 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.2.1} +VERSION=${VERSION:-3.2.8} 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 16250f8fe4..5f0a59bc5d 100644 --- a/python/python3-ufo2ft/python3-ufo2ft.info +++ b/python/python3-ufo2ft/python3-ufo2ft.info @@ -1,10 +1,10 @@ PRGNAM="python3-ufo2ft" -VERSION="3.2.1" +VERSION="3.2.8" HOMEPAGE="https://github.com/googlefonts/ufo2ft" -DOWNLOAD="https://pypi.io/packages/source/u/ufo2ft/ufo2ft-3.2.1.tar.gz" -MD5SUM="5d2076df255ef95ed9989ce58bece51b" +DOWNLOAD="https://pypi.io/packages/source/u/ufo2ft/ufo2ft-3.2.8.tar.gz" +MD5SUM="31a8092ddc8ffb139792956d95a6ef4f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-booleanOperations python3-defcon python3-cffsubr python3-compreffor" +REQUIRES="python3-pytz python3-booleanOperations python3-defcon python3-fontMath python3-ufonormalizer python3-fontParts python3-fontPens python3-cffsubr python3-compreffor" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/python3-ufolib2/README b/python/python3-ufolib2/README index 18e4e594ab..76017b5e59 100644 --- a/python/python3-ufolib2/README +++ b/python/python3-ufolib2/README @@ -4,3 +4,6 @@ programmatic manipulation and fast batch processing og UFOs. It resembles the defcon library but does so without the notification,the layout engine and other support classes. Where useful and possible it tries to be API compatible with defcon. + + +Sphinx is an optional dependency for document generation. diff --git a/python/python3-ufolib2/changelog b/python/python3-ufolib2/changelog index 0debe87152..622f34fe85 100644 --- a/python/python3-ufolib2/changelog +++ b/python/python3-ufolib2/changelog @@ -12,3 +12,8 @@ Downgrading to version 0.13.1. 25/02/2024: Upgraded to version 0.16.0 + +21/08/2024: + +Sphinx is now an optional dependency +Bump the build no. diff --git a/python/python3-ufolib2/python3-ufolib2.SlackBuild b/python/python3-ufolib2/python3-ufolib2.SlackBuild index d1b9a5e46b..f494b11bde 100644 --- a/python/python3-ufolib2/python3-ufolib2.SlackBuild +++ b/python/python3-ufolib2/python3-ufolib2.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-ufolib2 VERSION=${VERSION:-0.16.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SRCNAM=${SRCNAM:-ufoLib2} @@ -82,17 +82,12 @@ find -L . \ python3 -m build --wheel --no-isolation PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python3 -m installer --destdir="$PKG" dist/*.whl -cd docs -mkdir -pv build -sphinx-build -M singlehtml source build -cd .. - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | 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.md $PKG/usr/doc/$PRGNAM-$VERSION -cp -a docs/build/singlehtml $PKG/usr/doc/$PRGNAM-$VERSION +#cp -a docs/build/singlehtml $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 {} \+ diff --git a/python/python3-uharfbuzz/README b/python/python3-uharfbuzz/README index fca777472e..287dfe61ca 100644 --- a/python/python3-uharfbuzz/README +++ b/python/python3-uharfbuzz/README @@ -1 +1,17 @@ Streamlined Cython bindings for HarfBuzz shaping engine + +To check if it has installed properly you can run the +example program in the doc folder by +./example.py /path-to-font/font.ttf "Hello" + +It should give an output similar to this + +H gid43=0@1540,0+1540 +e gid72=1@1260,0+1260 +l gid79=2@569,0+569 +l gid79=3@569,0+569 +o gid82=4@1253,0+1253 + +You can view the example program in the upstream page +in this link +https://github.com/harfbuzz/uharfbuzz diff --git a/python/python3-uharfbuzz/changelog b/python/python3-uharfbuzz/changelog deleted file mode 100644 index e72816c5e8..0000000000 --- a/python/python3-uharfbuzz/changelog +++ /dev/null @@ -1,19 +0,0 @@ -Changelog for python3-uharfbuzz SlackBuild Script --------------------------------------------------------------------- - -10/06/2023: - -submitted to slackBuilds.org - -08/12/2023: - -Upgraded to version 0.37.3 -Thanks to Nikos Glotis for testing this version - -25/02/2024: - -Updated to version 0.39.0 - -24/05/20204: - -Updated to version 0.39.1 diff --git a/python/python3-uharfbuzz/example.py b/python/python3-uharfbuzz/example.py new file mode 100644 index 0000000000..124b8644a1 --- /dev/null +++ b/python/python3-uharfbuzz/example.py @@ -0,0 +1,32 @@ +#!/usr/bin/python3 + +import sys + +import uharfbuzz as hb + + +fontfile = sys.argv[1] +text = sys.argv[2] + +blob = hb.Blob.from_file_path(fontfile) +face = hb.Face(blob) +font = hb.Font(face) + +buf = hb.Buffer() +buf.add_str(text) +buf.guess_segment_properties() + +features = {"kern": True, "liga": True} +hb.shape(font, buf, features) + +infos = buf.glyph_infos +positions = buf.glyph_positions + +for info, pos in zip(infos, positions): + gid = info.codepoint + glyph_name = font.glyph_to_string(gid) + cluster = info.cluster + x_advance = pos.x_advance + x_offset = pos.x_offset + y_offset = pos.y_offset + print(f"{glyph_name} gid{gid}={cluster}@{x_advance},{y_offset}+{x_advance}") diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild index ce025bd5fb..2d7b338dbf 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild +++ b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild @@ -22,10 +22,28 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#---------------------------Changelog-----------------------------------------# + +# 10/06/2023: submitted to slackBuilds.org + +# 08/12/2023: Upgraded to version 0.37.3 +# Thanks to Nikos Glotis for testing this version + +# 25/02/2024: Updated to version 0.39.0 + +# 24/05/20204: Updated to version 0.39.1 + +# 21/08/2024: Updated to version 0.39.3 + +# 11/09/2024: Updated to version 0.39.5 + + +#-------------------------------------------------------------------------------# + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-uharfbuzz -VERSION=${VERSION:-0.39.1} +VERSION=${VERSION:-0.39.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,7 +88,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -unzip $CWD/$SRCNAM-$VERSION.zip +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION @@ -89,6 +107,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +install -Dvm 0644 $CWD/example.py -t $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 {} \+ diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.info b/python/python3-uharfbuzz/python3-uharfbuzz.info index 3c4d88771e..ceb8ddeab1 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.info +++ b/python/python3-uharfbuzz/python3-uharfbuzz.info @@ -1,10 +1,10 @@ PRGNAM="python3-uharfbuzz" -VERSION="0.39.1" +VERSION="0.39.5" HOMEPAGE="https://www.github.com/harfbuzz/uharfbuzz" -DOWNLOAD="https://pypi.io/packages/source/u/uharfbuzz/uharfbuzz-0.39.1.zip" -MD5SUM="44db375ce3f49ce253303246ff2198f9" +DOWNLOAD="https://pypi.io/packages/source/u/uharfbuzz/uharfbuzz-0.39.5.tar.gz" +MD5SUM="c93b126df0e7caa00f67c81c151db933" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-wheel" +REQUIRES="python3-build python3-wheel python3-pkgconfig" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/python/python3-ujson/python3-ujson.SlackBuild b/python/python3-ujson/python3-ujson.SlackBuild index 36c424a51d..0f9cec6577 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 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2024 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.9.0} +VERSION=${VERSION:-5.10.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 7b1a470878..4590e70c9b 100644 --- a/python/python3-ujson/python3-ujson.info +++ b/python/python3-ujson/python3-ujson.info @@ -1,8 +1,8 @@ PRGNAM="python3-ujson" -VERSION="5.9.0" +VERSION="5.10.0" HOMEPAGE="https://github.com/ultrajson/ultrajson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/u/ujson/ujson-5.9.0.tar.gz" -MD5SUM="708ef70a2575d28ba739f2ecbc2976e9" +DOWNLOAD="https://files.pythonhosted.org/packages/source/u/ujson/ujson-5.10.0.tar.gz" +MD5SUM="7e61ead11ccf121cf4b1c121ec444e49" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-wheel" diff --git a/python/python3-unearth/python3-unearth.SlackBuild b/python/python3-unearth/python3-unearth.SlackBuild index 8274402fc5..5298330073 100644 --- a/python/python3-unearth/python3-unearth.SlackBuild +++ b/python/python3-unearth/python3-unearth.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-unearth -VERSION=${VERSION:-0.15.2} +VERSION=${VERSION:-0.17.2} SRCNAM=${SRCNAM:-unearth} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-unearth/python3-unearth.info b/python/python3-unearth/python3-unearth.info index c5ab22fc2b..2f31af42ff 100644 --- a/python/python3-unearth/python3-unearth.info +++ b/python/python3-unearth/python3-unearth.info @@ -1,8 +1,8 @@ PRGNAM="python3-unearth" -VERSION="0.15.2" +VERSION="0.17.2" HOMEPAGE="https://github.com/frostming/unearth" -DOWNLOAD="https://github.com/frostming/unearth/archive/refs/tags/0.15.2/unearth-0.15.2.tar.gz" -MD5SUM="ef81959caa19f0c79f9aed65d818ed5a" +DOWNLOAD="https://github.com/frostming/unearth/archive/refs/tags/0.17.2/unearth-0.17.2.tar.gz" +MD5SUM="0e2192864ef5f55a8f98b7848d0e7d50" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pdm-backend python3-httpx" diff --git a/python/python3-userpath/python3-userpath.SlackBuild b/python/python3-userpath/python3-userpath.SlackBuild index a9f61e83cf..8c1a106121 100644 --- a/python/python3-userpath/python3-userpath.SlackBuild +++ b/python/python3-userpath/python3-userpath.SlackBuild @@ -81,6 +81,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 + CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/python3-validators/python3-validators.SlackBuild b/python/python3-validators/python3-validators.SlackBuild index 8306c5e1b5..61dff9b1c7 100644 --- a/python/python3-validators/python3-validators.SlackBuild +++ b/python/python3-validators/python3-validators.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-validators -VERSION=${VERSION:-0.28.1} +VERSION=${VERSION:-0.34.0} SRCNAM=${SRCNAM:-validators} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/python3-validators/python3-validators.info b/python/python3-validators/python3-validators.info index a22b0caf79..03617efe9d 100644 --- a/python/python3-validators/python3-validators.info +++ b/python/python3-validators/python3-validators.info @@ -1,8 +1,8 @@ PRGNAM="python3-validators" -VERSION="0.28.1" +VERSION="0.34.0" HOMEPAGE="https://github.com/python-validators/validators" -DOWNLOAD="https://files.pythonhosted.org/packages/source/v/validators/validators-0.28.1.tar.gz" -MD5SUM="6181e240819914aa33aba4e978db61d4" +DOWNLOAD="https://files.pythonhosted.org/packages/source/v/validators/validators-0.34.0.tar.gz" +MD5SUM="8cae932ff53da1607ed2ca354a93ba54" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core python3-setuptools-opt" diff --git a/python/python3-virtualenv/python3-virtualenv.SlackBuild b/python/python3-virtualenv/python3-virtualenv.SlackBuild index 81d989dde0..af55795d21 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.26.1} +VERSION=${VERSION:-20.26.5} 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 b96d36ed13..a75633ef9d 100644 --- a/python/python3-virtualenv/python3-virtualenv.info +++ b/python/python3-virtualenv/python3-virtualenv.info @@ -1,8 +1,8 @@ PRGNAM="python3-virtualenv" -VERSION="20.26.1" +VERSION="20.26.5" HOMEPAGE="https://virtualenv.pypa.io/" -DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.26.1/virtualenv-20.26.1.tar.gz" -MD5SUM="f7d19fa64089623329de3a4f6cd485f0" +DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.26.5/virtualenv-20.26.5.tar.gz" +MD5SUM="7dfe2d75e200f9e2b87de87dd322f467" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-scm-opt python3-distlib python3-filelock python3-platformdirs" diff --git a/python/python3-watchdog/python3-watchdog.SlackBuild b/python/python3-watchdog/python3-watchdog.SlackBuild index 8e05a4b413..4952b2ac26 100644 --- a/python/python3-watchdog/python3-watchdog.SlackBuild +++ b/python/python3-watchdog/python3-watchdog.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-watchdog -VERSION=${VERSION:-4.0.0} +VERSION=${VERSION:-5.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-watchdog/python3-watchdog.info b/python/python3-watchdog/python3-watchdog.info index 693ecc7ecf..af572e4751 100644 --- a/python/python3-watchdog/python3-watchdog.info +++ b/python/python3-watchdog/python3-watchdog.info @@ -1,8 +1,8 @@ PRGNAM="python3-watchdog" -VERSION="4.0.0" +VERSION="5.0.2" HOMEPAGE="https://github.com/gorakhargosh/watchdog" -DOWNLOAD="https://github.com/gorakhargosh/watchdog/archive/v4.0.0/watchdog-4.0.0.tar.gz" -MD5SUM="0354c9b4ccc9ecb62678c9560fd7e0b4" +DOWNLOAD="https://github.com/gorakhargosh/watchdog/archive/v5.0.2/watchdog-5.0.2.tar.gz" +MD5SUM="734601218a53bdf6e93ef382258cc2be" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-webcolors/python3-webcolors.SlackBuild b/python/python3-webcolors/python3-webcolors.SlackBuild index b0494ee812..339b2b24b8 100644 --- a/python/python3-webcolors/python3-webcolors.SlackBuild +++ b/python/python3-webcolors/python3-webcolors.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-webcolors -VERSION=${VERSION:-1.13} +VERSION=${VERSION:-24.8.0} 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 @@ -88,7 +74,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.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-webcolors/python3-webcolors.info b/python/python3-webcolors/python3-webcolors.info index 3f86a43166..94f619295b 100644 --- a/python/python3-webcolors/python3-webcolors.info +++ b/python/python3-webcolors/python3-webcolors.info @@ -1,8 +1,8 @@ PRGNAM="python3-webcolors" -VERSION="1.13" +VERSION="24.8.0" HOMEPAGE="https://github.com/ubernostrum/webcolors" -DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/1.13/webcolors-1.13.tar.gz" -MD5SUM="8afdb7951961563dc2c1e48bda407cb8" +DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/24.8.0/webcolors-24.8.0.tar.gz" +MD5SUM="7f042cef7571d27c4bca54e513610417" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-websockets/python3-websockets.SlackBuild b/python/python3-websockets/python3-websockets.SlackBuild index 70b73ee9b0..2f78b2904e 100644 --- a/python/python3-websockets/python3-websockets.SlackBuild +++ b/python/python3-websockets/python3-websockets.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-websockets -# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-websockets SRCNAM=websockets -VERSION=${VERSION:-10.2} +VERSION=${VERSION:-13.0.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,20 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -76,11 +59,15 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -python3 setup.py install --root=$PKG +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-websockets/python3-websockets.info b/python/python3-websockets/python3-websockets.info index 1d2d80ad9a..720ac9a694 100644 --- a/python/python3-websockets/python3-websockets.info +++ b/python/python3-websockets/python3-websockets.info @@ -1,10 +1,10 @@ PRGNAM="python3-websockets" -VERSION="10.2" +VERSION="13.0.1" HOMEPAGE="https://github.com/aaugustin/websockets" -DOWNLOAD="https://files.pythonhosted.org/packages/b4/7b/0960d02701f783bb052ec69ea32789d878d2cce05a03950adbd75f164758/websockets-10.2.tar.gz" -MD5SUM="b917be5391934f872145c0473d8d8e41" +DOWNLOAD="https://files.pythonhosted.org/packages/source/w/websockets/websockets-13.0.1.tar.gz" +MD5SUM="b3d1cc7a447c4f91b0c6f24beaf312cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-whatthepatch/python3-whatthepatch.SlackBuild b/python/python3-whatthepatch/python3-whatthepatch.SlackBuild index 7310c7a557..c488214131 100644 --- a/python/python3-whatthepatch/python3-whatthepatch.SlackBuild +++ b/python/python3-whatthepatch/python3-whatthepatch.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-whatthepatch -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.0.6} 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 @@ -88,7 +74,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 CODE_OF_CONDUCT.md HISTORY.md LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CODE_OF_CONDUCT.md HISTORY.md 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-whatthepatch/python3-whatthepatch.info b/python/python3-whatthepatch/python3-whatthepatch.info index 0ec6d93fcf..ef53eb23c0 100644 --- a/python/python3-whatthepatch/python3-whatthepatch.info +++ b/python/python3-whatthepatch/python3-whatthepatch.info @@ -1,8 +1,8 @@ PRGNAM="python3-whatthepatch" -VERSION="1.0.5" +VERSION="1.0.6" HOMEPAGE="https://github.com/cscorley/whatthepatch" -DOWNLOAD="https://github.com/cscorley/whatthepatch/archive/1.0.5/whatthepatch-1.0.5.tar.gz" -MD5SUM="86deb245aa1094d0faf6866f2ca30688" +DOWNLOAD="https://github.com/cscorley/whatthepatch/archive/1.0.6/whatthepatch-1.0.6.tar.gz" +MD5SUM="98009f35ba193e1aecd50954fab8387c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" diff --git a/python/python3-wheel/python3-wheel.SlackBuild b/python/python3-wheel/python3-wheel.SlackBuild index 2b70507a95..7b189115bf 100644 --- a/python/python3-wheel/python3-wheel.SlackBuild +++ b/python/python3-wheel/python3-wheel.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-wheel SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.43.0} +VERSION=${VERSION:-0.44.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-wheel/python3-wheel.info b/python/python3-wheel/python3-wheel.info index 6c0310fc3f..3c2fb3d069 100644 --- a/python/python3-wheel/python3-wheel.info +++ b/python/python3-wheel/python3-wheel.info @@ -1,8 +1,8 @@ PRGNAM="python3-wheel" -VERSION="0.43.0" +VERSION="0.44.0" HOMEPAGE="https://github.com/pypa/wheel" -DOWNLOAD="https://files.pythonhosted.org/packages/source/w/wheel/wheel-0.43.0.tar.gz" -MD5SUM="387af15d51367a19d834d6db413547d0" +DOWNLOAD="https://files.pythonhosted.org/packages/source/w/wheel/wheel-0.44.0.tar.gz" +MD5SUM="440ff4fe51579b7ed16f02af8f8d9494" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-installer" diff --git a/python/python3-wrapt/python3-wrapt.SlackBuild b/python/python3-wrapt/python3-wrapt.SlackBuild index 61da4175ff..57de8c226a 100644 --- a/python/python3-wrapt/python3-wrapt.SlackBuild +++ b/python/python3-wrapt/python3-wrapt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-wrapt -# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022-2024 Dimitris Zlatanidis Orestiada, Greece # Copyright 2018 Markus Rinne Finland # All rights reserved. # @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-wrapt SRCNAM=wrapt -VERSION=${VERSION:-1.14.1} +VERSION=${VERSION:-1.16.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-wrapt/python3-wrapt.info b/python/python3-wrapt/python3-wrapt.info index be580a2b61..b14f8f8392 100644 --- a/python/python3-wrapt/python3-wrapt.info +++ b/python/python3-wrapt/python3-wrapt.info @@ -1,10 +1,10 @@ PRGNAM="python3-wrapt" -VERSION="1.14.1" +VERSION="1.16.0" HOMEPAGE="https://github.com/GrahamDumpleton/wrapt" -DOWNLOAD="https://files.pythonhosted.org/packages/11/eb/e06e77394d6cf09977d92bff310cb0392930c08a338f99af6066a5a98f92/wrapt-1.14.1.tar.gz" -MD5SUM="6e7340264f038efdefcba707250c91c2" +DOWNLOAD="https://files.pythonhosted.org/packages/95/4c/063a912e20bcef7124e0df97282a8af3ff3e4b603ce84c481d6d7346be0a/wrapt-1.16.0.tar.gz" +MD5SUM="3e370b4bc08f7dcc518cf8895673b19c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/python3-wurlitzer/python3-wurlitzer.SlackBuild b/python/python3-wurlitzer/python3-wurlitzer.SlackBuild index 8a47c64993..937ac499e3 100644 --- a/python/python3-wurlitzer/python3-wurlitzer.SlackBuild +++ b/python/python3-wurlitzer/python3-wurlitzer.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-wurlitzer -VERSION=${VERSION:-3.1.0} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-wurlitzer/python3-wurlitzer.info b/python/python3-wurlitzer/python3-wurlitzer.info index b89ea03fc2..c8027e2399 100644 --- a/python/python3-wurlitzer/python3-wurlitzer.info +++ b/python/python3-wurlitzer/python3-wurlitzer.info @@ -1,8 +1,8 @@ PRGNAM="python3-wurlitzer" -VERSION="3.1.0" +VERSION="3.1.1" HOMEPAGE="https://github.com/minrk/wurlitzer" -DOWNLOAD="https://github.com/minrk/wurlitzer/archive/3.1.0/wurlitzer-3.1.0.tar.gz" -MD5SUM="ce760bfc29daedca7cab4e7847d934ec" +DOWNLOAD="https://github.com/minrk/wurlitzer/archive/3.1.1/wurlitzer-3.1.1.tar.gz" +MD5SUM="756ee5d9f8357d1c816ccc256e6ea72f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-xcffib/python3-xcffib.SlackBuild b/python/python3-xcffib/python3-xcffib.SlackBuild index 7a339fd263..453c654fc1 100644 --- a/python/python3-xcffib/python3-xcffib.SlackBuild +++ b/python/python3-xcffib/python3-xcffib.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-xcffib # Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xcffib SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.5.0} 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-xcffib/python3-xcffib.info b/python/python3-xcffib/python3-xcffib.info index 85937fe010..f9ba449c4f 100644 --- a/python/python3-xcffib/python3-xcffib.info +++ b/python/python3-xcffib/python3-xcffib.info @@ -1,8 +1,8 @@ PRGNAM="python3-xcffib" -VERSION="1.4.0" +VERSION="1.5.0" HOMEPAGE="https://github.com/tych0/xcffib" -DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-1.4.0.tar.gz" -MD5SUM="9e56ec3c75f6c81901a8a469edf78eeb" +DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-1.5.0.tar.gz" +MD5SUM="ad65a94818b60d63bab02535de1fbe7a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-xkbcommon/python3-xkbcommon.SlackBuild b/python/python3-xkbcommon/python3-xkbcommon.SlackBuild index 6550a27310..a2cac2c76b 100644 --- a/python/python3-xkbcommon/python3-xkbcommon.SlackBuild +++ b/python/python3-xkbcommon/python3-xkbcommon.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-xkbcommon -# Copyright 2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023-2024 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-xkbcommon -VERSION=${VERSION:-0.8} +VERSION=${VERSION:-1.0.1} 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-xkbcommon/python3-xkbcommon.info b/python/python3-xkbcommon/python3-xkbcommon.info index 72b61a58c2..e2336f0791 100644 --- a/python/python3-xkbcommon/python3-xkbcommon.info +++ b/python/python3-xkbcommon/python3-xkbcommon.info @@ -1,8 +1,8 @@ PRGNAM="python3-xkbcommon" -VERSION="0.8" +VERSION="1.0.1" HOMEPAGE="https://github.com/sde1000/python-xkbcommon" -DOWNLOAD="https://github.com/sde1000/python-xkbcommon/archive/v0.8/python-xkbcommon-0.8.tar.gz" -MD5SUM="cd861dd05ca3fbe86c2fb68fdd9c1e93" +DOWNLOAD="https://github.com/sde1000/python-xkbcommon/archive/v1.0.1/python-xkbcommon-1.0.1.tar.gz" +MD5SUM="d5272f363f60de56ae71cc16111b7f47" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python3-xkeysnail/python3-xkeysnail.SlackBuild b/python/python3-xkeysnail/python3-xkeysnail.SlackBuild index 94b388e26a..24e9b39830 100644 --- a/python/python3-xkeysnail/python3-xkeysnail.SlackBuild +++ b/python/python3-xkeysnail/python3-xkeysnail.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xkeysnail TARNAM=xkeysnail VERSION=${VERSION:-0.4.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-xkeysnail/python3-xkeysnail.info b/python/python3-xkeysnail/python3-xkeysnail.info index bc93bf79ee..fb67ff6c74 100644 --- a/python/python3-xkeysnail/python3-xkeysnail.info +++ b/python/python3-xkeysnail/python3-xkeysnail.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/75/18/3256d5f82078c55d72c70db8 MD5SUM="141d5a7d87faff40881d7210ea51eb8e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-evdev python3-xlib" +REQUIRES="python3-evdev python3-xlib" MAINTAINER="Lockywolf" EMAIL="for_sbo.python3-xkeysnail_2023-07-04@lockywolf.net" diff --git a/python/python3-xmldiff/python3-xmldiff.SlackBuild b/python/python3-xmldiff/python3-xmldiff.SlackBuild index 2481ca8ca5..139c1d2bb5 100644 --- a/python/python3-xmldiff/python3-xmldiff.SlackBuild +++ b/python/python3-xmldiff/python3-xmldiff.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-xmldiff -# Copyright 2023 Vijay Marcel +# Copyright 2023-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-xmldiff -VERSION=${VERSION:-2.6.3} +VERSION=${VERSION:-2.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,6 +49,23 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + set -e trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR @@ -66,14 +83,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 --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES.rst LICENSE.txt README.rst README.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES.rst LICENSE.txt README.rst $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 {} \+ diff --git a/python/python3-xmldiff/python3-xmldiff.info b/python/python3-xmldiff/python3-xmldiff.info index c315aafc66..f0cf8a2513 100644 --- a/python/python3-xmldiff/python3-xmldiff.info +++ b/python/python3-xmldiff/python3-xmldiff.info @@ -1,8 +1,8 @@ PRGNAM="python3-xmldiff" -VERSION="2.6.3" +VERSION="2.7.0" HOMEPAGE="https://github.com/Shoobx/xmldiff" -DOWNLOAD="https://pypi.io/packages/source/x/xmldiff/xmldiff-2.6.3.tar.gz" -MD5SUM="139f973cd3b66a642c1dd1737bce40dd" +DOWNLOAD="https://pypi.io/packages/source/x/xmldiff/xmldiff-2.7.0.tar.gz" +MD5SUM="3f548773840e42655c6083940e056207" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-lxml" diff --git a/python/python3-yara/python3-yara.SlackBuild b/python/python3-yara/python3-yara.SlackBuild index 4026e0791c..24f7673201 100644 --- a/python/python3-yara/python3-yara.SlackBuild +++ b/python/python3-yara/python3-yara.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Slackware build script for yara-python -# Copyright 2017-2023 Barry Grundy <bgrundy[at]linuxleo.com> +# Copyright 2017-2024 Barry Grundy <bgrundy[at]linuxleo.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,13 +21,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# updated - v4.3.1, July 2023, Barry J. Grundy. +# updated - v4.5.0 August 2024, Barry J. Grundy. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-yara SRCNAM=yara-python -VERSION=${VERSION:-4.3.1} +VERSION=${VERSION:-4.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-yara/python3-yara.info b/python/python3-yara/python3-yara.info index a54014b26c..0b90c8902b 100644 --- a/python/python3-yara/python3-yara.info +++ b/python/python3-yara/python3-yara.info @@ -1,8 +1,8 @@ PRGNAM="python3-yara" -VERSION="4.3.1" +VERSION="4.5.0" HOMEPAGE="https://github.com/VirusTotal/yara-python" -DOWNLOAD="https://github.com/VirusTotal/yara-python/archive/v4.3.1/yara-python-4.3.1.tar.gz" -MD5SUM="3232b37fa7b7edb0f76d977767ed5bbf" +DOWNLOAD="https://github.com/VirusTotal/yara-python/archive/v4.5.0/yara-python-4.5.0.tar.gz" +MD5SUM="658f457665c1f0a4f4242b94a236d36d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="yara" diff --git a/python/python3-yarl/python3-yarl.SlackBuild b/python/python3-yarl/python3-yarl.SlackBuild index d0f776fc53..b75fede5e6 100644 --- a/python/python3-yarl/python3-yarl.SlackBuild +++ b/python/python3-yarl/python3-yarl.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python3-yarl # Copyright 2019-2023 Isaac Yu <isaacyu@protonmail.com> -# Maintained 2023 by Jay Lanagan (j@lngn.net), Detroit, MI, USA. +# Maintained 2023-2024 by Jay Lanagan (j@lngn.net), Detroit, MI, USA. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-yarl -VERSION=${VERSION:-1.9.4} +VERSION=${VERSION:-1.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,13 +65,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Workaround taken from Arch Linux PKGBUILD -# https://github.com/archlinux/svntogit-community/blob/packages/python-yarl/trunk/PKGBUILD -#sed 's| .install-cython ||g' -i Makefile -#make cythonize -#python3 setup.py install --root=$PKG - -python3 -m build --config-setting=--pure-python= --no-isolation || exit 1 +python3 -m build --config-setting=--pure-python=false --no-isolation || exit 1 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-yarl/python3-yarl.info b/python/python3-yarl/python3-yarl.info index 3646ad6371..828e2d9e81 100644 --- a/python/python3-yarl/python3-yarl.info +++ b/python/python3-yarl/python3-yarl.info @@ -1,10 +1,10 @@ PRGNAM="python3-yarl" -VERSION="1.9.4" +VERSION="1.11.1" HOMEPAGE="https://yarl.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.9.4/yarl-1.9.4.tar.gz" -MD5SUM="e6ecf73a67534e429519ce7978603e9c" +DOWNLOAD="https://github.com/aio-libs/yarl/archive/v1.11.1/yarl-1.11.1.tar.gz" +MD5SUM="5b4a674a38a6dfc12303492bce8f7b1a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-expandvars python3-multidict typing-extensions" +REQUIRES="python3-expandvars python3-multidict python3-typing-extensions" MAINTAINER="Jay Lanagan" EMAIL="j@lngn.net" diff --git a/python/python3-zdaemon/python3-zdaemon.SlackBuild b/python/python3-zdaemon/python3-zdaemon.SlackBuild index e475a2399a..51500a5b60 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.0} +VERSION=${VERSION:-5.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 0bd9bbf51c..5b46c61d10 100644 --- a/python/python3-zdaemon/python3-zdaemon.info +++ b/python/python3-zdaemon/python3-zdaemon.info @@ -1,8 +1,8 @@ PRGNAM="python3-zdaemon" -VERSION="5.0" +VERSION="5.1" HOMEPAGE="https://github.com/zopefoundation/zdaemon" -DOWNLOAD="https://pypi.python.org/packages/source/z/zdaemon/zdaemon-5.0.tar.gz" -MD5SUM="f178c94bac4da047a3bb08980d84ac2b" +DOWNLOAD="https://pypi.python.org/packages/source/z/zdaemon/zdaemon-5.1.tar.gz" +MD5SUM="509e0b8a3709149cc220ad11cb132ed6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-ZConfig" diff --git a/python/python3-zodbpickle/python3-zodbpickle.SlackBuild b/python/python3-zodbpickle/python3-zodbpickle.SlackBuild index 71d68ad8a7..0142ec13b6 100644 --- a/python/python3-zodbpickle/python3-zodbpickle.SlackBuild +++ b/python/python3-zodbpickle/python3-zodbpickle.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-zodbpickle SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-3.3} +VERSION=${VERSION:-4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python3-zodbpickle/python3-zodbpickle.info b/python/python3-zodbpickle/python3-zodbpickle.info index 15afff368c..9a2218b2f5 100644 --- a/python/python3-zodbpickle/python3-zodbpickle.info +++ b/python/python3-zodbpickle/python3-zodbpickle.info @@ -1,8 +1,8 @@ PRGNAM="python3-zodbpickle" -VERSION="3.3" +VERSION="4.0" HOMEPAGE="https://github.com/zopefoundation/zodbpickle" -DOWNLOAD="https://pypi.python.org/packages/source/z/zodbpickle/zodbpickle-3.3.tar.gz" -MD5SUM="a87a51e30133fa219a9346dba24f41c4" +DOWNLOAD="https://pypi.python.org/packages/source/z/zodbpickle/zodbpickle-4.0.tar.gz" +MD5SUM="87cbb33f1363b38c8930be18a2643f8c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/pytz/slack-desc b/python/pytz/slack-desc deleted file mode 100644 index fcd51492e7..0000000000 --- a/python/pytz/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------------------------------------------------------| -pytz: pytz (World timezone definitions for Python) -pytz: -pytz: pytz brings the Olson tz database into Python. This library allows -pytz: accurate and cross platform timezone calculations using Python 2.3 -pytz: or higher. It also solves the issue of ambiguous times at the end -pytz: of daylight savings, which you can read more about in the Python -pytz: Library Reference (datetime.tzinfo). -pytz: -pytz: Homepage: https://launchpad.net/pytz -pytz: -pytz: diff --git a/python/pyudev/pyudev.info b/python/pyudev/pyudev.info deleted file mode 100644 index e2cd258a4e..0000000000 --- a/python/pyudev/pyudev.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pyudev" -VERSION="0.24.1" -HOMEPAGE="https://github.com/pyudev/pyudev" -DOWNLOAD="https://github.com/pyudev/pyudev/archive/v0.24.1/pyudev-0.24.1.tar.gz" -MD5SUM="746950ef9c2a5959db8c3cec974cb06e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" diff --git a/python/pyudev/slack-desc b/python/pyudev/slack-desc deleted file mode 100644 index 3661d857f7..0000000000 --- a/python/pyudev/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------------------------------------------------------| -pyudev: pyudev (pure Python libudev binding) -pyudev: -pyudev: pyudev is an LGPL licensed, pure Python 2/3 binding to libudev, the -pyudev: device and hardware management and information library of Linux. -pyudev: -pyudev: homepage: http://pyudev.readthedocs.org -pyudev: -pyudev: -pyudev: -pyudev: -pyudev: diff --git a/python/requirements-detector/README b/python/requirements-detector/README deleted file mode 100644 index 88c6a650b2..0000000000 --- a/python/requirements-detector/README +++ /dev/null @@ -1,2 +0,0 @@ -requirements-detector is a simple Python tool which attempts to find -and list the requirements of a Python project. diff --git a/python/requirements-detector/requirements-detector.SlackBuild b/python/requirements-detector/requirements-detector.SlackBuild deleted file mode 100644 index 7d7b74099e..0000000000 --- a/python/requirements-detector/requirements-detector.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash - -# Slackware build script for requirements-detector - -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece -# 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=requirements-detector -VERSION=${VERSION:-0.5.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/requirements-detector/requirements-detector.info b/python/requirements-detector/requirements-detector.info deleted file mode 100644 index 0615f7d044..0000000000 --- a/python/requirements-detector/requirements-detector.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="requirements-detector" -VERSION="0.5.2" -HOMEPAGE="https://github.com/landscapeio/requirements-detector" -DOWNLOAD="https://pypi.python.org/packages/49/b2/375f6fb3544037089468f217f7ccfcd1cabc4ef88316ec74e602063f3da2/requirements-detector-0.5.2.tar.gz" -MD5SUM="8425e62afb95c9f2a6b55c233bfdcac8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="astroid" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/rst2pdf/rst2pdf.SlackBuild b/python/rst2pdf/rst2pdf.SlackBuild index d86c66624c..06e6c0f95f 100644 --- a/python/rst2pdf/rst2pdf.SlackBuild +++ b/python/rst2pdf/rst2pdf.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rst2pdf -VERSION=${VERSION:-0.101} +VERSION=${VERSION:-0.102} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,10 +78,9 @@ 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 CHANGES.rst CODE_OF_CONDUCT.rst Contributors.txt LICENSE.txt MAINTAINERS.rst ISSUE_TEMPLATE.md CONTRIBUTING.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION -cd doc -cp -a manual.rst gen_docs.sh rst2html-manual.py $PKG/usr/doc/$PRGNAM-$VERSION -cd .. +cp -av CHANGES.rst CODE_OF_CONDUCT.rst Contributors.txt LICENSE.txt MAINTAINERS.rst ISSUE_TEMPLATE.md CONTRIBUTING.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -av doc $PKG/usr/doc/$PRGNAM-$VERSION +rm -rvf $PKG/usr/doc/$PRGNAM-$VERSION/doc/output/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+ diff --git a/python/rst2pdf/rst2pdf.info b/python/rst2pdf/rst2pdf.info index 5c0cb31b34..2940a7f078 100644 --- a/python/rst2pdf/rst2pdf.info +++ b/python/rst2pdf/rst2pdf.info @@ -1,8 +1,8 @@ PRGNAM="rst2pdf" -VERSION="0.101" +VERSION="0.102" HOMEPAGE="https://rst2pdf.org" -DOWNLOAD="https://pypi.io/packages/source/r/rst2pdf/rst2pdf-0.101.tar.gz" -MD5SUM="a9b1c2b7efe8c508307b851d743e75b2" +DOWNLOAD="https://pypi.io/packages/source/r/rst2pdf/rst2pdf-0.102.tar.gz" +MD5SUM="efc988aad53f1568d560c4b4cb34ce84" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-reportlab python-smartypants python-importlib_metadata" diff --git a/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.SlackBuild b/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.SlackBuild index 85317abc70..a6744d52f7 100644 --- a/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.SlackBuild +++ b/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinxcontrib-applehelp SRCNAM=sphinxcontrib_applehelp -VERSION=${VERSION:-1.0.8} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES LICENSE README.rst \ + CHANGES.rst LICENCE.rst README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.info b/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.info index b9d6350ceb..c2bbb9b9de 100644 --- a/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.info +++ b/python/sphinxcontrib-applehelp/sphinxcontrib-applehelp.info @@ -1,8 +1,8 @@ PRGNAM="sphinxcontrib-applehelp" -VERSION="1.0.8" +VERSION="2.0.0" HOMEPAGE="https://github.com/sphinx-doc/sphinxcontrib-applehelp" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib_applehelp-1.0.8.tar.gz" -MD5SUM="5604b67076d57cf229da15daf3472ff5" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib_applehelp-2.0.0.tar.gz" +MD5SUM="e16bb1d6199f686d411c180e64a8e831" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.SlackBuild b/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.SlackBuild index 0eacfe23b9..cae7939ddc 100644 --- a/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.SlackBuild +++ b/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinxcontrib-devhelp SRCNAM=sphinxcontrib_devhelp -VERSION=${VERSION:-1.0.6} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES LICENSE README.rst \ + CHANGES.rst LICENCE.rst README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.info b/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.info index 36b4a88722..c069a9ace8 100644 --- a/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.info +++ b/python/sphinxcontrib-devhelp/sphinxcontrib-devhelp.info @@ -1,8 +1,8 @@ PRGNAM="sphinxcontrib-devhelp" -VERSION="1.0.6" +VERSION="2.0.0" HOMEPAGE="https://github.com/sphinx-doc/sphinxcontrib-devhelp" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib_devhelp-1.0.6.tar.gz" -MD5SUM="d5303929509ec209043ba45d63bac1f3" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib_devhelp-2.0.0.tar.gz" +MD5SUM="79ef5937b8397f724f4fb065073cd24c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.SlackBuild b/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.SlackBuild index 222a9ead15..0e1453ad64 100644 --- a/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.SlackBuild +++ b/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinxcontrib-htmlhelp SRCNAM=sphinxcontrib_htmlhelp -VERSION=${VERSION:-2.0.5} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES LICENSE README.rst \ + CHANGES.rst LICENCE.rst README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.info b/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.info index 4bb01129b4..56bd5d98c4 100644 --- a/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.info +++ b/python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp.info @@ -1,8 +1,8 @@ PRGNAM="sphinxcontrib-htmlhelp" -VERSION="2.0.5" +VERSION="2.1.0" HOMEPAGE="https://github.com/sphinx-doc/sphinxcontrib-htmlhelp" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib_htmlhelp-2.0.5.tar.gz" -MD5SUM="f7f888239f3d8afd6978e9b11701b739" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib_htmlhelp-2.1.0.tar.gz" +MD5SUM="1326f55f6bea49ab6a846c0088bc369e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.SlackBuild b/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.SlackBuild index 81f1f45322..d28383379a 100644 --- a/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.SlackBuild +++ b/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinxcontrib-qthelp SRCNAM=sphinxcontrib_qthelp -VERSION=${VERSION:-1.0.7} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES LICENSE README.rst \ + CHANGES.rst LICENCE.rst README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.info b/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.info index 4bd562a7c7..a193b74ca0 100644 --- a/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.info +++ b/python/sphinxcontrib-qthelp/sphinxcontrib-qthelp.info @@ -1,8 +1,8 @@ PRGNAM="sphinxcontrib-qthelp" -VERSION="1.0.7" +VERSION="2.0.0" HOMEPAGE="https://github.com/sphinx-doc/sphinxcontrib-qthelp" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-qthelp/sphinxcontrib_qthelp-1.0.7.tar.gz" -MD5SUM="84569e876c5e8c0bb423eb145ca481b2" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-qthelp/sphinxcontrib_qthelp-2.0.0.tar.gz" +MD5SUM="ed4f32003b71a54ac3d68aa651cb6573" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.SlackBuild b/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.SlackBuild index 47ba447570..ade81993f1 100644 --- a/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.SlackBuild +++ b/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinxcontrib-serializinghtml SRCNAM=sphinxcontrib_serializinghtml -VERSION=${VERSION:-1.1.10} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES LICENSE README.rst \ + CHANGES.rst LICENCE.rst README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.info b/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.info index c7419b0d5c..6881a4a0c3 100644 --- a/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.info +++ b/python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml.info @@ -1,8 +1,8 @@ PRGNAM="sphinxcontrib-serializinghtml" -VERSION="1.1.10" +VERSION="2.0.0" HOMEPAGE="https://github.com/sphinx-doc/sphinxcontrib-serializinghtml" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib_serializinghtml-1.1.10.tar.gz" -MD5SUM="cc9ac3fa8ec74262c9a21485d7b47eff" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib_serializinghtml-2.0.0.tar.gz" +MD5SUM="b536ce248d5ca134a30018692a17c6ca" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build" diff --git a/python/subliminal/subliminal.SlackBuild b/python/subliminal/subliminal.SlackBuild index e3ccb84faf..b2e68df0e8 100644 --- a/python/subliminal/subliminal.SlackBuild +++ b/python/subliminal/subliminal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for subliminal -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2024 Jeremy Hansen jebrhansen+SBo@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=subliminal -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-2.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -46,20 +46,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 @@ -75,7 +61,23 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +# Add unused section to avoid ERROR message from setuptools_scm +# Make it an if statement just in case upstream decides to update +# it and I don't notice. +if ! grep -qF "[tool.setuptools_scm]" pyproject.toml; then + echo "[tool.setuptools_scm]" >> pyproject.toml +fi +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + +# Don't force newer versions onto us when it works with older versions +sed -i 's|>=5\.0|>=4\.0|' pyproject.toml # chardet +sed -i 's|>=2"|>=1"|' pyproject.toml # tomli + +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/subliminal/subliminal.info b/python/subliminal/subliminal.info index 5b9673c1f0..99a84a2b92 100644 --- a/python/subliminal/subliminal.info +++ b/python/subliminal/subliminal.info @@ -1,10 +1,10 @@ PRGNAM="subliminal" -VERSION="2.1.0" +VERSION="2.2.1" HOMEPAGE="http://subliminal.readthedocs.org/" -DOWNLOAD="https://github.com/Diaoul/subliminal/archive/refs/tags/2.1.0/subliminal-2.1.0.tar.gz" -MD5SUM="5395d4bbbbdd0d1bd09a8f1a89cc373a" +DOWNLOAD="https://github.com/Diaoul/subliminal/archive/refs/tags/2.2.1/subliminal-2.2.1.tar.gz" +MD5SUM="069feb8ad7e758e89993268b759e4be4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-guessit python3-enzyme BeautifulSoup4 click python3-dogpile.cache python3-pysrt rarfile pytz" +REQUIRES="python3-guessit python3-enzyme BeautifulSoup4 python3-dogpile.cache python3-srt rarfile python3-setuptools-opt python3-platformdirs python3-click-option-group python3-pysubs2" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/taskw/taskw.info b/python/taskw/taskw.info index 5516fe3ae9..a29cb2e62c 100644 --- a/python/taskw/taskw.info +++ b/python/taskw/taskw.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/33/d7/6fcc7ed138a3eff9e98d77aa MD5SUM="df868fa392fa3b55f738951d0634feb9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-dateutil pytz kitchen" +REQUIRES="python3-dateutil python3-pytz kitchen" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" diff --git a/python/termcolor/termcolor.SlackBuild b/python/termcolor/termcolor.SlackBuild index 9059093447..b0972e3882 100644 --- a/python/termcolor/termcolor.SlackBuild +++ b/python/termcolor/termcolor.SlackBuild @@ -79,6 +79,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/terminado/slack-desc b/python/terminado/slack-desc deleted file mode 100644 index 8332d81845..0000000000 --- a/python/terminado/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------------------------------------------------------| -terminado: terminado (terminals served by tornado websockets) -terminado: -terminado: Terminado is a Tornado websocket backend for the term.js Javascript -terminado: terminal emulator library. -terminado: -terminado: -terminado: -terminado: -terminado: -terminado: -terminado: diff --git a/python/testpath/slack-desc b/python/testpath/slack-desc deleted file mode 100644 index f8f9b674d0..0000000000 --- a/python/testpath/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------------------------------------------------------| -testpath: testpath (Test utilities for code working with files and commands) -testpath: -testpath: testpath is a collection of utilities for Python code working with -testpath: files and commands. -testpath: -testpath: -testpath: -testpath: -testpath: -testpath: -testpath: diff --git a/python/testpath/testpath.SlackBuild b/python/testpath/testpath.SlackBuild deleted file mode 100644 index a34686e754..0000000000 --- a/python/testpath/testpath.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/bash - -# Slackware build script for testpath - -# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2022 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=testpath -VERSION=${VERSION:-0.6.0} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -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 \ - LICENSE PKG-INFO README.rst \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/thonny/thonny.SlackBuild b/python/thonny/thonny.SlackBuild index 4f7aa038a7..6dc675480d 100644 --- a/python/thonny/thonny.SlackBuild +++ b/python/thonny/thonny.SlackBuild @@ -78,8 +78,8 @@ python3 setup.py install --root=$PKG mkdir -p $PKG/usr/share/applications cp -a packaging/linux/org.thonny.Thonny.desktop $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128,192x192,256x256}/apps -for i in `ls packaging/icons/$PRGNAM-*x*.png`; do - IDIR=`echo $i|awk -F"-" '{print $2}'|awk -F"." '{print $1}'` +for i in $( ls packaging/icons/$PRGNAM-*x*.png ); do + IDIR=$( echo $i|awk -F"-" '{print $2}'|awk -F"." '{print $1}' ) cp -a $i $PKG/usr/share/icons/hicolor/$IDIR/apps/$PRGNAM.png done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/tinycss2/tinycss2.SlackBuild b/python/tinycss2/tinycss2.SlackBuild index defe1fed00..6bcbaee6cb 100644 --- a/python/tinycss2/tinycss2.SlackBuild +++ b/python/tinycss2/tinycss2.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for tinycss2 -# Copyright 2021-2024 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2021-2024 Dimitris Zlatanidis Orestiada, Greece <d.zlatanidis@gmail.com> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.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=tinycss2 -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-1.3.0} 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 @@ -50,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 @@ -79,8 +63,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 -m build --wheel --no-isolation -python3 -m installer --destdir "$PKG" dist/*.whl +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/tinycss2/tinycss2.info b/python/tinycss2/tinycss2.info index eed97b12a1..f5c84b8486 100644 --- a/python/tinycss2/tinycss2.info +++ b/python/tinycss2/tinycss2.info @@ -1,10 +1,10 @@ PRGNAM="tinycss2" -VERSION="1.2.1" +VERSION="1.3.0" HOMEPAGE="https://www.courtbouillon.org/tinycss2" -DOWNLOAD="https://files.pythonhosted.org/packages/75/be/24179dfaa1d742c9365cbd0e3f0edc5d3aa3abad415a2327c5a6ff8ca077/tinycss2-1.2.1.tar.gz" -MD5SUM="e8a06102e7f42ca791463f11ce7b814d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tinycss2/tinycss2-1.3.0.tar.gz" +MD5SUM="736b69f1b164da932028538fe2a60262" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-build python3-webencodings" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="dslackw@gmail.com" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/python/tox/README b/python/tox/README deleted file mode 100644 index e170879d17..0000000000 --- a/python/tox/README +++ /dev/null @@ -1,11 +0,0 @@ -Tox as is a generic virtualenv management and test command line tool -you can use for: - -* checking your package installs correctly with different Python - versions and interpreters - -* running your tests in each of the environments, configuring your - test tool of choice - -* acting as a frontend to Continuous Integration servers, greatly - reducing boilerplate and merging CI and shell-based testing. diff --git a/python/tox/slack-desc b/python/tox/slack-desc deleted file mode 100644 index f09b425496..0000000000 --- a/python/tox/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------------------------------------------------------| -tox: tox (virtualenv-based automation of test activities) -tox: -tox: Tox aims to automate and standardize testing in Python. -tox: It is part of a larger vision of easing the packaging, -tox: testing and release process of Python software. -tox: -tox: -tox: -tox: -tox: Homepage: https://tox.readthedocs.io/en/latest/ -tox: diff --git a/python/tox/tox.SlackBuild b/python/tox/tox.SlackBuild deleted file mode 100644 index 725593a088..0000000000 --- a/python/tox/tox.SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/bash - -# Slackware build script for tox - -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece -# 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=tox -VERSION=${VERSION:-3.1.2} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If 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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION - -cp -a README.rst LICENSE PKG-INFO CHANGELOG.rst doc/example/*.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/tox/tox.info b/python/tox/tox.info deleted file mode 100644 index 3eb612271c..0000000000 --- a/python/tox/tox.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="tox" -VERSION="3.1.2" -HOMEPAGE="https://tox.readthedocs.io/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/fc/aa/31296c7cf387d8e1fe57c98273ee6d52c9531c07115a916e334bdf7a247f/tox-3.1.2.tar.gz" -MD5SUM="5cd03e4edc4eeb808cd1cf3eced9debc" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python2-py virtualenv python2-pluggy" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/traitlets/traitlets.SlackBuild b/python/traitlets/traitlets.SlackBuild index 341bd19859..1fa14f1b41 100644 --- a/python/traitlets/traitlets.SlackBuild +++ b/python/traitlets/traitlets.SlackBuild @@ -64,6 +64,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/typing-extensions/README b/python/typing-extensions/README deleted file mode 100644 index 2fc9137ebe..0000000000 --- a/python/typing-extensions/README +++ /dev/null @@ -1,16 +0,0 @@ -Typing Extensions – Backported and Experimental Type Hints for Python - -The typing module was added to the standard library in Python 3.5 on a -provisional basis and will no longer be provisional in Python 3.7. -However, this means users of Python 3.5 - 3.6 who are unable to upgrade -will not be able to take advantage of new types added to the typing -module, such as typing.Text or typing.Coroutine. - -The typing_extensions module contains both backports of these changes as -well as experimental types that will eventually be added to the typing -module, such as Protocol or TypedDict. - -Users of other Python versions should continue to install and use the -typing module from PyPi instead of using this one unless specifically -writing code that must be compatible with multiple Python versions or -requires experimental types. diff --git a/python/typing-extensions/slack-desc b/python/typing-extensions/slack-desc deleted file mode 100644 index 50e1fe5e28..0000000000 --- a/python/typing-extensions/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------------------------------------------------------| -typing-extensions: typing-extensions (Backported and Experimental Type Hints for Python) -typing-extensions: -typing-extensions: The typing module was added to the standard library in Python 3.5 on -typing-extensions: a provisional basis and will no longer be provisional in Python 3.7. -typing-extensions: However, this means users of Python 3.5 - 3.6 who are unable to -typing-extensions: upgrade will not be able to take advantage of new types added to the -typing-extensions: typing module, such as typing.Text or typing.Coroutine. -typing-extensions: -typing-extensions: -typing-extensions: Homepage: https://pypi.org/project/typing-extensions/ -typing-extensions: diff --git a/python/tzlocal/tzlocal.info b/python/tzlocal/tzlocal.info index 097b04014b..98c8927af0 100644 --- a/python/tzlocal/tzlocal.info +++ b/python/tzlocal/tzlocal.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/ce/73/99e4cc30db6b21cba6c3b3b8 MD5SUM="c0877603ff9de71cd8ca6ee2b50d2ebd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pytz" +REQUIRES="python2-pytz python3-pytz" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" diff --git a/python/virtualenv-clone/virtualenv-clone.SlackBuild b/python/virtualenv-clone/virtualenv-clone.SlackBuild index b84c802a33..be145fe853 100644 --- a/python/virtualenv-clone/virtualenv-clone.SlackBuild +++ b/python/virtualenv-clone/virtualenv-clone.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for virtualenv-clone # Copyright <2013> <vvoody> <Shanghai> -# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2016-2024 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=virtualenv-clone -VERSION=${VERSION:-0.2.6} +VERSION=${VERSION:-0.5.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,13 +80,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 +python2 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md PKG-INFO 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/virtualenv-clone/virtualenv-clone.info b/python/virtualenv-clone/virtualenv-clone.info index f853020984..35333c93f2 100644 --- a/python/virtualenv-clone/virtualenv-clone.info +++ b/python/virtualenv-clone/virtualenv-clone.info @@ -1,10 +1,10 @@ PRGNAM="virtualenv-clone" -VERSION="0.2.6" +VERSION="0.5.7" HOMEPAGE="https://github.com/edwardgeorge/virtualenv-clone" -DOWNLOAD="https://pypi.python.org/packages/36/66/d95f83255138ded1aec242de5ee51536226fa7b2582a7ce0863fea5dc4f2/virtualenv-clone-0.2.6.tar.gz" -MD5SUM="fb03cd8c7a2be75937a13756d14068fc" +DOWNLOAD="https://files.pythonhosted.org/packages/85/76/49120db3bb8de4073ac199a08dc7f11255af8968e1e14038aee95043fafa/virtualenv-clone-0.5.7.tar.gz" +MD5SUM="1c45da38faeae7447acc05a8c183d07d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/python/virtualenvwrapper/README b/python/virtualenvwrapper/README deleted file mode 100644 index eaa14406fe..0000000000 --- a/python/virtualenvwrapper/README +++ /dev/null @@ -1,7 +0,0 @@ -virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv -tool for creating isolated Python development environments. - -The extensions include wrappers for creating and deleting virtual -environments and otherwise managing your development workflow, -making it easier to work on more than one project at a time without -introducing conflicts in their dependencies. diff --git a/python/virtualenvwrapper/slack-desc b/python/virtualenvwrapper/slack-desc deleted file mode 100644 index 9270cd52bc..0000000000 --- a/python/virtualenvwrapper/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------------------------------------------------------| -virtualenvwrapper: virtualenvwrapper (Extensions to Ian Bicking's virtualenv tool) -virtualenvwrapper: -virtualenvwrapper: virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv -virtualenvwrapper: tool for creating isolated Python development environments. -virtualenvwrapper: -virtualenvwrapper: The extensions include wrappers for creating and deleting virtual -virtualenvwrapper: environments and otherwise managing your development workflow, -virtualenvwrapper: making it easier to work on more than one project at a time without -virtualenvwrapper: introducing conflicts in their dependencies. -virtualenvwrapper: -virtualenvwrapper: Homepage: http://www.doughellmann.com/projects/virtualenvwrapper/ diff --git a/python/virtualenvwrapper/virtualenvwrapper.SlackBuild b/python/virtualenvwrapper/virtualenvwrapper.SlackBuild deleted file mode 100644 index e7f9e77abd..0000000000 --- a/python/virtualenvwrapper/virtualenvwrapper.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Slackware build script for virtualenvwrapper - -# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece -# Copyright <2013> <vvoody> <Shanghai> -# 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=virtualenvwrapper -VERSION=${VERSION:-4.8.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 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} - -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 -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python2 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.txt 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/virtualenvwrapper/virtualenvwrapper.info b/python/virtualenvwrapper/virtualenvwrapper.info deleted file mode 100644 index 2db739f734..0000000000 --- a/python/virtualenvwrapper/virtualenvwrapper.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="virtualenvwrapper" -VERSION="4.8.4" -HOMEPAGE="http://www.doughellmann.com/projects/virtualenvwrapper/" -DOWNLOAD="https://files.pythonhosted.org/packages/c1/6b/2f05d73b2d2f2410b48b90d3783a0034c26afa534a4a95ad5f1178d61191/virtualenvwrapper-4.8.4.tar.gz" -MD5SUM="b257b16b593eabd7e809cc76e63c295f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="virtualenv virtualenv-clone stevedore" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/waitress/README b/python/waitress/README deleted file mode 100644 index 411ac9156c..0000000000 --- a/python/waitress/README +++ /dev/null @@ -1,5 +0,0 @@ -Waitress is meant to be a production-quality pure-Python WSGI server -with very acceptable performance. It has no dependencies except ones -which live in the Python standard library. It runs on CPython on Unix -and Windows under Python 2.6+ and Python 3.2+. It is also known to -run on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1. diff --git a/python/waitress/slack-desc b/python/waitress/slack-desc deleted file mode 100644 index e4a43c5f68..0000000000 --- a/python/waitress/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------------------------------------------------------| -waitress: waitress (Waitress WSGI server) -waitress: -waitress: Waitress is meant to be a production-quality pure-Python -waitress: WSGI server with very acceptable performance. It has no -waitress: dependencies except ones which live in the Python standard library. -waitress: It runs on CPython on Unix and Windows under Python 2.6+ and Python -waitress: 3.2+. It is also known to run on PyPy 1.6.0+ on UNIX. It supports -waitress: HTTP/1.0 and HTTP/1.1. -waitress: -waitress: Homepage: https://github.com/Pylons/waitress -waitress: diff --git a/python/waitress/waitress.SlackBuild b/python/waitress/waitress.SlackBuild deleted file mode 100644 index 5c0bedc8ec..0000000000 --- a/python/waitress/waitress.SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/bash - -# Slackware build script for waitress - -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece -# 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=waitress -VERSION=${VERSION:-1.3.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 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} - -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 -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 {} \; - -python 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.rst CHANGES.txt CONTRIBUTORS.txt COPYRIGHT.txt\ - LICENSE.txt PKG-INFO TODO.txt tox.ini docs/*.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/waitress/waitress.info b/python/waitress/waitress.info deleted file mode 100644 index 2464788fae..0000000000 --- a/python/waitress/waitress.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="waitress" -VERSION="1.3.1" -HOMEPAGE="https://github.com/Pylons/waitress" -DOWNLOAD="https://files.pythonhosted.org/packages/a6/e6/708da7bba65898e5d759ade8391b1077e49d07be0b0223c39f5be04def56/waitress-1.3.1.tar.gz" -MD5SUM="d9132d313de0c5e0fec34ef9ede5442e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" |