summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91e2826b3fba12d7c8651b8143c11340e268ca59 (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
# Maintainer: 0xMRTT <0XMRTT@proton.me>

pkgname=python-baichat-py
_name=baichat_py
pkgver=0.2.1
pkgrel=1
pkgdesc="BAIChat API Python"
arch=('any')
url="https://codeberg.org/Bavarder/baichat-py"
license=('GPL3')
depends=( 'python-requests' 'python-aiohttp')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('834de3c8d544c9724f089d7b8051bac5787d519b769cecac9054059ef559b0fb')

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

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