python3-cachetools: update to 4.0.0.
Upstream has dropped support for Python2.
This commit is contained in:
parent
b94c2b73bc
commit
0cbf6d7f56
3 changed files with 19 additions and 32 deletions
|
@ -1,31 +0,0 @@
|
|||
# Template file for 'python-cachetools'
|
||||
pkgname=python-cachetools
|
||||
version=3.1.1
|
||||
revision=2
|
||||
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
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-cachetools
|
19
srcpkgs/python3-cachetools/template
Normal file
19
srcpkgs/python3-cachetools/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'python3-cachetools'
|
||||
pkgname=python3-cachetools
|
||||
version=4.0.0
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="cachetools-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
short_desc="Python3 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=9a52dd97a85f257f4e4127f15818e71a0c7899f121b34591fcc1173ea79a0198
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue