[arch-commits] Commit in python-numexpr/repos/community-x86_64 (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sat Aug 11 17:02:59 UTC 2018
Date: Saturday, August 11, 2018 @ 17:02:58
Author: aginiewicz
Revision: 371156
archrelease: copy trunk to community-x86_64
Added:
python-numexpr/repos/community-x86_64/PKGBUILD
(from rev 371155, python-numexpr/trunk/PKGBUILD)
Deleted:
python-numexpr/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-11 17:02:55 UTC (rev 371155)
+++ PKGBUILD 2018-08-11 17:02:58 UTC (rev 371156)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Sebastien Binet <binet at lblbox>
-
-pkgbase=python-numexpr
-pkgname=('python2-numexpr' 'python-numexpr')
-pkgver=2.6.5
-pkgrel=2
-pkgdesc="Fast numerical array expression evaluator for Python, NumPy, PyTables, pandas"
-url="https://github.com/pydata/numexpr"
-arch=('x86_64')
-license=('MIT')
-makedepends=('python2-setuptools' 'python-setuptools' 'python-numpy' 'python2-numpy')
-source=($pkgbase-$pkgver.tar.gz::https://github.com/pydata/numexpr/archive/v$pkgver.tar.gz)
-md5sums=('8a41bc69b0add1f5f5d92a75bb74d179')
-
-prepare() {
- cd "$srcdir"
- cp -a numexpr-$pkgver numexpr-py2-$pkgver
- cd numexpr-py2-$pkgver
-
- sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
- -i $(find . -name '*.py')
-}
-
-build() {
- msg "Building Python2"
- cd "$srcdir"/numexpr-py2-$pkgver
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/numexpr-$pkgver
- python setup.py build
-}
-
-package_python2-numexpr() {
- depends=('python2-numpy')
-
- cd "$srcdir"/numexpr-py2-$pkgver
-
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-numexpr() {
- depends=('python-numpy')
-
- cd "$srcdir"/numexpr-$pkgver
-
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
Copied: python-numexpr/repos/community-x86_64/PKGBUILD (from rev 371155, python-numexpr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-11 17:02:58 UTC (rev 371156)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+pkgbase=python-numexpr
+pkgname=('python2-numexpr' 'python-numexpr')
+pkgver=2.6.7
+pkgrel=1
+pkgdesc="Fast numerical array expression evaluator for Python, NumPy, PyTables, pandas"
+url="https://github.com/pydata/numexpr"
+arch=('x86_64')
+license=('MIT')
+makedepends=('python2-setuptools' 'python-setuptools' 'python-numpy' 'python2-numpy')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/pydata/numexpr/archive/v$pkgver.tar.gz)
+md5sums=('354ce24791e9714659bd2b3508f8bbf8')
+
+prepare() {
+ cd "$srcdir"
+ cp -a numexpr-$pkgver numexpr-py2-$pkgver
+ cd numexpr-py2-$pkgver
+
+ sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+ -i $(find . -name '*.py')
+}
+
+build() {
+ msg "Building Python2"
+ cd "$srcdir"/numexpr-py2-$pkgver
+ python2 setup.py build
+
+ msg "Building Python3"
+ cd "$srcdir"/numexpr-$pkgver
+ python setup.py build
+}
+
+package_python2-numexpr() {
+ depends=('python2-numpy')
+
+ cd "$srcdir"/numexpr-py2-$pkgver
+
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-numexpr() {
+ depends=('python-numpy')
+
+ cd "$srcdir"/numexpr-$pkgver
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list