From a129a211d2173d78793beb1ea1df04bb5d858b3b Mon Sep 17 00:00:00 2001
From: prspkt <prspkt@protonmail.com>
Date: Mon, 1 Jul 2019 00:05:08 +0300
Subject: [PATCH] testing/py3-botocore: upgrade to 1.12.180, modernize

---
 testing/py3-botocore/APKBUILD | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/testing/py3-botocore/APKBUILD b/testing/py3-botocore/APKBUILD
index 3ee71ca377a7..856262f64d9b 100644
--- a/testing/py3-botocore/APKBUILD
+++ b/testing/py3-botocore/APKBUILD
@@ -2,33 +2,30 @@
 # Contributor: Valery Kartel <valery.kartel@gmail.com>
 pkgname=py3-botocore
 _pkgname=botocore
-pkgver=1.12.75
-pkgrel=2
+pkgver=1.12.180
+pkgrel=0
 pkgdesc="The low-level, core functionality of Boto3"
 url="https://github.com/boto/botocore"
 arch="noarch"
 license="Apache-2.0"
 depends="py3-dateutil py3-docutils py3-jmespath py3-urllib3"
 makedepends="py3-setuptools"
-source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgreal-$pkgver"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
 
 replaces=py-botocore # Backwards compatibility
 provides=py-botocore=$pkgver-r$pkgrel # Backwards compatibility
 
 build() {
-	cd "$builddir"
 	python3 setup.py build
 }
 
 check() {
-	cd "$builddir"
 	python3 setup.py check
 }
 
 package() {
-	cd "$builddir"
 	python3 setup.py install --prefix=/usr --root="$pkgdir"
 }
 
-sha512sums="69e68ab4c9dfd0a19f645bc67a88a579bd056d89d9bba336b54d27eb5170ddb9983e7514f335485437dbbaa08d70f4e1abce91a0aa1ab89629150bf1582733cd  botocore-1.12.75.tar.gz"
+sha512sums="4382990138652e94f2a9cb748e7a977b70da51401a6f7638da4ba5ee851c82c57c50c04fb65bdeb05ef20c2b2e666a84aebb6776b41e1fcc90702860513c2d76  botocore-1.12.180.tar.gz"
-- 
GitLab