diff options
author | Guillaume Horel | 2017-07-12 16:53:43 -0400 |
---|---|---|
committer | Guillaume Horel | 2017-07-12 16:53:43 -0400 |
commit | 53b134a869474154f3f7473e377e1e3f1c7c1716 (patch) | |
tree | 16652097bbee6b011435a6688d6199e684df1108 | |
download | aur-53b134a869474154f3f7473e377e1e3f1c7c1716.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5d072fff3989 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = python-linearmodels + pkgdesc = Linear models in Python. + pkgver = 3.5 + pkgrel = 1 + url = https://bashtage.github.io/linearmodels/doc + arch = i686 + arch = x86_64 + license = custom:University of Illinois/NCSA Open Source License + checkdepends = python-pytest + checkdepends = python-xarray + makedepends = python-setuptools + depends = python + depends = python-numpy + depends = python-pandas + depends = python-scipy + depends = python-patsy + optdepends = python-xarray + source = https://github.com/bashtage/linearmodels/archive/3.5.tar.gz + sha256sums = 1ca6fbc8ba130277e7f55d06145efde1f64320a7c40146ed059d67e84d93d564 + +pkgname = python-linearmodels + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..087c3cf4efa3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Guillaume Horel <guillaume.horel@gmail.com> +pkgname=('python-linearmodels') +_module='linearmodels' +pkgver='3.5' +pkgrel=1 +pkgdesc="Linear models in Python." +url="https://bashtage.github.io/linearmodels/doc" +depends=('python' + 'python-numpy' + 'python-pandas' + 'python-scipy' + 'python-patsy') +checkdepends=('python-pytest' 'python-xarray') +optdepends=('python-xarray') +makedepends=('python-setuptools') +license=('custom:University of Illinois/NCSA Open Source License') +arch=('i686' 'x86_64') +source=("https://github.com/bashtage/linearmodels/archive/${pkgver}.tar.gz") +sha256sums=('1ca6fbc8ba130277e7f55d06145efde1f64320a7c40146ed059d67e84d93d564') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" +} + +#check() { +# cd "${srcdir}/${_module}-${pkgver}" +# py.test linearmodels --skip-slow +#} |