mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/python to 3.3.5-1
This commit is contained in:
parent
79abfc22ee
commit
95a9739885
1 changed files with 13 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
# $Id: PKGBUILD 169007 2012-10-17 10:19:56Z allan $
|
||||
# $Id$
|
||||
# Maintainer: Angel Velasquez <angvp@archlinux.org>
|
||||
# Maintainer: Felix Yan <felixonmars@gmail.com>
|
||||
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Jason Chu <jason@archlinux.org>
|
||||
|
@ -9,7 +10,7 @@
|
|||
# - removed --with-valgrind from configure line
|
||||
|
||||
pkgname=python
|
||||
pkgver=3.3.4
|
||||
pkgver=3.3.5
|
||||
pkgrel=1
|
||||
_pybasever=3.3
|
||||
pkgdesc="Next generation of the python high-level scripting language"
|
||||
|
@ -17,13 +18,16 @@ arch=('i686' 'x86_64')
|
|||
license=('custom')
|
||||
url="http://www.python.org/"
|
||||
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
|
||||
makedepends=('tk>=8.6.0' 'sqlite' 'bluez-libs')
|
||||
optdepends=('tk: for tkinter' 'sqlite')
|
||||
makedepends=('tk>=8.6.0' 'sqlite' 'bluez-libs' 'mpdecimal')
|
||||
optdepends=('sqlite'
|
||||
'mpdecimal: for decimal'
|
||||
'xz: for lzma'
|
||||
'tk: for tkinter')
|
||||
options=('!makeflags')
|
||||
provides=('python3')
|
||||
replaces=('python3')
|
||||
source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz)
|
||||
sha1sums=('2c9586eeb4b6e45e9ebc28372c0856c709d9a522')
|
||||
sha1sums=('6683b26dd2cfd23af852abfcf1aedf25bbd44839')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/Python-${pkgver}"
|
||||
|
@ -36,6 +40,7 @@ prepare() {
|
|||
rm -r Modules/expat
|
||||
rm -r Modules/zlib
|
||||
rm -r Modules/_ctypes/{darwin,libffi}*
|
||||
rm -r Modules/_decimal/libmpdec
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -48,7 +53,8 @@ build() {
|
|||
--enable-ipv6 \
|
||||
--with-system-expat \
|
||||
--with-dbmliborder=gdbm:ndbm \
|
||||
--with-system-ffi
|
||||
--with-system-ffi \
|
||||
--with-system-libmpdec
|
||||
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue