summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Rojas2019-11-01 08:57:53 +0000
committerAntonio Rojas2019-11-01 08:57:53 +0000
commit82c00d263e644fe42eab52ebcb22228fdf0913bf (patch)
treea176251a676509dd0df51130509e0c2b272d99b6 /PKGBUILD
parent2cf793bb490043db75878dd68ea3ca60e88f9ed4 (diff)
downloadaur-82c00d263e644fe42eab52ebcb22228fdf0913bf.tar.gz
Add fixes for python 3.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 33ea8db3de26..ddabc948732a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,10 +13,16 @@ license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-requests'
'python2-requests' 'python-httpretty' 'python2-httpretty')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/boto/boto/archive/$pkgver.tar.gz")
-sha512sums=('43c2679f33ecec9b78d9969329d361cff4fd569b431e8451d849a42882ba4913598bfc7e11561fc54799e6e36e6e75a0299da955232435fb3e56745b2fcb57bc')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/boto/boto/archive/$pkgver.tar.gz"
+ boto-python-3.8.patch)
+sha512sums=('43c2679f33ecec9b78d9969329d361cff4fd569b431e8451d849a42882ba4913598bfc7e11561fc54799e6e36e6e75a0299da955232435fb3e56745b2fcb57bc'
+ '3e32db201adb637d3b6041f9e7be65889f1306042cbed36e4884207cbf772dc8f7691be9a505ec79f111b99c8313e0d42436c1f9a2dfa095de6cc77a7fe4bc6d')
prepare() {
+ (cd boto-$pkgver
+ patch -p1 -i ../boto-python-3.8.patch # Fix escaping with python 3.8
+ )
+
cp -a boto-$pkgver{,-py2}
cd boto-$pkgver-py2