Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: mnemosyne-2.10.1
Date: Thu, 07 Sep 2023 17:28:48 +0200	[thread overview]
Message-ID: <20230907152848.Hr7V8FVQb4WOnzvl4WPOlToiZ_xXdK9n3XfZjgJt37g@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40063@inbox.vuxu.org>

[-- 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

  parent reply	other threads:[~2023-09-07 15:28 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
2024-05-15  1:48 ` github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230907152848.Hr7V8FVQb4WOnzvl4WPOlToiZ_xXdK9n3XfZjgJt37g@z \
    --to=eloitor@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).