blob: f92e966935ac0d5f7a9f797b282f61b198fce4cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=python-caio
_name=${pkgname#python-}
pkgver=0.9.22
pkgrel=1
pkgdesc="Linux AIO c python bindings"
arch=('x86_64')
url="https://github.com/mosquito/caio"
license=('Apache-2.0')
depends=('python')
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
#checkdepends=(
# 'python-pytest'
# 'python-pytest-aiohttp'
## 'python-pytest-aiomisc' ## TODO
# 'python-pytest-asyncio'
#)
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('429458b292a44366bc84bd96d93acc505b86a7270e6f7ff1810724c9bbb2b51d')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
#check() {
# cd "$_name-$pkgver"
# PYTHONPATH=. pytest
#}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|