32 lines
823 B
Bash
32 lines
823 B
Bash
# Template file for 'python-cachetools'
|
|
pkgname=python-cachetools
|
|
version=3.0.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="cachetools-${version}"
|
|
build_style=python-module
|
|
pycompile_module="cachetools"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Python2 extensible memoizing collections and decorators"
|
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
|
license="MIT"
|
|
homepage="https://github.com/tkem/cachetools/"
|
|
distfiles="${PYPI_SITE}/c/cachetools/cachetools-${version}.tar.gz"
|
|
checksum=4621965b0d9d4c82a79a29edbad19946f5e7702df4afae7d1ed2df951559a8cc
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-cachetools_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="cachetools"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|