New package: python-cachetools-2.1.0
Needed to update python-google-api-python-client
This commit is contained in:
parent
f57908318b
commit
6c65f87119
2 changed files with 30 additions and 0 deletions
29
srcpkgs/python-cachetools/template
Normal file
29
srcpkgs/python-cachetools/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'python-cachetools'
|
||||
pkgname=python-cachetools
|
||||
version=2.1.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="cachetools-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="cachetools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
short_desc="Python2 extensible memoizing collections and decorators"
|
||||
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||
homepage="https://github.com/tkem/cachetools/"
|
||||
license="MIT"
|
||||
distfiles="${PYPI_SITE}/c/cachetools/cachetools-${version}.tar.gz"
|
||||
checksum=90f1d559512fc073483fe573ef5ceb39bf6ad3d39edc98dc55178a2b2b176fa3
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-cachetools_package() {
|
||||
noarch=yes
|
||||
pycompile_module="cachetools"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-cachetools
Symbolic link
1
srcpkgs/python3-cachetools
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-cachetools
|
Loading…
Reference in a new issue