summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e092e60f301f0779e21a8f24ba8e37335df6b6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Chinmay Dalal <dalal dot chinmay dot zero one zero one at gmail dot com>
pkgname="python-hyperer"
pkgrel=2
arch=("any")
pkgver=0.2.1
license=("GPL3")
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=("9ce7e3d5ddf2dd24ac29d5188a8a4292b5d498b954656b68bdf002eb843fe752")
depends=("python>=3.9")
makedepends=(python-build python-installer python-wheel python-poetry)

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

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