33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
|
# Template file for 'python-jaraco.functools'
|
||
|
pkgname=python-jaraco.functools
|
||
|
version=2.0
|
||
|
revision=1
|
||
|
archs=noarch
|
||
|
wrksrc="jaraco.functools-${version}"
|
||
|
build_style=python-module
|
||
|
pycompile_module="jaraco.functools"
|
||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||
|
depends="python-more-itertools python-backports.functools_lru_cache"
|
||
|
short_desc="Additional functools in the spirit of Python2 stdlib's functools"
|
||
|
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||
|
license="MIT"
|
||
|
homepage="https://github.com/jaraco/jaraco.functools"
|
||
|
changelog="https://raw.githubusercontent.com/jaraco/jaraco.functools/${version}/CHANGES.rst"
|
||
|
distfiles="${PYPI_SITE}/j/jaraco.functools/jaraco.functools-${version}.tar.gz"
|
||
|
checksum=35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
}
|
||
|
|
||
|
python3-jaraco.functools_package() {
|
||
|
archs=noarch
|
||
|
pycompile_module="jaraco.functools"
|
||
|
depends="python3-more-itertools"
|
||
|
short_desc="${short_desc/Python2/Python3}"
|
||
|
pkg_install() {
|
||
|
vmove "usr/lib/python3*"
|
||
|
vlicense LICENSE
|
||
|
}
|
||
|
}
|