extra/python to 3.3.5-1

This commit is contained in:
Kevin Mihelich 2014-03-12 19:19:14 +00:00
parent 79abfc22ee
commit 95a9739885

View file

@ -1,5 +1,6 @@
# $Id: PKGBUILD 169007 2012-10-17 10:19:56Z allan $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# $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
}