From c4e96ad5f9e7600d84ee0358c183fe3f3ea58b3d Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Mon, 20 Jun 2022 12:31:35 -0700 Subject: [PATCH 1/3] python3-click: update to 8.1.3. --- srcpkgs/python3-click/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template index 2583a95cc4ad..921ddbbe0cb2 100644 --- a/srcpkgs/python3-click/template +++ b/srcpkgs/python3-click/template @@ -1,17 +1,19 @@ # Template file for 'python3-click' pkgname=python3-click -version=7.1.2 -revision=5 +version=8.1.3 +revision=1 wrksrc="click-${version}" build_style="python3-module" hostmakedepends="python3-setuptools" depends="python3" +checkdepends="python3-pytest" short_desc="Python3 package for creating beautiful command line interfaces" maintainer="Oliver Kiddle " license="BSD-3-Clause" -homepage="http://click.pocoo.org/" +homepage="https://palletsprojects.com/p/click/" +changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst" distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz" -checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a +checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e post_install() { vlicense LICENSE.rst From 74b30c6474374d74e18d30e9f3d7899e3b7b438c Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Tue, 21 Jun 2022 22:14:38 -0700 Subject: [PATCH 2/3] fava: update to 1.21. make_check=no because: ``` => fava-1.21_1: running do_check ... ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'. tests/conftest.py:19: in from fava.application import _load_file build/lib/fava/application.py:40: in from fava import __version__ as fava_version E ImportError: cannot import name '__version__' from 'fava' (/builddir/fava-1.21/build/lib/fava/__init__.py) => ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'' exited with 4 => ERROR: in do_check() at srcpkgs/fava/template:20 ``` --- srcpkgs/fava/template | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template index 9b0f83e540b9..48542321d2f3 100644 --- a/srcpkgs/fava/template +++ b/srcpkgs/fava/template @@ -1,24 +1,20 @@ # Template file for 'fava' pkgname=fava -version=1.18 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools_scm" +version=1.21 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask python3-Jinja2 beancount python3-click python3-markdown2 python3-ply - python3-simplejson python3-Werkzeug python3-aiohttp" + python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel" checkdepends="$depends" short_desc="Web interface for Beancount" maintainer="Aluísio Augusto Silva Gonçalves " license="MIT" homepage="https://beancount.github.io/fava/" distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz" -checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5 - -do_check() { - # CLI test expects fava on $PATH. Not sure why static_url fails. - PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url' -} +checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6 +make_check=no # "ImportError: cannot import name '__version__' from 'fava'" post_install() { vlicense LICENSE From fa3642df51365c0c55a32061e74a8f5b21db0c8a Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Thu, 23 Jun 2022 19:33:26 -0700 Subject: [PATCH 3/3] python3-click-threading: update to 0.5.0. --- srcpkgs/python3-click-threading/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-click-threading/template b/srcpkgs/python3-click-threading/template index 66bd90de3fd8..07744a6f6f70 100644 --- a/srcpkgs/python3-click-threading/template +++ b/srcpkgs/python3-click-threading/template @@ -1,7 +1,7 @@ # Template file for 'python3-click-threading' pkgname=python3-click-threading -version=0.4.4 -revision=5 +version=0.5.0 +revision=1 wrksrc="click-threading-${version}" build_style="python3-module" hostmakedepends="python3-setuptools" @@ -12,7 +12,7 @@ maintainer="Oliver Kiddle " license="MIT" homepage="https://github.com/click-contrib/click-threading" distfiles="${PYPI_SITE}/c/click-threading/click-threading-${version}.tar.gz" -checksum=b2b0fada5bf184b56afaccc99d0d2548d8ab07feb2e95e29e490f6b99c605de7 +checksum=adcfe623c02a595c107c314072f67a2278fe4eb40b72c0d1a2c903cc78af3439 post_install() { vlicense LICENSE