diff --git a/srcpkgs/python-jaraco.functools/template b/srcpkgs/python-jaraco.functools/template new file mode 100644 index 00000000000..a2b8653f7a8 --- /dev/null +++ b/srcpkgs/python-jaraco.functools/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-jaraco.functools b/srcpkgs/python3-jaraco.functools new file mode 120000 index 00000000000..39629bcffae --- /dev/null +++ b/srcpkgs/python3-jaraco.functools @@ -0,0 +1 @@ +python-jaraco.functools \ No newline at end of file