blob: a7ecea658b6d33037ecda69be4bf423c69067f48 (
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
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-prawcore
pkgver=1.0.1
pkgrel=3
pkgdesc="a low-level communication layer for PRAW 4+"
url="https://github.com/praw-dev/prawcore"
arch="noarch"
license="BSD-2-Clause"
depends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz"
builddir="$srcdir/prawcore-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="6efe8faa685aa92a04309c4c24963a2a540335ad0bed31b990d840732ddf726789688171f4ead4daf831e89da5c95c17861a079dfc9ae3de254d2690bcff1c8b py3-prawcore-1.0.1.tar.gz"
|