[arch-commits] Commit in python-sympy/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Nov 21 05:30:52 UTC 2014
Date: Friday, November 21, 2014 @ 06:30:52
Author: fyan
Revision: 122854
upgpkg: python-sympy 0.7.6-1
Modified:
python-sympy/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-11-21 03:23:49 UTC (rev 122853)
+++ PKGBUILD 2014-11-21 05:30:52 UTC (rev 122854)
@@ -1,5 +1,5 @@
# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
@@ -7,8 +7,8 @@
pkgbase=python-sympy
pkgname=('python2-sympy' 'python-sympy')
-pkgver=0.7.5
-pkgrel=2
+pkgver=0.7.6
+pkgrel=1
arch=('any')
pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
url='http://sympy.org/en/index.html'
@@ -17,7 +17,7 @@
source=("git+https://github.com/sympy/sympy.git#tag=sympy-${pkgver}")
prepare() {
- cp -r sympy py3-sympy
+ cp -a sympy py3-sympy
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
-e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
@@ -39,14 +39,14 @@
python3 setup.py build
}
-#check() {
-# cd sympy
-# python2 setup.py test
-#
-# cd ../py3-sympy
-# python3 setup.py test
-#}
+check() {
+ cd sympy
+ python2 setup.py test
+ cd ../py3-sympy
+ python3 setup.py test
+}
+
package_python2-sympy() {
depends=('python2>=2.7')
optdepends=('python2-pyglet: plotting'
More information about the arch-commits
mailing list