Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] guake - vsed in do_check fails
@ 2023-09-27 11:37 Requion
  2023-09-27 16:45 ` mhmdanas
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Requion @ 2023-09-27 11:37 UTC (permalink / raw)
  To: ml

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

New issue by Requion on void-packages repository

https://github.com/void-linux/void-packages/issues/46288

Description:
Hello,

i saw the subject line mentioned in #46170 . I like Guake and am actively using it, thus i would like to keep it working. Unfortunately my journey with Void and package maintenance just started and i lack the knowledge to fix it myself currently. For this reason, i wanted to provide my findings so far to help fixing the template as good as i can.

From what i could gather so far, the `vsed -i 's/from mock/from unittest.mock/g' guake/tests/test_quick_open.py` line fails because the directory `quake/tests/` does not exist in the tarball downloaded from pypi.org (it is included in the github tarball though). The `distfiles` property was changed from github to pypi in https://github.com/void-linux/void-packages/commit/eee156e480a0f5b5f89e94c9f59bb90e4bdd3cf9 [^1] by @Johnnynator , which, as per Guakes docs, is the correct approach to [build from source](https://guake.readthedocs.io/en/latest/user/installing.html#install-from-source).

There are multiple options to fix this, which is where i am uncertain about the correct approach.
1. Ask [upstream](https://github.com/Guake/guake) to include the tests in the tarball published on pypi
2. Remove the tests from the template (which were probably added for a reason)
3. Others which i personally see as *too hacky* like sideloading the tests

This said, i am looking forward on any feedback helping to fix the issue and improving my know-how on how to contribute.

Regards
Requion

[^1]: I searched / linked the commit to understand the turn of events, not to point fingers.

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

end of thread, other threads:[~2024-01-11  1:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 11:37 [ISSUE] guake - vsed in do_check fails Requion
2023-09-27 16:45 ` mhmdanas
2023-09-28  7:46 ` Requion
2023-12-28  1:45 ` github-actions
2024-01-11  1:47 ` [ISSUE] [CLOSED] " github-actions

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