blob: b14785965fcf0ba31d8f2d2250954d1bb7fd38c2 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-sortedcontainers
_pkgname=sortedcontainers
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.1.0
pkgrel=0
pkgdesc="Sorted container objects for Python 3"
url="https://pypi.python.org/pypi/sortedcontainers"
arch="noarch"
options="!check" # See checkdepends comment below.
license="Apache-2.0"
depends="python3"
# requires unpackaged filelock, toml; requires importlib_metadata<1
#checkdepends="py3-importlib_metadata py3-packaging py3-tox"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="6fe2b6e7d030b67aa990d62160079852feaee7828164eae03a6477dc1704863f6ed0daadb44dc919653c66996d51f833b5858351a8fd5ad28998f8010a8ca1a4 py3-sortedcontainers-2.1.0.tar.gz"
|