blob: 5ccb36b9c04eb399c744bf92e46a4eb5a4781f17 (
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
|
# Maintainer: entriphy <t4ils.dev@gmail.com>
pkgname=python-asyncpraw
_pkgname=asyncpraw
pkgver=7.7.1
pkgrel=1
pkgdesc="Asynchronous Python Reddit API wrapper"
arch=("any")
url="https://github.com/praw-dev/$_pkgname"
license=("BSD")
options=(!emptydirs)
depends=("python" "python-asyncprawcore" "python-aiofiles")
makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools")
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("e20b8e00979c9de092334a3c1b2a0ca57a6647e41add2ee647d4a957f109ff1e")
build() {
cd "$_pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|