diff options
Diffstat (limited to 'python/asgiref')
-rw-r--r-- | python/asgiref/README | 5 | ||||
-rw-r--r-- | python/asgiref/asgiref.SlackBuild | 20 | ||||
-rw-r--r-- | python/asgiref/asgiref.info | 10 |
3 files changed, 23 insertions, 12 deletions
diff --git a/python/asgiref/README b/python/asgiref/README index 2653186b70..470eefba8a 100644 --- a/python/asgiref/README +++ b/python/asgiref/README @@ -1,2 +1,3 @@ -ASGI is a standard for Python asynchronous web apps and servers to -communicate with each other, and positioned as an asynchronous successor to WSGI. +ASGI is a standard for Python asynchronous web apps and servers +to communicate with each other, and positioned as an asynchronous +successor to WSGI. diff --git a/python/asgiref/asgiref.SlackBuild b/python/asgiref/asgiref.SlackBuild index 454509998c..e4012a2c22 100644 --- a/python/asgiref/asgiref.SlackBuild +++ b/python/asgiref/asgiref.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for asgiref -# Copyright 2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2019-2023 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,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=asgiref -VERSION=${VERSION:-3.2.3} +VERSION=${VERSION:-3.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -82,4 +92,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/asgiref/asgiref.info b/python/asgiref/asgiref.info index 7043c91989..ee10201723 100644 --- a/python/asgiref/asgiref.info +++ b/python/asgiref/asgiref.info @@ -1,10 +1,10 @@ PRGNAM="asgiref" -VERSION="3.2.3" +VERSION="3.7.2" HOMEPAGE="https://github.com/django/asgiref/" -DOWNLOAD="https://files.pythonhosted.org/packages/80/c4/83a01607f2d10024c172097126264c8e00c6a4827b35d631ece9625e6ba2/asgiref-3.2.3.tar.gz" -MD5SUM="39218c10eee0bf66a3d893491d835e86" +DOWNLOAD="https://files.pythonhosted.org/packages/12/19/64e38c1c2cbf0da9635b7082bbdf0e89052e93329279f59759c24a10cc96/asgiref-3.7.2.tar.gz" +MD5SUM="7cd61836ec3c329f415309f88e92e0e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3" +REQUIRES="typing-extensions" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" |