[arch-commits] Commit in python-braintree/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 09:29:02 UTC 2019
Date: Monday, November 4, 2019 @ 09:29:02
Author: felixonmars
Revision: 523895
add fix for python 3.8
Modified:
python-braintree/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++++
1 file changed, 4 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-04 09:28:59 UTC (rev 523894)
+++ PKGBUILD 2019-11-04 09:29:02 UTC (rev 523895)
@@ -13,6 +13,10 @@
source=("$pkgname-$pkgver.tar.gz::https://github.com/braintree/braintree_python/archive/$pkgver.tar.gz")
sha512sums=('12ab4854360510e74649d2c4a18a0e85a811af6e8702230ef73cc68912f610441382de3037ef2ca9c43f0fdb41ac84b6ffa6f6184e6d2d619a4f32aa92ca18eb')
+prepare() {
+ sed -i -e 's/import cgi/import urllib.parse/' -e 's/cgi.parse_qs/urllib.parse.parse_qs/' braintree_python-$pkgver/braintree/transparent_redirect_gateway.py
+}
+
build() {
cd braintree_python-$pkgver
python setup.py build
More information about the arch-commits
mailing list