2017-01-25 19:53:45 +00:00
|
|
|
# Template file for 'python-smmap'
|
|
|
|
pkgname=python-smmap
|
|
|
|
version=2.0.1
|
2017-03-07 08:45:48 +00:00
|
|
|
revision=3
|
2017-01-25 19:53:45 +00:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="smmap-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="smmap"
|
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2017-03-07 08:45:48 +00:00
|
|
|
depends="python"
|
2017-01-25 19:53:45 +00:00
|
|
|
short_desc="Sliding memory map manager (Python2)"
|
|
|
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
|
|
homepage="https://github.com/gitpython-developers/smmap"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
|
|
checksum=ff3df98fe1874228c5cae8c2cca18bf0122bbd1f8957eb2339f5faa61ffc4081
|
|
|
|
|
2017-03-07 08:45:48 +00:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
2017-01-25 19:53:45 +00:00
|
|
|
python3-smmap_package() {
|
|
|
|
noarch=yes
|
|
|
|
pycompile_module="smmap"
|
2017-03-07 08:45:48 +00:00
|
|
|
depends="python3"
|
2017-01-25 19:53:45 +00:00
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
2017-03-07 08:45:48 +00:00
|
|
|
vlicense LICENSE
|
2017-01-25 19:53:45 +00:00
|
|
|
}
|
|
|
|
}
|