aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-smmap2/APKBUILD
blob: b67fdf1551a0266b208e59c8790a150e5da47e1c (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-smmap2
pkgver=3.0.1
pkgrel=0
pkgdesc="pure Python3 implementation of a sliding window memory map manager"
url="https://github.com/gitpython-developers/smmap"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-nosexcover py3-coverage"
source="$pkgname-$pkgver.tar.gz::https://github.com/gitpython-developers/smmap/archive/v$pkgver.tar.gz"
builddir="$srcdir/smmap-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="c626629f3e4760bde862ed98808a073a53febe3325da70956b14491ad3699d7d60a68492e6ebd42f7f53d99bff1e7fef2d9bcc9c58118041a7e7fdee012a086e  py3-smmap2-3.0.1.tar.gz"