summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFantix King2016-01-20 00:45:31 +0800
committerFantix King2016-01-20 00:45:31 +0800
commitcf7e557845e4378239ff3af5413e9cb74371ce9e (patch)
tree345a5f0be83caf0488cef49d873cae9cb9ac0c2e /PKGBUILD
parent92c99c1c71399e99ff708cef11c58bc3176ec27c (diff)
downloadaur-cf7e557845e4378239ff3af5413e9cb74371ce9e.tar.gz
3.5.1-1.2 sys.path bugfix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 267fc3d31fd..f043208fcbe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
_pkgbasename=python
pkgname=libx32-python
pkgver=3.5.1
-pkgrel=1.1
+pkgrel=1.2
_pybasever=3.5
pkgdesc="Next generation of the python high-level scripting language (x32 ABI)"
arch=('x86_64')
@@ -28,10 +28,12 @@ options=('!makeflags')
source=("http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"
pyconfig-stub.h
venv-x32.patch
+ site.py.patch
dont-make-libpython-readonly.patch)
sha1sums=('0186da436db76776196612b98bb9c2f76acfe90e'
'74e5b55b394b1dfe5c430734e2ce049d595fb50f'
'af6b854349f4992892471b9cb363e8a6ce19ea6b'
+ 'f0fe25082c2b080dccf19400fe998d97f3adf5a4'
'c22b24324b8e53326702de439c401d97927ee3f2')
prepare() {
@@ -43,6 +45,9 @@ prepare() {
# x32 venv
patch -p1 -i ../venv-x32.patch
+ # site.py
+ patch -p1 -i ../site.py.patch
+
# FS#23997
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python-x32|" Lib/cgi.py