Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: giara-1.0.1
@ 2022-05-14 17:44 jcgruenhage
  2022-09-02  2:16 ` github-actions
                   ` (29 more replies)
  0 siblings, 30 replies; 31+ messages in thread
From: jcgruenhage @ 2022-05-14 17:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 14704 bytes --]

From 03fc60d18a24658e273ff9d156c1b30f2c4ed24e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 12:34:02 +0200
Subject: [PATCH 1/9] New package: python3-update-checker-0.18.0

---
 srcpkgs/python3-update-checker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-update-checker/template

diff --git a/srcpkgs/python3-update-checker/template b/srcpkgs/python3-update-checker/template
new file mode 100644
index 000000000000..ff10aedf21f1
--- /dev/null
+++ b/srcpkgs/python3-update-checker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-update-checker'
+pkgname=python3-update-checker
+version=0.18.0
+revision=1
+wrksrc="update_checker-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-wheel ${depends} black python3-flake8 python3-pytest"
+short_desc="Python module for checking for python package updates"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://pypi.org/project/update-checker/"
+distfiles="${PYPI_SITE}/u/update_checker/update_checker-${version}.tar.gz"
+checksum=6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 4a821b1d24c507ff28a2a23ac28fa4664d63af6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 13:14:28 +0200
Subject: [PATCH 2/9] New package: python3-betamax-0.8.1

---
 ...-fix-direct-calls-to-PyTest-fixtures.patch | 41 +++++++++++++++++++
 srcpkgs/python3-betamax/template              | 18 ++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
 create mode 100644 srcpkgs/python3-betamax/template

diff --git a/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch b/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
new file mode 100644
index 000000000000..4ada4512700b
--- /dev/null
+++ b/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
@@ -0,0 +1,41 @@
+From 614b919be098fadf2b9ed89cf7201be41feea237 Mon Sep 17 00:00:00 2001
+From: Jiri Kuncar <jiri.kuncar@gmail.com>
+Date: Mon, 9 Sep 2019 12:23:18 +0200
+Subject: [PATCH] tests: fix direct calls to PyTest fixtures
+
+https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly
+---
+ tests/unit/test_fixtures.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/tests/unit/test_fixtures.py b/tests/unit/test_fixtures.py
+index 387d9ce..41f33eb 100644
+--- a/tests/unit/test_fixtures.py
++++ b/tests/unit/test_fixtures.py
+@@ -27,9 +27,9 @@ class TestPyTestFixture(unittest.TestCase):
+         # Mock a pytest request object
+         request = mock.MagicMock()
+         request.cls = request.module = None
+-        request.function.__name__ = 'test'
++        request.node.name = request.function.__name__ = 'test'
+ 
+-        pytest_fixture.betamax_recorder(request)
++        pytest_fixture._betamax_recorder(request)
+         assert request.addfinalizer.called is True
+         request.addfinalizer.assert_called_once_with(self.mocked_betamax.stop)
+ 
+@@ -37,9 +37,9 @@ class TestPyTestFixture(unittest.TestCase):
+         # Mock a pytest request object
+         request = mock.MagicMock()
+         request.cls = request.module = None
+-        request.function.__name__ = 'test'
++        request.node.name = request.function.__name__ = 'test'
+ 
+-        pytest_fixture.betamax_recorder(request)
++        pytest_fixture._betamax_recorder(request)
+         self.mocked_betamax.start.assert_called_once_with()
+ 
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/python3-betamax/template b/srcpkgs/python3-betamax/template
new file mode 100644
index 000000000000..9d3ad6f62b45
--- /dev/null
+++ b/srcpkgs/python3-betamax/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-betamax'
+pkgname=python3-betamax
+version=0.8.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+make_check_args="--deselect
+ tests/integration/test_record_modes.py::TestRecordOnce::test_replays_response_from_cassette"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-pytest python3-mock"
+short_desc="VCR imitation designed only for python-requests"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://betamax.readthedocs.io/"
+changelog="https://raw.githubusercontent.com/betamaxpy/betamax/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=5bf004ceffccae881213fb722f34517166b84a34919b92ffc14d1dbd050b71c2

From e44b3cd49c47a7c53f1df6e1e9d53a062043a2fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 3/9] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..274b7144db86
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949
+# Has no tests
+make_check=no

From 559d6ef0481e288aadb467483ee2f0d57fe5ecd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:37:34 +0200
Subject: [PATCH 4/9] New package: python3-betamax-matchers-0.4.0

---
 srcpkgs/python3-betamax-matchers/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-matchers/template

diff --git a/srcpkgs/python3-betamax-matchers/template b/srcpkgs/python3-betamax-matchers/template
new file mode 100644
index 000000000000..4c2fb692eea9
--- /dev/null
+++ b/srcpkgs/python3-betamax-matchers/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-betamax-matchers'
+pkgname=python3-betamax-matchers
+version=0.4.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax python3-requests-toolbelt"
+short_desc="Experimental matchers for Betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/betamaxpy/betamax_matchers"
+changelog="https://raw.githubusercontent.com/betamaxpy/betamax_matchers/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=83609d39ac25a7eed8ad3bec426cd15e647c89b4f0f1583ec44a4481bde4171f
+# No tests included in tarball available from PYPI
+make_check=no

From 75fa71f4f93a7f9cd249868ef5f6cb8087f85334 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 5/9] New package: python3-testfixtures-6.18.5

---
 srcpkgs/python3-testfixtures/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..853aae289563
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=6.18.5
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=02dae883f567f5b70fd3ad3c9eefb95912e78ac90be6c7444b5e2f46bf572c84
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 216624c11da05485c67a74c088762bb37be5385e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 6/9] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..75e5aae7f91a
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From c5e29b35c41108c183f6525f4c03ceb68ce982f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 7/9] New package: python3-praw-7.6.0

---
 srcpkgs/python3-praw/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..04658dfa0d6e
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-update-checker python3-websocket-client"
+checkdepends="${depends} python3-requests python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=3eeebe093f2d905b6c99e18aa8c8f64071b2e7a05e60b618166ee53397cdae72
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 6649d67ea0f6d28394f8929ea818ecd7d7fedbb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:12:13 +0200
Subject: [PATCH 8/9] New package: blueprint-compiler-0.0.20220430

---
 srcpkgs/blueprint-compiler/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/blueprint-compiler/template

diff --git a/srcpkgs/blueprint-compiler/template b/srcpkgs/blueprint-compiler/template
new file mode 100644
index 000000000000..d3d872173ea3
--- /dev/null
+++ b/srcpkgs/blueprint-compiler/template
@@ -0,0 +1,15 @@
+# Template file for 'blueprint-compiler'
+pkgname=blueprint-compiler
+version=0.0.20220430
+revision=1
+_commit=d09ee2a62b4f86feec1136b0393426355264f0b0
+wrksrc="${pkgname}-${_commit}"
+build_style=meson
+depends="python3-gobject gobject-introspection"
+checkdepends="${depends} gtk4-devel"
+short_desc="Blueprint is a markup language and compiler for GTK 4 user interfaces"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="LGPL-3.0-or-later"
+homepage="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/"
+distfiles="https://gitlab.gnome.org/jwestman/${pkgname}/-/archive/${_commit}/${pkgname}-${_commit}.tar.gz"
+checksum=30513e6aeadc75766820b6208e143016694bfd2a3fba16ff74be3fe665d083e0

From 3d682d226daf34180aefc9fe809dcdc65e27544b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 9/9] New package: giara-1.0.1

---
 srcpkgs/giara/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..82366610f626
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,14 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake gettext blueprint-compiler"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-requests python3-praw python3-mistune2 python3-BeautifulSoup4 gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="${homepage}/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
@ 2022-09-02  2:16 ` github-actions
  2022-09-02 13:05 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (28 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: github-actions @ 2022-09-02  2:16 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#issuecomment-1234991011

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
  2022-09-02  2:16 ` github-actions
@ 2022-09-02 13:05 ` jcgruenhage
  2022-09-02 13:05 ` jcgruenhage
                   ` (27 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-09-02 13:05 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 14656 bytes --]

From 47dac944b71cc4ffb070ab7854697c30220941fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 12:34:02 +0200
Subject: [PATCH 1/9] New package: python3-update-checker-0.18.0

---
 srcpkgs/python3-update-checker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-update-checker/template

diff --git a/srcpkgs/python3-update-checker/template b/srcpkgs/python3-update-checker/template
new file mode 100644
index 000000000000..ff10aedf21f1
--- /dev/null
+++ b/srcpkgs/python3-update-checker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-update-checker'
+pkgname=python3-update-checker
+version=0.18.0
+revision=1
+wrksrc="update_checker-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-wheel ${depends} black python3-flake8 python3-pytest"
+short_desc="Python module for checking for python package updates"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://pypi.org/project/update-checker/"
+distfiles="${PYPI_SITE}/u/update_checker/update_checker-${version}.tar.gz"
+checksum=6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13
+
+post_install() {
+	vlicense LICENSE.txt
+}

From e55c8d837b04be7c2c1f2dffc2733474ac295bab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 13:14:28 +0200
Subject: [PATCH 2/9] New package: python3-betamax-0.8.1

---
 ...-fix-direct-calls-to-PyTest-fixtures.patch | 41 +++++++++++++++++++
 srcpkgs/python3-betamax/template              | 18 ++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
 create mode 100644 srcpkgs/python3-betamax/template

diff --git a/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch b/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
new file mode 100644
index 000000000000..4ada4512700b
--- /dev/null
+++ b/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
@@ -0,0 +1,41 @@
+From 614b919be098fadf2b9ed89cf7201be41feea237 Mon Sep 17 00:00:00 2001
+From: Jiri Kuncar <jiri.kuncar@gmail.com>
+Date: Mon, 9 Sep 2019 12:23:18 +0200
+Subject: [PATCH] tests: fix direct calls to PyTest fixtures
+
+https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly
+---
+ tests/unit/test_fixtures.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/tests/unit/test_fixtures.py b/tests/unit/test_fixtures.py
+index 387d9ce..41f33eb 100644
+--- a/tests/unit/test_fixtures.py
++++ b/tests/unit/test_fixtures.py
+@@ -27,9 +27,9 @@ class TestPyTestFixture(unittest.TestCase):
+         # Mock a pytest request object
+         request = mock.MagicMock()
+         request.cls = request.module = None
+-        request.function.__name__ = 'test'
++        request.node.name = request.function.__name__ = 'test'
+ 
+-        pytest_fixture.betamax_recorder(request)
++        pytest_fixture._betamax_recorder(request)
+         assert request.addfinalizer.called is True
+         request.addfinalizer.assert_called_once_with(self.mocked_betamax.stop)
+ 
+@@ -37,9 +37,9 @@ class TestPyTestFixture(unittest.TestCase):
+         # Mock a pytest request object
+         request = mock.MagicMock()
+         request.cls = request.module = None
+-        request.function.__name__ = 'test'
++        request.node.name = request.function.__name__ = 'test'
+ 
+-        pytest_fixture.betamax_recorder(request)
++        pytest_fixture._betamax_recorder(request)
+         self.mocked_betamax.start.assert_called_once_with()
+ 
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/python3-betamax/template b/srcpkgs/python3-betamax/template
new file mode 100644
index 000000000000..9d3ad6f62b45
--- /dev/null
+++ b/srcpkgs/python3-betamax/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-betamax'
+pkgname=python3-betamax
+version=0.8.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+make_check_args="--deselect
+ tests/integration/test_record_modes.py::TestRecordOnce::test_replays_response_from_cassette"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-pytest python3-mock"
+short_desc="VCR imitation designed only for python-requests"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://betamax.readthedocs.io/"
+changelog="https://raw.githubusercontent.com/betamaxpy/betamax/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=5bf004ceffccae881213fb722f34517166b84a34919b92ffc14d1dbd050b71c2

From adcf0cabe915c921bb6e7aa233b26c4c26a02416 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 3/9] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..274b7144db86
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949
+# Has no tests
+make_check=no

From 85a25a6b50953b6d0dc470960ac06b996f959fdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:37:34 +0200
Subject: [PATCH 4/9] New package: python3-betamax-matchers-0.4.0

---
 srcpkgs/python3-betamax-matchers/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-matchers/template

diff --git a/srcpkgs/python3-betamax-matchers/template b/srcpkgs/python3-betamax-matchers/template
new file mode 100644
index 000000000000..4c2fb692eea9
--- /dev/null
+++ b/srcpkgs/python3-betamax-matchers/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-betamax-matchers'
+pkgname=python3-betamax-matchers
+version=0.4.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax python3-requests-toolbelt"
+short_desc="Experimental matchers for Betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/betamaxpy/betamax_matchers"
+changelog="https://raw.githubusercontent.com/betamaxpy/betamax_matchers/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=83609d39ac25a7eed8ad3bec426cd15e647c89b4f0f1583ec44a4481bde4171f
+# No tests included in tarball available from PYPI
+make_check=no

From a9589ded1d733e348ac5f289ca975cdf234151fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 5/9] New package: python3-testfixtures-7.0.0

---
 srcpkgs/python3-testfixtures/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..ebfd4560dc37
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 4b6b66f478ab419ff043d53e517048090b31e510 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 6/9] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..75e5aae7f91a
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From b3edcd38d05c996f64b62f26bad4e0cc180b9520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 7/9] New package: python3-praw-7.6.0

---
 srcpkgs/python3-praw/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..04658dfa0d6e
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-update-checker python3-websocket-client"
+checkdepends="${depends} python3-requests python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=3eeebe093f2d905b6c99e18aa8c8f64071b2e7a05e60b618166ee53397cdae72
+
+post_install() {
+	vlicense LICENSE.txt
+}

From c631d64a09074b1f2e5c2f78c30e6f890fe9b205 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:12:13 +0200
Subject: [PATCH 8/9] New package: blueprint-compiler-0.2.0

---
 srcpkgs/blueprint-compiler/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/blueprint-compiler/template

diff --git a/srcpkgs/blueprint-compiler/template b/srcpkgs/blueprint-compiler/template
new file mode 100644
index 000000000000..0fdc3107925a
--- /dev/null
+++ b/srcpkgs/blueprint-compiler/template
@@ -0,0 +1,14 @@
+# Template file for 'blueprint-compiler'
+pkgname=blueprint-compiler
+version=0.2.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=meson
+depends="python3-gobject gobject-introspection"
+checkdepends="${depends} gtk4-devel"
+short_desc="Blueprint is a markup language and compiler for GTK 4 user interfaces"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="LGPL-3.0-or-later"
+homepage="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/"
+distfiles="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v${version}/blueprint-compiler-v${version}.tar.gz"
+checksum=d4e5444c95e8d0060c819d0ab96f79a7ea2673296be95a2fb00359d1d54a0d83

From 9bc75e42c7a2d4043ad5a9d7f72eb1c87cc68888 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 9/9] New package: giara-1.0.1

---
 srcpkgs/giara/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..82366610f626
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,14 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake gettext blueprint-compiler"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-requests python3-praw python3-mistune2 python3-BeautifulSoup4 gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="${homepage}/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
  2022-09-02  2:16 ` github-actions
  2022-09-02 13:05 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-09-02 13:05 ` jcgruenhage
  2022-09-02 19:05 ` paper42
                   ` (26 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-09-02 13:05 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#issuecomment-1235482395

Comment:
deps updated, tested again that it still works.

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

* Re: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (2 preceding siblings ...)
  2022-09-02 13:05 ` jcgruenhage
@ 2022-09-02 19:05 ` paper42
  2022-09-03  8:25 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (25 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-09-02 19:05 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#issuecomment-1235818744

Comment:
I merged blueprint-compiler separately for now because I needed it for another package, could you drop it from this PR?

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

* Re: [PR PATCH] [Updated] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (3 preceding siblings ...)
  2022-09-02 19:05 ` paper42
@ 2022-09-03  8:25 ` jcgruenhage
  2022-09-03  8:25 ` jcgruenhage
                   ` (24 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-09-03  8:25 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 13349 bytes --]

From 593bc063f85926ea82c045594c9aeaa5f79eaaa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 12:34:02 +0200
Subject: [PATCH 1/8] New package: python3-update-checker-0.18.0

---
 srcpkgs/python3-update-checker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-update-checker/template

diff --git a/srcpkgs/python3-update-checker/template b/srcpkgs/python3-update-checker/template
new file mode 100644
index 000000000000..ff10aedf21f1
--- /dev/null
+++ b/srcpkgs/python3-update-checker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-update-checker'
+pkgname=python3-update-checker
+version=0.18.0
+revision=1
+wrksrc="update_checker-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-wheel ${depends} black python3-flake8 python3-pytest"
+short_desc="Python module for checking for python package updates"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://pypi.org/project/update-checker/"
+distfiles="${PYPI_SITE}/u/update_checker/update_checker-${version}.tar.gz"
+checksum=6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13
+
+post_install() {
+	vlicense LICENSE.txt
+}

From ced616b2c39ce8a6b36e984d27010b9c293bb11b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 13:14:28 +0200
Subject: [PATCH 2/8] New package: python3-betamax-0.8.1

---
 ...-fix-direct-calls-to-PyTest-fixtures.patch | 41 +++++++++++++++++++
 srcpkgs/python3-betamax/template              | 18 ++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
 create mode 100644 srcpkgs/python3-betamax/template

diff --git a/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch b/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
new file mode 100644
index 000000000000..4ada4512700b
--- /dev/null
+++ b/srcpkgs/python3-betamax/patches/0001-tests-fix-direct-calls-to-PyTest-fixtures.patch
@@ -0,0 +1,41 @@
+From 614b919be098fadf2b9ed89cf7201be41feea237 Mon Sep 17 00:00:00 2001
+From: Jiri Kuncar <jiri.kuncar@gmail.com>
+Date: Mon, 9 Sep 2019 12:23:18 +0200
+Subject: [PATCH] tests: fix direct calls to PyTest fixtures
+
+https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly
+---
+ tests/unit/test_fixtures.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/tests/unit/test_fixtures.py b/tests/unit/test_fixtures.py
+index 387d9ce..41f33eb 100644
+--- a/tests/unit/test_fixtures.py
++++ b/tests/unit/test_fixtures.py
+@@ -27,9 +27,9 @@ class TestPyTestFixture(unittest.TestCase):
+         # Mock a pytest request object
+         request = mock.MagicMock()
+         request.cls = request.module = None
+-        request.function.__name__ = 'test'
++        request.node.name = request.function.__name__ = 'test'
+ 
+-        pytest_fixture.betamax_recorder(request)
++        pytest_fixture._betamax_recorder(request)
+         assert request.addfinalizer.called is True
+         request.addfinalizer.assert_called_once_with(self.mocked_betamax.stop)
+ 
+@@ -37,9 +37,9 @@ class TestPyTestFixture(unittest.TestCase):
+         # Mock a pytest request object
+         request = mock.MagicMock()
+         request.cls = request.module = None
+-        request.function.__name__ = 'test'
++        request.node.name = request.function.__name__ = 'test'
+ 
+-        pytest_fixture.betamax_recorder(request)
++        pytest_fixture._betamax_recorder(request)
+         self.mocked_betamax.start.assert_called_once_with()
+ 
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/python3-betamax/template b/srcpkgs/python3-betamax/template
new file mode 100644
index 000000000000..9d3ad6f62b45
--- /dev/null
+++ b/srcpkgs/python3-betamax/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-betamax'
+pkgname=python3-betamax
+version=0.8.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+make_check_args="--deselect
+ tests/integration/test_record_modes.py::TestRecordOnce::test_replays_response_from_cassette"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-pytest python3-mock"
+short_desc="VCR imitation designed only for python-requests"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://betamax.readthedocs.io/"
+changelog="https://raw.githubusercontent.com/betamaxpy/betamax/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=5bf004ceffccae881213fb722f34517166b84a34919b92ffc14d1dbd050b71c2

From 7774ac52daaf314d5933324b1a0d2e24dd2f136a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 3/8] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..274b7144db86
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949
+# Has no tests
+make_check=no

From beedd280b24a01e3a0581ed0ae815d546938f4e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:37:34 +0200
Subject: [PATCH 4/8] New package: python3-betamax-matchers-0.4.0

---
 srcpkgs/python3-betamax-matchers/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-matchers/template

diff --git a/srcpkgs/python3-betamax-matchers/template b/srcpkgs/python3-betamax-matchers/template
new file mode 100644
index 000000000000..4c2fb692eea9
--- /dev/null
+++ b/srcpkgs/python3-betamax-matchers/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-betamax-matchers'
+pkgname=python3-betamax-matchers
+version=0.4.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax python3-requests-toolbelt"
+short_desc="Experimental matchers for Betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/betamaxpy/betamax_matchers"
+changelog="https://raw.githubusercontent.com/betamaxpy/betamax_matchers/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=83609d39ac25a7eed8ad3bec426cd15e647c89b4f0f1583ec44a4481bde4171f
+# No tests included in tarball available from PYPI
+make_check=no

From ef603bfcb856b15388dee78737aa84912fec0be8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 5/8] New package: python3-testfixtures-7.0.0

---
 srcpkgs/python3-testfixtures/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..ebfd4560dc37
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 8b9e41def513850e7211e791544d74f58c4a8880 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 6/8] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..75e5aae7f91a
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From da50f8d946fc4191cb68f80fce064bada917f6dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 7/8] New package: python3-praw-7.6.0

---
 srcpkgs/python3-praw/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..04658dfa0d6e
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-update-checker python3-websocket-client"
+checkdepends="${depends} python3-requests python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=3eeebe093f2d905b6c99e18aa8c8f64071b2e7a05e60b618166ee53397cdae72
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 76a032c42cc34b737977fbee89c22dcba37ce53c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 8/8] New package: giara-1.0.1

---
 srcpkgs/giara/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..82366610f626
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,14 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake gettext blueprint-compiler"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-requests python3-praw python3-mistune2 python3-BeautifulSoup4 gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="${homepage}/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (4 preceding siblings ...)
  2022-09-03  8:25 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-09-03  8:25 ` jcgruenhage
  2022-11-27 10:58 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (23 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-09-03  8:25 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#issuecomment-1236074669

Comment:
Done. I've rebased it on master, dropping the blueprint-compiler commit in the process

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

* Re: [PR PATCH] [Updated] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (5 preceding siblings ...)
  2022-09-03  8:25 ` jcgruenhage
@ 2022-11-27 10:58 ` jcgruenhage
  2022-11-27 11:02 ` jcgruenhage
                   ` (22 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-11-27 10:58 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 8316 bytes --]

From 8148f8593e03351f8c9593094f826857cf4311fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 12:34:02 +0200
Subject: [PATCH 1/6] New package: python3-update-checker-0.18.0

---
 srcpkgs/python3-update-checker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-update-checker/template

diff --git a/srcpkgs/python3-update-checker/template b/srcpkgs/python3-update-checker/template
new file mode 100644
index 000000000000..ff10aedf21f1
--- /dev/null
+++ b/srcpkgs/python3-update-checker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-update-checker'
+pkgname=python3-update-checker
+version=0.18.0
+revision=1
+wrksrc="update_checker-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-wheel ${depends} black python3-flake8 python3-pytest"
+short_desc="Python module for checking for python package updates"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://pypi.org/project/update-checker/"
+distfiles="${PYPI_SITE}/u/update_checker/update_checker-${version}.tar.gz"
+checksum=6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 41bd8358c1923589ad59900394155ae10fd7462a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 2/6] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..274b7144db86
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949
+# Has no tests
+make_check=no

From 562d0c5ab8ff74bac6e9a1aedc85b48ae080a797 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 3/6] New package: python3-testfixtures-7.0.3

---
 srcpkgs/python3-testfixtures/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..eeaa3733bb30
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.3
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=942bc751d45068658e11277f213ce1868476e141ea4240da0fb6712ae6f96401
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 62e6b35b6c01717e5946309facb64e09b795dc57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 4/6] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..75e5aae7f91a
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 2b61903e4adffce9628da98cf25a0b4cbc9a9dbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 5/6] New package: python3-praw-7.6.1

---
 srcpkgs/python3-praw/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..230305d522f0
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-update-checker python3-websocket-client"
+checkdepends="${depends} python3-requests python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=07fc95ffc52187351ab77b81fa6910c66e8fa084faf4b060b90864ad186dfb9e
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 3d934ce38ca8e0ee1f5574f7ceed9cd32982c588 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 6/6] New package: giara-1.0.1

---
 srcpkgs/giara/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..82366610f626
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,14 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake gettext blueprint-compiler"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-requests python3-praw python3-mistune2 python3-BeautifulSoup4 gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="${homepage}/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: [PR PATCH] [Updated] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (6 preceding siblings ...)
  2022-11-27 10:58 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-11-27 11:02 ` jcgruenhage
  2022-12-11 20:44 ` [PR REVIEW] " paper42
                   ` (21 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-11-27 11:02 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 8107 bytes --]

From 988f09204ccb8b9c40c8030df9cc312cca0698e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 12:34:02 +0200
Subject: [PATCH 1/6] New package: python3-update-checker-0.18.0

---
 srcpkgs/python3-update-checker/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-update-checker/template

diff --git a/srcpkgs/python3-update-checker/template b/srcpkgs/python3-update-checker/template
new file mode 100644
index 000000000000..6d9a4d79609e
--- /dev/null
+++ b/srcpkgs/python3-update-checker/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-update-checker'
+pkgname=python3-update-checker
+version=0.18.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-wheel ${depends} black python3-flake8 python3-pytest"
+short_desc="Python module for checking for python package updates"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://pypi.org/project/update-checker/"
+distfiles="${PYPI_SITE}/u/update_checker/update_checker-${version}.tar.gz"
+checksum=6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 8d5365257b52a2f4a0dd21ece7cd94bc06100707 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 2/6] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..d0fda649d633
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949
+# Has no tests
+make_check=no

From fc317865c93ee527d34a7bb40e7d96fb26226d25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 3/6] New package: python3-testfixtures-7.0.3

---
 srcpkgs/python3-testfixtures/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..de7c5710ec86
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=942bc751d45068658e11277f213ce1868476e141ea4240da0fb6712ae6f96401
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From c1013317c408b0e3fd1eca55a3b6fe988368dc91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 4/6] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..eea1bce4e848
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 22dbdeb3486bc6b7e6a3364c7b5f951cb9d19124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 5/6] New package: python3-praw-7.6.1

---
 srcpkgs/python3-praw/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..6600f500c1d8
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-update-checker python3-websocket-client"
+checkdepends="${depends} python3-requests python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=07fc95ffc52187351ab77b81fa6910c66e8fa084faf4b060b90864ad186dfb9e
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 153f1d02f06cc3e622f6b81852c579f8615eb52f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 6/6] New package: giara-1.0.1

---
 srcpkgs/giara/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..82366610f626
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,14 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake gettext blueprint-compiler"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-requests python3-praw python3-mistune2 python3-BeautifulSoup4 gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="${homepage}/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (7 preceding siblings ...)
  2022-11-27 11:02 ` jcgruenhage
@ 2022-12-11 20:44 ` paper42
  2022-12-11 21:11 ` jcgruenhage
                   ` (20 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 20:44 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045293934

Comment:
I don't think we want this, do you think we could patch this out?

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (8 preceding siblings ...)
  2022-12-11 20:44 ` [PR REVIEW] " paper42
@ 2022-12-11 21:11 ` jcgruenhage
  2022-12-11 21:41 ` jcgruenhage
                   ` (19 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-12-11 21:11 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045297198

Comment:
Agreed. Will patch it out of praw, should be doable.

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (9 preceding siblings ...)
  2022-12-11 21:11 ` jcgruenhage
@ 2022-12-11 21:41 ` jcgruenhage
  2022-12-11 21:43 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (18 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-12-11 21:41 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045300933

Comment:
Turns out, no patching required: 

https://github.com/praw-dev/praw/blob/827a4f210c114fc0d70bbac15276654e76272946/praw/reddit.py

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

* Re: [PR PATCH] [Updated] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (10 preceding siblings ...)
  2022-12-11 21:41 ` jcgruenhage
@ 2022-12-11 21:43 ` jcgruenhage
  2022-12-11 21:57 ` [PR REVIEW] " paper42
                   ` (17 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-12-11 21:43 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 6762 bytes --]

From 8e5d26dda6c6abfe9185fb9141aefc27c30bb255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 1/5] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..d0fda649d633
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949
+# Has no tests
+make_check=no

From e216bceba72a686505f62846b153a87fbdcc9fc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 2/5] New package: python3-testfixtures-7.0.3

---
 srcpkgs/python3-testfixtures/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..de7c5710ec86
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=942bc751d45068658e11277f213ce1868476e141ea4240da0fb6712ae6f96401
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 2b6d8d9fa72554506b91e775212cc224b5b19ad2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 3/5] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..eea1bce4e848
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From a07d41f3cfe2de43c2068355fc31cfc245bae79f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 4/5] New package: python3-praw-7.6.1

---
 srcpkgs/python3-praw/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..d1b3ebbbfbc8
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-websocket-client"
+checkdepends="${depends} python3-requests python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=07fc95ffc52187351ab77b81fa6910c66e8fa084faf4b060b90864ad186dfb9e
+
+post_install() {
+	vlicense LICENSE.txt
+}

From a38caf9d302b177ea7f71dc45f6b61540386b6bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 5/5] New package: giara-1.0.1

---
 srcpkgs/giara/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..1a03925e96d6
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,14 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config cmake gettext blueprint-compiler glib-devel"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-requests python3-praw python3-mistune2 python3-BeautifulSoup4 gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="${homepage}/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (14 preceding siblings ...)
  2022-12-11 21:57 ` paper42
@ 2022-12-11 21:57 ` paper42
  2022-12-11 21:57 ` paper42
                   ` (13 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045302754

Comment:
```suggestion
distfiles="https://gitlab.gnome.org/World/giara/-/archive/${version}/giara-${version}.tar.gz"
```

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (12 preceding siblings ...)
  2022-12-11 21:57 ` [PR REVIEW] " paper42
@ 2022-12-11 21:57 ` paper42
  2022-12-11 21:57 ` paper42
                   ` (15 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045302318

Comment:
cmake is usually just an alternative to pkg-config with the meson build style, is it really required?

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (13 preceding siblings ...)
  2022-12-11 21:57 ` paper42
@ 2022-12-11 21:57 ` paper42
  2022-12-11 21:57 ` paper42
                   ` (14 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045303060

Comment:
wrap at 80 columns

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (11 preceding siblings ...)
  2022-12-11 21:43 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-12-11 21:57 ` paper42
  2022-12-11 21:57 ` paper42
                   ` (16 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045302771

Comment:
wrap at 80 columns

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (18 preceding siblings ...)
  2022-12-11 21:57 ` paper42
@ 2022-12-11 21:57 ` paper42
  2022-12-11 23:30 ` jcgruenhage
                   ` (9 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045303182

Comment:
if there are no tests, they usually don't fail, so we don't have to disable them

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (17 preceding siblings ...)
  2022-12-11 21:57 ` paper42
@ 2022-12-11 21:57 ` paper42
  2022-12-11 21:57 ` paper42
                   ` (10 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045302997

Comment:
```suggestion
distfiles="${PYPI_SITE}/p/praw/praw-${version}.tar.gz"
```

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (16 preceding siblings ...)
  2022-12-11 21:57 ` paper42
@ 2022-12-11 21:57 ` paper42
  2022-12-11 21:57 ` paper42
                   ` (11 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045303035

Comment:
prawcore already depends on requests
```suggestion
checkdepends="${depends} python3-betamax python3-betamax-matchers"
```

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (15 preceding siblings ...)
  2022-12-11 21:57 ` paper42
@ 2022-12-11 21:57 ` paper42
  2022-12-11 21:57 ` paper42
                   ` (12 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-11 21:57 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045302854

Comment:
```suggestion
distfiles="${PYPI_SITE}/b/betamax-serializers/betamax-serializers-${version}.tar.gz"
```

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (19 preceding siblings ...)
  2022-12-11 21:57 ` paper42
@ 2022-12-11 23:30 ` jcgruenhage
  2022-12-11 23:35 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (8 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-12-11 23:30 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1045316420

Comment:
It does try though, and then fails:

```
=> python3-betamax-serializers-0.2.1_1: running do_check ...
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/usr/lib/python3.11/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
/usr/bin/python3: No module named pip
error: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpxidysgrh', '--quiet', 'betamax>=0.3.2']' returned non-zero exit status 1.
=> ERROR: python3-betamax-serializers-0.2.1_1: do_check: '${make_check_pre} python3 setup.py ${make_check_target} ${make_check_args}' exited with 1
=> ERROR:   in do_check() at common/build-style/python3-module.sh:28
```

Do you have a suggestion for a better comment?

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

* Re: [PR PATCH] [Updated] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (20 preceding siblings ...)
  2022-12-11 23:30 ` jcgruenhage
@ 2022-12-11 23:35 ` jcgruenhage
  2022-12-16 18:58 ` [PR REVIEW] " paper42
                   ` (7 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-12-11 23:35 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 6695 bytes --]

From f1d6269a7a56b1030df03123a928803b11c64829 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 1/5] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..f3e4ac407209
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/betamax-serializers/betamax-serializers-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949
+# Has no tests
+make_check=no

From 2f14f3d9e92ba39e11a6067835e1162e3e8c8ca4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 2/5] New package: python3-testfixtures-7.0.3

---
 srcpkgs/python3-testfixtures/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..de7c5710ec86
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=942bc751d45068658e11277f213ce1868476e141ea4240da0fb6712ae6f96401
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 39c64c0ac83132d7297ae2e06fbfaba2dfc8d9e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 3/5] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..13ca2019f6f6
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers
+ python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/prawcore/prawcore-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From ba988d3fb26bde4f50ed17bf2ee65cf13ffadc8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 4/5] New package: python3-praw-7.6.1

---
 srcpkgs/python3-praw/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..dc70790141af
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-websocket-client"
+checkdepends="${depends} python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/praw/praw-${version}.tar.gz"
+checksum=07fc95ffc52187351ab77b81fa6910c66e8fa084faf4b060b90864ad186dfb9e
+
+post_install() {
+	vlicense LICENSE.txt
+}

From cd06343ba273e0b1bd83c69065aa66a5dc2b1804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 5/5] New package: giara-1.0.1

---
 srcpkgs/giara/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..51e4b4bb2e61
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,15 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config gettext blueprint-compiler glib-devel"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-praw python3-mistune2 python3-BeautifulSoup4
+ gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="https://gitlab.gnome.org/World/giara/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (21 preceding siblings ...)
  2022-12-11 23:35 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-12-16 18:58 ` paper42
  2022-12-16 18:58 ` paper42
                   ` (6 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-16 18:58 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1051065732

Comment:
> `...--quiet', 'betamax>=0.3.2']' returned ...`
It's just checking for required dependencies, in this case betamax, `checkdepends="${depends} python3-yaml"` will help

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (22 preceding siblings ...)
  2022-12-16 18:58 ` [PR REVIEW] " paper42
@ 2022-12-16 18:58 ` paper42
  2022-12-16 23:01 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (5 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: paper42 @ 2022-12-16 18:58 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1051065732

Comment:
> `...--quiet', 'betamax>=0.3.2']' returned ...`

It's just checking for required dependencies, in this case betamax, `checkdepends="${depends} python3-yaml"` will help

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

* Re: [PR PATCH] [Updated] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (23 preceding siblings ...)
  2022-12-16 18:58 ` paper42
@ 2022-12-16 23:01 ` jcgruenhage
  2023-03-17  1:56 ` github-actions
                   ` (4 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2022-12-16 23:01 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages giara-1.0.1_1
https://github.com/void-linux/void-packages/pull/37132

New package: giara-1.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giara-1.0.1_1-37132.patch --]
[-- Type: text/x-diff, Size: 6703 bytes --]

From cafae79bff65780401f0c240c661cf1e934a7230 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:36:52 +0200
Subject: [PATCH 1/5] New package: python3-betamax-serializers-0.2.1

---
 srcpkgs/python3-betamax-serializers/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-betamax-serializers/template

diff --git a/srcpkgs/python3-betamax-serializers/template b/srcpkgs/python3-betamax-serializers/template
new file mode 100644
index 000000000000..b607703d0ade
--- /dev/null
+++ b/srcpkgs/python3-betamax-serializers/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-betamax-serializers'
+pkgname=python3-betamax-serializers
+version=0.2.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-betamax"
+checkdepends="${depends} python3-yaml"
+short_desc="Serializers for betamax that may eventually be included in betamax"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://gitlab.com/betamax/serializers"
+changelog="https://gitlab.com/betamax/serializers/-/raw/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/b/betamax-serializers/betamax-serializers-${version}.tar.gz"
+checksum=345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949

From da11ca0b98c08d02ee9950c0d8c6aa8beb7cc720 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:39:08 +0200
Subject: [PATCH 2/5] New package: python3-testfixtures-7.0.3

---
 srcpkgs/python3-testfixtures/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-testfixtures/template

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..de7c5710ec86
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Collection of helpers and mock objects for automated tests in Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+changelog="https://raw.githubusercontent.com/simplistix/testfixtures/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=942bc751d45068658e11277f213ce1868476e141ea4240da0fb6712ae6f96401
+# Requires django and twisted just for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From cf6d55572843c187fa427b37e6eef13ab4202773 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:44:21 +0200
Subject: [PATCH 3/5] New package: python3-prawcore-2.3.0

---
 srcpkgs/python3-prawcore/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-prawcore/template

diff --git a/srcpkgs/python3-prawcore/template b/srcpkgs/python3-prawcore/template
new file mode 100644
index 000000000000..13ca2019f6f6
--- /dev/null
+++ b/srcpkgs/python3-prawcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-prawcore'
+pkgname=python3-prawcore
+version=2.3.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="${depends} python3-betamax python3-betamax-matchers
+ python3-betamax-serializers python3-mock python3-pytest python3-testfixtures"
+short_desc="Low-level communication layer for PRAW 4+"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/praw-dev/prawcore"
+changelog="https://raw.githubusercontent.com/praw-dev/prawcore/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/prawcore/prawcore-${version}.tar.gz"
+checksum=daf1ccd4b7a80dc4e6567d48336d782e94a9a6dad83770fc2edf76dc9a84f56d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 67832492b58431c72b24c79342b8d1f146a33e21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 18:45:28 +0200
Subject: [PATCH 4/5] New package: python3-praw-7.6.1

---
 srcpkgs/python3-praw/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-praw/template

diff --git a/srcpkgs/python3-praw/template b/srcpkgs/python3-praw/template
new file mode 100644
index 000000000000..dc70790141af
--- /dev/null
+++ b/srcpkgs/python3-praw/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-praw'
+pkgname=python3-praw
+version=7.6.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-prawcore python3-websocket-client"
+checkdepends="${depends} python3-betamax python3-betamax-matchers"
+short_desc="Python Reddit API Wrapper"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://praw.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/praw-dev/praw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/praw/praw-${version}.tar.gz"
+checksum=07fc95ffc52187351ab77b81fa6910c66e8fa084faf4b060b90864ad186dfb9e
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 63926aa9c86121ed879951530c35cb523cd9ae61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 14 May 2022 19:35:14 +0200
Subject: [PATCH 5/5] New package: giara-1.0.1

---
 srcpkgs/giara/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/giara/template

diff --git a/srcpkgs/giara/template b/srcpkgs/giara/template
new file mode 100644
index 000000000000..51e4b4bb2e61
--- /dev/null
+++ b/srcpkgs/giara/template
@@ -0,0 +1,15 @@
+# Template file for 'giara'
+pkgname=giara
+version=1.0.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config gettext blueprint-compiler glib-devel"
+makedepends="gtk4-devel libadwaita-devel libgirepository-devel"
+depends="python3-Pillow python3-praw python3-mistune2 python3-BeautifulSoup4
+ gtksourceview5"
+short_desc="Reddit app with mobile Linux in mind"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/giara"
+distfiles="https://gitlab.gnome.org/World/giara/-/archive/${version}/giara-${version}.tar.gz"
+checksum=fc38e2cec5315e0abaeb1053b18984e7ded5526f026b435a799d63870a1e4c36

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

* Re: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (24 preceding siblings ...)
  2022-12-16 23:01 ` [PR PATCH] [Updated] " jcgruenhage
@ 2023-03-17  1:56 ` github-actions
  2023-03-19 14:26 ` jcgruenhage
                   ` (3 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: github-actions @ 2023-03-17  1:56 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#issuecomment-1472999050

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (25 preceding siblings ...)
  2023-03-17  1:56 ` github-actions
@ 2023-03-19 14:26 ` jcgruenhage
  2023-04-10 16:27 ` [PR REVIEW] " eli-schwartz
                   ` (2 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: jcgruenhage @ 2023-03-19 14:26 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#issuecomment-1475276345

Comment:
still planning on getting this merged, will update later.

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

* Re: [PR REVIEW] New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (26 preceding siblings ...)
  2023-03-19 14:26 ` jcgruenhage
@ 2023-04-10 16:27 ` eli-schwartz
  2023-07-10  2:08 ` github-actions
  2023-07-25  2:01 ` [PR PATCH] [Closed]: " github-actions
  29 siblings, 0 replies; 31+ messages in thread
From: eli-schwartz @ 2023-04-10 16:27 UTC (permalink / raw)
  To: ml

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

New review comment by eli-schwartz on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#discussion_r1161871512

Comment:
> if there are no tests, they usually don't fail, so we don't have to disable them

Incorrect, the python3-module build style does this all the time, because it attempts to run `python3 setup.py test` regardless of whether tests exist. This command will:
- depend on all runtime dependencies, or attempt to install local copies of them with pip, but NOT all "extras" (optional) dependencies
- then import all source files (including the ones that have optional dependencies, which are not otherwise mentioned in the template since xbps does not support optional dependencies)
- then detect that there are zero tests, and not run them

And setuptools upstream has deprecated `setup.py test`, so any packages that actually used it (which was relatively uncommon, as people tend to prefer pytest or nose or whatever) have been busily porting away from it.

Incidentally, this: https://github.com/void-linux/void-packages/blob/0657a8bea7e6d89cff327e31949b5eebcb883952/common/build-style/python3-module.sh#L21-L23

is logically broken, because it is fallaciously incorrect to print a warning that "setup.py doesn't define a test command". That's not the role of setup.py to do -- the test command is defined globally in setuptools itself regardless of what a setup.py file does (a setup.py file can override the builtin one, the same way it can override the builtin "build_py" or "install" commands).

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

* Re: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (27 preceding siblings ...)
  2023-04-10 16:27 ` [PR REVIEW] " eli-schwartz
@ 2023-07-10  2:08 ` github-actions
  2023-07-25  2:01 ` [PR PATCH] [Closed]: " github-actions
  29 siblings, 0 replies; 31+ messages in thread
From: github-actions @ 2023-07-10  2:08 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/37132#issuecomment-1627966878

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New package: giara-1.0.1
  2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
                   ` (28 preceding siblings ...)
  2023-07-10  2:08 ` github-actions
@ 2023-07-25  2:01 ` github-actions
  29 siblings, 0 replies; 31+ messages in thread
From: github-actions @ 2023-07-25  2:01 UTC (permalink / raw)
  To: ml

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

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

New package: giara-1.0.1
https://github.com/void-linux/void-packages/pull/37132

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Follow up to #28453, which I've discovered after I had already packaged everything and was looking into mistune acting up at runtime. I agree with the sentiment that the packaging is a fragile pita, but with nearly everything in here not having the checks disabled now, I'm a bit more confident that this is actually fine.

One thing that should probably be done here is updating mistune again, because there's a stable 2.0.2 release now, which has also been updated in https://github.com/jupyter/nbconvert/pull/1764, which probably means we can update `python3-mistune` to 2.0.2 once `python3-jupyter_nbconvert` has its next stable release. The 7.0.0-rc.1 has been released 5 days ago after the mistune update had been merged.


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

end of thread, other threads:[~2023-07-25  2:01 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-14 17:44 [PR PATCH] New package: giara-1.0.1 jcgruenhage
2022-09-02  2:16 ` github-actions
2022-09-02 13:05 ` [PR PATCH] [Updated] " jcgruenhage
2022-09-02 13:05 ` jcgruenhage
2022-09-02 19:05 ` paper42
2022-09-03  8:25 ` [PR PATCH] [Updated] " jcgruenhage
2022-09-03  8:25 ` jcgruenhage
2022-11-27 10:58 ` [PR PATCH] [Updated] " jcgruenhage
2022-11-27 11:02 ` jcgruenhage
2022-12-11 20:44 ` [PR REVIEW] " paper42
2022-12-11 21:11 ` jcgruenhage
2022-12-11 21:41 ` jcgruenhage
2022-12-11 21:43 ` [PR PATCH] [Updated] " jcgruenhage
2022-12-11 21:57 ` [PR REVIEW] " paper42
2022-12-11 21:57 ` paper42
2022-12-11 21:57 ` paper42
2022-12-11 21:57 ` paper42
2022-12-11 21:57 ` paper42
2022-12-11 21:57 ` paper42
2022-12-11 21:57 ` paper42
2022-12-11 21:57 ` paper42
2022-12-11 23:30 ` jcgruenhage
2022-12-11 23:35 ` [PR PATCH] [Updated] " jcgruenhage
2022-12-16 18:58 ` [PR REVIEW] " paper42
2022-12-16 18:58 ` paper42
2022-12-16 23:01 ` [PR PATCH] [Updated] " jcgruenhage
2023-03-17  1:56 ` github-actions
2023-03-19 14:26 ` jcgruenhage
2023-04-10 16:27 ` [PR REVIEW] " eli-schwartz
2023-07-10  2:08 ` github-actions
2023-07-25  2:01 ` [PR PATCH] [Closed]: " github-actions

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).