# Contributor: Leo # Maintainer: Peter Shkenev pkgname=py3-ordered-set pkgver=4.1.0 pkgrel=5 pkgdesc="MutableSet that remembers its order" url="https://github.com/rspeer/ordered-set" arch="noarch" license="MIT" depends="python3" makedepends="py3-gpep517 py3-flit-core py3-installer" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz" builddir="$srcdir/ordered-set-$pkgver" # pytest -> setuptools -> setuptools-stage0 -> this options="!check" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/ordered_set-*.whl } sha512sums=" f12d19f7d9cf0ebcc414d97798f0959ff69a77146839cc6a9067c864f9e0be795795c4d648f736fd7448ddf89666ce37f23e7380d1c9b1678a4787961e4e1e79 ordered-set-4.1.0.tar.gz "