From 2ca13b0f79e1f5280102d19ceb212e9cd67f9397 Mon Sep 17 00:00:00 2001 From: Johannes Heimansberg Date: Fri, 22 Oct 2021 13:12:03 +0200 Subject: [PATCH] New package: python3-tenacity-8.0.1 --- srcpkgs/python3-tenacity/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-tenacity/template diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template new file mode 100644 index 000000000000..61b571e5004a --- /dev/null +++ b/srcpkgs/python3-tenacity/template @@ -0,0 +1,20 @@ +# Template file for 'python3-tenacity' +pkgname=python3-tenacity +version=8.0.1 +revision=1 +wrksrc="tenacity-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-setuptools_scm" +checkdepends="python3-wheel python3-pytest python3-tornado $depends" +short_desc="Retry code until it succeeeds" +maintainer="Johannes Heimansberg " +license="Apache-2.0" +homepage="https://github.com/jd/tenacity" +distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz" +checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f + +export SETUPTOOLS_SCM_PRETEND_VERSION=${version} + +post_install() { + vlicense LICENSE +}