[arch-commits] Commit in python-statsmodels/repos (2 files)
Date: Thursday, November 12, 2020 @ 19:13:38 Author: felixonmars Revision: 753378 archrelease: copy trunk to community-staging-x86_64 Added: python-statsmodels/repos/community-staging-x86_64/ python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 753376, python-statsmodels/trunk/PKGBUILD) --+ PKGBUILD | 33 + 1 file changed, 33 insertions(+) Copied: python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 753376, python-statsmodels/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-12 19:13:38 UTC (rev 753378) @@ -0,0 +1,33 @@ +# Maintainer: Andrzej Giniewicz +# Contributor: Oliver Sherouse + +# TODO: create X-12-ARIMA or X-13ARIMA-SEATS (can be used for time-series analysis) + +pkgname=python-statsmodels +pkgver=0.12.0 +pkgrel=2 +pkgdesc="Statistical computations and models for use with SciPy" +arch=('x86_64') +url="http://statsmodels.sourceforge.net/"; +license=('BSD') +depends=('python-scipy' 'python-pandas' 'python-patsy') +makedepends=('python-setuptools' 'cython') +optdepends=('python-nose: needed for integrated test suite' +'python-matplotlib: needed for plotting functions' + 'python-joblib: accelerate distributed estimation for certain models' + 'jupyter: needed to run the notebooks') +source=("$pkgname-$pkgver.tar.gz::https://github.com/statsmodels/statsmodels/archive/v${pkgver}.tar.gz";) +sha256sums=('96717f27007713166367dcb77b401d63d435c311c5e14d6b8f76e04afa5f405b') + +build() { + cd "$srcdir"/statsmodels-${pkgver} + python setup.py build +} + +package() { + cd "$srcdir"/statsmodels-${pkgver} + + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
[arch-commits] Commit in python-statsmodels/repos (2 files)
Date: Monday, November 4, 2019 @ 08:21:52 Author: felixonmars Revision: 523697 archrelease: copy trunk to community-staging-x86_64 Added: python-statsmodels/repos/community-staging-x86_64/ python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 523696, python-statsmodels/trunk/PKGBUILD) --+ PKGBUILD | 36 1 file changed, 36 insertions(+) Copied: python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 523696, python-statsmodels/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-04 08:21:52 UTC (rev 523697) @@ -0,0 +1,36 @@ +# Maintainer: Andrzej Giniewicz +# Contributor: Oliver Sherouse + +# TODO: move python-joblib from AUR (needed to accelerate distributed estimation for certain models) +# TODO: create X-12-ARIMA or X-13ARIMA-SEATS (can be used for time-series analysis) + +pkgname='python-statsmodels' +pkgver=0.10.1 +pkgrel=2 +pkgdesc="Statistical computations and models for use with SciPy" +arch=('x86_64') +url="http://statsmodels.sourceforge.net/"; +license=('BSD') +depends=('python-scipy' 'python-pandas' 'python-patsy') +makedepends=('python-setuptools' 'cython') +optdepends=('python-nose: needed for integrated test suite' +'python-matplotlib: needed for plotting functions' + 'python-joblib: accelerate distributed estimation for certain models' + 'jupyter: needed to run the notebooks') +source=("$pkgname-$pkgver.tar.gz::https://github.com/statsmodels/statsmodels/archive/v${pkgver}.tar.gz";) +sha256sums=('269ec50719c47f946cf3872b8abfcb36e15d5614e3bb81c4c39e74cce673d5b8') + +build() { + cd "$srcdir"/statsmodels-${pkgver} + python setup.py build +} + +package() { + cd "$srcdir"/statsmodels-${pkgver} + + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + rm "$pkgdir"/usr/{LICENSE.txt,setup.cfg} +}
[arch-commits] Commit in python-statsmodels/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:11:30 Author: foutrelis Revision: 354938 archrelease: copy trunk to community-staging-x86_64 Added: python-statsmodels/repos/community-staging-x86_64/ python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 354937, python-statsmodels/trunk/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: python-statsmodels/repos/community-staging-x86_64/PKGBUILD (from rev 354937, python-statsmodels/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 14:11:30 UTC (rev 354938) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz +# Contributor: Oliver Sherouse + +pkgbase=python-statsmodels +pkgname=('python2-statsmodels' 'python-statsmodels') +pkgver=0.9.0 +pkgrel=2 +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 +} +