Initial commit

This commit is contained in:
Winux 2024-08-05 10:59:17 +02:00
commit 191d77f45b
No known key found for this signature in database
GPG key ID: 75DF16E5EBCA94D3
2 changed files with 41 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
pkgbase = python-asyncer
pkgdesc = Asyncer, async and await, focused on developer experience.
pkgver = 0.0.7
pkgrel = 1
url = https://github.com/tiangolo/asyncer
arch = any
license = MIT
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-pdm-backend
depends = python
depends = python-anyio
depends = python-typing_extensions
source = asyncer-0.0.7.tar.gz::https://github.com/tiangolo/asyncer/archive/refs/tags/0.0.7.tar.gz
sha256sums = 33443e769d11343197a436cc412fd4474053d58d7bdce591c0f56f3ef84a4eae
pkgname = python-asyncer

23
PKGBUILD Normal file
View file

@ -0,0 +1,23 @@
# Maintainer: Winux <winux@winux.it>
pkgname=python-asyncer
_pkgname=asyncer
pkgver=0.0.7
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=('33443e769d11343197a436cc412fd4474053d58d7bdce591c0f56f3ef84a4eae')
build() {
cd "$srcdir/$_pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}