1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
4 pkgname=python-$_pyname
7 pkgdesc='Splitting Conic Solver'
8 url='https://github.com/cvxgrp/scs/'
11 depends=(python-scipy)
12 makedepends=(python-build python-installer python-setuptools python-wheel)
13 checkdepends=(python-pytest)
14 source=(https://pypi.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz)
15 sha256sums=('e3bd779e7e977e3ae5a2f2035aa4c2a309e29082d59a722d5d6592edc4bdb4b3')
19 python -m build --wheel --no-isolation --skip-dependency-check
24 python -m venv --system-site-packages test-env
25 test-env/bin/python -m installer dist/*.whl
26 test-env/bin/python -m pytest -v
31 python -m installer --destdir="$pkgdir" dist/*.whl
32 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname