Skip to content
Snippets Groups Projects
Commit eea253dd authored by Patrycja Rosa's avatar Patrycja Rosa :cat:
Browse files

testing/py3-halo: build with gpep517

parent 16bcdbb2
No related branches found
No related tags found
No related merge requests found
......@@ -3,24 +3,27 @@
pkgname=py3-halo
_pyname=halo
pkgver=0.0.31
pkgrel=4
pkgrel=5
pkgdesc="Python library for terminal spinners"
url="https://github.com/manrajgrover/halo"
arch="noarch"
license="MIT"
depends="python3 py3-log-symbols py3-spinners py3-termcolor py3-colorama py3-six"
makedepends="py3-setuptools"
options="!check" # no tests
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="$_pyname-$pkgver.tar.gz::https://pypi.python.org/packages/source/h/halo/halo-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # no tests
build() {
python3 setup.py build
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment