1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/py3-smmap2/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

30 lines
817 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-smmap2
pkgver=5.0.0
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 --skip-build --root="$pkgdir"
}
sha512sums="
11ace839c6954b022272628740bcbb6c4a5969b09a247223e90731f451596f1e2c86587656f9c97d953390d70592492cea14bfc2bc4a1c27eb7dc9ac72624734 py3-smmap2-5.0.0.tar.gz
"