diff options
Diffstat (limited to 'python/python3-aiohttp')
-rw-r--r-- | python/python3-aiohttp/python3-aiohttp.SlackBuild | 35 | ||||
-rw-r--r-- | python/python3-aiohttp/python3-aiohttp.info | 12 |
2 files changed, 21 insertions, 26 deletions
diff --git a/python/python3-aiohttp/python3-aiohttp.SlackBuild b/python/python3-aiohttp/python3-aiohttp.SlackBuild index 2e6d8618a5..1f43b179fd 100644 --- a/python/python3-aiohttp/python3-aiohttp.SlackBuild +++ b/python/python3-aiohttp/python3-aiohttp.SlackBuild @@ -1,7 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for python3-aiohttp -# Copyright 2019-2021 Isaac Yu <isaacyu1@isaacyu1.com> + +# Copyright 2019-2023 Isaac Yu <isaacyu@protonmail.com> +# 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 @@ -21,10 +23,13 @@ # 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-aiohttp -VERSION=${VERSION:-3.7.4} +VERSION=${VERSION:-3.9.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=aiohttp @@ -36,25 +41,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 @@ -76,11 +71,11 @@ 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 *.rst *.txt docs/ requirements/ CODE_OF_CONDUCT.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-aiohttp/python3-aiohttp.info b/python/python3-aiohttp/python3-aiohttp.info index 3f52c04839..b17dc44277 100644 --- a/python/python3-aiohttp/python3-aiohttp.info +++ b/python/python3-aiohttp/python3-aiohttp.info @@ -1,10 +1,10 @@ PRGNAM="python3-aiohttp" -VERSION="3.7.4" +VERSION="3.9.5" HOMEPAGE="https://aiohttp.readthedocs.io/en/stable/" -DOWNLOAD="https://github.com/aio-libs/aiohttp/archive/v3.7.4/aiohttp-3.7.4.tar.gz" -MD5SUM="024c67c8e6ba529e11d7486411cc3cda" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-3.9.5.tar.gz" +MD5SUM="14829a5ea507c8219e3f679fceeb5585" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gunicorn async-timeout python3-attrs yarl python-chardet typing-extensions" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu1@isaacyu1.com" +REQUIRES="python3-async-timeout python3-attrs python3-yarl python3-aiosignal" +MAINTAINER="Jay Lanagan" +EMAIL="j@lngn.net" |