[arch-commits] Commit in python-statsmodels/repos/community-x86_64 (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu May 17 09:42:01 UTC 2018
Date: Thursday, May 17, 2018 @ 09:42:01
Author: aginiewicz
Revision: 323590
archrelease: copy trunk to community-x86_64
Added:
python-statsmodels/repos/community-x86_64/PKGBUILD
(from rev 323589, python-statsmodels/trunk/PKGBUILD)
Deleted:
python-statsmodels/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-17 09:41:52 UTC (rev 323589)
+++ PKGBUILD 2018-05-17 09:42:01 UTC (rev 323590)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
-
-pkgbase=python-statsmodels
-pkgname=('python2-statsmodels' 'python-statsmodels')
-pkgver=0.8.0
-pkgrel=1
-pkgdesc="Statistical computations and models for use with SciPy"
-arch=('i686' 'x86_64')
-url="http://statsmodels.sourceforge.net/"
-license=('BSD')
-makedepends=('python2-setuptools' 'python2-scipy' 'python2-pandas' 'python2-patsy'
- 'python-setuptools' 'python-scipy' 'python-pandas' 'python-patsy'
- 'cython' 'cython2' 'python-tempita' 'python2-tempita')
-source=("https://github.com/statsmodels/statsmodels/archive/v${pkgver}.tar.gz")
-md5sums=('839428b3b1b134857d50e6d876f6cf87')
-
-prepare() {
- cd "$srcdir"
- cp -a statsmodels-${pkgver} statsmodels-py2-${pkgver}
- cd statsmodels-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"/statsmodels-py2-${pkgver}
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/statsmodels-${pkgver}
- python setup.py build
-}
-
-package_python2-statsmodels() {
- depends=('python2-scipy' 'python2-pandas' 'python2-patsy')
- optdepends=('python2-nose: needed for integrated test suite'
- 'python2-matplotlib: needed for plotting functions')
-
- cd "$srcdir"/statsmodels-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-statsmodels() {
- depends=('python-scipy' 'python-pandas' 'python-patsy')
- optdepends=('python-nose: needed for integrated test suite'
- 'python-matplotlib: needed for plotting functions')
-
- cd "$srcdir"/statsmodels-${pkgver}
-
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
Copied: python-statsmodels/repos/community-x86_64/PKGBUILD (from rev 323589, python-statsmodels/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-17 09:42:01 UTC (rev 323590)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
+
+pkgbase=python-statsmodels
+pkgname=('python2-statsmodels' 'python-statsmodels')
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Statistical computations and models for use with SciPy"
+arch=('x86_64')
+url="http://statsmodels.sourceforge.net/"
+license=('BSD')
+makedepends=('python2-setuptools' 'python2-scipy' 'python2-pandas' 'python2-patsy'
+ 'python-setuptools' 'python-scipy' 'python-pandas' 'python-patsy'
+ 'cython' 'cython2' 'python-tempita' 'python2-tempita')
+source=("https://github.com/statsmodels/statsmodels/archive/v${pkgver}.tar.gz")
+md5sums=('8cb06154cef733d1e03b1b5d763a2ae1')
+
+prepare() {
+ cd "$srcdir"
+ cp -a statsmodels-${pkgver} statsmodels-py2-${pkgver}
+ cd statsmodels-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"/statsmodels-py2-${pkgver}
+ python2 setup.py build
+
+ msg "Building Python3"
+ cd "$srcdir"/statsmodels-${pkgver}
+ python setup.py build
+}
+
+package_python2-statsmodels() {
+ depends=('python2-scipy' 'python2-pandas' 'python2-patsy')
+ optdepends=('python2-nose: needed for integrated test suite'
+ 'python2-matplotlib: needed for plotting functions')
+
+ cd "$srcdir"/statsmodels-py2-${pkgver}
+
+ python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-statsmodels() {
+ depends=('python-scipy' 'python-pandas' 'python-patsy')
+ optdepends=('python-nose: needed for integrated test suite'
+ 'python-matplotlib: needed for plotting functions')
+
+ cd "$srcdir"/statsmodels-${pkgver}
+
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list