Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: mnemosyne-2.9
@ 2022-10-20 21:44 Eloitor
  2022-10-20 21:46 ` [PR PATCH] [Updated] " Eloitor
                   ` (58 more replies)
  0 siblings, 59 replies; 60+ messages in thread
From: Eloitor @ 2022-10-20 21:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.9
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259

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

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

From f89f6274816c6aad316406c7a9e918efdffca6f1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..49c09d0ac077
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="A Python library and CLI tool to interface with Google Translate text-to-speech API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f

From a538c2a556c6aedfa4c94b9d3d8ea00fbddb8448 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-3.0.1

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..10a8ab6cb66d
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=3.0.1
+revision=1
+wrksrc=sybil-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+#changelog=""
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=6f02dc2204af7e5a212037924d974f72781f6dc18fd3c44cc7ce463a120f530d

From 2596437f563b8cd8533159fb1cae799ccdcf9858 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.0.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..2d7493bda872
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+#archs="i686 x86_64"
+wrksrc=testfixtures-${version}
+#create_wrksrc=yes
+build_style=python3-module
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+#changelog=""
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+
+do_check() {
+    cd build/lib
+    pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+  }

From 4629672406ba7b550888f9aa68d0374b8e1bdb01 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..b511d455a248
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,17 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+pycompile_module="mnesomyne"
+hostmakedepends="python3-setuptools"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
@ 2022-10-20 21:46 ` Eloitor
  2022-10-20 22:13 ` Eloitor
                   ` (57 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2022-10-20 21:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.9
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259

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

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

From f89f6274816c6aad316406c7a9e918efdffca6f1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..49c09d0ac077
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="A Python library and CLI tool to interface with Google Translate text-to-speech API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f

From a538c2a556c6aedfa4c94b9d3d8ea00fbddb8448 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-3.0.1

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..10a8ab6cb66d
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=3.0.1
+revision=1
+wrksrc=sybil-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+#changelog=""
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=6f02dc2204af7e5a212037924d974f72781f6dc18fd3c44cc7ce463a120f530d

From 4fad4cf840ed7c5027cfeb9156e4d9c25715586a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.0.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..409cd48e9ff3
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+wrksrc=testfixtures-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+
+do_check() {
+    cd build/lib
+    pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+  }

From 15a48d2626c443ef2d822717fb14c3babd84e030 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..b511d455a248
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,17 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+pycompile_module="mnesomyne"
+hostmakedepends="python3-setuptools"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
  2022-10-20 21:46 ` [PR PATCH] [Updated] " Eloitor
@ 2022-10-20 22:13 ` Eloitor
  2022-10-20 22:24 ` Eloitor
                   ` (56 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2022-10-20 22:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.9
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259

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

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

From a4640e02550ce0be46c46376e397cce546f22214 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..a363efda4691
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+do_install() {
+	vlicense LICENSE
+}

From d4663d67f3eb58a9e803c8851e836f88014ef943 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-3.0.1

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..351192538f7b
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=3.0.1
+revision=1
+wrksrc=sybil-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=6f02dc2204af7e5a212037924d974f72781f6dc18fd3c44cc7ce463a120f530d
+
+do_install() {
+	vlicense docs/license.rst
+}

From f45dda90d482875cc1afb5c0f6b65b9c692e586e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.0.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..ee55776cf6a2
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+wrksrc=testfixtures-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+do_install() {
+	vlicense LICENSE.txt
+}

From 575047216d305399d2c04737e149dd019056b82b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..9163231cc48b
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3

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

* Re: [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
  2022-10-20 21:46 ` [PR PATCH] [Updated] " Eloitor
  2022-10-20 22:13 ` Eloitor
@ 2022-10-20 22:24 ` Eloitor
  2022-10-20 23:31 ` classabbyamp
                   ` (55 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2022-10-20 22:24 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1286225385

Comment:
I don't know how to fix this
```
=> python3-testfixtures-7.0.0_1: running do_check ...
ImportError while loading conftest '/builddir/testfixtures-7.0.0/conftest.py'.
../../conftest.py:3: in <module>
    from sybil import Sybil
E   ModuleNotFoundError: No module named 'sybil'
```
I tried adding `python3-sybil` to the depends list with no luck.

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

* Re: [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (2 preceding siblings ...)
  2022-10-20 22:24 ` Eloitor
@ 2022-10-20 23:31 ` classabbyamp
  2022-10-20 23:32 ` classabbyamp
                   ` (54 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: classabbyamp @ 2022-10-20 23:31 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1286272247

Comment:
add it to checkdepends

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

* Re: [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (3 preceding siblings ...)
  2022-10-20 23:31 ` classabbyamp
@ 2022-10-20 23:32 ` classabbyamp
  2022-10-21 13:02 ` [PR PATCH] [Updated] " Eloitor
                   ` (53 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: classabbyamp @ 2022-10-20 23:32 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1286272247

Comment:
add it to checkdepends

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (4 preceding siblings ...)
  2022-10-20 23:32 ` classabbyamp
@ 2022-10-21 13:02 ` Eloitor
  2023-03-30  1:56 ` github-actions
                   ` (52 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2022-10-21 13:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.9
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259

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

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

From 7b80f51e89a075e737ac150e52cdecda37499c94 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..682d71524efe
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+post_install() {
+	vlicense LICENSE
+}

From 9e8aee1bd51a6eb3a53ec5947d9a10c310005127 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-3.0.1

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..df62ef480daa
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=3.0.1
+revision=1
+wrksrc=sybil-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=6f02dc2204af7e5a212037924d974f72781f6dc18fd3c44cc7ce463a120f530d
+
+post_install() {
+	vlicense docs/license.rst
+}

From e2a47c55c545fc3a439c623789439cda2c00a7f8 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.0.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..d9e66b7bf600
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+wrksrc=testfixtures-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 0f0e06150aa82b0dea471328c6bb5c48cfd9892e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..9163231cc48b
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3

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

* Re: [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (5 preceding siblings ...)
  2022-10-21 13:02 ` [PR PATCH] [Updated] " Eloitor
@ 2023-03-30  1:56 ` github-actions
  2023-03-30 10:25 ` Eloitor
                   ` (51 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: github-actions @ 2023-03-30  1:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1489573605

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] 60+ messages in thread

* Re: [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (6 preceding siblings ...)
  2023-03-30  1:56 ` github-actions
@ 2023-03-30 10:25 ` Eloitor
  2023-05-26 11:10 ` [PR PATCH] [Updated] " Eloitor
                   ` (50 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-03-30 10:25 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1490061589

Comment:
I'll try to update it to 2.10.1

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.9
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (7 preceding siblings ...)
  2023-03-30 10:25 ` Eloitor
@ 2023-05-26 11:10 ` Eloitor
  2023-05-26 12:35 ` [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1 Eloitor
                   ` (49 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-05-26 11:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.9
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 84e1d8d140ddc776ac03281caee141032d3f1662 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..a363efda4691
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+do_install() {
+	vlicense LICENSE
+}

From a772b53a44e3083fceb7ea036aab053072576d7d Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/5] New package: python3-sybil-3.0.1

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..351192538f7b
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=3.0.1
+revision=1
+wrksrc=sybil-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=6f02dc2204af7e5a212037924d974f72781f6dc18fd3c44cc7ce463a120f530d
+
+do_install() {
+	vlicense docs/license.rst
+}

From 6301e6c1759a04094ff0b9c8ad48c32ad0739187 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/5] New package: python3-testfixtures-7.0.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..ee55776cf6a2
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+wrksrc=testfixtures-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+do_install() {
+	vlicense LICENSE.txt
+}

From 228632a3f561fe9a706b1b54a2bc4f7785213e3b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 12:40:46 +0200
Subject: [PATCH 4/5] New package: python3-google-trans-new-1.1.9

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

diff --git a/srcpkgs/python3-google-trans-new/template b/srcpkgs/python3-google-trans-new/template
new file mode 100644
index 000000000000..cdf152715726
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-google-trans-new'
+pkgname=python3-google-trans-new
+version=1.1.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-requests python3-urllib3"
+checkdepends="python3-requests"
+short_desc="Free and unlimited python API for google translate"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/lushan88a/google_trans_new"
+distfiles="${PYPI_SITE}/g/google_trans_new/google_trans_new-${version}.tar.gz"
+checksum=9f6643420334cc1b94ebd84e03774736e76c0564208efb1bc9c5019b9820e19b

From 2557707d31bb557196343af8b66153f592ba2eb1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/5] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..a058fdae53d7
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt6-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (8 preceding siblings ...)
  2023-05-26 11:10 ` [PR PATCH] [Updated] " Eloitor
@ 2023-05-26 12:35 ` Eloitor
  2023-05-26 12:50 ` Eloitor
                   ` (48 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-05-26 12:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 84e1d8d140ddc776ac03281caee141032d3f1662 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/6] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..a363efda4691
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+do_install() {
+	vlicense LICENSE
+}

From 4316562cf8e28002a2cb17921993d82d84099347 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/6] New package: python3-sybil-5.0.2

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..6b468847d360
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-seedir python3-testfixtures"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=2a2d6c3671a9c214b2d766f93338235ac7c7937d8639132db70c9d9b6ee4a412
+
+do_install() {
+	vlicense docs/license.rst
+}

From f20c8b994ce070f7ae48378c7977a04d3136395e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/6] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..1468b1910ec2
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=no # Cyclic dependency sybil
+
+do_install() {
+	vlicense LICENSE.txt
+}

From d61b4ffd0a8e61512def33dd9e958a03ebef4e92 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 12:40:46 +0200
Subject: [PATCH 4/6] New package: python3-google-trans-new-1.1.9

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

diff --git a/srcpkgs/python3-google-trans-new/template b/srcpkgs/python3-google-trans-new/template
new file mode 100644
index 000000000000..cdf152715726
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-google-trans-new'
+pkgname=python3-google-trans-new
+version=1.1.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-requests python3-urllib3"
+checkdepends="python3-requests"
+short_desc="Free and unlimited python API for google translate"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/lushan88a/google_trans_new"
+distfiles="${PYPI_SITE}/g/google_trans_new/google_trans_new-${version}.tar.gz"
+checksum=9f6643420334cc1b94ebd84e03774736e76c0564208efb1bc9c5019b9820e19b

From 06f40c50e676bf7de92c7d621f14c3f86983b02d Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/6] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..a058fdae53d7
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt6-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From 73c17515dc05108edba3e21a8a6342687f4bf58d Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 13:40:39 +0200
Subject: [PATCH 6/6] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 000000000000..7172945662a5
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-natsort"
+checkdepends="python3-natsort"
+short_desc="Package for creating, editing, and reading folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://raw.githubusercontent.com/earnestt1234/seedir/master/CHANGELOG.md"
+distfiles="https://github.com/earnestt1234/seedir/archive/refs/tags/v${version}.tar.gz"
+checksum=e53419785b55cfb1207669275405a42c6e88e8438a87f8ce5b70b166f2aef4af
+
+do_check() {
+	python3 -m unittest tests/tests.py
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (9 preceding siblings ...)
  2023-05-26 12:35 ` [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1 Eloitor
@ 2023-05-26 12:50 ` Eloitor
  2023-05-26 12:53 ` Eloitor
                   ` (47 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-05-26 12:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 84e1d8d140ddc776ac03281caee141032d3f1662 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/7] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..a363efda4691
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+do_install() {
+	vlicense LICENSE
+}

From 4316562cf8e28002a2cb17921993d82d84099347 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/7] New package: python3-sybil-5.0.2

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..6b468847d360
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-seedir python3-testfixtures"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=2a2d6c3671a9c214b2d766f93338235ac7c7937d8639132db70c9d9b6ee4a412
+
+do_install() {
+	vlicense docs/license.rst
+}

From f20c8b994ce070f7ae48378c7977a04d3136395e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/7] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..1468b1910ec2
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=no # Cyclic dependency sybil
+
+do_install() {
+	vlicense LICENSE.txt
+}

From 91c7e123fe9bfe0e09ecf04630d9102495559b17 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 12:40:46 +0200
Subject: [PATCH 4/7] New package: python3-google-trans-new-1.1.9

---
 .../python3-google-trans-new/files/LICENSE    | 22 +++++++++++++++++++
 srcpkgs/python3-google-trans-new/template     | 18 +++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/python3-google-trans-new/files/LICENSE
 create mode 100644 srcpkgs/python3-google-trans-new/template

diff --git a/srcpkgs/python3-google-trans-new/files/LICENSE b/srcpkgs/python3-google-trans-new/files/LICENSE
new file mode 100644
index 000000000000..2f9d336342b5
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/files/LICENSE
@@ -0,0 +1,22 @@
+
+MIT License
+
+Copyright (c) 2020 lushan88a
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/srcpkgs/python3-google-trans-new/template b/srcpkgs/python3-google-trans-new/template
new file mode 100644
index 000000000000..2f00eea91f7e
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-google-trans-new'
+pkgname=python3-google-trans-new
+version=1.1.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-requests python3-urllib3"
+checkdepends="python3-requests"
+short_desc="Free and unlimited python API for google translate"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/lushan88a/google_trans_new"
+distfiles="${PYPI_SITE}/g/google_trans_new/google_trans_new-${version}.tar.gz"
+checksum=9f6643420334cc1b94ebd84e03774736e76c0564208efb1bc9c5019b9820e19b
+
+post_install() {
+	vlicense ${FILESDIR}/LICENSE
+}

From 8b8ad6f0ee5bb2953fd4504a194733af7bbaf3ce Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/7] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..a058fdae53d7
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt6-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From fc84488beaf7eebf0c7f36f7df48b8590f9286fe Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 13:40:39 +0200
Subject: [PATCH 6/7] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 000000000000..2f5037660b3a
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-natsort"
+checkdepends="python3-natsort"
+short_desc="Package for creating, editing, and reading folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://raw.githubusercontent.com/earnestt1234/seedir/master/CHANGELOG.md"
+distfiles="https://github.com/earnestt1234/seedir/archive/refs/tags/v${version}.tar.gz"
+checksum=e53419785b55cfb1207669275405a42c6e88e8438a87f8ce5b70b166f2aef4af
+
+do_check() {
+	python3 -m unittest tests/tests.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

From f1f45cdd997926b5887d435ec0213291f64519b2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 14:42:05 +0200
Subject: [PATCH 7/7] python3-gtts: update to 2.3.2.

---
 srcpkgs/python3-gtts/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
index a363efda4691..17b4fd45d380 100644
--- a/srcpkgs/python3-gtts/template
+++ b/srcpkgs/python3-gtts/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-gtts'
 pkgname=python3-gtts
-version=2.2.2
+version=2.3.2
 revision=1
-wrksrc=gTTS-${version}
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3 python3-click"
@@ -11,9 +10,10 @@ short_desc="Module and CLI text-to-speech tool using Google Translate API"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"
 homepage="https://github.com/pndurette/gTTS"
+changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
-checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
 
-do_install() {
+post_install() {
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (10 preceding siblings ...)
  2023-05-26 12:50 ` Eloitor
@ 2023-05-26 12:53 ` Eloitor
  2023-05-26 12:55 ` Eloitor
                   ` (46 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-05-26 12:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 84e1d8d140ddc776ac03281caee141032d3f1662 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/7] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..a363efda4691
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+do_install() {
+	vlicense LICENSE
+}

From 4316562cf8e28002a2cb17921993d82d84099347 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/7] New package: python3-sybil-5.0.2

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..6b468847d360
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-seedir python3-testfixtures"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=2a2d6c3671a9c214b2d766f93338235ac7c7937d8639132db70c9d9b6ee4a412
+
+do_install() {
+	vlicense docs/license.rst
+}

From f20c8b994ce070f7ae48378c7977a04d3136395e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/7] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..1468b1910ec2
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=no # Cyclic dependency sybil
+
+do_install() {
+	vlicense LICENSE.txt
+}

From 22407ca654de80060c759be631ff9d0da252e137 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 12:40:46 +0200
Subject: [PATCH 4/7] New package: python3-google-trans-new-1.1.9

---
 .../python3-google-trans-new/files/LICENSE    | 21 +++++++++++++++++++
 srcpkgs/python3-google-trans-new/template     | 18 ++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/python3-google-trans-new/files/LICENSE
 create mode 100644 srcpkgs/python3-google-trans-new/template

diff --git a/srcpkgs/python3-google-trans-new/files/LICENSE b/srcpkgs/python3-google-trans-new/files/LICENSE
new file mode 100644
index 000000000000..1d7f8dd29cfd
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/files/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 lushan88a
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/srcpkgs/python3-google-trans-new/template b/srcpkgs/python3-google-trans-new/template
new file mode 100644
index 000000000000..2f00eea91f7e
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-google-trans-new'
+pkgname=python3-google-trans-new
+version=1.1.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-requests python3-urllib3"
+checkdepends="python3-requests"
+short_desc="Free and unlimited python API for google translate"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/lushan88a/google_trans_new"
+distfiles="${PYPI_SITE}/g/google_trans_new/google_trans_new-${version}.tar.gz"
+checksum=9f6643420334cc1b94ebd84e03774736e76c0564208efb1bc9c5019b9820e19b
+
+post_install() {
+	vlicense ${FILESDIR}/LICENSE
+}

From 39d8aa4e4c08269f71f46f437fae3962dc131762 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/7] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..a058fdae53d7
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt6-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From 09e1407c63ab3e699f9865fb484b30459423dcc2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 13:40:39 +0200
Subject: [PATCH 6/7] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 000000000000..2f5037660b3a
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-natsort"
+checkdepends="python3-natsort"
+short_desc="Package for creating, editing, and reading folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://raw.githubusercontent.com/earnestt1234/seedir/master/CHANGELOG.md"
+distfiles="https://github.com/earnestt1234/seedir/archive/refs/tags/v${version}.tar.gz"
+checksum=e53419785b55cfb1207669275405a42c6e88e8438a87f8ce5b70b166f2aef4af
+
+do_check() {
+	python3 -m unittest tests/tests.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 33b8a6af4288eabd511d6fe25bf5d14fba8cb2cf Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 14:42:05 +0200
Subject: [PATCH 7/7] python3-gtts: update to 2.3.2.

---
 srcpkgs/python3-gtts/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
index a363efda4691..17b4fd45d380 100644
--- a/srcpkgs/python3-gtts/template
+++ b/srcpkgs/python3-gtts/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-gtts'
 pkgname=python3-gtts
-version=2.2.2
+version=2.3.2
 revision=1
-wrksrc=gTTS-${version}
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3 python3-click"
@@ -11,9 +10,10 @@ short_desc="Module and CLI text-to-speech tool using Google Translate API"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"
 homepage="https://github.com/pndurette/gTTS"
+changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
-checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
 
-do_install() {
+post_install() {
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (11 preceding siblings ...)
  2023-05-26 12:53 ` Eloitor
@ 2023-05-26 12:55 ` Eloitor
  2023-05-26 12:58 ` Eloitor
                   ` (45 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-05-26 12:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 84e1d8d140ddc776ac03281caee141032d3f1662 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/7] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..a363efda4691
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+do_install() {
+	vlicense LICENSE
+}

From 7c5d93c02fc12eeefb7e68c76ccb5c39a73ba8be Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/7] New package: python3-sybil-5.0.2

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..5116897cd3c8
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-seedir python3-testfixtures"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=2a2d6c3671a9c214b2d766f93338235ac7c7937d8639132db70c9d9b6ee4a412
+make_check=no #Cyclic dependency python3-testfixtures
+
+do_install() {
+	vlicense docs/license.rst
+}

From 23f6158b85fb73bb1ee32a757b33f46a56ade48b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/7] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..1468b1910ec2
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=no # Cyclic dependency sybil
+
+do_install() {
+	vlicense LICENSE.txt
+}

From 4d4b0e33f2d0618f82a7ae14cfffbe864ffe720e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 12:40:46 +0200
Subject: [PATCH 4/7] New package: python3-google-trans-new-1.1.9

---
 .../python3-google-trans-new/files/LICENSE    | 21 +++++++++++++++++++
 srcpkgs/python3-google-trans-new/template     | 18 ++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/python3-google-trans-new/files/LICENSE
 create mode 100644 srcpkgs/python3-google-trans-new/template

diff --git a/srcpkgs/python3-google-trans-new/files/LICENSE b/srcpkgs/python3-google-trans-new/files/LICENSE
new file mode 100644
index 000000000000..1d7f8dd29cfd
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/files/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 lushan88a
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/srcpkgs/python3-google-trans-new/template b/srcpkgs/python3-google-trans-new/template
new file mode 100644
index 000000000000..2f00eea91f7e
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-google-trans-new'
+pkgname=python3-google-trans-new
+version=1.1.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-requests python3-urllib3"
+checkdepends="python3-requests"
+short_desc="Free and unlimited python API for google translate"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/lushan88a/google_trans_new"
+distfiles="${PYPI_SITE}/g/google_trans_new/google_trans_new-${version}.tar.gz"
+checksum=9f6643420334cc1b94ebd84e03774736e76c0564208efb1bc9c5019b9820e19b
+
+post_install() {
+	vlicense ${FILESDIR}/LICENSE
+}

From 4183db6ba0c548e53635194c13a72d7fc5a7d3e0 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/7] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..a058fdae53d7
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt6-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From 4230001aeadce17ff63c10d0a24cbd7cbfeb1760 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 13:40:39 +0200
Subject: [PATCH 6/7] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 000000000000..2f5037660b3a
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-natsort"
+checkdepends="python3-natsort"
+short_desc="Package for creating, editing, and reading folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://raw.githubusercontent.com/earnestt1234/seedir/master/CHANGELOG.md"
+distfiles="https://github.com/earnestt1234/seedir/archive/refs/tags/v${version}.tar.gz"
+checksum=e53419785b55cfb1207669275405a42c6e88e8438a87f8ce5b70b166f2aef4af
+
+do_check() {
+	python3 -m unittest tests/tests.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 6828d7cd2fd458227f4e867b46518dd24b889175 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 14:42:05 +0200
Subject: [PATCH 7/7] python3-gtts: update to 2.3.2.

---
 srcpkgs/python3-gtts/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
index a363efda4691..17b4fd45d380 100644
--- a/srcpkgs/python3-gtts/template
+++ b/srcpkgs/python3-gtts/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-gtts'
 pkgname=python3-gtts
-version=2.2.2
+version=2.3.2
 revision=1
-wrksrc=gTTS-${version}
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3 python3-click"
@@ -11,9 +10,10 @@ short_desc="Module and CLI text-to-speech tool using Google Translate API"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"
 homepage="https://github.com/pndurette/gTTS"
+changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
-checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
 
-do_install() {
+post_install() {
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (12 preceding siblings ...)
  2023-05-26 12:55 ` Eloitor
@ 2023-05-26 12:58 ` Eloitor
  2023-06-14 16:21 ` loreb
                   ` (44 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-05-26 12:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 84e1d8d140ddc776ac03281caee141032d3f1662 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/7] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 000000000000..a363efda4691
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+do_install() {
+	vlicense LICENSE
+}

From 7c5d93c02fc12eeefb7e68c76ccb5c39a73ba8be Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/7] New package: python3-sybil-5.0.2

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 000000000000..5116897cd3c8
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-seedir python3-testfixtures"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=2a2d6c3671a9c214b2d766f93338235ac7c7937d8639132db70c9d9b6ee4a412
+make_check=no #Cyclic dependency python3-testfixtures
+
+do_install() {
+	vlicense docs/license.rst
+}

From 6666e0a79918f93b30850bdaad8ad9c23ef9f50c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/7] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 000000000000..cc8725e21f92
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+# checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=no # Cyclic dependency sybil
+
+do_install() {
+	vlicense LICENSE.txt
+}

From 5409d16d8deb17385991ab3c238858595ce0f9e5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 12:40:46 +0200
Subject: [PATCH 4/7] New package: python3-google-trans-new-1.1.9

---
 .../python3-google-trans-new/files/LICENSE    | 21 +++++++++++++++++++
 srcpkgs/python3-google-trans-new/template     | 18 ++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/python3-google-trans-new/files/LICENSE
 create mode 100644 srcpkgs/python3-google-trans-new/template

diff --git a/srcpkgs/python3-google-trans-new/files/LICENSE b/srcpkgs/python3-google-trans-new/files/LICENSE
new file mode 100644
index 000000000000..1d7f8dd29cfd
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/files/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 lushan88a
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/srcpkgs/python3-google-trans-new/template b/srcpkgs/python3-google-trans-new/template
new file mode 100644
index 000000000000..2f00eea91f7e
--- /dev/null
+++ b/srcpkgs/python3-google-trans-new/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-google-trans-new'
+pkgname=python3-google-trans-new
+version=1.1.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-requests python3-urllib3"
+checkdepends="python3-requests"
+short_desc="Free and unlimited python API for google translate"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/lushan88a/google_trans_new"
+distfiles="${PYPI_SITE}/g/google_trans_new/google_trans_new-${version}.tar.gz"
+checksum=9f6643420334cc1b94ebd84e03774736e76c0564208efb1bc9c5019b9820e19b
+
+post_install() {
+	vlicense ${FILESDIR}/LICENSE
+}

From 3edf0157c39bc5b9128d20eb63af1c632dc02920 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/7] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 000000000000..a058fdae53d7
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,16 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt6-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From 1b88e14b58d732a3dc7c4f54da65f6840fce1dcd Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 13:40:39 +0200
Subject: [PATCH 6/7] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 000000000000..2f5037660b3a
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-natsort"
+checkdepends="python3-natsort"
+short_desc="Package for creating, editing, and reading folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://raw.githubusercontent.com/earnestt1234/seedir/master/CHANGELOG.md"
+distfiles="https://github.com/earnestt1234/seedir/archive/refs/tags/v${version}.tar.gz"
+checksum=e53419785b55cfb1207669275405a42c6e88e8438a87f8ce5b70b166f2aef4af
+
+do_check() {
+	python3 -m unittest tests/tests.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 52c817dbe966be76d77d240a4c79dfa5bfeb63ed Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 26 May 2023 14:42:05 +0200
Subject: [PATCH 7/7] python3-gtts: update to 2.3.2.

---
 srcpkgs/python3-gtts/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
index a363efda4691..17b4fd45d380 100644
--- a/srcpkgs/python3-gtts/template
+++ b/srcpkgs/python3-gtts/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-gtts'
 pkgname=python3-gtts
-version=2.2.2
+version=2.3.2
 revision=1
-wrksrc=gTTS-${version}
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3 python3-click"
@@ -11,9 +10,10 @@ short_desc="Module and CLI text-to-speech tool using Google Translate API"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"
 homepage="https://github.com/pndurette/gTTS"
+changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
-checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
 
-do_install() {
+post_install() {
 	vlicense LICENSE
 }

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (13 preceding siblings ...)
  2023-05-26 12:58 ` Eloitor
@ 2023-06-14 16:21 ` loreb
  2023-06-15 15:27 ` loreb
                   ` (43 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-06-14 16:21 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1591594834

Comment:
This tiny patch
```
diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
index 17b4fd45..949071dc 100644
--- a/srcpkgs/python3-gtts/template
+++ b/srcpkgs/python3-gtts/template
@@ -2,8 +2,8 @@
 pkgname=python3-gtts
 version=2.3.2
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
 depends="python3 python3-click"
 checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
 short_desc="Module and CLI text-to-speech tool using Google Translate API"
@@ -14,6 +14,13 @@ changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
 checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
 
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		cp -f "$i" "${i,,}" # lowercase
+	done
+}
 post_install() {
 	vlicense LICENSE
 }
```

and adding a couple of missing dependencies (python3-pyqt6-gui, python3-pyqt6-widgets, python3-pyqt6-printsupport, python3-pyqt6-webchannel)
leads to mnemosyne running but unable to find one of its own modules:
```
Script started on 2023-06-14 18:08:50+02:00 [TERM="rxvt-unicode-256color" TTY="/dev/pts/4" COLUMNS="80" LINES="24"]
$ mnemosyne;echo exited $?;exit
/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py:377: UserWarning: google_trans_new package is not installed. Google translate feature will not be available.
  warnings.warn("google_trans_new package is not installed. Google translate feature will not be available.")
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-_luser3'
Log body:
 An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/bin/mnemosyne", line 312, in <module>
    mnemosyne.initialise(data_dir=data_dir, filename=filename,
  File "/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py", line 411, in initialise
    self.register_components()
  File "/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py", line 476, in register_components
    importlib.import_module(module_name), class_name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/mnemosyne/pyqt_ui/main_wdgt.py", line 8, in <module>
    from mnemosyne.pyqt_ui.ui_main_wdgt import Ui_MainWdgt
 ModuleNotFoundError: No module named 'mnemosyne.pyqt_ui.ui_main_wdgt'

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/bin/mnemosyne", line 312, in <module>
    mnemosyne.initialise(data_dir=data_dir, filename=filename,
  File "/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py", line 411, in initialise
    self.register_components()
  File "/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py", line 476, in register_components
    importlib.import_module(module_name), class_name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/mnemosyne/pyqt_ui/main_wdgt.py", line 8, in <module>
    from mnemosyne.pyqt_ui.ui_main_wdgt import Ui_MainWdgt
 ModuleNotFoundError: No module named 'mnemosyne.pyqt_ui.ui_main_wdgt'
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/bin/mnemosyne", line 312, in <module>
    mnemosyne.initialise(data_dir=data_dir, filename=filename,
  File "/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py", line 411, in initialise
    self.register_components()
  File "/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py", line 476, in register_components
    importlib.import_module(module_name), class_name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/mnemosyne/pyqt_ui/main_wdgt.py", line 8, in <module>
    from mnemosyne.pyqt_ui.ui_main_wdgt import Ui_MainWdgt
 ModuleNotFoundError: No module named 'mnemosyne.pyqt_ui.ui_main_wdgt'
exited 1

Script done on 2023-06-14 18:08:57+02:00 [COMMAND_EXIT_CODE="0"]
```

As I'm not really experienced packaging python programs, it looks to me that it's failing to import a module that is... right there???


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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (14 preceding siblings ...)
  2023-06-14 16:21 ` loreb
@ 2023-06-15 15:27 ` loreb
  2023-08-29 13:02 ` loreb
                   ` (42 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-06-15 15:27 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1593290029

Comment:
Now it works, some files were supposed to be generated at build time but they weren't because... no idea why.
Anyway, starting from your latest commit:

```
diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
index a058fdae..d5d003c9 100644
--- a/srcpkgs/mnemosyne/template
+++ b/srcpkgs/mnemosyne/template
@@ -3,7 +3,7 @@ pkgname=mnemosyne
 version=2.10.1
 revision=1
 build_style=python3-module
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
 depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
  python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
  python3-setuptools qt6-webengine"
@@ -14,3 +14,8 @@ license="GPL-3.0-or-later"
 homepage="https://mnemosyne-proj.org/"
 distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
 checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}
diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
index 17b4fd45..949071dc 100644
--- a/srcpkgs/python3-gtts/template
+++ b/srcpkgs/python3-gtts/template
@@ -2,8 +2,8 @@
 pkgname=python3-gtts
 version=2.3.2
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
 depends="python3 python3-click"
 checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
 short_desc="Module and CLI text-to-speech tool using Google Translate API"
@@ -14,6 +14,13 @@ changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
 checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
 
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		cp -f "$i" "${i,,}" # lowercase
+	done
+}
 post_install() {
 	vlicense LICENSE
 }

```

And then you'll need to install the missing deps listed above plus python3-pyqt6-multimedia, python3-pyqt6-sql and python3-argon2.
At least ItWorksForMe(tm) - let me know if it fails for you for any reason.

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (15 preceding siblings ...)
  2023-06-15 15:27 ` loreb
@ 2023-08-29 13:02 ` loreb
  2023-09-02 17:33 ` [PR PATCH] [Updated] " Eloitor
                   ` (41 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-08-29 13:02 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1697403648

Comment:
ping?

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (16 preceding siblings ...)
  2023-08-29 13:02 ` loreb
@ 2023-09-02 17:33 ` Eloitor
  2023-09-02 18:06 ` Eloitor
                   ` (40 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-02 17:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 82a46a4642ecfeec765b3eaf31ab2b582347e6f6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.2.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..f45a6bd36500e
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.2.2
+revision=1
+wrksrc=gTTS-${version}
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		cp -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 780854c0a73c420f961c71d0641036f042213f7c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-3.0.1

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..df62ef480daa4
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=3.0.1
+revision=1
+wrksrc=sybil-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=6f02dc2204af7e5a212037924d974f72781f6dc18fd3c44cc7ce463a120f530d
+
+post_install() {
+	vlicense docs/license.rst
+}

From 3493708b4c02669a08367318dbaa908414f6772b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.0.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..d9e66b7bf6004
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.0.0
+revision=1
+wrksrc=testfixtures-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=8ecac5a308793451640594d9ca42ce89b987711e1e4c9312855321ec21f6ccb4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From deb18ed6538d82a20d8b4f48bdc2693f4afa4832 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..470318285891d
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+ depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+  python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+  python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (17 preceding siblings ...)
  2023-09-02 17:33 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-02 18:06 ` Eloitor
  2023-09-02 18:32 ` Eloitor
                   ` (39 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-02 18:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From ca7c20a9d4f3ba07469c5c07470a5d9752d7dd4f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..c46e4335c5753
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		cp -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From eff24553381b76becaae3be9be3bc31be34cf180 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..d228e477cd223
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=20dfe3a35a8d1ffcb4311434d1abf38c030c91064d75ff6b56ddd1060e08e758
+
+post_install() {
+	vlicense docs/license.rst
+}

From 45e23b23deeff6584d0becebbf226264b03da983 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 4407f5475fdc5b6f6cea6c342ae25dba610cda73 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..470318285891d
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+ depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+  python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+  python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (18 preceding siblings ...)
  2023-09-02 18:06 ` Eloitor
@ 2023-09-02 18:32 ` Eloitor
  2023-09-02 18:33 ` Eloitor
                   ` (38 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-02 18:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From ca7c20a9d4f3ba07469c5c07470a5d9752d7dd4f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..c46e4335c5753
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		cp -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From eff24553381b76becaae3be9be3bc31be34cf180 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..d228e477cd223
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=20dfe3a35a8d1ffcb4311434d1abf38c030c91064d75ff6b56ddd1060e08e758
+
+post_install() {
+	vlicense docs/license.rst
+}

From 45e23b23deeff6584d0becebbf226264b03da983 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From bc1181220c316161aed448d0d303ca7d84e10f10 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..fc1cd879a6b2c
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+  python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+  python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+ python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+ python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (19 preceding siblings ...)
  2023-09-02 18:32 ` Eloitor
@ 2023-09-02 18:33 ` Eloitor
  2023-09-02 18:37 ` [PR PATCH] [Updated] " Eloitor
                   ` (37 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-02 18:33 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1703908004

Comment:
Thank you for the reminder.

I updated the packages and applied those patches, but I'm unable to build gtts...

```
./xbps-src pkg python3-gtts
....
=> python3-gtts-2.3.2_1: running do_install ...
usage: python -m installer [-h] [--destdir path] [--prefix path]
                           [--compile-bytecode level] [--no-compile-bytecode]
                           wheel
python -m installer: error: unrecognized arguments: dist/gtts-2.3.2-py3-none-any.whl
=> ERROR: python3-gtts-2.3.2_1: do_install: 'python3 -m installer --destdir ${DESTDIR} ${make_install_args} ${make_install_target}' exited with 2
=> ERROR:   in do_install() at common/build-style/python3-pep517.sh:34
```

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (20 preceding siblings ...)
  2023-09-02 18:33 ` Eloitor
@ 2023-09-02 18:37 ` Eloitor
  2023-09-04 15:20 ` loreb
                   ` (36 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-02 18:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From ca7c20a9d4f3ba07469c5c07470a5d9752d7dd4f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..c46e4335c5753
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		cp -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From eff24553381b76becaae3be9be3bc31be34cf180 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..d228e477cd223
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=20dfe3a35a8d1ffcb4311434d1abf38c030c91064d75ff6b56ddd1060e08e758
+
+post_install() {
+	vlicense docs/license.rst
+}

From 45e23b23deeff6584d0becebbf226264b03da983 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 9d6220c46f215c26b06d55a201587e4629adf1e0 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.9

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..a117b7e78ff6f
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.9
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=c4043a6b279bb74cef86b114d67e6cbf930ba9ed48ee3a45f93164d800074ed3
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (21 preceding siblings ...)
  2023-09-02 18:37 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-04 15:20 ` loreb
  2023-09-04 22:27 ` [PR PATCH] [Updated] " Eloitor
                   ` (35 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-09-04 15:20 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1705439664

Comment:
It used to work... applying
```
diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
index c46e4335..a959073c 100644
--- a/srcpkgs/python3-gtts/template
+++ b/srcpkgs/python3-gtts/template
@@ -17,7 +17,7 @@ pre_install() {
 	#dist/gTTS-2.3.2-py3-none-any.whl
 	for i in dist/gTTS-*.whl ; do
 		test -e "$i" || continue
-		cp -f "$i" "${i,,}" # lowercase
+		mv -f "$i" "${i,,}" # lowercase
 	done
 }
 post_install() {
```

fixed the issue for me, but then at the end I get
```
=> mnemosyne-2.9_1: running post_build ...
make: 'build' is up to date.
./pyuic5 main_wdgt.ui > ui_main_wdgt.py
env: ‘python\r’: No such file or directory
env: use -[v]S to pass options in shebang lines
make: *** [makefile:28: ui_main_wdgt.py] Error 127
=> ERROR: mnemosyne-2.9_1: post_build: 'make default' exited with 2
=> ERROR:   in post_build() at srcpkgs/mnemosyne/template:22
=> ERROR: mnemosyne-2.9_1: post_build: '( cd mnemosyne/pyqt_ui && make default )' exited with 1
=> ERROR:   in post_build() at srcpkgs/mnemosyne/template:22
```

Apparently masterdir/builddir/mnemosyne-2.9/mnemosyne/pyqt_ui/pyuic5 has a carriage return in its shabang (fixed upstream, but there's also a new release, it's now pyuic6)

Fix that and it now complains (it used to work I swear!!!) that
```
./pyuic5 add_cards_dlg.ui > ui_add_cards_dlg.py
Traceback (most recent call last):
  File "/builddir/mnemosyne-2.9/mnemosyne/pyqt_ui/./pyuic5", line 15, in <module>
    from PyQt5 import QtCore
ModuleNotFoundError: No module named 'PyQt5'
```

The newer release uses PyQt6, so anything we do to fix that (nothing difficult, every time I try to build a new tiny patch/dependency is needed) will have to be discarded when we upgrade - it says above you tried 2.10, did anything go wrong? I still have hostdir/binpkgs/mnemosyne/mnemosyne-2.10.1_1.x86_64-musl.xbps, why downgrading to 2.9?

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (22 preceding siblings ...)
  2023-09-04 15:20 ` loreb
@ 2023-09-04 22:27 ` Eloitor
  2023-09-05 13:57 ` [PR REVIEW] " loreb
                   ` (34 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-04 22:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 79353f106a1dbb21505e51baaefb3d0d87a7b331 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 2184332c3537ca358f8bb0df5a8f63564142e1d5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..d228e477cd223
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=20dfe3a35a8d1ffcb4311434d1abf38c030c91064d75ff6b56ddd1060e08e758
+
+post_install() {
+	vlicense docs/license.rst
+}

From c6c56a85391d139478e9872485a1fe6d619c70cf Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 5e6d37527506380ee83dd27308f4f47515fdabf5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..9f4cdc76eb402
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

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

* Re: [PR REVIEW] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (23 preceding siblings ...)
  2023-09-04 22:27 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-05 13:57 ` loreb
  2023-09-05 13:59 ` loreb
                   ` (33 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-09-05 13:57 UTC (permalink / raw)
  To: ml

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

New review comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#discussion_r1315941333

Comment:
There's a duplicate "depends="

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (24 preceding siblings ...)
  2023-09-05 13:57 ` [PR REVIEW] " loreb
@ 2023-09-05 13:59 ` loreb
  2023-09-05 14:33 ` [PR PATCH] [Updated] " Eloitor
                   ` (32 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-09-05 13:59 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1706680741

Comment:
Just to be sure: it compiles & runs but the tests fail because of missing dependencies, is that correct?

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (25 preceding siblings ...)
  2023-09-05 13:59 ` loreb
@ 2023-09-05 14:33 ` Eloitor
  2023-09-05 14:41 ` Eloitor
                   ` (31 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-05 14:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 3acaaf2dc602d4bdb1868ceb561523783ad39f91 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 914e3e6432f41cdcf27b3eba9174c9cbe4a90c22 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/5] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..d228e477cd223
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=20dfe3a35a8d1ffcb4311434d1abf38c030c91064d75ff6b56ddd1060e08e758
+
+post_install() {
+	vlicense docs/license.rst
+}

From f89053a1a5e203f9b6685243ada21e4f14b868fe Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/5] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 9821dd1f6564f0290ff513241ec726d857af0d80 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/5] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..9f4cdc76eb402
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

From 0bb76dd9a8a94f369b55b9155cf77df115deff97 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Tue, 5 Sep 2023 16:33:15 +0200
Subject: [PATCH 5/5] mnemosyne: update to 2.10.1.

---
 srcpkgs/mnemosyne/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
index 9f4cdc76eb402..8212fbd737fb8 100644
--- a/srcpkgs/mnemosyne/template
+++ b/srcpkgs/mnemosyne/template
@@ -2,23 +2,18 @@
 pkgname=mnemosyne
 version=2.10.1
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
 depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
 	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
 	python3-setuptools qt6-webengine"
-depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
-	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
-	python3-setuptools qt5-webengine"
 checkdepends="python3-nose tox"
 short_desc="Efficient learning with powerful digital flash-cards"
 maintainer="Eloi Torrents <eloitor@disroot.org>"
 license="GPL-3.0-or-later"
 homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
 distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
 checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276
-post_build() {
-	make build # some python files are generated
-	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
-	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
-}

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (26 preceding siblings ...)
  2023-09-05 14:33 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-05 14:41 ` Eloitor
  2023-09-05 14:41 ` Eloitor
                   ` (30 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-05 14:41 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1706754810

Comment:
The version downgrade is bc I got confused in one of the multiple attempts. I now attempted using the makefile instead of setup.py. Now everything is built. Can you check it out?

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (27 preceding siblings ...)
  2023-09-05 14:41 ` Eloitor
@ 2023-09-05 14:41 ` Eloitor
  2023-09-05 15:25 ` loreb
                   ` (29 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-05 14:41 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1706754810

Comment:
The version downgrade is bc I got confused in one of the multiple attempts. I now attempted using the makefile instead of setup.py. Now everything is built and it finally works. Can you check it out?

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (28 preceding siblings ...)
  2023-09-05 14:41 ` Eloitor
@ 2023-09-05 15:25 ` loreb
  2023-09-05 16:55 ` Eloitor
                   ` (28 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-09-05 15:25 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1706834114

Comment:
It compiles and installs, but when you run it complains about missing imports; I trusted my comment above, manually installed python3-pyqt6-multimedia, python3-pyqt6-sql and python3-argon2, and it works (ie I tried a couple of questions)

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (29 preceding siblings ...)
  2023-09-05 15:25 ` loreb
@ 2023-09-05 16:55 ` Eloitor
  2023-09-06  5:35 ` Eloitor
                   ` (27 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-05 16:55 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1706977286

Comment:
I removed the package and installed again... Then it worked

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (30 preceding siblings ...)
  2023-09-05 16:55 ` Eloitor
@ 2023-09-06  5:35 ` Eloitor
  2023-09-06  5:51 ` Eloitor
                   ` (26 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06  5:35 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1707696973

Comment:
I had to manually install the dependencies: `python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql`. I'll add them later to the template.

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (31 preceding siblings ...)
  2023-09-06  5:35 ` Eloitor
@ 2023-09-06  5:51 ` Eloitor
  2023-09-06  9:02 ` [PR PATCH] [Updated] " Eloitor
                   ` (25 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06  5:51 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1707709416

Comment:
qt6-plugin-sqlite is also necessary for the "browse cards" button to work

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (32 preceding siblings ...)
  2023-09-06  5:51 ` Eloitor
@ 2023-09-06  9:02 ` Eloitor
  2023-09-06  9:05 ` Eloitor
                   ` (24 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06  9:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 3acaaf2dc602d4bdb1868ceb561523783ad39f91 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 914e3e6432f41cdcf27b3eba9174c9cbe4a90c22 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..d228e477cd223
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=20dfe3a35a8d1ffcb4311434d1abf38c030c91064d75ff6b56ddd1060e08e758
+
+post_install() {
+	vlicense docs/license.rst
+}

From f89053a1a5e203f9b6685243ada21e4f14b868fe Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From e524e163c5b5302c28005c304890495fbb539589 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..10c32d0d03971
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,20 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (33 preceding siblings ...)
  2023-09-06  9:02 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-06  9:05 ` Eloitor
  2023-09-06 13:10 ` loreb
                   ` (23 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06  9:05 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1707958255

Comment:
Now it should work without installing anything else manually. :) Thank you!
Now let's try to fix the problems with tests.

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (34 preceding siblings ...)
  2023-09-06  9:05 ` Eloitor
@ 2023-09-06 13:10 ` loreb
  2023-09-06 17:04 ` [PR PATCH] [Updated] " Eloitor
                   ` (22 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-09-06 13:10 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1708334115

Comment:
Heh, I "tested" by just trying a couple of questions without even browsing...
At a first glance it seems that testing needs python3-testtools (already packaged) and https://github.com/Simplistix/testfixtures (https://testfixtures.readthedocs.io/en/latest/installation.html); until I'm proven wrong I want to believe it's going to be easy peasy.

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (35 preceding siblings ...)
  2023-09-06 13:10 ` loreb
@ 2023-09-06 17:04 ` Eloitor
  2023-09-06 17:28 ` Eloitor
                   ` (21 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06 17:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 3acaaf2dc602d4bdb1868ceb561523783ad39f91 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 914e3e6432f41cdcf27b3eba9174c9cbe4a90c22 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/5] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..d228e477cd223
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=20dfe3a35a8d1ffcb4311434d1abf38c030c91064d75ff6b56ddd1060e08e758
+
+post_install() {
+	vlicense docs/license.rst
+}

From f89053a1a5e203f9b6685243ada21e4f14b868fe Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/5] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 9821dd1f6564f0290ff513241ec726d857af0d80 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/5] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..9f4cdc76eb402
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

From 0bb76dd9a8a94f369b55b9155cf77df115deff97 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Tue, 5 Sep 2023 16:33:15 +0200
Subject: [PATCH 5/5] mnemosyne: update to 2.10.1.

---
 srcpkgs/mnemosyne/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
index 9f4cdc76eb402..8212fbd737fb8 100644
--- a/srcpkgs/mnemosyne/template
+++ b/srcpkgs/mnemosyne/template
@@ -2,23 +2,18 @@
 pkgname=mnemosyne
 version=2.10.1
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
 depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
 	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
 	python3-setuptools qt6-webengine"
-depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
-	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
-	python3-setuptools qt5-webengine"
 checkdepends="python3-nose tox"
 short_desc="Efficient learning with powerful digital flash-cards"
 maintainer="Eloi Torrents <eloitor@disroot.org>"
 license="GPL-3.0-or-later"
 homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
 distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
 checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276
-post_build() {
-	make build # some python files are generated
-	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
-	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
-}

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (36 preceding siblings ...)
  2023-09-06 17:04 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-06 17:28 ` Eloitor
  2023-09-06 17:41 ` Eloitor
                   ` (20 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06 17:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 3acaaf2dc602d4bdb1868ceb561523783ad39f91 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From d3e860d994d2f1b739482e408692c490ddc2c5d5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 6 Sep 2023 19:22:26 +0200
Subject: [PATCH 2/5] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 0000000000000..8269f8f1ec011
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends=""
+checkdepends="python3-natsort"
+short_desc="Create, edit and read folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://github.com/earnestt1234/seedir/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/seedir/seedir-${version}.tar.gz"
+checksum=a549896f37fb31243cf9c8f44405821d9176b2b0c91804f87b7018ea0a738d2b
+
+do_check() {
+	python -m tests.tests
+}

From 23cb0cc4b0217bf304d535d1a4ca2f9416e4679e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 3/5] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..e28f82713bb26
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+
+post_install() {
+	vlicense docs/license.rst
+}

From ff55829615747db31da616a22c42c4cb060471f6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 4/5] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..41763e32bd1fb
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From c0168f9028ce56f21a59f9db7c4c46640c3531ab Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/5] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..8212fbd737fb8
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,19 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (37 preceding siblings ...)
  2023-09-06 17:28 ` Eloitor
@ 2023-09-06 17:41 ` Eloitor
  2023-09-06 17:47 ` Eloitor
                   ` (19 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06 17:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 3acaaf2dc602d4bdb1868ceb561523783ad39f91 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 684a70c0cbe39d02bc7ef1eb8b3e6a69fe22ac6a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 6 Sep 2023 19:22:26 +0200
Subject: [PATCH 2/5] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 0000000000000..55a3cea6c4feb
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-natsort"
+short_desc="Create, edit and read folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://github.com/earnestt1234/seedir/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/seedir/seedir-${version}.tar.gz"
+checksum=a549896f37fb31243cf9c8f44405821d9176b2b0c91804f87b7018ea0a738d2b
+
+do_check() {
+	python -m tests.tests
+}
+
+post_install() {
+	vlicense LICENSE
+}

From c8d4b069fab68b8f3bce268df7ecace82b18d6e9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 3/5] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..e28f82713bb26
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+
+post_install() {
+	vlicense docs/license.rst
+}

From f6952fdd75d7a756b77c3567a222868cfddb3b55 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 4/5] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..ee0e336f6c3de
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 88f70e0ac389d541ade12afd1384b137211a4d2e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/5] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..291baf3288f99
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql 
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (38 preceding siblings ...)
  2023-09-06 17:41 ` Eloitor
@ 2023-09-06 17:47 ` Eloitor
  2023-09-06 18:02 ` Eloitor
                   ` (18 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06 17:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 3acaaf2dc602d4bdb1868ceb561523783ad39f91 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 684a70c0cbe39d02bc7ef1eb8b3e6a69fe22ac6a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 6 Sep 2023 19:22:26 +0200
Subject: [PATCH 2/5] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 0000000000000..55a3cea6c4feb
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-natsort"
+short_desc="Create, edit and read folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://github.com/earnestt1234/seedir/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/seedir/seedir-${version}.tar.gz"
+checksum=a549896f37fb31243cf9c8f44405821d9176b2b0c91804f87b7018ea0a738d2b
+
+do_check() {
+	python -m tests.tests
+}
+
+post_install() {
+	vlicense LICENSE
+}

From c8d4b069fab68b8f3bce268df7ecace82b18d6e9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 3/5] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..e28f82713bb26
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+
+post_install() {
+	vlicense docs/license.rst
+}

From f6952fdd75d7a756b77c3567a222868cfddb3b55 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 4/5] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..ee0e336f6c3de
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 138c118a7bf2031c7dc8ab4a0c6f692cc5b34e5c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/5] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (39 preceding siblings ...)
  2023-09-06 17:47 ` Eloitor
@ 2023-09-06 18:02 ` Eloitor
  2023-09-06 18:07 ` Eloitor
                   ` (17 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06 18:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 3acaaf2dc602d4bdb1868ceb561523783ad39f91 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 684a70c0cbe39d02bc7ef1eb8b3e6a69fe22ac6a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 6 Sep 2023 19:22:26 +0200
Subject: [PATCH 2/5] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 0000000000000..55a3cea6c4feb
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-natsort"
+short_desc="Create, edit and read folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://github.com/earnestt1234/seedir/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/seedir/seedir-${version}.tar.gz"
+checksum=a549896f37fb31243cf9c8f44405821d9176b2b0c91804f87b7018ea0a738d2b
+
+do_check() {
+	python -m tests.tests
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 9ad598caf7109e80bf8ae9f35bc36c4c3e9bd226 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 3/5] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..5b43b92db0533
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+post_install() {
+	vlicense docs/license.rst
+}

From 1c6837fee2efbf8d8cb27efad06a6975fa0344c7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 4/5] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..ee0e336f6c3de
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 7caab268d78f3c718cee603e424364f6d61f9242 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/5] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (40 preceding siblings ...)
  2023-09-06 18:02 ` Eloitor
@ 2023-09-06 18:07 ` Eloitor
  2023-09-07 12:32 ` loreb
                   ` (16 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-06 18:07 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1708859677

Comment:
Now tests work locally except for python3-testfixtures. I don't know how to fix it.

I tried to disable CI checks for python3-sybil and python3-testfixtures, but it keeps complaining about the cyclic dependency. I don't know how to do it properly.

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (41 preceding siblings ...)
  2023-09-06 18:07 ` Eloitor
@ 2023-09-07 12:32 ` loreb
  2023-09-07 15:26 ` [PR PATCH] [Updated] " Eloitor
                   ` (15 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-09-07 12:32 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1710072274

Comment:
I can think of a few disgusting hacks (say, making two pairs of identical packages, such that sybil is tested with fixtures-dummy, fixtures is tested with sybil-dummy, and the -dummy packages have their do_check be a NOP), but no clean solution either.

Can you try asking on IRC/reddit?

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (42 preceding siblings ...)
  2023-09-07 12:32 ` loreb
@ 2023-09-07 15:26 ` Eloitor
  2023-09-07 15:28 ` Eloitor
                   ` (14 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 15:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From d45dabef68ab9649436e88b53eb84572f318ecab Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/6] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 0a279d0da6bef4f09058e1c2a8c2d66b6a1727ea Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 6 Sep 2023 19:22:26 +0200
Subject: [PATCH 2/6] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 0000000000000..55a3cea6c4feb
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-natsort"
+short_desc="Create, edit and read folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://github.com/earnestt1234/seedir/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/seedir/seedir-${version}.tar.gz"
+checksum=a549896f37fb31243cf9c8f44405821d9176b2b0c91804f87b7018ea0a738d2b
+
+do_check() {
+	python -m tests.tests
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 123b9db2894d3a0892e336e98c551f235cb54026 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 3/6] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..e28f82713bb26
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+
+post_install() {
+	vlicense docs/license.rst
+}

From fdeef8e5cb36cdc197651761d99911912882b8e3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 4/6] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..ee0e336f6c3de
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 8769f4c8fef21cf321579cdb0c5cfe0cd511ad81 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/6] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From 72ed714e62bddfe3e6db57c1fa8e21e4231e33b1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 7 Sep 2023 17:25:40 +0200
Subject: [PATCH 6/6] python3-testfixtures: update to 7.1.0.

---
 srcpkgs/python3-testfixtures/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
index ee0e336f6c3de..6754b4f4a13b7 100644
--- a/srcpkgs/python3-testfixtures/template
+++ b/srcpkgs/python3-testfixtures/template
@@ -5,14 +5,13 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
 short_desc="Collection of helpers and mock objects for unit tests and doc tests"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"
 homepage="https://github.com/Simplistix/testfixtures"
 distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
 checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
-make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+make_check=no #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
 
 do_check() {
 	cd build/lib

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (43 preceding siblings ...)
  2023-09-07 15:26 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-07 15:28 ` Eloitor
  2023-09-07 15:45 ` Eloitor
                   ` (13 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 15:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From d45dabef68ab9649436e88b53eb84572f318ecab Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/6] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 0a279d0da6bef4f09058e1c2a8c2d66b6a1727ea Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 6 Sep 2023 19:22:26 +0200
Subject: [PATCH 2/6] New package: python3-seedir-0.4.2

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

diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template
new file mode 100644
index 0000000000000..55a3cea6c4feb
--- /dev/null
+++ b/srcpkgs/python3-seedir/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-seedir'
+pkgname=python3-seedir
+version=0.4.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-natsort"
+short_desc="Create, edit and read folder tree diagrams"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://github.com/earnestt1234/seedir"
+changelog="https://github.com/earnestt1234/seedir/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/seedir/seedir-${version}.tar.gz"
+checksum=a549896f37fb31243cf9c8f44405821d9176b2b0c91804f87b7018ea0a738d2b
+
+do_check() {
+	python -m tests.tests
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 123b9db2894d3a0892e336e98c551f235cb54026 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 3/6] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..e28f82713bb26
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+
+post_install() {
+	vlicense docs/license.rst
+}

From fdeef8e5cb36cdc197651761d99911912882b8e3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 4/6] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..ee0e336f6c3de
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 8769f4c8fef21cf321579cdb0c5cfe0cd511ad81 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 5/6] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From 6db9685547993ba41e02cfbf829a2fc908d0f7a7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 7 Sep 2023 17:25:40 +0200
Subject: [PATCH 6/6] python3-testfixtures: update to 7.1.0.

---
 srcpkgs/python3-testfixtures/template | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
index ee0e336f6c3de..8242d356ec020 100644
--- a/srcpkgs/python3-testfixtures/template
+++ b/srcpkgs/python3-testfixtures/template
@@ -5,19 +5,13 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
 short_desc="Collection of helpers and mock objects for unit tests and doc tests"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"
 homepage="https://github.com/Simplistix/testfixtures"
 distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
 checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
-make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
-
-do_check() {
-	cd build/lib
-	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
-}
+make_check=no #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
 
 post_install() {
 	vlicense LICENSE.txt

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (44 preceding siblings ...)
  2023-09-07 15:28 ` Eloitor
@ 2023-09-07 15:45 ` Eloitor
  2023-09-07 15:51 ` Eloitor
                   ` (12 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 15:45 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1710389944

Comment:
I removed checks for python3-testfixtures. If that's ok let me know and I'll squash the commits for python3-testfixtures together.

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (45 preceding siblings ...)
  2023-09-07 15:45 ` Eloitor
@ 2023-09-07 15:51 ` Eloitor
  2023-09-07 16:04 ` [PR PATCH] [Updated] " Eloitor
                   ` (11 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 15:51 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1710398444

Comment:
I just realized that sybil was only required to be able to test python3-testfixtures. If I disable the check for testfixtures it doesn't make sense to package it.... I'll attempt to remove the check for sybil and enable it for testfixtures

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (46 preceding siblings ...)
  2023-09-07 15:51 ` Eloitor
@ 2023-09-07 16:04 ` Eloitor
  2023-09-07 16:08 ` Eloitor
                   ` (10 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 16:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From d45dabef68ab9649436e88b53eb84572f318ecab Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/5] New package: python3-gtts-2.3.2

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 48b710d8850df88c04679d0bb5398ccfd400bc61 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/5] New package: python3-sybil-5.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..832a5d303b4bc
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+make_check=no #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+post_install() {
+	vlicense docs/license.rst
+}

From 65b071dc16dad2aac7b8c4db2b0da86e8a976222 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/5] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..ee0e336f6c3de
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 491fd87b83fa299e604aac65ad1d6e521d412e19 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/5] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

From 8519b9452c435e55495b447b6c8a8920ca57f933 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 7 Sep 2023 18:05:05 +0200
Subject: [PATCH 5/5] python3-testfixtures: update to 7.1.0.

---
 srcpkgs/python3-testfixtures/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
index ee0e336f6c3de..1cebab6693a16 100644
--- a/srcpkgs/python3-testfixtures/template
+++ b/srcpkgs/python3-testfixtures/template
@@ -5,7 +5,7 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted python3-Django"
 short_desc="Collection of helpers and mock objects for unit tests and doc tests"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (47 preceding siblings ...)
  2023-09-07 16:04 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-07 16:08 ` Eloitor
  2023-09-07 16:12 ` Eloitor
                   ` (9 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 16:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 63ab03d94da02e62f5c4c4cbca2a7ebf4a39ed8e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

---
 srcpkgs/python3-gtts/template  | 25 +++++++++++++++++++++++++
 srcpkgs/python3-sybil/template | 20 ++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/python3-gtts/template
 create mode 100644 srcpkgs/python3-sybil/template

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}
diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..832a5d303b4bc
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+make_check=no #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+post_install() {
+	vlicense docs/license.rst
+}

From bdab0bcfc547163083ba878177ad56f6e97ac1b1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 7 Sep 2023 18:07:55 +0200
Subject: [PATCH 2/4] python3-sybil: update to 5.0.3.

---
 srcpkgs/python3-sybil/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
index 832a5d303b4bc..04536e0c095c4 100644
--- a/srcpkgs/python3-sybil/template
+++ b/srcpkgs/python3-sybil/template
@@ -5,7 +5,6 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
 short_desc="Automated testing for the examples in your documentation"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"

From 8fdb92998fd2ea0632ce795cf06a1c403e298a94 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..1cebab6693a16
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted python3-Django"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+make_check=ci-skip #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From bd4cf3a68e06f1195615e45fb8f31968353e8764 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (48 preceding siblings ...)
  2023-09-07 16:08 ` Eloitor
@ 2023-09-07 16:12 ` Eloitor
  2023-09-07 16:19 ` Eloitor
                   ` (8 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 16:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 63ab03d94da02e62f5c4c4cbca2a7ebf4a39ed8e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

---
 srcpkgs/python3-gtts/template  | 25 +++++++++++++++++++++++++
 srcpkgs/python3-sybil/template | 20 ++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/python3-gtts/template
 create mode 100644 srcpkgs/python3-sybil/template

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}
diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..832a5d303b4bc
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+make_check=no #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+post_install() {
+	vlicense docs/license.rst
+}

From bdab0bcfc547163083ba878177ad56f6e97ac1b1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 7 Sep 2023 18:07:55 +0200
Subject: [PATCH 2/4] python3-sybil: update to 5.0.3.

---
 srcpkgs/python3-sybil/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
index 832a5d303b4bc..04536e0c095c4 100644
--- a/srcpkgs/python3-sybil/template
+++ b/srcpkgs/python3-sybil/template
@@ -5,7 +5,6 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
 short_desc="Automated testing for the examples in your documentation"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"

From 73152f123caa8ae03c166712f30fe711f4bfc5c7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..6c71aad1f655a
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted python3-Django"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 0ea3aa67ae9a1c90475d99f154ef34eef5010159 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (49 preceding siblings ...)
  2023-09-07 16:12 ` Eloitor
@ 2023-09-07 16:19 ` Eloitor
  2023-09-08 14:25 ` loreb
                   ` (7 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-07 16:19 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1710442493

Comment:
I don't know how to fix this check error on python3-testfixtures

```
________ ERROR collecting build/lib/testfixtures/tests/test_compare.py _________
import file mismatch:
imported module 'testfixtures.tests.test_compare' has this __file__ attribute:
  /builddir/python3-testfixtures-7.1.0/testfixtures/tests/test_compare.py
which is not the same as the test file we want to collect:
  /builddir/python3-testfixtures-7.1.0/build/lib/testfixtures/tests/test_compare.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
```

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (50 preceding siblings ...)
  2023-09-07 16:19 ` Eloitor
@ 2023-09-08 14:25 ` loreb
  2023-09-08 15:56 ` [PR PATCH] [Updated] " Eloitor
                   ` (6 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-09-08 14:25 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1711759194

Comment:
The following (intentionally dirty) diff did it for me:
```
diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
index 6c71aad1..121bad83 100644
--- a/srcpkgs/python3-testfixtures/template
+++ b/srcpkgs/python3-testfixtures/template
@@ -12,10 +12,11 @@ license="MIT"
 homepage="https://github.com/Simplistix/testfixtures"
 distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
 checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+export PYTHONDONTWRITEBYTECODE=1 # NOPE
 
 do_check() {
-	cd build/lib
-	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+	cd testfixtures &&
+	pytest -v --ignore="tests/test_django" # Fails to import
 }
 
 post_install() {
```

RANT: based on stackoverflow, I tried the python bytecode thing (did nothing, I just left it as a reminder that it's useless),
then I thought I understood when I read https://docs.pytest.org/en/latest/explanation/goodpractices.html#test-discovery but nope, no way...
I still don't know why it went all the way up instead of staying in build/lib, I expected it to stop at lib (you know, the first directory without __init__.py), but if it works it works.

And if you need more circular fun... at first I thought maybe they fixed the bug upstream, I tried pytest 7.4.2 and boom! circular dependencies.

Sorry for the rant, I just needed it.


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

* Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (51 preceding siblings ...)
  2023-09-08 14:25 ` loreb
@ 2023-09-08 15:56 ` Eloitor
  2023-09-08 15:56 ` Eloitor
                   ` (5 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-08 15:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

[WIP] New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From ebd342dbf14b772f62ac9d1145627611810c27d0 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.3.2

---
 srcpkgs/python3-gtts/template  | 25 +++++++++++++++++++++++++
 srcpkgs/python3-sybil/template | 20 ++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/python3-gtts/template
 create mode 100644 srcpkgs/python3-sybil/template

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..a959073cdeef4
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.3.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}
diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..832a5d303b4bc
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=5.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz"
+checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826
+make_check=no #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures
+
+post_install() {
+	vlicense docs/license.rst
+}

From 88cbdf5b9055c30831d94c1e10337fb5ad3b3785 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 7 Sep 2023 18:07:55 +0200
Subject: [PATCH 2/4] python3-sybil: update to 5.0.3.

---
 srcpkgs/python3-sybil/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
index 832a5d303b4bc..04536e0c095c4 100644
--- a/srcpkgs/python3-sybil/template
+++ b/srcpkgs/python3-sybil/template
@@ -5,7 +5,6 @@ revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="tox python3-seedir python3-testfixtures python3-natsort"
 short_desc="Automated testing for the examples in your documentation"
 maintainer="Eloi Torrents <elotor@disroot.org>"
 license="MIT"

From 4d3fc17d111aa32a4c60cf5c02103a6196eaf7e9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.1.0

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..53fdfd015e607
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted python3-Django"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4
+export PYTHONDONTWRITEBYTECODE=1 # NOPE
+
+do_check() {
+	cd testfixtures
+	pytest -v --ignore="tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From f3c05bd8242693d6edddb794a58479532f914c54 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.10.1

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..1421652019d32
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,21 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.10.1
+revision=1
+build_style=gnu-makefile
+make_build_args=build-all-deps
+make_install_target=install-system
+hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets
+	python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql
+	qt6-plugin-sqlite python3-argon2"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+changelog="https://mnemosyne-proj.org/whats-new"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276

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

* Re: [WIP] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (52 preceding siblings ...)
  2023-09-08 15:56 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-08 15:56 ` Eloitor
  2023-12-08  1:46 ` github-actions
                   ` (4 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2023-09-08 15:56 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1711891068

Comment:
Amazing! thank you

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

* Re: New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (53 preceding siblings ...)
  2023-09-08 15:56 ` Eloitor
@ 2023-12-08  1:46 ` github-actions
  2023-12-09 16:12 ` loreb
                   ` (3 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: github-actions @ 2023-12-08  1:46 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/40063#issuecomment-1846429626

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] 60+ messages in thread

* Re: New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (54 preceding siblings ...)
  2023-12-08  1:46 ` github-actions
@ 2023-12-09 16:12 ` loreb
  2024-02-14  7:47 ` [PR PATCH] [Updated] " Eloitor
                   ` (2 subsequent siblings)
  58 siblings, 0 replies; 60+ messages in thread
From: loreb @ 2023-12-09 16:12 UTC (permalink / raw)
  To: ml

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

New comment by loreb on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1848451350

Comment:
bump!

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

* Re: [PR PATCH] [Updated] New package: mnemosyne-2.10.1
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (55 preceding siblings ...)
  2023-12-09 16:12 ` loreb
@ 2024-02-14  7:47 ` Eloitor
  2024-02-14  8:02 ` [PR PATCH] [Updated] New package: mnemosyne-2.11 Eloitor
  2024-02-14  8:03 ` Eloitor
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2024-02-14  7:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

New package: mnemosyne-2.10.1
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 75ab59d1e922236989bceb8ea27c75ef5c024e42 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.5.1

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..70e4c233cbd37
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.5.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=02d0a9874f945dee9cd5092991c60bc88d4b7767b8cd81144b6fb49dc3de6897
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 8fe6c37e950c9ba9b215f3077f63e3ab5f9936b8 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-6.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..bc21982678bc0
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=6.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=c5f932900c03a06cb5b0bd4c2b1e5e9c15a3b717bbfc64ca29b1cb41d2267b25
+
+post_install() {
+	vlicense docs/license.rst
+}

From 5408fb0556bebaf849b2546947706c34370e3dcd Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.2.2

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..0b5d55489e1e7
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.2.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=80774aecb0249458275ab783f53093fbe75795ff2b3218d22ce3fff0a12c4da6
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 38841a8c63a0477e40085ba6cda67427150b5c40 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.11

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..c331eb8aaba54
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.11
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=a042252c2fb8c69c44d048e3f3cfca142189fe7d1bb55e0ad98f8edeeb3ae1cd
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

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

* Re: [PR PATCH] [Updated] New package: mnemosyne-2.11
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (56 preceding siblings ...)
  2024-02-14  7:47 ` [PR PATCH] [Updated] " Eloitor
@ 2024-02-14  8:02 ` Eloitor
  2024-02-14  8:03 ` Eloitor
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2024-02-14  8:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages mnemosyne
https://github.com/void-linux/void-packages/pull/40063

New package: mnemosyne-2.11
https://mnemosyne-proj.org/ flash-card tool which optimizes your learning process

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

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

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

This package builds fine. However when running mnemosyne I get this error: https://pastebin.com/mVgqnJhh

Closes #9259
Closes #36997
Closes #36998

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

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

From 75ab59d1e922236989bceb8ea27c75ef5c024e42 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:11:19 +0200
Subject: [PATCH 1/4] New package: python3-gtts-2.5.1

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

diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template
new file mode 100644
index 0000000000000..70e4c233cbd37
--- /dev/null
+++ b/srcpkgs/python3-gtts/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-gtts'
+pkgname=python3-gtts
+version=2.5.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3 python3-click"
+checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox"
+short_desc="Module and CLI text-to-speech tool using Google Translate API"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/pndurette/gTTS"
+distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz"
+checksum=02d0a9874f945dee9cd5092991c60bc88d4b7767b8cd81144b6fb49dc3de6897
+
+pre_install() {
+	#dist/gTTS-2.3.2-py3-none-any.whl
+	for i in dist/gTTS-*.whl ; do
+		test -e "$i" || continue
+		mv -f "$i" "${i,,}" # lowercase
+	done
+}
+post_install() {
+	vlicense LICENSE
+}

From 8fe6c37e950c9ba9b215f3077f63e3ab5f9936b8 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 10:54:55 +0200
Subject: [PATCH 2/4] New package: python3-sybil-6.0.3

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

diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template
new file mode 100644
index 0000000000000..bc21982678bc0
--- /dev/null
+++ b/srcpkgs/python3-sybil/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-sybil'
+pkgname=python3-sybil
+version=6.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Automated testing for the examples in your documentation"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/simplistix/sybil"
+changelog="https://sybil.readthedocs.io/en/latest/changes.html"
+distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz"
+checksum=c5f932900c03a06cb5b0bd4c2b1e5e9c15a3b717bbfc64ca29b1cb41d2267b25
+
+post_install() {
+	vlicense docs/license.rst
+}

From 5408fb0556bebaf849b2546947706c34370e3dcd Mon Sep 17 00:00:00 2001
From: Eloi Torrents <elotor@disroot.org>
Date: Fri, 23 Sep 2022 11:00:14 +0200
Subject: [PATCH 3/4] New package: python3-testfixtures-7.2.2

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

diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template
new file mode 100644
index 0000000000000..0b5d55489e1e7
--- /dev/null
+++ b/srcpkgs/python3-testfixtures/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-testfixtures'
+pkgname=python3-testfixtures
+version=7.2.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox"
+short_desc="Collection of helpers and mock objects for unit tests and doc tests"
+maintainer="Eloi Torrents <elotor@disroot.org>"
+license="MIT"
+homepage="https://github.com/Simplistix/testfixtures"
+distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz"
+checksum=80774aecb0249458275ab783f53093fbe75795ff2b3218d22ce3fff0a12c4da6
+
+do_check() {
+	cd build/lib
+	pytest -v --ignore="testfixtures/tests/test_django" # Fails to import
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 51e600329219b42370066a3b073a4e2fbc2ec0e0 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Sep 2022 23:01:03 +0200
Subject: [PATCH 4/4] New package: mnemosyne-2.11

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

diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template
new file mode 100644
index 0000000000000..71079b6f1eff3
--- /dev/null
+++ b/srcpkgs/mnemosyne/template
@@ -0,0 +1,24 @@
+# Template file for 'mnemosyne'
+pkgname=mnemosyne
+version=2.11
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools"
+depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy
+	python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL
+	python3-setuptools qt6-webengine"
+depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-pyqt6-multimedia
+	python3-pyqt6-sql python3-Pillow python3-CherryPy python3-gtts python3-matplotlib
+	python3-WebOb python3-Cheroot python3-PyOpenGL python3-setuptools qt5-webengine"
+checkdepends="python3-nose tox"
+short_desc="Efficient learning with powerful digital flash-cards"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://mnemosyne-proj.org/"
+distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz"
+checksum=a042252c2fb8c69c44d048e3f3cfca142189fe7d1bb55e0ad98f8edeeb3ae1cd
+post_build() {
+	make build # some python files are generated
+	( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built?
+	# anyway, this is responsible for python3-pyqt6-devel-tools etc.
+}

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

* Re: New package: mnemosyne-2.11
  2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
                   ` (57 preceding siblings ...)
  2024-02-14  8:02 ` [PR PATCH] [Updated] New package: mnemosyne-2.11 Eloitor
@ 2024-02-14  8:03 ` Eloitor
  58 siblings, 0 replies; 60+ messages in thread
From: Eloitor @ 2024-02-14  8:03 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/40063#issuecomment-1943251927

Comment:
I updated it to 2.11, it works on my machine now

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

end of thread, other threads:[~2024-02-14  8:03 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 21:44 [PR PATCH] [WIP] New package: mnemosyne-2.9 Eloitor
2022-10-20 21:46 ` [PR PATCH] [Updated] " Eloitor
2022-10-20 22:13 ` Eloitor
2022-10-20 22:24 ` Eloitor
2022-10-20 23:31 ` classabbyamp
2022-10-20 23:32 ` classabbyamp
2022-10-21 13:02 ` [PR PATCH] [Updated] " Eloitor
2023-03-30  1:56 ` github-actions
2023-03-30 10:25 ` Eloitor
2023-05-26 11:10 ` [PR PATCH] [Updated] " Eloitor
2023-05-26 12:35 ` [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1 Eloitor
2023-05-26 12:50 ` Eloitor
2023-05-26 12:53 ` Eloitor
2023-05-26 12:55 ` Eloitor
2023-05-26 12:58 ` Eloitor
2023-06-14 16:21 ` loreb
2023-06-15 15:27 ` loreb
2023-08-29 13:02 ` loreb
2023-09-02 17:33 ` [PR PATCH] [Updated] " Eloitor
2023-09-02 18:06 ` Eloitor
2023-09-02 18:32 ` Eloitor
2023-09-02 18:33 ` Eloitor
2023-09-02 18:37 ` [PR PATCH] [Updated] " Eloitor
2023-09-04 15:20 ` loreb
2023-09-04 22:27 ` [PR PATCH] [Updated] " Eloitor
2023-09-05 13:57 ` [PR REVIEW] " loreb
2023-09-05 13:59 ` loreb
2023-09-05 14:33 ` [PR PATCH] [Updated] " Eloitor
2023-09-05 14:41 ` Eloitor
2023-09-05 14:41 ` Eloitor
2023-09-05 15:25 ` loreb
2023-09-05 16:55 ` Eloitor
2023-09-06  5:35 ` Eloitor
2023-09-06  5:51 ` Eloitor
2023-09-06  9:02 ` [PR PATCH] [Updated] " Eloitor
2023-09-06  9:05 ` Eloitor
2023-09-06 13:10 ` loreb
2023-09-06 17:04 ` [PR PATCH] [Updated] " Eloitor
2023-09-06 17:28 ` Eloitor
2023-09-06 17:41 ` Eloitor
2023-09-06 17:47 ` Eloitor
2023-09-06 18:02 ` Eloitor
2023-09-06 18:07 ` Eloitor
2023-09-07 12:32 ` loreb
2023-09-07 15:26 ` [PR PATCH] [Updated] " Eloitor
2023-09-07 15:28 ` Eloitor
2023-09-07 15:45 ` Eloitor
2023-09-07 15:51 ` Eloitor
2023-09-07 16:04 ` [PR PATCH] [Updated] " Eloitor
2023-09-07 16:08 ` Eloitor
2023-09-07 16:12 ` Eloitor
2023-09-07 16:19 ` Eloitor
2023-09-08 14:25 ` loreb
2023-09-08 15:56 ` [PR PATCH] [Updated] " Eloitor
2023-09-08 15:56 ` Eloitor
2023-12-08  1:46 ` github-actions
2023-12-09 16:12 ` loreb
2024-02-14  7:47 ` [PR PATCH] [Updated] " Eloitor
2024-02-14  8:02 ` [PR PATCH] [Updated] New package: mnemosyne-2.11 Eloitor
2024-02-14  8:03 ` Eloitor

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