diff options
author | Guillaume Horel | 2020-12-21 21:55:50 -0500 |
---|---|---|
committer | Guillaume Horel | 2020-12-21 21:55:50 -0500 |
commit | d774f88ff8eb0db5d72b316c30e42c8303f59220 (patch) | |
tree | f00924d26059512db71f505afb96b98f7999fd37 /PKGBUILD | |
parent | 53b134a869474154f3f7473e377e1e3f1c7c1716 (diff) | |
download | aur-d774f88ff8eb0db5d72b316c30e42c8303f59220.tar.gz |
bump to 4.17
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -1,35 +1,34 @@ # Maintainer: Guillaume Horel <guillaume.horel@gmail.com> -pkgname=('python-linearmodels') +pkgname='python-linearmodels' _module='linearmodels' -pkgver='3.5' +pkgver='4.17' pkgrel=1 pkgdesc="Linear models in Python." url="https://bashtage.github.io/linearmodels/doc" -depends=('python' - 'python-numpy' +depends=('python-numpy' 'python-pandas' - 'python-scipy' - 'python-patsy') -checkdepends=('python-pytest' 'python-xarray') + 'python-patsy' + 'python-scipy') +checkdepends=('python-mypy_extensions' 'python-pytest' 'python-xarray') optdepends=('python-xarray') -makedepends=('python-setuptools') +makedepends=('cython' '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') +arch=('x86_64') +source=("$pkgname-$pkgver.tar.gz::https://github.com/bashtage/linearmodels/archive/${pkgver}.tar.gz") +sha256sums=('fbffd00535fa94691f7a8c985211726cc6b2cd3ed4fc7d1709ef4c9d1d7d6636') build() { - cd "${srcdir}/${_module}-${pkgver}" + cd "${_module}-${pkgver}" python setup.py build } package() { - cd "${srcdir}/${_module}-${pkgver}" + cd "${_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 + #cd "${_module}-${pkgver}" + #pytest linearmodels --skip-slow #} |