summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfordprefect2019-11-27 16:38:17 +0100
committerfordprefect2019-11-27 16:38:17 +0100
commitd08d556f492c9158bb9c682f20ceaddb14d18c01 (patch)
treeae46c4067a80f890579e197f5353ac133b743794 /PKGBUILD
parent8889a36c4fd7688d4a00cb84b4b5c8fb5235cea4 (diff)
downloadaur-d08d556f492c9158bb9c682f20ceaddb14d18c01.tar.gz
update to 0.4.4, dropped Python2 version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 6 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 18a482cf5fc2..ff61c2ab9084 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,16 @@
-pkgname=('python-gpapi' 'python2-gpapi')
-pkgbase=python-gpapi
-pkgver=0.4.3
-pkgrel=2
+pkgname=python-gpapi
+pkgver=0.4.4
+pkgrel=1
pkgdesc="Google Play Unofficial Python API "
url="https://github.com/NoMore201/googleplay-api"
arch=('any')
license=('GPL3')
+depends=("python" "python-cryptography" "python-protobuf" "python-requests")
makedepends=("python-setuptools" "python2-setuptools")
source=("$pkgname-$pkgver.tar.gz::https://github.com/NoMore201/googleplay-api/archive/v${pkgver}.tar.gz")
-md5sums=('c9dc7e1c38656e4117c5970773331279')
+md5sums=('2c9c35fbcba7ba61a9c3f7a6621e1d65')
-package_python-gpapi() {
- depends=("python" "python-cryptography" "python-protobuf" "python-requests")
+package() {
cd googleplay-api-$pkgver
python setup.py install --root="${pkgdir}/" --optimize=1
}
-
-package_python2-gpapi() {
- depends=("python2" "python2-cryptography" "python2-protobuf" "python2-requests")
- cd googleplay-api-$pkgver
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- find "$pkgdir" -name '*.py' -exec sed -i 's|#!/usr/bin/python$|#!/usr/bin/python2|g' {} \;
-}