From 7e29f03af49dfe8e5b135d188bccbbef926a7aa2 Mon Sep 17 00:00:00 2001 From: icp Date: Tue, 16 Aug 2022 20:13:50 +0530 Subject: [PATCH 1/3] New package: python3-google-auth-oauthlib-0.5.2 --- srcpkgs/python3-google-auth-oauthlib/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-google-auth-oauthlib/template diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template new file mode 100644 index 000000000000..5672ac74d7c6 --- /dev/null +++ b/srcpkgs/python3-google-auth-oauthlib/template @@ -0,0 +1,16 @@ +# Template file for 'python3-google-auth-oauthlib' +pkgname=python3-google-auth-oauthlib +version=0.5.2 +revision=1 +wrksrc="google-auth-library-python-oauthlib-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-google-auth python3-requests-oauthlib" +checkdepends="${depends} python3-click python3-mock python3-pytest-xdist" +short_desc="Oauthlib integration for Google Auth" +maintainer="icp " +license="Apache-2.0" +homepage="https://github.com/googleapis/google-auth-library-python-oauthlib" +changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python-oauthlib/main/CHANGELOG.md" +distfiles="https://github.com/googleapis/google-auth-library-python-oauthlib/archive/refs/tags/v${version}.tar.gz" +checksum=dd63780bfad060bbe352a745c02328d1284118e4381d5e6a0f89b0242fe939ab From 07a2c3adbdbf521aaf42d1104d5043323110d56c Mon Sep 17 00:00:00 2001 From: icp Date: Tue, 16 Aug 2022 20:13:56 +0530 Subject: [PATCH 2/3] beancount: update to 2.3.5. --- srcpkgs/beancount/template | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/srcpkgs/beancount/template b/srcpkgs/beancount/template index 0a7556ffb04b..4b759dcc57bb 100644 --- a/srcpkgs/beancount/template +++ b/srcpkgs/beancount/template @@ -1,16 +1,25 @@ # Template file for 'beancount' pkgname=beancount -version=2.3.0 -revision=3 +version=2.3.5 +revision=1 build_style=python3-module +make_check_args="--pyargs beancount --ignore beancount/web/web_test.py + --deselect beancount/scripts/bake_test.py::TestScriptBake::test_bake_directory + --deselect beancount/ingest/extract_test.py::TestScriptExtract::test_extract_no_files" hostmakedepends="python3-setuptools" makedepends="python3-devel" depends="python3-pytest python3-dateutil python3-ply python3-bottle python3-lxml python3-magic python3-BeautifulSoup4 python3-requests python3-chardet python3-google-api-python-client python3-oauth2client" +checkdepends="${depends} gnupg python3-google-auth-oauthlib python3-httplib2" short_desc="Double-entry accounting system based on plain text files" maintainer="Aluísio Augusto Silva Gonçalves " license="GPL-2.0-only" -homepage="http://furius.ca/beancount/" -distfiles="${PYPI_SITE}/b/beancount/beancount-${version}.tar.gz" -checksum=9a6d9692435007195aae29a20328fb11d0126ff03db66322a79a894b1f422712 +homepage="https://beancount.github.io/" +changelog="https://raw.githubusercontent.com/beancount/beancount/master/CHANGES" +distfiles="https://github.com/beancount/beancount/archive/refs/tags/${version}.tar.gz" +checksum=374e4e6a76684007b60aca95d76340cfe5bc46356150000b5f1df58db77fb90f + +pre_check() { + python3 setup.py build_ext --inplace +} From b5c9058581bf85184cbca80a677c19f300458453 Mon Sep 17 00:00:00 2001 From: icp Date: Tue, 16 Aug 2022 20:13:59 +0530 Subject: [PATCH 3/3] fava: update to 1.22.3. --- srcpkgs/fava/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template index 48542321d2f3..00daf0ec657f 100644 --- a/srcpkgs/fava/template +++ b/srcpkgs/fava/template @@ -1,20 +1,22 @@ # Template file for 'fava' pkgname=fava -version=1.21 +version=1.22.3 revision=1 build_style=python3-pep517 +make_check_args="--deselect tests/test_cli.py::test_cli" 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-wheel" -checkdepends="$depends" + python3-simplejson python3-Werkzeug" +checkdepends="${depends} python3-pytest-xdist" short_desc="Web interface for Beancount" maintainer="Aluísio Augusto Silva Gonçalves " license="MIT" homepage="https://beancount.github.io/fava/" +changelog="https://raw.githubusercontent.com/beancount/fava/main/CHANGES" distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz" -checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6 -make_check=no # "ImportError: cannot import name '__version__' from 'fava'" +checksum=7bcfd53a7d169ab50eebdc7fe21286b602ae8f5d54d50bfb39485f38bfe9e43b +make_check_pre="env PYTHONPATH=./src" post_install() { vlicense LICENSE