Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
- pkgname='python-arch'
- _module='arch'
- pkgver='4.18'
- pkgrel=1
- pkgdesc="ARCH models in Python"
- url="https://github.com/bashtage/arch"
- depends=('python' 'python-numpy' 'python-pandas'
- 'python-scipy' 'python-statsmodels')
- checkdepends=('python-pytest' 'python-seaborn')
- makedepends=('cython' 'python-setuptools')
- license=('custom:University of Illinois/NCSA Open Source License')
- arch=('x86_64')
- source=("$pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz")
- sha256sums=('f172c8eeb3371393a48c54f55dbd2e49eaf70e64e7e22f9556d82a3206efea3a')
- build() {
- cd "${srcdir}/${_module}-${pkgver}"
- python setup.py build_ext --inplace
- }
- package() {
- cd "${srcdir}/${_module}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
- }
- check() {
- cd "${srcdir}/${_module}-${pkgver}"
- PYTHONPATH=.. py.test arch/tests
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement