32 lines
827 B
Bash
32 lines
827 B
Bash
# Template file for 'python-cachetools'
|
|
pkgname=python-cachetools
|
|
version=3.1.1
|
|
revision=1
|
|
archs=noarch
|
|
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=8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-cachetools_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="cachetools"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|