1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/py3-prawcore/APKBUILD
Bart Ribbers 0a1bed6671 community/py3-prawcore: move py3-setuptools to makedepends
Otherwise this package can't build if tests are disabled
2021-06-25 12:37:59 +02:00

37 lines
873 B
Text

# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-prawcore
pkgver=2.0.0
pkgrel=1
pkgdesc="Low-level communication layer for PRAW 4+"
url="https://github.com/praw-dev/prawcore"
arch="noarch"
license="BSD-2-Clause"
depends="
py3-requests
"
makedepends="py3-setuptools"
checkdepends="
py3-betamax
py3-betamax_matchers
py3-betamax_serializers
py3-mock
py3-pytest
py3-testfixtures
"
source="https://github.com/praw-dev/prawcore/archive/v$pkgver/prawcore-v$pkgver.tar.gz"
builddir="$srcdir/prawcore-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ff1d0adffa96e0f68032b14555f5e8e7268ce7d3615d071bc22f0019c37032b6a35f76b85f14ee18f7da8b051d08fe17baca6d3a3448c67576f9bf6febab5af6 prawcore-v2.0.0.tar.gz"