Github messages for voidlinux
 help / color / mirror / Atom feed
From: loreb <loreb@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [WIP] New package: mnemosyne-2.10.1
Date: Thu, 15 Jun 2023 17:27:40 +0200	[thread overview]
Message-ID: <20230615152740._3dxbCqekx0gVLZVLWYtVIRgsUbTJNYOdHvfh6EFOG4@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: 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.

  parent reply	other threads:[~2023-06-15 15:27 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 [this message]
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
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=20230615152740._3dxbCqekx0gVLZVLWYtVIRgsUbTJNYOdHvfh6EFOG4@z \
    --to=loreb@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).