aboutsummaryrefslogtreecommitdiff
path: root/python/python3-aiofiles
diff options
context:
space:
mode:
authorSteven Voges <svoges.sbo@gmail.com>2023-09-05 19:40:59 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-09 10:14:08 +0700
commit1bfbeaae5b16fa949816c15341bfee4b4e02e8e1 (patch)
tree69fac37f5f5e25dc4ca1115e704868a6464c086b /python/python3-aiofiles
parente40e1f9ec6567269dc16f66e820fe6f184d69512 (diff)
python/python3-aiofiles: Updated for version 23.2.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-aiofiles')
-rw-r--r--python/python3-aiofiles/python3-aiofiles.SlackBuild7
-rw-r--r--python/python3-aiofiles/python3-aiofiles.info8
2 files changed, 8 insertions, 7 deletions
diff --git a/python/python3-aiofiles/python3-aiofiles.SlackBuild b/python/python3-aiofiles/python3-aiofiles.SlackBuild
index ce3c6a39df15..7ca0edefab49 100644
--- a/python/python3-aiofiles/python3-aiofiles.SlackBuild
+++ b/python/python3-aiofiles/python3-aiofiles.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-aiofiles
SRCNAM=aiofiles
-VERSION=${VERSION:-23.1.0}
+VERSION=${VERSION:-23.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,14 +77,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 {} \;
-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 PKG-INFO README.rst \
+ LICENSE NOTICE PKG-INFO README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/python/python3-aiofiles/python3-aiofiles.info b/python/python3-aiofiles/python3-aiofiles.info
index 9fad9b1b1b34..c6e4c7db4dce 100644
--- a/python/python3-aiofiles/python3-aiofiles.info
+++ b/python/python3-aiofiles/python3-aiofiles.info
@@ -1,10 +1,10 @@
PRGNAM="python3-aiofiles"
-VERSION="23.1.0"
+VERSION="23.2.1"
HOMEPAGE="https://github.com/Tinche/aiofiles"
-DOWNLOAD="https://files.pythonhosted.org/packages/40/a0/07be94aecba162ed5147359f9883e82afd2ac13aed33678a008fc8c36f8b/aiofiles-23.1.0.tar.gz"
-MD5SUM="d648a31366030470c97401741747065f"
+DOWNLOAD="https://files.pythonhosted.org/packages/af/41/cfed10bc64d774f497a86e5ede9248e1d062db675504b41c320954d99641/aiofiles-23.2.1.tar.gz"
+MD5SUM="ab5dfab3180f56a21b46e1e90b16c6e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-build python3-hatchling"
MAINTAINER="Steven Voges"
EMAIL="svoges.sbo@gmail.com"