aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-prawcore/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-prawcore/APKBUILD')
-rw-r--r--community/py3-prawcore/APKBUILD26
1 files changed, 17 insertions, 9 deletions
diff --git a/community/py3-prawcore/APKBUILD b/community/py3-prawcore/APKBUILD
index bf8b480cd0..e50984fd73 100644
--- a/community/py3-prawcore/APKBUILD
+++ b/community/py3-prawcore/APKBUILD
@@ -1,17 +1,25 @@
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-prawcore
-pkgver=1.5.0
+pkgver=2.0.0
pkgrel=1
-pkgdesc="low-level communication layer for PRAW 4+"
-options="net" # To fetch unpackaged test dependencies
+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-mock py3-betamax py3-betamax_matchers py3-betamax_serializers py3-testfixtures"
-source="$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz"
+depends="
+ py3-requests
+ "
+checkdepends="
+ py3-betamax
+ py3-betamax_matchers
+ py3-betamax_serializers
+ py3-mock
+ py3-pytest
+ py3-setuptools
+ py3-testfixtures
+ "
+source="https://github.com/praw-dev/prawcore/archive/v$pkgver/prawcore-v$pkgver.tar.gz"
builddir="$srcdir/prawcore-$pkgver"
build() {
@@ -19,11 +27,11 @@ build() {
}
check() {
- python3 setup.py test
+ pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="6ee3191702cb6b1daf30763bd8fc1a919dc6820792c1a64399dc98f5986e33ee3e2a59286277e4232b5d58077d54e0cf444f9a0144dd7bad91286a57f2fe6a89 py3-prawcore-1.5.0.tar.gz"
+sha512sums="ff1d0adffa96e0f68032b14555f5e8e7268ce7d3615d071bc22f0019c37032b6a35f76b85f14ee18f7da8b051d08fe17baca6d3a3448c67576f9bf6febab5af6 prawcore-v2.0.0.tar.gz"