Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3.
@ 2022-08-16 14:47 icp1994
  2022-08-18  3:24 ` [PR REVIEW] " classabbyamp
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: icp1994 @ 2022-08-16 14:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages fava
https://github.com/void-linux/void-packages/pull/38708

beancount: update to 2.3.5; fava: update to 1.22.3.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/38708.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fava-38708.patch --]
[-- Type: text/x-diff, Size: 5030 bytes --]

From 7e29f03af49dfe8e5b135d188bccbbef926a7aa2 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
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 <pangolin@vivaldi.net>"
+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 <pangolin@vivaldi.net>
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 <aluisio@aasg.name>"
 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 <pangolin@vivaldi.net>
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 <aluisio@aasg.name>"
 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] beancount: update to 2.3.5; fava: update to 1.22.3.
  2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
@ 2022-08-18  3:24 ` classabbyamp
  2022-08-18 13:12 ` icp1994
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-08-18  3:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38708#discussion_r948615585

Comment:
does pytest need to be in depends?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] beancount: update to 2.3.5; fava: update to 1.22.3.
  2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
  2022-08-18  3:24 ` [PR REVIEW] " classabbyamp
@ 2022-08-18 13:12 ` icp1994
  2022-08-18 16:16 ` classabbyamp
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: icp1994 @ 2022-08-18 13:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/38708#discussion_r949115886

Comment:
Yes that seemed weird to me but they still have it under the [`install_requires`](https://github.com/beancount/beancount/blob/2.3.5/setup.py#L80-L82) in this version so I didn't touch it.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] beancount: update to 2.3.5; fava: update to 1.22.3.
  2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
  2022-08-18  3:24 ` [PR REVIEW] " classabbyamp
  2022-08-18 13:12 ` icp1994
@ 2022-08-18 16:16 ` classabbyamp
  2022-08-18 16:34 ` icp1994
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-08-18 16:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38708#discussion_r949350301

Comment:
i think that's just them not knowing how to use install_requires, unless you can find them using pytest somewhere

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] beancount: update to 2.3.5; fava: update to 1.22.3.
  2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
                   ` (2 preceding siblings ...)
  2022-08-18 16:16 ` classabbyamp
@ 2022-08-18 16:34 ` icp1994
  2022-08-18 16:42 ` classabbyamp
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: icp1994 @ 2022-08-18 16:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/38708#discussion_r949368060

Comment:
It seems to be used in [this module](https://github.com/beancount/beancount/blob/2.3.5/beancount/ingest/regression_pytest.py). If you see the master branch [`setup.py`](https://github.com/beancount/beancount/blob/master/setup.py#L80-L96) pytest got removed because now there is no [ingest module](https://github.com/beancount/beancount/tree/master/beancount/ingest)! So I'm assuming that's related.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] beancount: update to 2.3.5; fava: update to 1.22.3.
  2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
                   ` (3 preceding siblings ...)
  2022-08-18 16:34 ` icp1994
@ 2022-08-18 16:42 ` classabbyamp
  2022-08-18 16:51 ` icp1994
  2022-08-18 17:15 ` [PR PATCH] [Merged]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-08-18 16:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38708#discussion_r949375268

Comment:
hm this seems like something that shouldn't be installed but idk

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] beancount: update to 2.3.5; fava: update to 1.22.3.
  2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
                   ` (4 preceding siblings ...)
  2022-08-18 16:42 ` classabbyamp
@ 2022-08-18 16:51 ` icp1994
  2022-08-18 17:15 ` [PR PATCH] [Merged]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: icp1994 @ 2022-08-18 16:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/38708#discussion_r949383331

Comment:
It's fine to wait for the next release from upstream then. It appears to clean up some of the deps.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Merged]: beancount: update to 2.3.5; fava: update to 1.22.3.
  2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
                   ` (5 preceding siblings ...)
  2022-08-18 16:51 ` icp1994
@ 2022-08-18 17:15 ` classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-08-18 17:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

There's a merged pull request on the void-packages repository

beancount: update to 2.3.5; fava: update to 1.22.3.
https://github.com/void-linux/void-packages/pull/38708

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-08-18 17:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 14:47 [PR PATCH] beancount: update to 2.3.5; fava: update to 1.22.3 icp1994
2022-08-18  3:24 ` [PR REVIEW] " classabbyamp
2022-08-18 13:12 ` icp1994
2022-08-18 16:16 ` classabbyamp
2022-08-18 16:34 ` icp1994
2022-08-18 16:42 ` classabbyamp
2022-08-18 16:51 ` icp1994
2022-08-18 17:15 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).