Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] synapse: update to 1.35.0
@ 2021-06-02 17:34 AluminumTank
  2021-06-02 17:41 ` [PR PATCH] [Updated] " AluminumTank
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-02 17:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.35.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 28836144e96ede4bfe9827e2988f8c2ee886da24 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/2] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From b1a824ddf73a6a7704ceb018ea582e6addc2ce79 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/2] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..3b83e90ec866
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea

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

* Re: [PR PATCH] [Updated] synapse: update to 1.35.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
@ 2021-06-02 17:41 ` AluminumTank
  2021-06-03  3:15 ` FollieHiyuki
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-02 17:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.35.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 28836144e96ede4bfe9827e2988f8c2ee886da24 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/2] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From 1a6944137b749ef9202ece30edd38e74815e5a00 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/2] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..82a78f9d7083
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: synapse: update to 1.35.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
  2021-06-02 17:41 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-06-03  3:15 ` FollieHiyuki
  2021-06-03 12:40 ` [PR PATCH] [Updated] " AluminumTank
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: FollieHiyuki @ 2021-06-03  3:15 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-853529984

Comment:
You can add `yajl` to `depends` of the new package, and also `python3-cffi` to `checkdepends` to pass tests.

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

* Re: [PR PATCH] [Updated] synapse: update to 1.35.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
  2021-06-02 17:41 ` [PR PATCH] [Updated] " AluminumTank
  2021-06-03  3:15 ` FollieHiyuki
@ 2021-06-03 12:40 ` AluminumTank
  2021-06-03 12:45 ` AluminumTank
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-03 12:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.35.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 28836144e96ede4bfe9827e2988f8c2ee886da24 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/2] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From 7660d9791af23326efa747691c83a19d626215ff Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/2] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: synapse: update to 1.35.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (2 preceding siblings ...)
  2021-06-03 12:40 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-06-03 12:45 ` AluminumTank
  2021-06-03 14:42 ` [PR PATCH] [Updated] " AluminumTank
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-03 12:45 UTC (permalink / raw)
  To: ml

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

New comment by AluminumTank on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-853840337

Comment:
Thanks for the tip. I added those as well as the `python3-devel` and `yajl-devel` files to `makedepends` so more of the backends get built. The tests are failing on a different issue now: looking for the `yajl` backend which depends on YAJL 1.x.

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

* Re: [PR PATCH] [Updated] synapse: update to 1.35.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (3 preceding siblings ...)
  2021-06-03 12:45 ` AluminumTank
@ 2021-06-03 14:42 ` AluminumTank
  2021-06-03 14:50 ` synapse: update to 1.35.1 AluminumTank
                   ` (22 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-03 14:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.35.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 28836144e96ede4bfe9827e2988f8c2ee886da24 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From 7660d9791af23326efa747691c83a19d626215ff Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 404be00192f33a30e968b42d6b8c96fad38491b9 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.35.1

---
 srcpkgs/synapse/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..f59162f64f8d 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.35.1
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=050e19db4303dce744ad5a8448af41aca35399af8986d11f87b37d03e96dd405
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: synapse: update to 1.35.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (4 preceding siblings ...)
  2021-06-03 14:42 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-06-03 14:50 ` AluminumTank
  2021-06-15 19:04 ` [PR PATCH] [Updated] " AluminumTank
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-03 14:50 UTC (permalink / raw)
  To: ml

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

New comment by AluminumTank on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-853929556

Comment:
Confirmed that all backends are working other than `yajl` backend. Since this backend depends on YAJL 1.x, it shouldn't be supported since the `yajl` package in `void-packages` is 2.x.x. I'm no expert here, but it seems like we need to skip just that one test...

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

* Re: [PR PATCH] [Updated] synapse: update to 1.35.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (5 preceding siblings ...)
  2021-06-03 14:50 ` synapse: update to 1.35.1 AluminumTank
@ 2021-06-15 19:04 ` AluminumTank
  2021-06-15 19:07 ` synapse: update to 1.36.0 AluminumTank
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-15 19:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.35.1
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 28836144e96ede4bfe9827e2988f8c2ee886da24 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From 7660d9791af23326efa747691c83a19d626215ff Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 3db43dcffb34397d24067212f129e174490b79a1 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.36.0

---
 srcpkgs/synapse/files/synapse/log/run | 2 ++
 srcpkgs/synapse/template              | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100755 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 100755
index 000000000000..6b2d0a7c7a6c
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.notice -t synapse
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..2df4e6fb3485 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.36.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=056e2982a8685e7693a7b52a0947f512a8f864acd7b6be859c9b0b6c564d52ed
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (6 preceding siblings ...)
  2021-06-15 19:04 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-06-15 19:07 ` AluminumTank
  2021-06-15 19:08 ` [PR PATCH] [Updated] " AluminumTank
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-15 19:07 UTC (permalink / raw)
  To: ml

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

New comment by AluminumTank on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-861760657

Comment:
Updated to latest release and added log service so I can stop manually adding it on my system. Still need help/clarification on whether we should do ci-skip or patch the test to not try using the YAJL 1.x backend.

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

* Re: [PR PATCH] [Updated] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (7 preceding siblings ...)
  2021-06-15 19:07 ` synapse: update to 1.36.0 AluminumTank
@ 2021-06-15 19:08 ` AluminumTank
  2021-06-15 19:10 ` [PR REVIEW] " ericonr
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-15 19:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.36.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From f3a1a44d525fc09df1be171987a1356d9d09c6f4 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From c8cc083445dff143938f13edfb8b2537fbd01280 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 80eb74ffbd271d5831b333b3921ff36c8fa223f6 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.36.0

---
 srcpkgs/synapse/files/synapse/log/run | 2 ++
 srcpkgs/synapse/template              | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100755 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 100755
index 000000000000..6b2d0a7c7a6c
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.notice -t synapse
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..2df4e6fb3485 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.36.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=056e2982a8685e7693a7b52a0947f512a8f864acd7b6be859c9b0b6c564d52ed
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR REVIEW] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (8 preceding siblings ...)
  2021-06-15 19:08 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-06-15 19:10 ` ericonr
  2021-06-15 19:11 ` ericonr
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ericonr @ 2021-06-15 19:10 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#discussion_r652078020

Comment:
Please do like other services and use a symlink to `/usr/bin/vlogger`

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

* Re: synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (9 preceding siblings ...)
  2021-06-15 19:10 ` [PR REVIEW] " ericonr
@ 2021-06-15 19:11 ` ericonr
  2021-06-16 21:47 ` [PR PATCH] [Updated] " AluminumTank
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ericonr @ 2021-06-15 19:11 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-861763028

Comment:
It should be possible to skip the test with a custom `do_check` or `make_check_args`. If not, patching it out is valid.

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

* Re: [PR PATCH] [Updated] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (10 preceding siblings ...)
  2021-06-15 19:11 ` ericonr
@ 2021-06-16 21:47 ` AluminumTank
  2021-06-17  3:00 ` [PR REVIEW] " ericonr
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-16 21:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.36.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From f3a1a44d525fc09df1be171987a1356d9d09c6f4 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From c8cc083445dff143938f13edfb8b2537fbd01280 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 6c20d0faef96d6b7536c58d200ec4a582fa9ba03 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.36.0

---
 .../patches/remove-yajl-backend-test.patch    | 18 ++++++
 .../patches/remove-yajl-backend.patch         | 62 +++++++++++++++++++
 srcpkgs/synapse/files/synapse/log/run         |  1 +
 srcpkgs/synapse/template                      |  4 +-
 4 files changed, 83 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend.patch
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
new file mode 100644
index 000000000000..dac39071df98
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
@@ -0,0 +1,18 @@
+--- test/test_base.py.orig	2021-06-16 17:26:14.845716697 -0400
++++ test/test_base.py	2021-06-16 17:28:18.354837169 -0400
+@@ -593,7 +593,7 @@
+ 
+ def generate_backend_specific_tests(module, classname_prefix, method_suffix,
+                                     *bases, **kwargs):
+-    for backend in ['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
++    for backend in ['python', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
+         try:
+             classname = '%s%sTests' % (
+                 ''.join(p.capitalize() for p in backend.split('_')),
+@@ -628,4 +628,4 @@
+             'handles_incomplete_json_tokens': name != 'yajl'
+         }
+         return generate_backend_specific_tests(module, classname, method_suffix,
+-                                               members=members, *_bases)
+\ No newline at end of file
++                                               members=members, *_bases)
diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend.patch
new file mode 100644
index 000000000000..60d71d3901f8
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend.patch
@@ -0,0 +1,62 @@
+--- ijson/backends/yajl.py.orig	2021-03-02 05:04:56.000000000 -0500
++++ ijson/backends/yajl.py	2021-06-16 17:37:48.983634006 -0400
+@@ -1,59 +0,0 @@
+-'''
+-Wrapper for YAJL C library version 1.x.
+-'''
+-
+-from ctypes import Structure, c_uint, byref
+-
+-from ijson import common, utils
+-from ijson.backends import _yajl2_ctypes_common
+-
+-
+-yajl = _yajl2_ctypes_common.get_yajl(1)
+-
+-class Config(Structure):
+-    _fields_ = [
+-        ("allowComments", c_uint),
+-        ("checkUTF8", c_uint)
+-    ]
+-
+-
+-@utils.coroutine
+-def basic_parse_basecoro(target, allow_comments=False, multiple_values=False,
+-                         use_float=False):
+-    '''
+-    Iterator yielding unprefixed events.
+-
+-    Parameters:
+-
+-    - f: a readable file-like object with JSON input
+-    - allow_comments: tells parser to allow comments in JSON input
+-    - check_utf8: if True, parser will cause an error if input is invalid utf-8
+-    - buf_size: a size of an input buffer
+-    '''
+-    if multiple_values:
+-        raise ValueError("yajl backend doesn't support multiple_values")
+-    callbacks = _yajl2_ctypes_common.make_callbaks(target.send, use_float, 1)
+-    config = Config(allow_comments, True)
+-    handle = yajl.yajl_alloc(byref(callbacks), byref(config), None, None)
+-    try:
+-        while True:
+-            try:
+-                buffer = (yield)
+-            except GeneratorExit:
+-                buffer = b''
+-            if buffer:
+-                result = yajl.yajl_parse(handle, buffer, len(buffer))
+-            else:
+-                result = yajl.yajl_parse_complete(handle)
+-            if result == _yajl2_ctypes_common.YAJL_ERROR:
+-                error = _yajl2_ctypes_common.yajl_get_error(yajl, handle, buffer)
+-                raise common.JSONError(error)
+-            elif not buffer:
+-                if result == _yajl2_ctypes_common.YAJL_INSUFFICIENT_DATA:
+-                    raise common.IncompleteJSONError('Incomplete JSON data')
+-                break
+-    finally:
+-        yajl.yajl_free(handle)
+-
+-
+-common.enrich_backend(globals())
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..2df4e6fb3485 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.36.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=056e2982a8685e7693a7b52a0947f512a8f864acd7b6be859c9b0b6c564d52ed
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR REVIEW] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (11 preceding siblings ...)
  2021-06-16 21:47 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-06-17  3:00 ` ericonr
  2021-06-17  3:00 ` ericonr
                   ` (14 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ericonr @ 2021-06-17  3:00 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#discussion_r653189570

Comment:
yajl is detected automatically:

```
   SONAME: libyajl.so.2 <-> yajl>=2.0.1_1
```

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

* Re: [PR REVIEW] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (12 preceding siblings ...)
  2021-06-17  3:00 ` [PR REVIEW] " ericonr
@ 2021-06-17  3:00 ` ericonr
  2021-06-17  3:21 ` AluminumTank
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ericonr @ 2021-06-17  3:00 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#discussion_r653190197

Comment:
Could you instead simply remove the file in `post_patch`?

`rm ijson/backends/yajl.py`

Kinda weird that we build the yajl stuff only to completely remove it :[ 

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

* Re: [PR REVIEW] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (13 preceding siblings ...)
  2021-06-17  3:00 ` ericonr
@ 2021-06-17  3:21 ` AluminumTank
  2021-06-17 18:25 ` [PR PATCH] [Updated] " AluminumTank
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-17  3:21 UTC (permalink / raw)
  To: ml

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

New review comment by AluminumTank on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#discussion_r653196518

Comment:
`yajl.py` is the backend for yajl 1.x. There are 3 other backends left intact to interact with the version of yajl already packaged (2.x). I was removing this because simply having the patch to remove the backend from `test/test_base.py` wasn't enough to pass the check phase.

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

* Re: [PR PATCH] [Updated] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (14 preceding siblings ...)
  2021-06-17  3:21 ` AluminumTank
@ 2021-06-17 18:25 ` AluminumTank
  2021-06-29 16:15 ` AluminumTank
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-17 18:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.36.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From f3a1a44d525fc09df1be171987a1356d9d09c6f4 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From c8cc083445dff143938f13edfb8b2537fbd01280 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 1cd3039ca4be952565ee5618e92ded3563b8eae1 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.36.0

---
 .../patches/remove-yajl-backend-test.patch     | 18 ++++++++++++++++++
 srcpkgs/python3-ijson/template                 |  5 ++++-
 srcpkgs/synapse/files/synapse/log/run          |  1 +
 srcpkgs/synapse/template                       |  4 ++--
 4 files changed, 25 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
new file mode 100644
index 000000000000..dac39071df98
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
@@ -0,0 +1,18 @@
+--- test/test_base.py.orig	2021-06-16 17:26:14.845716697 -0400
++++ test/test_base.py	2021-06-16 17:28:18.354837169 -0400
+@@ -593,7 +593,7 @@
+ 
+ def generate_backend_specific_tests(module, classname_prefix, method_suffix,
+                                     *bases, **kwargs):
+-    for backend in ['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
++    for backend in ['python', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
+         try:
+             classname = '%s%sTests' % (
+                 ''.join(p.capitalize() for p in backend.split('_')),
+@@ -628,4 +628,4 @@
+             'handles_incomplete_json_tokens': name != 'yajl'
+         }
+         return generate_backend_specific_tests(module, classname, method_suffix,
+-                                               members=members, *_bases)
+\ No newline at end of file
++                                               members=members, *_bases)
diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
index 7d3dea67a261..d7422c0fae74 100644
--- a/srcpkgs/python3-ijson/template
+++ b/srcpkgs/python3-ijson/template
@@ -6,7 +6,6 @@ wrksrc="ijson-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 makedepends="yajl-devel python3-devel"
-depends="python3 yajl"
 checkdepends="python3-cffi"
 short_desc="Iterative JSON parser with Pythonic interfaces"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
@@ -15,6 +14,10 @@ homepage="https://github.com/ICRAR/ijson"
 distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
 checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
 
+post_patch() {
+	rm ijson/backends/yajl.py
+}
+
 post_install() {
 	vlicense LICENSE.txt
 }
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..2df4e6fb3485 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.36.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=056e2982a8685e7693a7b52a0947f512a8f864acd7b6be859c9b0b6c564d52ed
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR PATCH] [Updated] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (15 preceding siblings ...)
  2021-06-17 18:25 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-06-29 16:15 ` AluminumTank
  2021-06-29 16:19 ` AluminumTank
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-29 16:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.36.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From f3a1a44d525fc09df1be171987a1356d9d09c6f4 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From c8cc083445dff143938f13edfb8b2537fbd01280 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 88a5687cdb838eb721b2365f5821c5fbd1345305 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.37.0

---
 .../patches/remove-yajl-backend-test.patch     | 18 ++++++++++++++++++
 srcpkgs/python3-ijson/template                 |  5 ++++-
 srcpkgs/synapse/files/synapse/log/run          |  1 +
 srcpkgs/synapse/template                       |  4 ++--
 4 files changed, 25 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
new file mode 100644
index 000000000000..dac39071df98
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
@@ -0,0 +1,18 @@
+--- test/test_base.py.orig	2021-06-16 17:26:14.845716697 -0400
++++ test/test_base.py	2021-06-16 17:28:18.354837169 -0400
+@@ -593,7 +593,7 @@
+ 
+ def generate_backend_specific_tests(module, classname_prefix, method_suffix,
+                                     *bases, **kwargs):
+-    for backend in ['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
++    for backend in ['python', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
+         try:
+             classname = '%s%sTests' % (
+                 ''.join(p.capitalize() for p in backend.split('_')),
+@@ -628,4 +628,4 @@
+             'handles_incomplete_json_tokens': name != 'yajl'
+         }
+         return generate_backend_specific_tests(module, classname, method_suffix,
+-                                               members=members, *_bases)
+\ No newline at end of file
++                                               members=members, *_bases)
diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
index 7d3dea67a261..d7422c0fae74 100644
--- a/srcpkgs/python3-ijson/template
+++ b/srcpkgs/python3-ijson/template
@@ -6,7 +6,6 @@ wrksrc="ijson-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 makedepends="yajl-devel python3-devel"
-depends="python3 yajl"
 checkdepends="python3-cffi"
 short_desc="Iterative JSON parser with Pythonic interfaces"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
@@ -15,6 +14,10 @@ homepage="https://github.com/ICRAR/ijson"
 distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
 checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
 
+post_patch() {
+	rm ijson/backends/yajl.py
+}
+
 post_install() {
 	vlicense LICENSE.txt
 }
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..5e2028e43076 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.37.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=58120d41740bf5da6eb8199ba344df986c59e50657ef2abfbd1da8bc678de3cc
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR PATCH] [Updated] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (16 preceding siblings ...)
  2021-06-29 16:15 ` AluminumTank
@ 2021-06-29 16:19 ` AluminumTank
  2021-06-29 16:59 ` AluminumTank
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-29 16:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.36.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From d6dc6493b74a4e8d3e89943e723ca89e4585ccd4 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From b2d3f3d31488266cacc095cdce111fedad1b44ba Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 2361390e20c98b5b610b9ec09385095d284a55c5 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.37.0

---
 .../patches/remove-yajl-backend-test.patch     | 18 ++++++++++++++++++
 srcpkgs/python3-ijson/template                 |  5 ++++-
 srcpkgs/synapse/files/synapse/log/run          |  1 +
 srcpkgs/synapse/template                       |  4 ++--
 4 files changed, 25 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
new file mode 100644
index 000000000000..dac39071df98
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
@@ -0,0 +1,18 @@
+--- test/test_base.py.orig	2021-06-16 17:26:14.845716697 -0400
++++ test/test_base.py	2021-06-16 17:28:18.354837169 -0400
+@@ -593,7 +593,7 @@
+ 
+ def generate_backend_specific_tests(module, classname_prefix, method_suffix,
+                                     *bases, **kwargs):
+-    for backend in ['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
++    for backend in ['python', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
+         try:
+             classname = '%s%sTests' % (
+                 ''.join(p.capitalize() for p in backend.split('_')),
+@@ -628,4 +628,4 @@
+             'handles_incomplete_json_tokens': name != 'yajl'
+         }
+         return generate_backend_specific_tests(module, classname, method_suffix,
+-                                               members=members, *_bases)
+\ No newline at end of file
++                                               members=members, *_bases)
diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
index 7d3dea67a261..d7422c0fae74 100644
--- a/srcpkgs/python3-ijson/template
+++ b/srcpkgs/python3-ijson/template
@@ -6,7 +6,6 @@ wrksrc="ijson-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 makedepends="yajl-devel python3-devel"
-depends="python3 yajl"
 checkdepends="python3-cffi"
 short_desc="Iterative JSON parser with Pythonic interfaces"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
@@ -15,6 +14,10 @@ homepage="https://github.com/ICRAR/ijson"
 distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
 checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
 
+post_patch() {
+	rm ijson/backends/yajl.py
+}
+
 post_install() {
 	vlicense LICENSE.txt
 }
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..5e2028e43076 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.37.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=58120d41740bf5da6eb8199ba344df986c59e50657ef2abfbd1da8bc678de3cc
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR PATCH] [Updated] synapse: update to 1.36.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (17 preceding siblings ...)
  2021-06-29 16:19 ` AluminumTank
@ 2021-06-29 16:59 ` AluminumTank
  2021-06-30 19:33 ` [PR PATCH] [Updated] synapse: update to 1.37.0 AluminumTank
                   ` (8 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-29 16:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.36.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From d6dc6493b74a4e8d3e89943e723ca89e4585ccd4 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From b2d3f3d31488266cacc095cdce111fedad1b44ba Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 55699279cdda1ce021bfad8aacd98a5d842c06fd Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.37.0

---
 .../patches/remove-yajl-backend-test.patch     | 18 ++++++++++++++++++
 srcpkgs/python3-ijson/template                 |  5 ++++-
 srcpkgs/synapse/files/synapse/log/run          |  1 +
 srcpkgs/synapse/template                       |  4 ++--
 4 files changed, 25 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
new file mode 100644
index 000000000000..70e738eae4f0
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
@@ -0,0 +1,18 @@
+--- a/test/test_base.py	2021-06-29 12:52:48.720874344 -0400
++++ b/test/test_base.py	2021-06-29 12:53:18.342495467 -0400
+@@ -593,7 +593,7 @@
+ 
+ def generate_backend_specific_tests(module, classname_prefix, method_suffix,
+                                     *bases, **kwargs):
+-    for backend in ['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
++    for backend in ['python', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
+         try:
+             classname = '%s%sTests' % (
+                 ''.join(p.capitalize() for p in backend.split('_')),
+@@ -628,4 +628,4 @@
+             'handles_incomplete_json_tokens': name != 'yajl'
+         }
+         return generate_backend_specific_tests(module, classname, method_suffix,
+-                                               members=members, *_bases)
+\ No newline at end of file
++                                               members=members, *_bases)
diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
index 7d3dea67a261..d7422c0fae74 100644
--- a/srcpkgs/python3-ijson/template
+++ b/srcpkgs/python3-ijson/template
@@ -6,7 +6,6 @@ wrksrc="ijson-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 makedepends="yajl-devel python3-devel"
-depends="python3 yajl"
 checkdepends="python3-cffi"
 short_desc="Iterative JSON parser with Pythonic interfaces"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
@@ -15,6 +14,10 @@ homepage="https://github.com/ICRAR/ijson"
 distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
 checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
 
+post_patch() {
+	rm ijson/backends/yajl.py
+}
+
 post_install() {
 	vlicense LICENSE.txt
 }
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..5e2028e43076 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.37.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=58120d41740bf5da6eb8199ba344df986c59e50657ef2abfbd1da8bc678de3cc
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR PATCH] [Updated] synapse: update to 1.37.0
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (18 preceding siblings ...)
  2021-06-29 16:59 ` AluminumTank
@ 2021-06-30 19:33 ` AluminumTank
  2021-07-01  4:08 ` [PR REVIEW] synapse: update to 1.37.1 ericonr
                   ` (7 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-06-30 19:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.37.0
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 6ed025bc63a2a8e58a783ac468cc4904a83d4d51 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH 1/3] synapse: update to 1.35.0

---
 srcpkgs/synapse/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..96896eeb98d2 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.35.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

From 8ae49885677bfcfc41815827c7ae193495214de3 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:28:39 -0400
Subject: [PATCH 2/3] New package: python3-ijson-3.1.4_1

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..7d3dea67a261
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3 yajl"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 1e90fc490f1353abc72924b2d924dd90c9224b44 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Thu, 3 Jun 2021 10:41:44 -0400
Subject: [PATCH 3/3] synapse: update to 1.37.1

---
 .../patches/remove-yajl-backend-test.patch     | 18 ++++++++++++++++++
 srcpkgs/python3-ijson/template                 |  5 ++++-
 srcpkgs/synapse/files/synapse/log/run          |  1 +
 srcpkgs/synapse/template                       |  4 ++--
 4 files changed, 25 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
new file mode 100644
index 000000000000..70e738eae4f0
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
@@ -0,0 +1,18 @@
+--- a/test/test_base.py	2021-06-29 12:52:48.720874344 -0400
++++ b/test/test_base.py	2021-06-29 12:53:18.342495467 -0400
+@@ -593,7 +593,7 @@
+ 
+ def generate_backend_specific_tests(module, classname_prefix, method_suffix,
+                                     *bases, **kwargs):
+-    for backend in ['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
++    for backend in ['python', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
+         try:
+             classname = '%s%sTests' % (
+                 ''.join(p.capitalize() for p in backend.split('_')),
+@@ -628,4 +628,4 @@
+             'handles_incomplete_json_tokens': name != 'yajl'
+         }
+         return generate_backend_specific_tests(module, classname, method_suffix,
+-                                               members=members, *_bases)
+\ No newline at end of file
++                                               members=members, *_bases)
diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
index 7d3dea67a261..d7422c0fae74 100644
--- a/srcpkgs/python3-ijson/template
+++ b/srcpkgs/python3-ijson/template
@@ -6,7 +6,6 @@ wrksrc="ijson-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 makedepends="yajl-devel python3-devel"
-depends="python3 yajl"
 checkdepends="python3-cffi"
 short_desc="Iterative JSON parser with Pythonic interfaces"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
@@ -15,6 +14,10 @@ homepage="https://github.com/ICRAR/ijson"
 distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
 checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
 
+post_patch() {
+	rm ijson/backends/yajl.py
+}
+
 post_install() {
 	vlicense LICENSE.txt
 }
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 96896eeb98d2..5d522ae7a221 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.35.0
+version=1.37.1
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -19,7 +19,7 @@ license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=2c83e5eb66639608e0e0a642692fb43eb78918fbad858d8b5d2b18c785438d25
+checksum=1c2e9acbc52c55585d864e708f6299b0fda23e70ab7a01a0f6e01c3944889dc5
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR REVIEW] synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (19 preceding siblings ...)
  2021-06-30 19:33 ` [PR PATCH] [Updated] synapse: update to 1.37.0 AluminumTank
@ 2021-07-01  4:08 ` ericonr
  2021-07-01 17:29 ` [PR PATCH] [Updated] " AluminumTank
                   ` (6 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ericonr @ 2021-07-01  4:08 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#discussion_r661955988

Comment:
Please leave a comment about https://github.com/void-linux/void-packages/pull/31263#discussion_r653196518 on top of it.

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

* Re: [PR PATCH] [Updated] synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (20 preceding siblings ...)
  2021-07-01  4:08 ` [PR REVIEW] synapse: update to 1.37.1 ericonr
@ 2021-07-01 17:29 ` AluminumTank
  2021-07-02 13:16 ` AluminumTank
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-07-01 17:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.37.1
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 1c75bfd140b4c386263d0234d3fe974049035441 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH] synapse: update to 1.37.1

---
 .../patches/remove-yajl-backend-test.patch    | 19 ++++++++++++++
 srcpkgs/python3-ijson/template                | 26 +++++++++++++++++++
 srcpkgs/synapse/files/synapse/log/run         |  1 +
 srcpkgs/synapse/template                      |  6 ++---
 4 files changed, 49 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
 create mode 100644 srcpkgs/python3-ijson/template
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
new file mode 100644
index 000000000000..c99bafee8362
--- /dev/null
+++ b/srcpkgs/python3-ijson/patches/remove-yajl-backend-test.patch
@@ -0,0 +1,19 @@
+# this patch removes testing of the `yajl` backend which depends on yajl 1.x
+--- a/test/test_base.py	2021-06-29 12:52:48.720874344 -0400
++++ b/test/test_base.py	2021-06-29 12:53:18.342495467 -0400
+@@ -593,7 +593,7 @@
+ 
+ def generate_backend_specific_tests(module, classname_prefix, method_suffix,
+                                     *bases, **kwargs):
+-    for backend in ['python', 'yajl', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
++    for backend in ['python', 'yajl2', 'yajl2_cffi', 'yajl2_c']:
+         try:
+             classname = '%s%sTests' % (
+                 ''.join(p.capitalize() for p in backend.split('_')),
+@@ -628,4 +628,4 @@
+             'handles_incomplete_json_tokens': name != 'yajl'
+         }
+         return generate_backend_specific_tests(module, classname, method_suffix,
+-                                               members=members, *_bases)
+\ No newline at end of file
++                                               members=members, *_bases)
diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..bd9fda6fc054
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+checkdepends="python3-cffi"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_patch() {
+	# yajl.py is the backend for yajl 1.x, while void-packages only includes the
+	# latest version of yajl (2.x), which can be used via several other included
+	# backends (yajl2, yajl2_c, yajl2_cffi)
+	rm ijson/backends/yajl.py
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..5d522ae7a221 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.37.1
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=1c2e9acbc52c55585d864e708f6299b0fda23e70ab7a01a0f6e01c3944889dc5
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: [PR PATCH] [Updated] synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (21 preceding siblings ...)
  2021-07-01 17:29 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-07-02 13:16 ` AluminumTank
  2021-07-02 13:21 ` AluminumTank
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-07-02 13:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.37.1
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From a926b43cac28b9dfd57ea1a4a9f27508c5ac5487 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@thebeckmeyers.xyz>
Date: Wed, 2 Jun 2021 13:03:05 -0400
Subject: [PATCH] synapse: update to 1.37.1

---
 srcpkgs/python3-ijson/template        | 20 ++++++++++++++++++++
 srcpkgs/synapse/files/synapse/log/run |  1 +
 srcpkgs/synapse/template              |  6 +++---
 3 files changed, 24 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-ijson/template
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..2fb5be71f9e6
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}
diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..5d522ae7a221 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.37.1
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=1c2e9acbc52c55585d864e708f6299b0fda23e70ab7a01a0f6e01c3944889dc5
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (22 preceding siblings ...)
  2021-07-02 13:16 ` AluminumTank
@ 2021-07-02 13:21 ` AluminumTank
  2021-07-02 14:18 ` ericonr
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-07-02 13:21 UTC (permalink / raw)
  To: ml

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

New comment by AluminumTank on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-872994188

Comment:
Alright, I found the underlying problem that made me need to patch out the `yajl` (1.x) backend: the `python3-module.sh` build-style script defaults to running `python3 setup.py test` if `pytest` isn't included in `checkdepends`. Adding this makes the patching out method unnecessary, so I removed. Package should be ready for review now.

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

* Re: synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (23 preceding siblings ...)
  2021-07-02 13:21 ` AluminumTank
@ 2021-07-02 14:18 ` ericonr
  2021-07-02 14:43 ` [PR PATCH] [Updated] " AluminumTank
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ericonr @ 2021-07-02 14:18 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-873034289

Comment:
Nice! Can you split the commits? Should be one for new package and one for the update. I can merge it manually later, if not.

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

* Re: [PR PATCH] [Updated] synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (24 preceding siblings ...)
  2021-07-02 14:18 ` ericonr
@ 2021-07-02 14:43 ` AluminumTank
  2021-07-02 14:46 ` AluminumTank
  2021-07-02 15:07 ` [PR PATCH] [Merged]: " ericonr
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-07-02 14:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AluminumTank/void-packages synapse
https://github.com/void-linux/void-packages/pull/31263

synapse: update to 1.37.1
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

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

From 98c053f9a58f4aad95b77784b11d01fba0d80ae3 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Fri, 2 Jul 2021 10:41:09 -0400
Subject: [PATCH 1/2] New package: python3-ijson-3.1.4

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

diff --git a/srcpkgs/python3-ijson/template b/srcpkgs/python3-ijson/template
new file mode 100644
index 000000000000..2fb5be71f9e6
--- /dev/null
+++ b/srcpkgs/python3-ijson/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-ijson'
+pkgname=python3-ijson
+version=3.1.4
+revision=1
+wrksrc="ijson-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+makedepends="yajl-devel python3-devel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Iterative JSON parser with Pythonic interfaces"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://github.com/ICRAR/ijson"
+distfiles="${PYPI_SITE}/i/ijson/ijson-${version}.tar.gz"
+checksum=1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea
+
+post_install() {
+	vlicense LICENSE.txt
+}

From ce13c36037685db353f6129d7ba26cfaf85a33c8 Mon Sep 17 00:00:00 2001
From: AluminumTank <joel@beckmeyer.us>
Date: Fri, 2 Jul 2021 10:42:12 -0400
Subject: [PATCH 2/2] synapse: update to 1.37.1

---
 srcpkgs/synapse/files/synapse/log/run | 1 +
 srcpkgs/synapse/template              | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
 create mode 120000 srcpkgs/synapse/files/synapse/log/run

diff --git a/srcpkgs/synapse/files/synapse/log/run b/srcpkgs/synapse/files/synapse/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/synapse/files/synapse/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 24dd39948aa5..5d522ae7a221 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,6 +1,6 @@
 # Template file for 'synapse'
 pkgname=synapse
-version=1.33.2
+version=1.37.1
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,14 +12,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
  python3-attrs python3-netaddr python3-setuptools python3-bleach
  python3-Jinja2 python3-psycopg2 python3-lxml python3-saml2 python3-treq
  python3-txacme python3-macaroons python3-sortedcontainers
- python3-typing_extensions"
+ python3-typing_extensions python3-ijson"
 short_desc="Matrix reference homeserver"
 maintainer="Pete <pete@port22.co.uk>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/synapse"
 changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
 distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
-checksum=5e0a934dba5994ec102e94ba323e88746b9aec6ccaae03ba2c94780a6dbfeb97
+checksum=1c2e9acbc52c55585d864e708f6299b0fda23e70ab7a01a0f6e01c3944889dc5
 
 system_accounts="synapse"
 synapse_homedir="/var/lib/synapse"

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

* Re: synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (25 preceding siblings ...)
  2021-07-02 14:43 ` [PR PATCH] [Updated] " AluminumTank
@ 2021-07-02 14:46 ` AluminumTank
  2021-07-02 15:07 ` [PR PATCH] [Merged]: " ericonr
  27 siblings, 0 replies; 29+ messages in thread
From: AluminumTank @ 2021-07-02 14:46 UTC (permalink / raw)
  To: ml

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

New comment by AluminumTank on void-packages repository

https://github.com/void-linux/void-packages/pull/31263#issuecomment-873053288

Comment:
Yep, done.

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

* Re: [PR PATCH] [Merged]: synapse: update to 1.37.1
  2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
                   ` (26 preceding siblings ...)
  2021-07-02 14:46 ` AluminumTank
@ 2021-07-02 15:07 ` ericonr
  27 siblings, 0 replies; 29+ messages in thread
From: ericonr @ 2021-07-02 15:07 UTC (permalink / raw)
  To: ml

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

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

synapse: update to 1.37.1
https://github.com/void-linux/void-packages/pull/31263

Description:
<!-- Mark items with [x] where applicable -->
New dependency `python3-ijson` needed.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

end of thread, other threads:[~2021-07-02 15:07 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 17:34 [PR PATCH] synapse: update to 1.35.0 AluminumTank
2021-06-02 17:41 ` [PR PATCH] [Updated] " AluminumTank
2021-06-03  3:15 ` FollieHiyuki
2021-06-03 12:40 ` [PR PATCH] [Updated] " AluminumTank
2021-06-03 12:45 ` AluminumTank
2021-06-03 14:42 ` [PR PATCH] [Updated] " AluminumTank
2021-06-03 14:50 ` synapse: update to 1.35.1 AluminumTank
2021-06-15 19:04 ` [PR PATCH] [Updated] " AluminumTank
2021-06-15 19:07 ` synapse: update to 1.36.0 AluminumTank
2021-06-15 19:08 ` [PR PATCH] [Updated] " AluminumTank
2021-06-15 19:10 ` [PR REVIEW] " ericonr
2021-06-15 19:11 ` ericonr
2021-06-16 21:47 ` [PR PATCH] [Updated] " AluminumTank
2021-06-17  3:00 ` [PR REVIEW] " ericonr
2021-06-17  3:00 ` ericonr
2021-06-17  3:21 ` AluminumTank
2021-06-17 18:25 ` [PR PATCH] [Updated] " AluminumTank
2021-06-29 16:15 ` AluminumTank
2021-06-29 16:19 ` AluminumTank
2021-06-29 16:59 ` AluminumTank
2021-06-30 19:33 ` [PR PATCH] [Updated] synapse: update to 1.37.0 AluminumTank
2021-07-01  4:08 ` [PR REVIEW] synapse: update to 1.37.1 ericonr
2021-07-01 17:29 ` [PR PATCH] [Updated] " AluminumTank
2021-07-02 13:16 ` AluminumTank
2021-07-02 13:21 ` AluminumTank
2021-07-02 14:18 ` ericonr
2021-07-02 14:43 ` [PR PATCH] [Updated] " AluminumTank
2021-07-02 14:46 ` AluminumTank
2021-07-02 15:07 ` [PR PATCH] [Merged]: " ericonr

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