aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-02-19 14:08:06 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-23 10:14:03 +0700
commit254171d03e6f2249d281b6ef07b54b736fb24a14 (patch)
treeec71608d407e0c54f90e8c812fc70ed7a0a20869
parent17d3d61cb920d8752512ed1b232df8e17308dc9d (diff)
python/python3-anyio: Update for 4.3.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-anyio/python3-anyio.SlackBuild18
-rw-r--r--python/python3-anyio/python3-anyio.info6
2 files changed, 5 insertions, 19 deletions
diff --git a/python/python3-anyio/python3-anyio.SlackBuild b/python/python3-anyio/python3-anyio.SlackBuild
index 61416134d843..2aa6980f4df9 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.2.0}
+VERSION=${VERSION:-4.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
@@ -87,7 +73,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-anyio/python3-anyio.info b/python/python3-anyio/python3-anyio.info
index 6fe30e4e6514..dc531e9d40da 100644
--- a/python/python3-anyio/python3-anyio.info
+++ b/python/python3-anyio/python3-anyio.info
@@ -1,8 +1,8 @@
PRGNAM="python3-anyio"
-VERSION="4.2.0"
+VERSION="4.3.0"
HOMEPAGE="https://github.com/agronholm/anyio"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/a/anyio/anyio-4.2.0.tar.gz"
-MD5SUM="22e660fff1a584e72281f0d6a083e4e0"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/a/anyio/anyio-4.3.0.tar.gz"
+MD5SUM="1fd5c47374d7a239707f0b5540b00704"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-exceptiongroup python3-sniffio python3-setuptools-scm-opt"