Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gaphor-2.10.0
@ 2022-05-24 15:38 TinfoilSubmarine
  2022-05-24 15:41 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: TinfoilSubmarine @ 2022-05-24 15:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages maint/gaphor
https://github.com/void-linux/void-packages/pull/37270

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

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

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

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

Closes https://github.com/void-linux/void-packages/issues/37145

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

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

From f00fb3494ce9e947a4c38aa3c3cb2fad384674f5 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:27:21 -0400
Subject: [PATCH 1/7] New package: python3-darkdetect-0.6.0

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

diff --git a/srcpkgs/python3-darkdetect/template b/srcpkgs/python3-darkdetect/template
new file mode 100644
index 000000000000..b9e0f32190c9
--- /dev/null
+++ b/srcpkgs/python3-darkdetect/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-darkdetect'
+pkgname=python3-darkdetect
+version=0.6.0
+revision=1
+wrksrc="darkdetect-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Detect OS Dark Mode from Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="http://github.com/albertosottile/darkdetect"
+distfiles="${PYPI_SITE}/d/darkdetect/darkdetect-${version}.tar.gz"
+checksum=7993275b537b4579ba2eee7673b0b95783f99c7ddb82a9f90dc077a379b427f1
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From f3d36dfb04053a65ac99b12374e3c5a4ced98280 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:22:37 -0400
Subject: [PATCH 2/7] New package: python3-gaphas-3.6.0

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

diff --git a/srcpkgs/python3-gaphas/template b/srcpkgs/python3-gaphas/template
new file mode 100644
index 000000000000..b4fb4dca7968
--- /dev/null
+++ b/srcpkgs/python3-gaphas/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-gaphas'
+pkgname=python3-gaphas
+version=3.6.0
+revision=1
+wrksrc="gaphas-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-gobject python3-cairo"
+checkdepends="python3-pytest xvfb-run gtk4 $depends"
+short_desc="GTK+ diagramming widget library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphas.readthedocs.io"
+distfiles="https://github.com/gaphor/gaphas/archive/${version}.tar.gz"
+checksum=96f1be036cf5155dc15508257acf3663cd3ec12154f6ce5011aead10e80c40d1
+make_check_pre="xvfb-run"

From 73e84220a56a52b7ef269d27bbd76b9880d2c1e5 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:17:26 -0400
Subject: [PATCH 3/7] New package: python3-flit_scm-1.5.0

---
 .../patches/relax_version_constraints.patch   | 39 +++++++++++++++++++
 srcpkgs/python3-flit_scm/template             | 19 +++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch
 create mode 100644 srcpkgs/python3-flit_scm/template

diff --git a/srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch b/srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch
new file mode 100644
index 000000000000..658d1e950276
--- /dev/null
+++ b/srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch
@@ -0,0 +1,39 @@
+From ccbb547dea83e13799946b6bf639ea1c678e3ed0 Mon Sep 17 00:00:00 2001
+From: Padraic Fanning <fanninpm@miamioh.edu>
+Date: Sat, 21 May 2022 22:18:50 -0400
+Subject: [PATCH] Relax version constraints
+
+This resolves #5.
+---
+ pyproject.toml | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e331fb4..08dcf6e 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -18,8 +18,8 @@ classifiers = [
+     "Topic :: Software Development :: Build Tools",
+ ]
+ dependencies = [
+-    "flit-core==3.5.0",
+-    "setuptools_scm==6.4.2",
++    "flit-core~=3.5",
++    "setuptools_scm~=6.4",
+     "tomli>=2,<3",
+ ]
+ dynamic = ["version"]
+@@ -33,8 +33,8 @@ repository = "https://gitlab.com/WillDaSilva/flit_scm"
+ 
+ [build-system]
+ requires = [
+-    "flit-core==3.5.0",
+-    "setuptools_scm==6.4.2",
++    "flit-core~=3.5",
++    "setuptools_scm~=6.4",
+     "tomli>=2,<3",
+ ]
+ build-backend = "flit_scm:buildapi"
+-- 
+GitLab
+
diff --git a/srcpkgs/python3-flit_scm/template b/srcpkgs/python3-flit_scm/template
new file mode 100644
index 000000000000..64049c3d278e
--- /dev/null
+++ b/srcpkgs/python3-flit_scm/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-flit_scm'
+pkgname=python3-flit_scm
+version=1.5.0
+revision=1
+wrksrc="flit_scm-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-setuptools_scm python3-tomli"
+depends="$hostmakedepends"
+short_desc="Setuptools_scm to version, flit to build - PEP 518 build backend"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://gitlab.com/WillDaSilva/flit_scm"
+distfiles="${PYPI_SITE}/f/flit_scm/flit_scm-${version}.tar.gz"
+checksum=fd0c704375b4424152caced0584cebe4131ccdc236a239dd1a055a80ee935f70
+make_check=no # no tests specified
+
+post_install() {
+	vlicense LICENSE
+}

From 2cd3a76072d2bbe8b3982ff3cfc15804456fc86d Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:23:14 -0400
Subject: [PATCH 4/7] New package: python3-exceptiongroup-1.0.0rc7

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

diff --git a/srcpkgs/python3-exceptiongroup/template b/srcpkgs/python3-exceptiongroup/template
new file mode 100644
index 000000000000..c45d77549236
--- /dev/null
+++ b/srcpkgs/python3-exceptiongroup/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-exceptiongroup'
+pkgname=python3-exceptiongroup
+version=1.0.0rc7
+revision=1
+wrksrc="exceptiongroup-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_scm"
+short_desc="Backport of PEP 654 (exception groups)"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT,PSF-2.0"
+homepage="https://github.com/agronholm/exceptiongroup"
+changelog="https://raw.githubusercontent.com/agronholm/exceptiongroup/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/e/exceptiongroup/exceptiongroup-${version}.tar.gz"
+checksum=2019e6e9d6ef84ff65c5c7c451b75802c662d53bcb124abf47ad118d39f9a1ca
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From afc6dab31195a5e07cf22669b8b21018ee3bfa14 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 09:55:02 -0400
Subject: [PATCH 5/7] New package: python3-generic-1.1.0

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

diff --git a/srcpkgs/python3-generic/template b/srcpkgs/python3-generic/template
new file mode 100644
index 000000000000..a5bc6b73d197
--- /dev/null
+++ b/srcpkgs/python3-generic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-generic'
+pkgname=python3-generic
+version=1.1.0
+revision=1
+wrksrc="generic-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-exceptiongroup"
+checkdepends="python3-pytest $depends"
+short_desc="Generic programming library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause-Modification"
+homepage="https://generic.readthedocs.io"
+distfiles="https://github.com/gaphor/generic/archive/${version}.tar.gz"
+checksum=8628d1bce4044e7664c149f785d7ad17a388e96c648ee09aef39d73578d52943
+
+post_install() {
+	vlicense LICENSE.txt
+}

From bdfc881bde56426c2ca46fb551f51f40ad7d242e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:42:45 -0400
Subject: [PATCH 6/7] New package: python3-tinycss2-1.1.1

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

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..b9e72e405974
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc=tinycss2-${version}
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest"
+short_desc="Tiny CSS parser"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+pre_check() {
+	vsed -e '/addopts/d' -i pyproject.toml
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 0fe1c4e270911fe86f8621f8ad560f8cea804014 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:39:17 -0400
Subject: [PATCH 7/7] New package: gaphor-2.10.0

---
 srcpkgs/gaphor/patches/desktop.patch | 13 ++++++++++
 srcpkgs/gaphor/template              | 37 ++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 srcpkgs/gaphor/patches/desktop.patch
 create mode 100644 srcpkgs/gaphor/template

diff --git a/srcpkgs/gaphor/patches/desktop.patch b/srcpkgs/gaphor/patches/desktop.patch
new file mode 100644
index 000000000000..7b5f2ef3e660
--- /dev/null
+++ b/srcpkgs/gaphor/patches/desktop.patch
@@ -0,0 +1,13 @@
+diff --git a/_packaging/appimage/org.gaphor.Gaphor.desktop b/_packaging/appimage/org.gaphor.Gaphor.desktop
+index 93d3bdb..94651cb 100644
+--- a/_packaging/appimage/org.gaphor.Gaphor.desktop
++++ b/_packaging/appimage/org.gaphor.Gaphor.desktop
+@@ -6,7 +6,7 @@ Comment[fr]=L'outil de modélisation facile
+ Comment[hu]=Egyszerű modellező eszköz
+ Comment[nl]=De eenvoudige modelleertool
+ Comment[pl]=Proste narzędzie do modelowania
+-Exec=gaphor-exe %f
++Exec=gaphor %f
+ Icon=org.gaphor.Gaphor
+ Terminal=false
+ Type=Application
diff --git a/srcpkgs/gaphor/template b/srcpkgs/gaphor/template
new file mode 100644
index 000000000000..6c9b131af553
--- /dev/null
+++ b/srcpkgs/gaphor/template
@@ -0,0 +1,37 @@
+# Template file for 'gaphor'
+pkgname=gaphor
+version=2.10.0
+revision=1
+wrksrc="gaphor-${version}"
+build_style=python3-pep517
+# these tests cause segmentation fault or fail on uninstalled package but
+# succeed when run after installed on host
+make_check_args="--ignore=gaphor/ui/tests/test_main.py \
+ --ignore=gaphor/ui/tests/test_mainwindow.py \
+ --deselect=tests/test_gaphorconvert.py::test_export_png"
+make_install_target="gaphor-${version}-*-*-*.whl"
+hostmakedepends="python3-poetry-core"
+depends="python3-cairo python3-gobject python3-gaphas python3-generic
+ python3-tinycss2 python3-jedi python3-darkdetect"
+checkdepends="python3-pytest python3-pytest-mock python3-hypothesis xvfb-run
+ python3-Sphinx gtksourceview4 hicolor-icon-theme unzip $depends"
+short_desc="Simple modeling tool written in Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphor.org"
+changelog="https://raw.githubusercontent.com/gaphor/gaphor/main/NEWS"
+distfiles="https://github.com/gaphor/gaphor/archive/${version}.tar.gz"
+checksum=cb2255f9fb31e367999a9e07d6ac814551f34c6d2fb3ffcce5aa5764bc2ffe7f
+make_check_pre="xvfb-run"
+
+pre_check() {
+	# needs unpackaged python package xdoctest, see commit
+	# 19ba9331955e3e0c41cc03b4e75dc2c22263bcaf in upstream
+	vsed -e '/addopts/d' -i pyproject.toml
+	unzip ${make_install_target} "*.dist-info/*"
+}
+
+post_install() {
+	vinstall _packaging/appimage/org.gaphor.Gaphor.desktop 644 usr/share/applications
+	vinstall _packaging/appimage/org.gaphor.Gaphor.png 644 usr/share/pixmaps
+}

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

* Re: [PR PATCH] [Updated] New package: gaphor-2.10.0
  2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
@ 2022-05-24 15:41 ` TinfoilSubmarine
  2022-08-15 15:25 ` TinfoilSubmarine
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: TinfoilSubmarine @ 2022-05-24 15:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages maint/gaphor
https://github.com/void-linux/void-packages/pull/37270

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

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

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

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

Closes https://github.com/void-linux/void-packages/issues/37145

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

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

From f00fb3494ce9e947a4c38aa3c3cb2fad384674f5 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:27:21 -0400
Subject: [PATCH 1/7] New package: python3-darkdetect-0.6.0

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

diff --git a/srcpkgs/python3-darkdetect/template b/srcpkgs/python3-darkdetect/template
new file mode 100644
index 000000000000..b9e0f32190c9
--- /dev/null
+++ b/srcpkgs/python3-darkdetect/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-darkdetect'
+pkgname=python3-darkdetect
+version=0.6.0
+revision=1
+wrksrc="darkdetect-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Detect OS Dark Mode from Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="http://github.com/albertosottile/darkdetect"
+distfiles="${PYPI_SITE}/d/darkdetect/darkdetect-${version}.tar.gz"
+checksum=7993275b537b4579ba2eee7673b0b95783f99c7ddb82a9f90dc077a379b427f1
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From f3d36dfb04053a65ac99b12374e3c5a4ced98280 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:22:37 -0400
Subject: [PATCH 2/7] New package: python3-gaphas-3.6.0

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

diff --git a/srcpkgs/python3-gaphas/template b/srcpkgs/python3-gaphas/template
new file mode 100644
index 000000000000..b4fb4dca7968
--- /dev/null
+++ b/srcpkgs/python3-gaphas/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-gaphas'
+pkgname=python3-gaphas
+version=3.6.0
+revision=1
+wrksrc="gaphas-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-gobject python3-cairo"
+checkdepends="python3-pytest xvfb-run gtk4 $depends"
+short_desc="GTK+ diagramming widget library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphas.readthedocs.io"
+distfiles="https://github.com/gaphor/gaphas/archive/${version}.tar.gz"
+checksum=96f1be036cf5155dc15508257acf3663cd3ec12154f6ce5011aead10e80c40d1
+make_check_pre="xvfb-run"

From 73e84220a56a52b7ef269d27bbd76b9880d2c1e5 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:17:26 -0400
Subject: [PATCH 3/7] New package: python3-flit_scm-1.5.0

---
 .../patches/relax_version_constraints.patch   | 39 +++++++++++++++++++
 srcpkgs/python3-flit_scm/template             | 19 +++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch
 create mode 100644 srcpkgs/python3-flit_scm/template

diff --git a/srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch b/srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch
new file mode 100644
index 000000000000..658d1e950276
--- /dev/null
+++ b/srcpkgs/python3-flit_scm/patches/relax_version_constraints.patch
@@ -0,0 +1,39 @@
+From ccbb547dea83e13799946b6bf639ea1c678e3ed0 Mon Sep 17 00:00:00 2001
+From: Padraic Fanning <fanninpm@miamioh.edu>
+Date: Sat, 21 May 2022 22:18:50 -0400
+Subject: [PATCH] Relax version constraints
+
+This resolves #5.
+---
+ pyproject.toml | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e331fb4..08dcf6e 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -18,8 +18,8 @@ classifiers = [
+     "Topic :: Software Development :: Build Tools",
+ ]
+ dependencies = [
+-    "flit-core==3.5.0",
+-    "setuptools_scm==6.4.2",
++    "flit-core~=3.5",
++    "setuptools_scm~=6.4",
+     "tomli>=2,<3",
+ ]
+ dynamic = ["version"]
+@@ -33,8 +33,8 @@ repository = "https://gitlab.com/WillDaSilva/flit_scm"
+ 
+ [build-system]
+ requires = [
+-    "flit-core==3.5.0",
+-    "setuptools_scm==6.4.2",
++    "flit-core~=3.5",
++    "setuptools_scm~=6.4",
+     "tomli>=2,<3",
+ ]
+ build-backend = "flit_scm:buildapi"
+-- 
+GitLab
+
diff --git a/srcpkgs/python3-flit_scm/template b/srcpkgs/python3-flit_scm/template
new file mode 100644
index 000000000000..64049c3d278e
--- /dev/null
+++ b/srcpkgs/python3-flit_scm/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-flit_scm'
+pkgname=python3-flit_scm
+version=1.5.0
+revision=1
+wrksrc="flit_scm-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-setuptools_scm python3-tomli"
+depends="$hostmakedepends"
+short_desc="Setuptools_scm to version, flit to build - PEP 518 build backend"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://gitlab.com/WillDaSilva/flit_scm"
+distfiles="${PYPI_SITE}/f/flit_scm/flit_scm-${version}.tar.gz"
+checksum=fd0c704375b4424152caced0584cebe4131ccdc236a239dd1a055a80ee935f70
+make_check=no # no tests specified
+
+post_install() {
+	vlicense LICENSE
+}

From 2cd3a76072d2bbe8b3982ff3cfc15804456fc86d Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:23:14 -0400
Subject: [PATCH 4/7] New package: python3-exceptiongroup-1.0.0rc7

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

diff --git a/srcpkgs/python3-exceptiongroup/template b/srcpkgs/python3-exceptiongroup/template
new file mode 100644
index 000000000000..c45d77549236
--- /dev/null
+++ b/srcpkgs/python3-exceptiongroup/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-exceptiongroup'
+pkgname=python3-exceptiongroup
+version=1.0.0rc7
+revision=1
+wrksrc="exceptiongroup-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_scm"
+short_desc="Backport of PEP 654 (exception groups)"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT,PSF-2.0"
+homepage="https://github.com/agronholm/exceptiongroup"
+changelog="https://raw.githubusercontent.com/agronholm/exceptiongroup/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/e/exceptiongroup/exceptiongroup-${version}.tar.gz"
+checksum=2019e6e9d6ef84ff65c5c7c451b75802c662d53bcb124abf47ad118d39f9a1ca
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From afc6dab31195a5e07cf22669b8b21018ee3bfa14 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 09:55:02 -0400
Subject: [PATCH 5/7] New package: python3-generic-1.1.0

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

diff --git a/srcpkgs/python3-generic/template b/srcpkgs/python3-generic/template
new file mode 100644
index 000000000000..a5bc6b73d197
--- /dev/null
+++ b/srcpkgs/python3-generic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-generic'
+pkgname=python3-generic
+version=1.1.0
+revision=1
+wrksrc="generic-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-exceptiongroup"
+checkdepends="python3-pytest $depends"
+short_desc="Generic programming library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause-Modification"
+homepage="https://generic.readthedocs.io"
+distfiles="https://github.com/gaphor/generic/archive/${version}.tar.gz"
+checksum=8628d1bce4044e7664c149f785d7ad17a388e96c648ee09aef39d73578d52943
+
+post_install() {
+	vlicense LICENSE.txt
+}

From bdfc881bde56426c2ca46fb551f51f40ad7d242e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:42:45 -0400
Subject: [PATCH 6/7] New package: python3-tinycss2-1.1.1

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

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..b9e72e405974
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc=tinycss2-${version}
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest"
+short_desc="Tiny CSS parser"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+pre_check() {
+	vsed -e '/addopts/d' -i pyproject.toml
+}
+
+post_install() {
+	vlicense LICENSE
+}

From e808e6145122421457278a0a1b15b66ada94fbaf Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:39:17 -0400
Subject: [PATCH 7/7] New package: gaphor-2.10.0

---
 srcpkgs/gaphor/patches/desktop.patch | 13 ++++++++++
 srcpkgs/gaphor/template              | 36 ++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/gaphor/patches/desktop.patch
 create mode 100644 srcpkgs/gaphor/template

diff --git a/srcpkgs/gaphor/patches/desktop.patch b/srcpkgs/gaphor/patches/desktop.patch
new file mode 100644
index 000000000000..7b5f2ef3e660
--- /dev/null
+++ b/srcpkgs/gaphor/patches/desktop.patch
@@ -0,0 +1,13 @@
+diff --git a/_packaging/appimage/org.gaphor.Gaphor.desktop b/_packaging/appimage/org.gaphor.Gaphor.desktop
+index 93d3bdb..94651cb 100644
+--- a/_packaging/appimage/org.gaphor.Gaphor.desktop
++++ b/_packaging/appimage/org.gaphor.Gaphor.desktop
+@@ -6,7 +6,7 @@ Comment[fr]=L'outil de modélisation facile
+ Comment[hu]=Egyszerű modellező eszköz
+ Comment[nl]=De eenvoudige modelleertool
+ Comment[pl]=Proste narzędzie do modelowania
+-Exec=gaphor-exe %f
++Exec=gaphor %f
+ Icon=org.gaphor.Gaphor
+ Terminal=false
+ Type=Application
diff --git a/srcpkgs/gaphor/template b/srcpkgs/gaphor/template
new file mode 100644
index 000000000000..e8864af490a9
--- /dev/null
+++ b/srcpkgs/gaphor/template
@@ -0,0 +1,36 @@
+# Template file for 'gaphor'
+pkgname=gaphor
+version=2.10.0
+revision=1
+build_style=python3-pep517
+# these tests cause segmentation fault or fail on uninstalled package but
+# succeed when run after installed on host
+make_check_args="--ignore=gaphor/ui/tests/test_main.py \
+ --ignore=gaphor/ui/tests/test_mainwindow.py \
+ --deselect=tests/test_gaphorconvert.py::test_export_png"
+make_install_target="gaphor-${version}-*-*-*.whl"
+hostmakedepends="python3-poetry-core"
+depends="python3-cairo python3-gobject python3-gaphas python3-generic
+ python3-tinycss2 python3-jedi python3-darkdetect"
+checkdepends="python3-pytest python3-pytest-mock python3-hypothesis xvfb-run
+ python3-Sphinx gtksourceview4 hicolor-icon-theme unzip $depends"
+short_desc="Simple modeling tool written in Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphor.org"
+changelog="https://raw.githubusercontent.com/gaphor/gaphor/main/NEWS"
+distfiles="https://github.com/gaphor/gaphor/archive/${version}.tar.gz"
+checksum=cb2255f9fb31e367999a9e07d6ac814551f34c6d2fb3ffcce5aa5764bc2ffe7f
+make_check_pre="xvfb-run"
+
+pre_check() {
+	# needs unpackaged python package xdoctest, see commit
+	# 19ba9331955e3e0c41cc03b4e75dc2c22263bcaf in upstream
+	vsed -e '/addopts/d' -i pyproject.toml
+	unzip ${make_install_target} "*.dist-info/*"
+}
+
+post_install() {
+	vinstall _packaging/appimage/org.gaphor.Gaphor.desktop 644 usr/share/applications
+	vinstall _packaging/appimage/org.gaphor.Gaphor.png 644 usr/share/pixmaps
+}

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

* Re: [PR PATCH] [Updated] New package: gaphor-2.10.0
  2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
  2022-05-24 15:41 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-08-15 15:25 ` TinfoilSubmarine
  2022-08-15 15:42 ` [PR PATCH] [Updated] New package: gaphor-2.11.0 TinfoilSubmarine
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: TinfoilSubmarine @ 2022-08-15 15:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages maint/gaphor
https://github.com/void-linux/void-packages/pull/37270

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

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

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

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

Closes https://github.com/void-linux/void-packages/issues/37145

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

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

From 4ff0ca9fb6e75a1d0b87c817372b5d0ddca4a82a Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:27:21 -0400
Subject: [PATCH 1/8] New package: python3-darkdetect-0.7.1

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

diff --git a/srcpkgs/python3-darkdetect/template b/srcpkgs/python3-darkdetect/template
new file mode 100644
index 000000000000..55c4e0325ef0
--- /dev/null
+++ b/srcpkgs/python3-darkdetect/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-darkdetect'
+pkgname=python3-darkdetect
+version=0.7.1
+revision=1
+wrksrc="darkdetect-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Detect OS Dark Mode from Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="http://github.com/albertosottile/darkdetect"
+distfiles="${PYPI_SITE}/d/darkdetect/darkdetect-${version}.tar.gz"
+checksum=47be3cf5134432ddb616bbffc927237718407914993c82809983e7ccebf49013
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From b0f6cf30e1d1e2dc0abe3637ef48fcabe9743750 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:22:37 -0400
Subject: [PATCH 2/8] New package: python3-gaphas-3.6.0

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

diff --git a/srcpkgs/python3-gaphas/template b/srcpkgs/python3-gaphas/template
new file mode 100644
index 000000000000..1a8c1151ce39
--- /dev/null
+++ b/srcpkgs/python3-gaphas/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-gaphas'
+pkgname=python3-gaphas
+version=3.6.0
+revision=1
+wrksrc="gaphas-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-gobject python3-cairo"
+checkdepends="python3-pytest xvfb-run gtk4 $depends"
+short_desc="GTK+ diagramming widget library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphas.readthedocs.io"
+distfiles="https://github.com/gaphor/gaphas/archive/${version}.tar.gz"
+checksum=96f1be036cf5155dc15508257acf3663cd3ec12154f6ce5011aead10e80c40d1
+make_check_pre="xvfb-run"
+
+if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
+	# https://github.com/gaphor/gaphas/issues/439
+	make_check_args+=" --deselect tests/test_tool_zoom.py::test_zoom_should_center_around_mouse_cursor"
+fi

From ca6e3d11f3bb201211dc654c744e206fa5f20e2e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:17:26 -0400
Subject: [PATCH 3/8] New package: python3-flit_scm-1.7.0

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

diff --git a/srcpkgs/python3-flit_scm/template b/srcpkgs/python3-flit_scm/template
new file mode 100644
index 000000000000..7f8f19c1beb4
--- /dev/null
+++ b/srcpkgs/python3-flit_scm/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-flit_scm'
+pkgname=python3-flit_scm
+version=1.7.0
+revision=1
+wrksrc="flit_scm-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-setuptools_scm python3-tomli"
+depends="$hostmakedepends"
+short_desc="Setuptools_scm to version, flit to build - PEP 518 build backend"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://gitlab.com/WillDaSilva/flit_scm"
+distfiles="${PYPI_SITE}/f/flit_scm/flit_scm-${version}.tar.gz"
+checksum=961bd6fb24f31bba75333c234145fff88e6de0a90fc0f7e5e7c79deca69f6bb2
+make_check=no # no tests specified
+
+post_install() {
+	vlicense LICENSE
+}

From fe6839b691d87f497aa9074fabea08d9da49bf6b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:23:14 -0400
Subject: [PATCH 4/8] New package: python3-exceptiongroup-1.0.0rc8

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

diff --git a/srcpkgs/python3-exceptiongroup/template b/srcpkgs/python3-exceptiongroup/template
new file mode 100644
index 000000000000..8a3d55243a6f
--- /dev/null
+++ b/srcpkgs/python3-exceptiongroup/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-exceptiongroup'
+pkgname=python3-exceptiongroup
+version=1.0.0rc8
+revision=1
+wrksrc="exceptiongroup-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_scm"
+short_desc="Backport of PEP 654 (exception groups)"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT,PSF-2.0"
+homepage="https://github.com/agronholm/exceptiongroup"
+changelog="https://raw.githubusercontent.com/agronholm/exceptiongroup/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/e/exceptiongroup/exceptiongroup-${version}.tar.gz"
+checksum=6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From 193659bfbccbee84f8f7bf5b8ab1bf07a5767213 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 09:55:02 -0400
Subject: [PATCH 5/8] New package: python3-generic-1.1.0

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

diff --git a/srcpkgs/python3-generic/template b/srcpkgs/python3-generic/template
new file mode 100644
index 000000000000..a5bc6b73d197
--- /dev/null
+++ b/srcpkgs/python3-generic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-generic'
+pkgname=python3-generic
+version=1.1.0
+revision=1
+wrksrc="generic-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-exceptiongroup"
+checkdepends="python3-pytest $depends"
+short_desc="Generic programming library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause-Modification"
+homepage="https://generic.readthedocs.io"
+distfiles="https://github.com/gaphor/generic/archive/${version}.tar.gz"
+checksum=8628d1bce4044e7664c149f785d7ad17a388e96c648ee09aef39d73578d52943
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 18c9d608e9c5deaeb5ffdc3e4b6206845a06295b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:42:45 -0400
Subject: [PATCH 6/8] New package: python3-tinycss2-1.1.1

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

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..b9e72e405974
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc=tinycss2-${version}
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest"
+short_desc="Tiny CSS parser"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+pre_check() {
+	vsed -e '/addopts/d' -i pyproject.toml
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 4ee1663def00a064d0d1fe593ee2eca8a550bcd3 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 26 Jul 2022 23:48:44 -0400
Subject: [PATCH 7/8] New package: python3-better_exceptions-0.3.3

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

diff --git a/srcpkgs/python3-better_exceptions/template b/srcpkgs/python3-better_exceptions/template
new file mode 100644
index 000000000000..37086c8a1af6
--- /dev/null
+++ b/srcpkgs/python3-better_exceptions/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-better_exceptions'
+pkgname=python3-better_exceptions
+version=0.3.3
+revision=1
+wrksrc="better_exceptions-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Pretty and useful exceptions in Python, automatically"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://github.com/qix-/better-exceptions"
+distfiles="${PYPI_SITE}/b/better_exceptions/better_exceptions-${version}.tar.gz"
+checksum=e4e6bc18444d5f04e6e894b10381e5e921d3d544240418162c7db57e9eb3453b
+make_check=no # tests are broken
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 7f04e7153444b6ba43c0ce690ddac8c88764ff56 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:39:17 -0400
Subject: [PATCH 8/8] New package: gaphor-2.11.0

---
 srcpkgs/gaphor/patches/desktop.patch | 13 ++++++++++
 srcpkgs/gaphor/template              | 36 ++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/gaphor/patches/desktop.patch
 create mode 100644 srcpkgs/gaphor/template

diff --git a/srcpkgs/gaphor/patches/desktop.patch b/srcpkgs/gaphor/patches/desktop.patch
new file mode 100644
index 000000000000..7b5f2ef3e660
--- /dev/null
+++ b/srcpkgs/gaphor/patches/desktop.patch
@@ -0,0 +1,13 @@
+diff --git a/_packaging/appimage/org.gaphor.Gaphor.desktop b/_packaging/appimage/org.gaphor.Gaphor.desktop
+index 93d3bdb..94651cb 100644
+--- a/_packaging/appimage/org.gaphor.Gaphor.desktop
++++ b/_packaging/appimage/org.gaphor.Gaphor.desktop
+@@ -6,7 +6,7 @@ Comment[fr]=L'outil de modélisation facile
+ Comment[hu]=Egyszerű modellező eszköz
+ Comment[nl]=De eenvoudige modelleertool
+ Comment[pl]=Proste narzędzie do modelowania
+-Exec=gaphor-exe %f
++Exec=gaphor %f
+ Icon=org.gaphor.Gaphor
+ Terminal=false
+ Type=Application
diff --git a/srcpkgs/gaphor/template b/srcpkgs/gaphor/template
new file mode 100644
index 000000000000..98c353398575
--- /dev/null
+++ b/srcpkgs/gaphor/template
@@ -0,0 +1,36 @@
+# Template file for 'gaphor'
+pkgname=gaphor
+version=2.11.0
+revision=1
+build_style=python3-pep517
+# these tests cause segmentation fault or fail on uninstalled package but
+# succeed when run after installed on host
+make_check_args="--ignore=gaphor/ui/tests/test_selftest.py \
+ --ignore=gaphor/ui/tests/test_main.py \
+ --deselect tests/test_gaphorconvert.py::test_export_png"
+make_install_target="gaphor-${version}-*-*-*.whl"
+hostmakedepends="python3-poetry-core"
+depends="python3-cairo python3-gobject python3-gaphas python3-generic
+ python3-tinycss2 python3-jedi python3-darkdetect python3-better_exceptions"
+checkdepends="python3-pytest python3-pytest-mock python3-hypothesis xvfb-run
+ python3-Sphinx gtksourceview4 hicolor-icon-theme unzip $depends"
+short_desc="Simple modeling tool written in Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphor.org"
+changelog="https://raw.githubusercontent.com/gaphor/gaphor/main/NEWS"
+distfiles="https://github.com/gaphor/gaphor/archive/${version}.tar.gz"
+checksum=fc433f58a7844b65c6439ff354b1af692d3e4b926b7476a1353b98f9d96a40d3
+make_check_pre="xvfb-run"
+
+pre_check() {
+	# needs unpackaged python package xdoctest, see commit
+	# 19ba9331955e3e0c41cc03b4e75dc2c22263bcaf in upstream
+	vsed -e '/addopts/d' -i pyproject.toml
+	unzip ${make_install_target} "*.dist-info/*"
+}
+
+post_install() {
+	vinstall _packaging/appimage/org.gaphor.Gaphor.desktop 644 usr/share/applications
+	vinstall _packaging/appimage/org.gaphor.Gaphor.png 644 usr/share/pixmaps
+}

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

* Re: [PR PATCH] [Updated] New package: gaphor-2.11.0
  2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
  2022-05-24 15:41 ` [PR PATCH] [Updated] " TinfoilSubmarine
  2022-08-15 15:25 ` TinfoilSubmarine
@ 2022-08-15 15:42 ` TinfoilSubmarine
  2022-09-01 20:13 ` TinfoilSubmarine
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: TinfoilSubmarine @ 2022-08-15 15:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages maint/gaphor
https://github.com/void-linux/void-packages/pull/37270

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

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

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

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

Closes https://github.com/void-linux/void-packages/issues/37145

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

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

From 4ff0ca9fb6e75a1d0b87c817372b5d0ddca4a82a Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:27:21 -0400
Subject: [PATCH 1/8] New package: python3-darkdetect-0.7.1

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

diff --git a/srcpkgs/python3-darkdetect/template b/srcpkgs/python3-darkdetect/template
new file mode 100644
index 000000000000..55c4e0325ef0
--- /dev/null
+++ b/srcpkgs/python3-darkdetect/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-darkdetect'
+pkgname=python3-darkdetect
+version=0.7.1
+revision=1
+wrksrc="darkdetect-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Detect OS Dark Mode from Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="http://github.com/albertosottile/darkdetect"
+distfiles="${PYPI_SITE}/d/darkdetect/darkdetect-${version}.tar.gz"
+checksum=47be3cf5134432ddb616bbffc927237718407914993c82809983e7ccebf49013
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From b0f6cf30e1d1e2dc0abe3637ef48fcabe9743750 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:22:37 -0400
Subject: [PATCH 2/8] New package: python3-gaphas-3.6.0

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

diff --git a/srcpkgs/python3-gaphas/template b/srcpkgs/python3-gaphas/template
new file mode 100644
index 000000000000..1a8c1151ce39
--- /dev/null
+++ b/srcpkgs/python3-gaphas/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-gaphas'
+pkgname=python3-gaphas
+version=3.6.0
+revision=1
+wrksrc="gaphas-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-gobject python3-cairo"
+checkdepends="python3-pytest xvfb-run gtk4 $depends"
+short_desc="GTK+ diagramming widget library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphas.readthedocs.io"
+distfiles="https://github.com/gaphor/gaphas/archive/${version}.tar.gz"
+checksum=96f1be036cf5155dc15508257acf3663cd3ec12154f6ce5011aead10e80c40d1
+make_check_pre="xvfb-run"
+
+if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
+	# https://github.com/gaphor/gaphas/issues/439
+	make_check_args+=" --deselect tests/test_tool_zoom.py::test_zoom_should_center_around_mouse_cursor"
+fi

From ca6e3d11f3bb201211dc654c744e206fa5f20e2e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:17:26 -0400
Subject: [PATCH 3/8] New package: python3-flit_scm-1.7.0

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

diff --git a/srcpkgs/python3-flit_scm/template b/srcpkgs/python3-flit_scm/template
new file mode 100644
index 000000000000..7f8f19c1beb4
--- /dev/null
+++ b/srcpkgs/python3-flit_scm/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-flit_scm'
+pkgname=python3-flit_scm
+version=1.7.0
+revision=1
+wrksrc="flit_scm-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-setuptools_scm python3-tomli"
+depends="$hostmakedepends"
+short_desc="Setuptools_scm to version, flit to build - PEP 518 build backend"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://gitlab.com/WillDaSilva/flit_scm"
+distfiles="${PYPI_SITE}/f/flit_scm/flit_scm-${version}.tar.gz"
+checksum=961bd6fb24f31bba75333c234145fff88e6de0a90fc0f7e5e7c79deca69f6bb2
+make_check=no # no tests specified
+
+post_install() {
+	vlicense LICENSE
+}

From fe6839b691d87f497aa9074fabea08d9da49bf6b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:23:14 -0400
Subject: [PATCH 4/8] New package: python3-exceptiongroup-1.0.0rc8

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

diff --git a/srcpkgs/python3-exceptiongroup/template b/srcpkgs/python3-exceptiongroup/template
new file mode 100644
index 000000000000..8a3d55243a6f
--- /dev/null
+++ b/srcpkgs/python3-exceptiongroup/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-exceptiongroup'
+pkgname=python3-exceptiongroup
+version=1.0.0rc8
+revision=1
+wrksrc="exceptiongroup-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_scm"
+short_desc="Backport of PEP 654 (exception groups)"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT,PSF-2.0"
+homepage="https://github.com/agronholm/exceptiongroup"
+changelog="https://raw.githubusercontent.com/agronholm/exceptiongroup/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/e/exceptiongroup/exceptiongroup-${version}.tar.gz"
+checksum=6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From 193659bfbccbee84f8f7bf5b8ab1bf07a5767213 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 09:55:02 -0400
Subject: [PATCH 5/8] New package: python3-generic-1.1.0

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

diff --git a/srcpkgs/python3-generic/template b/srcpkgs/python3-generic/template
new file mode 100644
index 000000000000..a5bc6b73d197
--- /dev/null
+++ b/srcpkgs/python3-generic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-generic'
+pkgname=python3-generic
+version=1.1.0
+revision=1
+wrksrc="generic-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-exceptiongroup"
+checkdepends="python3-pytest $depends"
+short_desc="Generic programming library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause-Modification"
+homepage="https://generic.readthedocs.io"
+distfiles="https://github.com/gaphor/generic/archive/${version}.tar.gz"
+checksum=8628d1bce4044e7664c149f785d7ad17a388e96c648ee09aef39d73578d52943
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 18c9d608e9c5deaeb5ffdc3e4b6206845a06295b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:42:45 -0400
Subject: [PATCH 6/8] New package: python3-tinycss2-1.1.1

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

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..b9e72e405974
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc=tinycss2-${version}
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest"
+short_desc="Tiny CSS parser"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+pre_check() {
+	vsed -e '/addopts/d' -i pyproject.toml
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 4ee1663def00a064d0d1fe593ee2eca8a550bcd3 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 26 Jul 2022 23:48:44 -0400
Subject: [PATCH 7/8] New package: python3-better_exceptions-0.3.3

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

diff --git a/srcpkgs/python3-better_exceptions/template b/srcpkgs/python3-better_exceptions/template
new file mode 100644
index 000000000000..37086c8a1af6
--- /dev/null
+++ b/srcpkgs/python3-better_exceptions/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-better_exceptions'
+pkgname=python3-better_exceptions
+version=0.3.3
+revision=1
+wrksrc="better_exceptions-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Pretty and useful exceptions in Python, automatically"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://github.com/qix-/better-exceptions"
+distfiles="${PYPI_SITE}/b/better_exceptions/better_exceptions-${version}.tar.gz"
+checksum=e4e6bc18444d5f04e6e894b10381e5e921d3d544240418162c7db57e9eb3453b
+make_check=no # tests are broken
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 3f9f89bb0f937e1f55888b7c6c75cf2a57dd1436 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:39:17 -0400
Subject: [PATCH 8/8] New package: gaphor-2.11.0

---
 srcpkgs/gaphor/patches/desktop.patch | 13 +++++++++
 srcpkgs/gaphor/template              | 41 ++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/gaphor/patches/desktop.patch
 create mode 100644 srcpkgs/gaphor/template

diff --git a/srcpkgs/gaphor/patches/desktop.patch b/srcpkgs/gaphor/patches/desktop.patch
new file mode 100644
index 000000000000..7b5f2ef3e660
--- /dev/null
+++ b/srcpkgs/gaphor/patches/desktop.patch
@@ -0,0 +1,13 @@
+diff --git a/_packaging/appimage/org.gaphor.Gaphor.desktop b/_packaging/appimage/org.gaphor.Gaphor.desktop
+index 93d3bdb..94651cb 100644
+--- a/_packaging/appimage/org.gaphor.Gaphor.desktop
++++ b/_packaging/appimage/org.gaphor.Gaphor.desktop
+@@ -6,7 +6,7 @@ Comment[fr]=L'outil de modélisation facile
+ Comment[hu]=Egyszerű modellező eszköz
+ Comment[nl]=De eenvoudige modelleertool
+ Comment[pl]=Proste narzędzie do modelowania
+-Exec=gaphor-exe %f
++Exec=gaphor %f
+ Icon=org.gaphor.Gaphor
+ Terminal=false
+ Type=Application
diff --git a/srcpkgs/gaphor/template b/srcpkgs/gaphor/template
new file mode 100644
index 000000000000..2efcc4b0a9e0
--- /dev/null
+++ b/srcpkgs/gaphor/template
@@ -0,0 +1,41 @@
+# Template file for 'gaphor'
+pkgname=gaphor
+version=2.11.0
+revision=1
+build_style=python3-pep517
+# these tests cause segmentation fault or fail on uninstalled package but
+# succeed when run after installed on host
+make_check_args="--ignore=gaphor/ui/tests/test_selftest.py \
+ --ignore=gaphor/ui/tests/test_main.py \
+ --deselect tests/test_gaphorconvert.py::test_export_png"
+make_install_target="gaphor-${version}-*-*-*.whl"
+hostmakedepends="python3-poetry-core"
+depends="python3-cairo python3-gobject python3-gaphas python3-generic
+ python3-tinycss2 python3-jedi python3-darkdetect python3-better_exceptions"
+checkdepends="python3-pytest python3-pytest-mock python3-hypothesis xvfb-run
+ python3-Sphinx gtksourceview4 hicolor-icon-theme unzip $depends"
+short_desc="Simple modeling tool written in Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphor.org"
+changelog="https://raw.githubusercontent.com/gaphor/gaphor/main/NEWS"
+distfiles="https://github.com/gaphor/gaphor/archive/${version}.tar.gz"
+checksum=fc433f58a7844b65c6439ff354b1af692d3e4b926b7476a1353b98f9d96a40d3
+make_check_pre="xvfb-run"
+
+# GitHub CI runner segfaults on this test, but it works fine locally
+if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
+	make_check_args+=" --ignore gaphor/ui/tests/test_statuswindow.py"
+fi
+
+pre_check() {
+	# needs unpackaged python package xdoctest, see commit
+	# 19ba9331955e3e0c41cc03b4e75dc2c22263bcaf in upstream
+	vsed -e '/addopts/d' -i pyproject.toml
+	unzip ${make_install_target} "*.dist-info/*"
+}
+
+post_install() {
+	vinstall _packaging/appimage/org.gaphor.Gaphor.desktop 644 usr/share/applications
+	vinstall _packaging/appimage/org.gaphor.Gaphor.png 644 usr/share/pixmaps
+}

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

* Re: New package: gaphor-2.11.0
  2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
                   ` (2 preceding siblings ...)
  2022-08-15 15:42 ` [PR PATCH] [Updated] New package: gaphor-2.11.0 TinfoilSubmarine
@ 2022-09-01 20:13 ` TinfoilSubmarine
  2022-10-10 12:55 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: TinfoilSubmarine @ 2022-09-01 20:13 UTC (permalink / raw)
  To: ml

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

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/37270#issuecomment-1234733799

Comment:
I still don't fully understand why those tests are segfaulting, but they do all pass on my machine, so this is ready for merge unless someone else has an idea of how to get those tests (reliably) passing in chroot.

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

* Re: [PR PATCH] [Updated] New package: gaphor-2.11.0
  2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
                   ` (3 preceding siblings ...)
  2022-09-01 20:13 ` TinfoilSubmarine
@ 2022-10-10 12:55 ` TinfoilSubmarine
  2023-01-09  1:58 ` New package: gaphor-2.12.1 github-actions
  2023-01-24  1:58 ` [PR PATCH] [Closed]: " github-actions
  6 siblings, 0 replies; 8+ messages in thread
From: TinfoilSubmarine @ 2022-10-10 12:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages maint/gaphor
https://github.com/void-linux/void-packages/pull/37270

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

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

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

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

Closes https://github.com/void-linux/void-packages/issues/37145

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

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

From f431aed0ebe05a0bcc31c82e620cada5683fc55d Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:27:21 -0400
Subject: [PATCH 1/8] New package: python3-darkdetect-0.7.1

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

diff --git a/srcpkgs/python3-darkdetect/template b/srcpkgs/python3-darkdetect/template
new file mode 100644
index 000000000000..55c4e0325ef0
--- /dev/null
+++ b/srcpkgs/python3-darkdetect/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-darkdetect'
+pkgname=python3-darkdetect
+version=0.7.1
+revision=1
+wrksrc="darkdetect-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Detect OS Dark Mode from Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="http://github.com/albertosottile/darkdetect"
+distfiles="${PYPI_SITE}/d/darkdetect/darkdetect-${version}.tar.gz"
+checksum=47be3cf5134432ddb616bbffc927237718407914993c82809983e7ccebf49013
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From b8cc9c2b49349d956d46f888d3267b8bc11d9ca9 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:22:37 -0400
Subject: [PATCH 2/8] New package: python3-gaphas-3.8.1

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

diff --git a/srcpkgs/python3-gaphas/template b/srcpkgs/python3-gaphas/template
new file mode 100644
index 000000000000..c877d78a2635
--- /dev/null
+++ b/srcpkgs/python3-gaphas/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-gaphas'
+pkgname=python3-gaphas
+version=3.8.1
+revision=1
+wrksrc="gaphas-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-gobject python3-cairo"
+checkdepends="python3-pytest xvfb-run gtk4 $depends"
+short_desc="GTK+ diagramming widget library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphas.readthedocs.io"
+distfiles="https://github.com/gaphor/gaphas/archive/${version}.tar.gz"
+checksum=2e86a1d401001b80ba5612b61aa4595378e94e29aa614af7c7d0637cc53920d5
+make_check_pre="xvfb-run"

From 914bb06492d7624b0addb765f131cb1e334b4215 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:17:26 -0400
Subject: [PATCH 3/8] New package: python3-flit_scm-1.7.0

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

diff --git a/srcpkgs/python3-flit_scm/template b/srcpkgs/python3-flit_scm/template
new file mode 100644
index 000000000000..7f8f19c1beb4
--- /dev/null
+++ b/srcpkgs/python3-flit_scm/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-flit_scm'
+pkgname=python3-flit_scm
+version=1.7.0
+revision=1
+wrksrc="flit_scm-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-setuptools_scm python3-tomli"
+depends="$hostmakedepends"
+short_desc="Setuptools_scm to version, flit to build - PEP 518 build backend"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://gitlab.com/WillDaSilva/flit_scm"
+distfiles="${PYPI_SITE}/f/flit_scm/flit_scm-${version}.tar.gz"
+checksum=961bd6fb24f31bba75333c234145fff88e6de0a90fc0f7e5e7c79deca69f6bb2
+make_check=no # no tests specified
+
+post_install() {
+	vlicense LICENSE
+}

From de0ef79286289c1b5a35588600f14bda2047b1a4 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:23:14 -0400
Subject: [PATCH 4/8] New package: python3-exceptiongroup-1.0.0rc9

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

diff --git a/srcpkgs/python3-exceptiongroup/template b/srcpkgs/python3-exceptiongroup/template
new file mode 100644
index 000000000000..2522e5f65e86
--- /dev/null
+++ b/srcpkgs/python3-exceptiongroup/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-exceptiongroup'
+pkgname=python3-exceptiongroup
+version=1.0.0rc9
+revision=1
+wrksrc="exceptiongroup-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_scm"
+short_desc="Backport of PEP 654 (exception groups)"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT,PSF-2.0"
+homepage="https://github.com/agronholm/exceptiongroup"
+changelog="https://raw.githubusercontent.com/agronholm/exceptiongroup/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/e/exceptiongroup/exceptiongroup-${version}.tar.gz"
+checksum=9086a4a21ef9b31c72181c77c040a074ba0889ee56a7b289ff0afb0d97655f96
+make_check=no # no tests included
+
+post_install() {
+	vlicense LICENSE
+}

From 4d9aa6b75c5d9ab73eaae469754a0ca332e1c6a7 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 09:55:02 -0400
Subject: [PATCH 5/8] New package: python3-generic-1.1.0

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

diff --git a/srcpkgs/python3-generic/template b/srcpkgs/python3-generic/template
new file mode 100644
index 000000000000..a5bc6b73d197
--- /dev/null
+++ b/srcpkgs/python3-generic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-generic'
+pkgname=python3-generic
+version=1.1.0
+revision=1
+wrksrc="generic-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-exceptiongroup"
+checkdepends="python3-pytest $depends"
+short_desc="Generic programming library for Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause-Modification"
+homepage="https://generic.readthedocs.io"
+distfiles="https://github.com/gaphor/generic/archive/${version}.tar.gz"
+checksum=8628d1bce4044e7664c149f785d7ad17a388e96c648ee09aef39d73578d52943
+
+post_install() {
+	vlicense LICENSE.txt
+}

From f72fd7292f6a5e90d3e1bd607f947fd2d7221958 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 11:42:45 -0400
Subject: [PATCH 6/8] New package: python3-tinycss2-1.1.1

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

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..b9e72e405974
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc=tinycss2-${version}
+build_style=python3-pep517
+hostmakedepends="python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest"
+short_desc="Tiny CSS parser"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+pre_check() {
+	vsed -e '/addopts/d' -i pyproject.toml
+}
+
+post_install() {
+	vlicense LICENSE
+}

From d095e7dca427fd668747c05ff21a95deb7e97503 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 26 Jul 2022 23:48:44 -0400
Subject: [PATCH 7/8] New package: python3-better_exceptions-0.3.3

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

diff --git a/srcpkgs/python3-better_exceptions/template b/srcpkgs/python3-better_exceptions/template
new file mode 100644
index 000000000000..37086c8a1af6
--- /dev/null
+++ b/srcpkgs/python3-better_exceptions/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-better_exceptions'
+pkgname=python3-better_exceptions
+version=0.3.3
+revision=1
+wrksrc="better_exceptions-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Pretty and useful exceptions in Python, automatically"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+homepage="https://github.com/qix-/better-exceptions"
+distfiles="${PYPI_SITE}/b/better_exceptions/better_exceptions-${version}.tar.gz"
+checksum=e4e6bc18444d5f04e6e894b10381e5e921d3d544240418162c7db57e9eb3453b
+make_check=no # tests are broken
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 3214ad6bd623fd965b87e50ba8baec852f250cb9 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 23 May 2022 10:39:17 -0400
Subject: [PATCH 8/8] New package: gaphor-2.12.1

---
 srcpkgs/gaphor/patches/desktop.patch | 13 +++++++++
 srcpkgs/gaphor/template              | 41 ++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/gaphor/patches/desktop.patch
 create mode 100644 srcpkgs/gaphor/template

diff --git a/srcpkgs/gaphor/patches/desktop.patch b/srcpkgs/gaphor/patches/desktop.patch
new file mode 100644
index 000000000000..7b5f2ef3e660
--- /dev/null
+++ b/srcpkgs/gaphor/patches/desktop.patch
@@ -0,0 +1,13 @@
+diff --git a/_packaging/appimage/org.gaphor.Gaphor.desktop b/_packaging/appimage/org.gaphor.Gaphor.desktop
+index 93d3bdb..94651cb 100644
+--- a/_packaging/appimage/org.gaphor.Gaphor.desktop
++++ b/_packaging/appimage/org.gaphor.Gaphor.desktop
+@@ -6,7 +6,7 @@ Comment[fr]=L'outil de modélisation facile
+ Comment[hu]=Egyszerű modellező eszköz
+ Comment[nl]=De eenvoudige modelleertool
+ Comment[pl]=Proste narzędzie do modelowania
+-Exec=gaphor-exe %f
++Exec=gaphor %f
+ Icon=org.gaphor.Gaphor
+ Terminal=false
+ Type=Application
diff --git a/srcpkgs/gaphor/template b/srcpkgs/gaphor/template
new file mode 100644
index 000000000000..5005e7cef901
--- /dev/null
+++ b/srcpkgs/gaphor/template
@@ -0,0 +1,41 @@
+# Template file for 'gaphor'
+pkgname=gaphor
+version=2.12.1
+revision=1
+build_style=python3-pep517
+# these tests sporadically segmentation fault or fail on uninstalled package
+# but succeed when run after installed on host
+make_check_args="--ignore=gaphor/ui/tests/test_selftest.py
+ --ignore=gaphor/ui/tests/test_main.py
+ --ignore=gaphor/ui/tests/test_mainwindow.py
+ --ignore=gaphor/ui/tests/test_statuswindow.py
+ --ignore=gaphor/plugins/console/tests/test_console.py
+ --ignore=gaphor/plugins/console/tests/test_consolewindow.py
+ --ignore=gaphor/plugins/errorreports/tests/test_errorreport.py
+ --deselect=tests/test_gaphorconvert.py::test_export_png"
+make_install_target="gaphor-${version}-*-*-*.whl"
+hostmakedepends="python3-poetry-core"
+depends="python3-cairo python3-gobject python3-gaphas python3-generic
+ python3-tinycss2 python3-jedi python3-darkdetect python3-better_exceptions"
+checkdepends="python3-pytest python3-pytest-mock python3-hypothesis xvfb-run
+ python3-Sphinx gtksourceview5 libadwaita hicolor-icon-theme unzip $depends"
+short_desc="Simple modeling tool written in Python"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://gaphor.org"
+changelog="https://raw.githubusercontent.com/gaphor/gaphor/main/NEWS"
+distfiles="https://github.com/gaphor/gaphor/archive/${version}.tar.gz"
+checksum=1f38c6c61d3bed54844cc31de1a18426b6a1c43b43a7d9d3d0f262df32aebc81
+make_check_pre="xvfb-run"
+
+pre_check() {
+	# needs unpackaged python package xdoctest, see commit
+	# 19ba9331955e3e0c41cc03b4e75dc2c22263bcaf in upstream
+	vsed -e '/addopts/d' -i pyproject.toml
+	unzip ${make_install_target} "*.dist-info/*"
+}
+
+post_install() {
+	vinstall _packaging/appimage/org.gaphor.Gaphor.desktop 644 usr/share/applications
+	vinstall _packaging/appimage/org.gaphor.Gaphor.png 644 usr/share/pixmaps
+}

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

* Re: New package: gaphor-2.12.1
  2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
                   ` (4 preceding siblings ...)
  2022-10-10 12:55 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2023-01-09  1:58 ` github-actions
  2023-01-24  1:58 ` [PR PATCH] [Closed]: " github-actions
  6 siblings, 0 replies; 8+ messages in thread
From: github-actions @ 2023-01-09  1:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-linux/void-packages/pull/37270#issuecomment-1375016042

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

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

* Re: [PR PATCH] [Closed]: New package: gaphor-2.12.1
  2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
                   ` (5 preceding siblings ...)
  2023-01-09  1:58 ` New package: gaphor-2.12.1 github-actions
@ 2023-01-24  1:58 ` github-actions
  6 siblings, 0 replies; 8+ messages in thread
From: github-actions @ 2023-01-24  1:58 UTC (permalink / raw)
  To: ml

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

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

New package: gaphor-2.12.1
https://github.com/void-linux/void-packages/pull/37270

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

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

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

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

Closes https://github.com/void-linux/void-packages/issues/37145

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

end of thread, other threads:[~2023-01-24  1:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 15:38 [PR PATCH] New package: gaphor-2.10.0 TinfoilSubmarine
2022-05-24 15:41 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-08-15 15:25 ` TinfoilSubmarine
2022-08-15 15:42 ` [PR PATCH] [Updated] New package: gaphor-2.11.0 TinfoilSubmarine
2022-09-01 20:13 ` TinfoilSubmarine
2022-10-10 12:55 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-01-09  1:58 ` New package: gaphor-2.12.1 github-actions
2023-01-24  1:58 ` [PR PATCH] [Closed]: " github-actions

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