git: 8c38508effed - main - finance/fava: update to 1.22

From: Xin LI <delphij_at_FreeBSD.org>
Date: Sun, 31 Jul 2022 07:49:29 UTC
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c38508effed18a42889a85a5f2efe39890655ae

commit 8c38508effed18a42889a85a5f2efe39890655ae
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2022-07-11 02:02:58 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2022-07-31 07:48:51 +0000

    finance/fava: update to 1.22
    
    PR:             ports/265143
    Approved by:    maintainer timeout
---
 finance/fava/Makefile | 7 +++++--
 finance/fava/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/finance/fava/Makefile b/finance/fava/Makefile
index 309bdcd483c7..39d131b2a418 100644
--- a/finance/fava/Makefile
+++ b/finance/fava/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	fava
-PORTVERSION=	1.20.1
-PORTREVISION=	0
+PORTVERSION=	1.22
 CATEGORIES=	finance
 MASTER_SITES=	CHEESESHOP
 
@@ -31,4 +30,8 @@ USE_PYTHON=	autoplist distutils noflavors
 # Upstream archive contains files with UTF-8 names
 EXTRACT_CMD=	${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
 
+post-patch:
+	@${ECHO_CMD} "from setuptools import setup" > ${WRKSRC}/setup.py
+	@${ECHO_CMD} "setup()" >> ${WRKSRC}/setup.py
+
 .include <bsd.port.mk>
diff --git a/finance/fava/distinfo b/finance/fava/distinfo
index 80d5300771a6..9f23b1434e29 100644
--- a/finance/fava/distinfo
+++ b/finance/fava/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640931862
-SHA256 (fava-1.20.1.tar.gz) = e2d13041acfeab9a63addb2a56678b126476a277badac6a9fec0b2944f61a037
-SIZE (fava-1.20.1.tar.gz) = 1725161
+TIMESTAMP = 1657058192
+SHA256 (fava-1.22.tar.gz) = 2520d7e1a0d3670f83f8caff8de49d962ab1b9a0bb100db41894f2ef3a5b8bf0
+SIZE (fava-1.22.tar.gz) = 2041249