[arch-commits] Commit in python-sympy/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Sun Feb 23 02:03:01 UTC 2014


    Date: Sunday, February 23, 2014 @ 03:03:01
  Author: fyan
Revision: 106109

archrelease: copy trunk to community-any

Added:
  python-sympy/repos/community-any/PKGBUILD
    (from rev 106108, python-sympy/trunk/PKGBUILD)
Deleted:
  python-sympy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  148 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 77 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-23 02:02:20 UTC (rev 106108)
+++ PKGBUILD	2014-02-23 02:03:01 UTC (rev 106109)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>  
-# Contributor: Peter Garceau <RockyChimp at gmail.com>
-
-pkgbase=python-sympy
-pkgname=('python2-sympy' 'python-sympy')
-pkgver=0.7.4.1
-pkgrel=1
-arch=('any')
-pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
-url='http://sympy.org/en/index.html'
-license=('BSD')
-makedepends=('python2' 'python')
-optdepends=('pyglet: plotting'
-            'ipython2: user friendly interface for isympy')
-source=("https://github.com/sympy/sympy/releases/download/sympy-${pkgver}/sympy-${pkgver}.tar.gz")
-
-prepare() {
-  cp -r sympy-${pkgver} py3-sympy-${pkgver}
-
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' sympy-${pkgver}/sympy/mpmath/tests/runtests.py sympy-${pkgver}/sympy/utilities/tests/diagnose_imports.py
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' py3-sympy-${pkgver}/sympy/mpmath/tests/runtests.py py3-sympy-${pkgver}/sympy/utilities/tests/diagnose_imports.py
-}
-
-build() {
-  cd sympy-${pkgver}
-  python2 setup.py build
-
-  cd ../py3-sympy-${pkgver}
-  python3 setup.py build
-}
-
-#check() {
-#  cd sympy-${pkgver}
-#  python2 setup.py test
-#
-#  cd ../py3-sympy-${pkgver}
-#  python3 setup.py test
-#}
-
-package_python2-sympy() {
-  depends=('python2>=2.7')
-  optdepends=('python2-pyglet: plotting'
-              'ipython2: user friendly interface for isympy')
-
-  cd sympy-${pkgver}
-
-  python2 setup.py install --root "${pkgdir}" --optimize=1
-
-  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python-sympy() {
-  depends=('python>=3.3')
-  optdepends=('ipython: user friendly interface for isympy')
-
-  cd py3-sympy-${pkgver}
-
-  python3 setup.py install --root "${pkgdir}" --optimize=1
-
-  # rename files that exists in both 'python2-sympy' and 'python-sympy'
-  mv "${pkgdir}"/usr/bin/isympy{,-py3}
-  mv "${pkgdir}"/usr/share/man/man1/isympy{,-py3}.1
-
-  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-sha512sums=('8d4d87428c202407ff364ef503634529500c1656cf5ddbb4de19b838499593c58d227f0b619541ce86cdc15157e3a5b48a95c906a5d05d4606ef95f1aa8fa2dc')

Copied: python-sympy/repos/community-any/PKGBUILD (from rev 106108, python-sympy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-02-23 02:03:01 UTC (rev 106109)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>  
+# Contributor: Peter Garceau <RockyChimp at gmail.com>
+
+pkgbase=python-sympy
+pkgname=('python2-sympy' 'python-sympy')
+pkgver=0.7.5
+pkgrel=1
+arch=('any')
+pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
+url='http://sympy.org/en/index.html'
+license=('BSD')
+makedepends=('python2' 'python' 'git')
+source=("git+https://github.com/sympy/sympy.git#tag=sympy-${pkgver}")
+
+prepare() {
+  cp -r sympy py3-sympy
+
+  sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+         -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+    sympy/sympy/mpmath/tests/{runtests.py,test_eigen.py,test_levin.py,test_eigen_symmetric.py} \
+    sympy/sympy/mpmath/matrices/{eigen.py,eigen_symmetric.py} \
+    sympy/sympy/utilities/tests/diagnose_imports.py
+  sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
+         -e 's|#!/usr/bin/python|#!/usr/bin/python3|' \
+    py3-sympy/sympy/mpmath/tests/{runtests.py,test_eigen.py,test_levin.py,test_eigen_symmetric.py} \
+    py3-sympy/sympy/mpmath/matrices/{eigen.py,eigen_symmetric.py} \
+    py3-sympy/sympy/utilities/tests/diagnose_imports.py
+}
+
+build() {
+  cd sympy
+  python2 setup.py build
+
+  cd ../py3-sympy
+  python3 setup.py build
+}
+
+#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'
+              'ipython2: user friendly interface for isympy')
+
+  cd sympy
+
+  python2 setup.py install --root "${pkgdir}" --optimize=1
+
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python-sympy() {
+  depends=('python>=3.3')
+  optdepends=('ipython: user friendly interface for isympy')
+
+  cd py3-sympy
+
+  python3 setup.py install --root "${pkgdir}" --optimize=1
+
+  # rename files that exists in both 'python2-sympy' and 'python-sympy'
+  mv "${pkgdir}"/usr/bin/isympy{,-py3}
+  mv "${pkgdir}"/usr/share/man/man1/isympy{,-py3}.1
+
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+sha512sums=('SKIP')




More information about the arch-commits mailing list