# Contributor: Sebastian Hugentobler # Maintainer: Sebastian Hugentobler pkgname=py3-blist _pkgname=blist pkgver=1.3.6 pkgrel=2 pkgdesc="A list-like type with better asymptotic performance and similar performance on small lists" url="https://github.com/DanielStutzbach/blist" arch="all" license="BSD-3-Clause" depends="python3" makedepends="python3-dev py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/DanielStutzbach/blist/archive/v$pkgver.tar.gz fix-python3.7.patch" builddir="$srcdir"/$_pkgname-$pkgver replaces=py-blist # Backwards compatibility provides=py-blist=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="f46ded57aeb2a33fc5450420210d015aa37c2fc91034a771dfb1a184ef2655d8e5dc97bee61139059e6211569fcb7358f972071d3830733e9dbb8908e1b0e14c py3-blist-1.3.6.tar.gz b885080992a565d3c08c07dd0311ab7656fc2aba5711fc86491d702f71b732aef23c18151b048f7bfc59d3c7bc72ca872367cb1aeaee3f44702f79c96d306fc8 fix-python3.7.patch"