aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-praw/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-praw/APKBUILD')
-rw-r--r--community/py3-praw/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/py3-praw/APKBUILD b/community/py3-praw/APKBUILD
index 8c8dd57266..a58570346b 100644
--- a/community/py3-praw/APKBUILD
+++ b/community/py3-praw/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py3-praw
_pkgname=praw
pkgver=7.1.2
-pkgrel=0
+pkgrel=2
pkgdesc="Python module to access to reddit's API"
options="!check" # missing 'Betamax' modules
url="https://github.com/praw-dev/praw"
@@ -12,7 +12,9 @@ license="GPL-3.0-or-later"
depends="py3-prawcore py3-update-checker py3-requests py3-six py3-websocket-client"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
-source="$_pkgname-$pkgver.tar.gz::https://github.com/praw-dev/praw/archive/v$pkgver.tar.gz"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/praw-dev/praw/archive/v$pkgver.tar.gz
+ update-requirements.patch
+ "
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-praw" # Backwards compatibility
@@ -30,4 +32,7 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="8d2a343b17cc86070ad02eae5846084aeb3ae34dda69204f1e5ec9b2dad7c751e89c07d53fb4bfc06b66c145dd06e7885200f7224311b5939d3cc37b3e192136 praw-7.1.2.tar.gz"
+sha512sums="
+8d2a343b17cc86070ad02eae5846084aeb3ae34dda69204f1e5ec9b2dad7c751e89c07d53fb4bfc06b66c145dd06e7885200f7224311b5939d3cc37b3e192136 praw-7.1.2.tar.gz
+7be3b18187ec0a07e89142a1531272bb5e6dc9df389e703e6bbe709ac046dd8504a9a9a8f1cf7672680189614d8eab25b81f5a8e3a1564f990ef63feeb467c0b update-requirements.patch
+"