[arch-commits] Commit in python-statsmodels/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:13:38 UTC 2020
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 <gginiu at gmail.com>
+# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
+
+# 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
+}
More information about the arch-commits
mailing list