aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-more-itertools/APKBUILD
blob: 07364eec2675fea60a3023b40c866485aae89904 (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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=py3-more-itertools
_pkgname=more-itertools
pkgver=8.3.0
pkgrel=0
pkgdesc="More routines for operating on iterables, beyond itertools."
url="https://github.com/erikrose/more-itertools"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/erikrose/more-itertools/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-more-itertools" # Backwards compatibility
provides="py-more-itertools=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="77cb2e817d1a987a12fa135be07d5b91e98b34d19083077b5aaf5a28b6ebbeb058830c45d6c527f40404ff7111331cb8576c331082481b0f7d0ae6cc59d0e814  more-itertools-8.3.0.tar.gz"