blob: 40c4f98b5456b9e8a51817b76c4a01d1c9dce02b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: AlphaJack <alphajack at tuta dot io>
pkgname="python-pkb-client"
pkgver=2.0.0
pkgrel=1
pkgdesc="Unofficial client for the Porkbun API"
arch=("any")
license=("MIT")
url="https://github.com/infinityofspace/pkb_client"
depends=("python-requests" "python-responses" "python-dnspython")
makedepends=("python-build" "python-installer" "python-setuptools" "python-wheel")
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('587d72f87243d246ea3c2dcf0429cbc7d7c39bb805e315f2aa4b2e17980cc5ac34ba7a472bd49a87865e2aa5967c5b3eaa3f8211ee688e128fbb75675a6fd44c')
build(){
cd "pkb_client-$pkgver"
python -m build --wheel --no-isolation
}
package(){
cd "pkb_client-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|