New package: python-jaraco.functools-2.0

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2019-11-19 09:08:07 -03:00 committed by Helmut Pozimski
parent 9a2500e536
commit f26a1c84b0
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# 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
}
}

View File

@ -0,0 +1 @@
python-jaraco.functools