summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 541473a9f07..f503ffbb48c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,15 @@
pkgbase = python-asyncstdlib
pkgdesc = The missing toolbox for an async world
- pkgver = 3.10.3
+ pkgver = 3.10.4
pkgrel = 1
url = https://github.com/maxfischer2781/asyncstdlib
arch = any
license = MIT
+ makedepends = python-build
+ makedepends = python-flit-core
+ makedepends = python-installer
depends = python-typing_extensions
- source = https://pypi.org/packages/source/a/asyncstdlib/asyncstdlib-3.10.3.tar.gz
- sha256sums = 4d836c65769761a47795667ed72f3de6cf4a25e480959f75fd91eb8eb5edc640
+ source = asyncstdlib-3.10.4.tar.gz::https://github.com/maxfischer2781/asyncstdlib/archive/refs/tags/v3.10.4.tar.gz
+ sha256sums = 146bce9c51739a6e6d066dd7f42df51b567ffced487ab705d6a8ca388615dcc7
pkgname = python-asyncstdlib
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"
}