summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 230685cb68d13ac423e519d6dcbc71cbab8fc314 (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
# Maintainer: Daniel Bershatsky <bepshatsky@yandex.ru>
pkgname=python-patio
_pkgname=${pkgname#python-}
pkgver=0.0.0
_pkgver=f65bd652719f0dd1b7926014059b7970c6b95b33
pkgrel=1
pkgdesc="Python Asynchronous Task for AsyncIO core library"
arch=('any')
url="https://github.com/patio-python/patio"
license=('MIT')
groups=()
depends=('python-typing_extensions')
makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')
optdepends=()
source=("$pkgname-$pkgver.tar.gz::https://github.com/patio-python/patio/archive/$_pkgver.tar.gz")
sha256sums=('e6219bc987e3544573784c3d25581b56e723176e6e285cda52396d224b40c3e8')

build() {
    cd ${_pkgname}-${_pkgver}
    python -m build -n -w
}

package() {
    python -m installer \
        --compile-bytecode 1 \
        --destdir $pkgdir \
        ${_pkgname}-${_pkgver}/dist/${_pkgname}-*.whl
}