From 9499908f9d0fc9dedab53abeaa460c3d7c2a26ae Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Mon, 20 Jun 2022 12:31:35 -0700 Subject: [PATCH 1/2] 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 9ae0f5f9f152881d27685ade2801b7cde9b4f1cb Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Tue, 21 Jun 2022 22:14:38 -0700 Subject: [PATCH 2/2] 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 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template index 9b0f83e540b9..75ed00f9e9f7 100644 --- a/srcpkgs/fava/template +++ b/srcpkgs/fava/template @@ -1,19 +1,20 @@ # Template file for 'fava' pkgname=fava -version=1.18 -revision=2 -build_style=python3-module +version=1.21 +revision=1 +build_style=python3-pep517 hostmakedepends="python3-setuptools_scm" 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 +checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6 +make_check=no # "ImportError: cannot import name '__version__' from 'fava'" do_check() { # CLI test expects fava on $PATH. Not sure why static_url fails.