summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2af9748c5237b9aebd2923a921071a4d656385fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Winux <winux@winux.it>
pkgname=python-asyncer
_pkgname=asyncer
pkgver=0.0.8
pkgrel=1
pkgdesc="Asyncer, async and await, focused on developer experience."
arch=('any')
url="https://github.com/tiangolo/asyncer"
license=('MIT')
depends=('python' 'python-anyio' 'python-typing_extensions')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-pdm-backend')
source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('476b978a144f83c99645897873978d636c47f2c09ac2b3d475e45f6694246753')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  python -m build --wheel --no-isolation
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}