python-smmap: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:46:50 +07:00
parent 7a68e9b38e
commit c156a6ff63
3 changed files with 23 additions and 37 deletions

View file

@ -1,36 +0,0 @@
# Template file for 'python-smmap'
pkgname=python-smmap
version=2.0.5
revision=2
archs=noarch
wrksrc="smmap-${version}"
build_style=python-module
pycompile_module="smmap"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
checkdepends="python3-nose"
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=e348efaf6ce81b8c923fb03d5b09f857c87605ff7f1d00b146d4aff9cf1fa776
do_check() {
nosetests3 -v
}
post_install() {
vlicense LICENSE
}
python3-smmap_package() {
archs=noarch
pycompile_module="smmap"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-smmap

View file

@ -0,0 +1,23 @@
# Template file for 'python3-smmap'
pkgname=python3-smmap
version=2.0.5
revision=3
wrksrc="smmap-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-nose"
short_desc="Sliding memory map manager (Python3)"
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=e348efaf6ce81b8c923fb03d5b09f857c87605ff7f1d00b146d4aff9cf1fa776
do_check() {
nosetests3 -v
}
post_install() {
vlicense LICENSE
}