blob: 77f96e8fa418c40e34b715f1b4efcb328e10bb3f (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-sortedcontainers
_pkgname=sortedcontainers
pkgver=2.4.0
pkgrel=0
pkgdesc="Python library for sorting collections and containers"
url="http://www.grantjenks.com/docs/sortedcontainers"
arch="noarch"
options="!check" # No tests included.
license="Apache-2.0"
depends="python3"
checkdepends="py3-pytest"
makedepends="py3-iniconfig"
source="https://files.pythonhosted.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD"/build/lib python3 -m pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build
}
sha512sums="4c01522bc01367a27bb005f16a487c127459f949f3d9fa7094e559993ceb074b3f84dda167f300778f46bdc15669f05866b6117ff6c369ca9a561ae20ab7c53f sortedcontainers-2.4.0.tar.gz"
|