summaryrefslogtreecommitdiff
path: root/user/py3-sortedcontainers/APKBUILD
blob: 86b3330b78d6786b5d29d27577bb3eb04e19ccec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-sortedcontainers
_pkgname=sortedcontainers
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.2.2
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="4a7da8d76111b56bda432b211c11ef48ac8af25ddf7fd961cf72628c18f878a6c2a22e272e108f3e5ad88a333b8f646b54c8dd11c9c642349c9da001140abd16  py3-sortedcontainers-2.2.2.tar.gz"