void-packages/srcpkgs/python-smmap/template

32 lines
783 B
Bash

# Template file for 'python-smmap'
pkgname=python-smmap
version=2.0.4
revision=1
noarch=yes
wrksrc="smmap-${version}"
build_style=python-module
pycompile_module="smmap"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Sliding memory map manager (Python2)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="BSD-3-Clause"
homepage="https://github.com/gitpython-developers/smmap"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=88a0f04ab586dbcb1a13540ec979c687191918c0a0067899e228b3cbfbe05485
post_install() {
vlicense LICENSE
}
python3-smmap_package() {
noarch=yes
pycompile_module="smmap"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}