2016-10-24 12:23:39 +00:00
|
|
|
# Template file for 'python-backports.functools_lru_cache'
|
|
|
|
pkgname=python-backports.functools_lru_cache
|
2017-05-16 17:07:54 +00:00
|
|
|
version=1.4
|
2016-10-24 12:23:39 +00:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="backports.functools_lru_cache-${version}"
|
|
|
|
build_style=python2-module
|
|
|
|
pycompile_module="backports/functools_lru_cache.py"
|
|
|
|
hostmakedepends="python-setuptools"
|
|
|
|
depends="python-backports"
|
|
|
|
short_desc="Backport of functools.lru_cache from Python 3.3"
|
|
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
|
|
homepage="https://github.com/jaraco/backports.functools_lru_cache"
|
|
|
|
license="PSF"
|
|
|
|
distfiles="${PYPI_SITE}/b/backports.functools_lru_cache/backports.functools_lru_cache-${version}.tar.gz"
|
2017-05-16 17:07:54 +00:00
|
|
|
checksum=31f235852f88edc1558d428d890663c49eb4514ffec9f3650e7f3c9e4a12e36f
|
2016-10-24 12:23:39 +00:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i setup.py \
|
|
|
|
-e "/setuptools_scm/d" \
|
|
|
|
-e "s/use_scm_version=True,/version=\"${version}\",/"
|
|
|
|
}
|