diff options
author | Matteo Bernardini | 2022-11-19 09:46:49 +0100 |
---|---|---|
committer | Matteo Bernardini | 2022-11-19 09:46:49 +0100 |
commit | e99f4d18a14724754ffbcc10960e56bcc86ac8f3 (patch) | |
tree | 2824b9a71116e0a0d12e47345abb901ad9f370cd /python | |
parent | b54a7d46399fd01b3bf2adc2d1b4a2b429d3c6c4 (diff) | |
download | slackbuilds-e99f4d18a14724754ffbcc10960e56bcc86ac8f3.tar.gz |
20221119.1 global branch merge.current-20221119.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python')
26 files changed, 20 insertions, 451 deletions
diff --git a/python/alabaster/alabaster.SlackBuild b/python/alabaster/alabaster.SlackBuild index 0278a67414..0292c5f96c 100644 --- a/python/alabaster/alabaster.SlackBuild +++ b/python/alabaster/alabaster.SlackBuild @@ -81,10 +81,6 @@ find -L . \ python setup.py install --root=$PKG -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 diff --git a/python/cppy/cppy.SlackBuild b/python/cppy/cppy.SlackBuild index 342f26f47b..b828593ef7 100644 --- a/python/cppy/cppy.SlackBuild +++ b/python/cppy/cppy.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cppy -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/cppy/cppy.info b/python/cppy/cppy.info index 627bf0eea6..98e53b3276 100644 --- a/python/cppy/cppy.info +++ b/python/cppy/cppy.info @@ -1,8 +1,8 @@ PRGNAM="cppy" -VERSION="1.2.0" +VERSION="1.2.1" HOMEPAGE="https://github.com/nucleic/cppy" -DOWNLOAD="https://github.com/nucleic/cppy/releases/download/1.2.0/cppy-1.2.0.tar.gz" -MD5SUM="d5790863221465f259f751252a259654" +DOWNLOAD="https://github.com/nucleic/cppy/releases/download/1.2.1/cppy-1.2.1.tar.gz" +MD5SUM="7c1f825c43dd66454440932a35b9969c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/imagesize/imagesize.SlackBuild b/python/imagesize/imagesize.SlackBuild index cf4c682cd7..a052c645d5 100644 --- a/python/imagesize/imagesize.SlackBuild +++ b/python/imagesize/imagesize.SlackBuild @@ -81,10 +81,6 @@ find -L . \ python setup.py install --root=$PKG -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 diff --git a/python/pikepdf/pikepdf.SlackBuild b/python/pikepdf/pikepdf.SlackBuild index ffd52a04d8..ff201dfdb7 100644 --- a/python/pikepdf/pikepdf.SlackBuild +++ b/python/pikepdf/pikepdf.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pikepdf -VERSION=${VERSION:-5.3.2} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/pikepdf/pikepdf.info b/python/pikepdf/pikepdf.info index 91c4fca5d9..a1e50d8cf4 100644 --- a/python/pikepdf/pikepdf.info +++ b/python/pikepdf/pikepdf.info @@ -1,8 +1,8 @@ PRGNAM="pikepdf" -VERSION="5.3.2" +VERSION="6.0.1" HOMEPAGE="https://github.com/pikepdf/pikepdf" -DOWNLOAD="https://pypi.python.org/packages/source/p/pikepdf/pikepdf-5.3.2.tar.gz" -MD5SUM="367ed61eeff72e190c58eb8bc1f882a7" +DOWNLOAD="https://pypi.python.org/packages/source/p/pikepdf/pikepdf-6.0.1.tar.gz" +MD5SUM="38b50358ea6c38212dc99bd6944e165c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lxml pybind11 python3-deprecation python3-setuptools_scm_git_archive" diff --git a/python/python-importlib_metadata/README b/python/python-importlib_metadata/README deleted file mode 100644 index 628ad7454d..0000000000 --- a/python/python-importlib_metadata/README +++ /dev/null @@ -1,4 +0,0 @@ -importlib_metadata is a library which provides an API for accessing -an installed package's metadata, such as its entry points or its -top-level name. This functionality intends to replace most uses of -pkg_resources entry point API and metadata API. diff --git a/python/python-importlib_metadata/python-importlib_metadata.SlackBuild b/python/python-importlib_metadata/python-importlib_metadata.SlackBuild deleted file mode 100644 index f586f1a5b3..0000000000 --- a/python/python-importlib_metadata/python-importlib_metadata.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash - -# Slackware build script for python-importlib_metadata - -# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2022 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=python-importlib_metadata -VERSION=${VERSION:-4.10.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=importlib_metadata - -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 $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python3 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README.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/python-importlib_metadata/python-importlib_metadata.info b/python/python-importlib_metadata/python-importlib_metadata.info deleted file mode 100644 index 0203cc4a5b..0000000000 --- a/python/python-importlib_metadata/python-importlib_metadata.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-importlib_metadata" -VERSION="4.10.1" -HOMEPAGE="https://importlib-metadata.readthedocs.io/" -DOWNLOAD="https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz" -MD5SUM="2b476f505bc3bf934e2b2221d4fb4a44" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python-zipp" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python-importlib_metadata/slack-desc b/python/python-importlib_metadata/slack-desc deleted file mode 100644 index a14e1318e8..0000000000 --- a/python/python-importlib_metadata/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-importlib_metadata: python-importlib_metadata (Python package metadata) -python-importlib_metadata: -python-importlib_metadata: importlib_metadata is a library which provides an API for accessing -python-importlib_metadata: an installed package's metadata, such as its entry points or its -python-importlib_metadata: top-level name. This functionality intends to replace most uses of -python-importlib_metadata: pkg_resources entry point API and metadata API. -python-importlib_metadata: -python-importlib_metadata: -python-importlib_metadata: -python-importlib_metadata: -python-importlib_metadata: diff --git a/python/python-pcapy/python-pcapy.SlackBuild b/python/python-pcapy/python-pcapy.SlackBuild index fd1bd93670..eafdadf75e 100644 --- a/python/python-pcapy/python-pcapy.SlackBuild +++ b/python/python-pcapy/python-pcapy.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-pcapy -SRCNAM=pcapy -VERSION=${VERSION:-0.11.4} +SRCNAM=pcapy-ng +VERSION=${VERSION:-1.0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/python/python-pcapy/python-pcapy.info b/python/python-pcapy/python-pcapy.info index abea62f2a2..3956daa295 100644 --- a/python/python-pcapy/python-pcapy.info +++ b/python/python-pcapy/python-pcapy.info @@ -1,8 +1,8 @@ PRGNAM="python-pcapy" -VERSION="0.11.4" +VERSION="1.0.9" HOMEPAGE="https://www.coresecurity.com/corelabs-research/open-source-tools/pcapy" -DOWNLOAD="https://github.com/CoreSecurity/pcapy/archive/0.11.4/pcapy-0.11.4.tar.gz" -MD5SUM="ccc0ece6114a095800c8764f85451677" +DOWNLOAD="https://github.com/stamparm/pcapy-ng/archive/1.0.9/pcapy-ng-1.0.9.tar.gz" +MD5SUM="5f17398bbe18c0679e0ed2d07c470a44" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python-zipp/README b/python/python-zipp/README deleted file mode 100644 index 6498203e6d..0000000000 --- a/python/python-zipp/README +++ /dev/null @@ -1,2 +0,0 @@ -A pathlib-compatible Zipfile object wrapper. A backport of the Path -object. diff --git a/python/python-zipp/python-zipp.SlackBuild b/python/python-zipp/python-zipp.SlackBuild deleted file mode 100644 index 3f39269b22..0000000000 --- a/python/python-zipp/python-zipp.SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/bash - -# Slackware build script for python-zipp - -# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2022 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=python-zipp -VERSION=${VERSION:-3.8.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=zipp - -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 $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cp $CWD/setup.py $SRCNAM-$VERSION -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 {} \; - -sed -i "s,^name =.*$,&\nversion = $VERSION," setup.cfg - -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 $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python-zipp/python-zipp.info b/python/python-zipp/python-zipp.info deleted file mode 100644 index 6fb99df1bd..0000000000 --- a/python/python-zipp/python-zipp.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-zipp" -VERSION="3.8.0" -HOMEPAGE="https://github.com/jaraco/zipp" -DOWNLOAD="https://files.pythonhosted.org/packages/cc/3c/3e8c69cd493297003da83f26ccf1faea5dd7da7892a0a7c965ac3bcba7bf/zipp-3.8.0.tar.gz" -MD5SUM="8864ff5ed01cd28755cc87f1443dbc67" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python-zipp/setup.py b/python/python-zipp/setup.py deleted file mode 100644 index 0ae4555937..0000000000 --- a/python/python-zipp/setup.py +++ /dev/null @@ -1,5 +0,0 @@ -from setuptools import setup - - -if __name__ == '__main__': - setup() diff --git a/python/python-zipp/slack-desc b/python/python-zipp/slack-desc deleted file mode 100644 index 0445035132..0000000000 --- a/python/python-zipp/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-zipp: python-zipp (pathlib-compatible Zipfile object wrapper) -python-zipp: -python-zipp: A pathlib-compatible Zipfile object wrapper. A backport of the Path -python-zipp: object. -python-zipp: -python-zipp: -python-zipp: -python-zipp: -python-zipp: -python-zipp: -python-zipp: diff --git a/python/python3-babel/README b/python/python3-babel/README deleted file mode 100644 index 292ad0fb52..0000000000 --- a/python/python3-babel/README +++ /dev/null @@ -1,10 +0,0 @@ -babel (python internationalization tools) - -Babel is a collection of tools for internationalizing Python apps. -It's composed of two major parts: -- tools to build and work with gettext message catalogs; -- a Python interface to the CLDR (Common Locale Data Repository), - providing access to various locale display names, localized number - and date formatting, etc. - -The pytz dependency must be built with optional Python 3 support. diff --git a/python/python3-babel/python3-babel.SlackBuild b/python/python3-babel/python3-babel.SlackBuild deleted file mode 100644 index 4b5aaaf07e..0000000000 --- a/python/python3-babel/python3-babel.SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/bash - -# Slackware build script for python3-babel -# -# Copyright 2021 Yth | Pont-en-Royans, France | yth@ythogtha.org -# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy -# 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-babel -VERSION=${VERSION:-2.10.1} -CLDRVER=${CLDRVER:-41.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=babel - -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 $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 {} \; - -sed -i "s/getiterator/iter/" scripts/import_cldr.py # support Python 3.9 -sed -i "s/elem.getchildren()/list(elem)/" scripts/import_cldr.py # support Python 3.9 -ln -s $CWD/cldr-common-$CLDRVER.zip cldr/ -python3 setup.py import_cldr -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 \ - AUTHORS* CHANGES* CONTRIBUTING* LICENSE* README* \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-babel/python3-babel.info b/python/python3-babel/python3-babel.info deleted file mode 100644 index ccc177ac0e..0000000000 --- a/python/python3-babel/python3-babel.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="python3-babel" -VERSION="2.10.1" -HOMEPAGE="http://babel.pocoo.org/" -DOWNLOAD="https://github.com/python-babel/babel/archive/v2.10.1/babel-2.10.1.tar.gz \ - http://unicode.org/Public/cldr/41/cldr-common-41.0.zip" -MD5SUM="9483ad57043776324459e7f000aec7f0 \ - d346710d2beb5133bdb1d14f966ae2cd" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="pytz" -MAINTAINER="Yth - Arnaud" -EMAIL="yth@ythogtha.org" diff --git a/python/python3-babel/slack-desc b/python/python3-babel/slack-desc deleted file mode 100644 index 3da4910178..0000000000 --- a/python/python3-babel/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-babel: python3-babel (python internationalization tools) -python3-babel: -python3-babel: Babel is a collection of tools for internationalizing Python apps. -python3-babel: It's composed of two major parts: -python3-babel: - tools to build and work with gettext message catalogs; -python3-babel: - a Python interface to the CLDR (Common Locale Data Repository), -python3-babel: providing access to various locale display names, localized number -python3-babel: and date formatting, etc. -python3-babel: -python3-babel: homepage: http://babel.edgewall.org/ -python3-babel: diff --git a/python/python3-kiwisolver/README b/python/python3-kiwisolver/README index 33dd7e0d0c..539a84662d 100644 --- a/python/python3-kiwisolver/README +++ b/python/python3-kiwisolver/README @@ -8,6 +8,3 @@ improvement. Memory savings are consistently > 5x. This is the Python 3 version of kiwisolver and will coexist with SBo's kiwisolver package. - -python3-kiwisolver 1.4.1 is the last possible version for Slackware -15.0. Newer versions would require a newer python-setuptools. diff --git a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild index dc508a2611..d39c213ef2 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild +++ b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-kiwisolver SRCNAM=kiwisolver -VERSION=${VERSION:-1.4.1} +VERSION=${VERSION:-1.4.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,7 +68,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root $PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG | xargs 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-kiwisolver/python3-kiwisolver.info b/python/python3-kiwisolver/python3-kiwisolver.info index aea7dde3da..fb81796848 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.info +++ b/python/python3-kiwisolver/python3-kiwisolver.info @@ -1,10 +1,10 @@ PRGNAM="python3-kiwisolver" -VERSION="1.4.1" +VERSION="1.4.4" HOMEPAGE="https://github.com/nucleic/kiwi" -DOWNLOAD="https://github.com/nucleic/kiwi/releases/download/1.4.1/kiwisolver-1.4.1.tar.gz" -MD5SUM="a9ad45ee855ad59bb4625a4daa76ad51" +DOWNLOAD="https://github.com/nucleic/kiwi/releases/download/1.4.4/kiwisolver-1.4.4.tar.gz" +MD5SUM="34796908455c3b23c889439b541e424b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="cppy wheel" +REQUIRES="cppy python3-build python3-installer wheel" MAINTAINER="Isaac Yu" EMAIL="isaacyu1@isaacyu1.com" diff --git a/python/pytz/pytz.SlackBuild b/python/pytz/pytz.SlackBuild index 2d4da870cc..d4cbd825a3 100644 --- a/python/pytz/pytz.SlackBuild +++ b/python/pytz/pytz.SlackBuild @@ -66,7 +66,6 @@ find -L . \ -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 \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/snowballstemmer/snowballstemmer.SlackBuild b/python/snowballstemmer/snowballstemmer.SlackBuild index 00f83e6019..acf82fea9a 100644 --- a/python/snowballstemmer/snowballstemmer.SlackBuild +++ b/python/snowballstemmer/snowballstemmer.SlackBuild @@ -80,9 +80,6 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG -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 |