summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Wagie2022-03-28 10:13:14 -0600
committerMark Wagie2022-03-28 10:13:14 -0600
commitccc123949c9a45961ed6c5ef6f78e7b5aaf0c5a8 (patch)
treec0c4728b95929e1a8985fac1c6f4fc5333ebf136 /PKGBUILD
parentc71aa3aa20215da65355a3e49fb3bc5211993edf (diff)
downloadaur-ccc123949c9a45961ed6c5ef6f78e7b5aaf0c5a8.tar.gz
3.10.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c66922573b6..2822294ea2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,25 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=python-asyncstdlib
_name=${pkgname#python-}
-pkgver=3.10.3
+pkgver=3.10.4
pkgrel=1
pkgdesc="The missing toolbox for an async world"
arch=('any')
url="https://github.com/maxfischer2781/asyncstdlib"
license=('MIT')
depends=('python-typing_extensions')
-source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('4d836c65769761a47795667ed72f3de6cf4a25e480959f75fd91eb8eb5edc640')
+makedepends=('python-build' 'python-flit-core' 'python-installer')
+source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('146bce9c51739a6e6d066dd7f42df51b567ffced487ab705d6a8ca388615dcc7')
build() {
cd "$_name-$pkgver"
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}