From f26a1c84b0599ecb5fb6ba4d73fe0a2866fae288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= Date: Tue, 19 Nov 2019 09:08:07 -0300 Subject: [PATCH] New package: python-jaraco.functools-2.0 --- srcpkgs/python-jaraco.functools/template | 32 ++++++++++++++++++++++++ srcpkgs/python3-jaraco.functools | 1 + 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/python-jaraco.functools/template create mode 120000 srcpkgs/python3-jaraco.functools 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