summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 954675bf58b12b6d85f6c3a662b841aa190f81f2 (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: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
_pkgname=multitasking
pkgname=python-multitasking
pkgver=0.0.11
pkgrel=5
pkgdesc="Non-blocking Python methods using decorators"
arch=(any)
url=https://github.com/ranaroussi/multitasking
license=(Apache-2.0)
depends=(python)
makedepends=(
    python-build
    python-installer
    python-setuptools
    python-wheel
)
source=($_pkgname-$pkgver.tar.gz::https://github.com/ranaroussi/$_pkgname/archive/refs/tags/$pkgver.tar.gz)
b2sums=('7c6c5e7270c3edb9535406399d9c8a2fbc45d3a57854c77b27af6375ec4c3cea32fe9c57252916da453b2c47ae23f4f9faf186f54fa651dece130eb31abbb7f3')

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

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