[arch-commits] Commit in python/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Mon Mar 10 05:11:02 UTC 2014


    Date: Monday, March 10, 2014 @ 06:11:02
  Author: fyan
Revision: 207465

upgpkg: python 3.3.5-1

- use system libmpdec, please test if anything break without installing mpdecimal, and file a bug to get the corresponding package depend on mpdecimal
- add xz and mpdecimal as optdepends

Modified:
  python/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-10 03:48:02 UTC (rev 207464)
+++ PKGBUILD	2014-03-10 05:11:02 UTC (rev 207465)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org> 
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at gmail.com>
 # Contributor: Stéphane Gaudreault <stephane at archlinux.org>
 # Contributor: Allan McRae <allan at archlinux.org>
 # Contributor: Jason Chu <jason at archlinux.org>
 
 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"
@@ -13,13 +14,16 @@
 license=('custom')
 url="http://www.python.org/"
 depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
-makedepends=('tk>=8.6.0' 'sqlite' 'valgrind' 'bluez-libs')
-optdepends=('tk: for tkinter' 'sqlite')
+makedepends=('tk>=8.6.0' 'sqlite' 'valgrind' '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}"
@@ -32,7 +36,7 @@
   rm -r Modules/expat
   rm -r Modules/zlib
   rm -r Modules/_ctypes/{darwin,libffi}*
-
+  rm -r Modules/_decimal/libmpdec
 }
 
 build() {
@@ -46,7 +50,8 @@
               --with-valgrind \
               --with-system-expat \
               --with-dbmliborder=gdbm:ndbm \
-              --with-system-ffi
+              --with-system-ffi \
+              --with-system-libmpdec
 
   make
 }




More information about the arch-commits mailing list