Github messages for voidlinux
 help / color / mirror / Atom feed
From: dataCobra <dataCobra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: khal: update to 0.10.5.
Date: Thu, 11 Aug 2022 10:16:38 +0200	[thread overview]
Message-ID: <20220811081638.bDzoChlDv8927Qqo_-3wPCD8I_cW9L_M6MSEcx3UEps@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38583@inbox.vuxu.org>

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

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/38583#issuecomment-1211681698

Comment:
I've tried to add this in, but Sphinx can't find the khal module when it tries to import.
```diff
diff --git a/srcpkgs/khal/template b/srcpkgs/khal/template
index 2f6331ed31..f06be57363 100644
--- a/srcpkgs/khal/template
+++ b/srcpkgs/khal/template
@@ -3,10 +3,13 @@ pkgname=khal
 version=0.10.5
 revision=1
 build_style=python3-module
-hostmakedepends="python3-setuptools python3-click python3-click-log python3-configobj
- python3-dateutil python3-icalendar python3-pytz python3-tzlocal
- python3-urwid python3-xdg python3-atomicwrites"
-depends="$hostmakedepends"
+hostmakedepends="python3-setuptools python3-Sphinx python3-sphinxcontrib
+ python3-click python3-click-log python3-configobj python3-dateutil
+ python3-icalendar python3-pytz python3-tzlocal python3-urwid python3-xdg
+ python3-atomicwrites"
+depends="python3-click python3-click-log python3-configobj python3-dateutil
+ python3-icalendar python3-pytz python3-tzlocal python3-urwid python3-xdg
+ python3-atomicwrites"
 checkdepends="python3-pytest python3-freezegun vdirsyncer $depends"
 short_desc="Command-line calendar build around CalDAV"
 maintainer="Anachron <gith@cron.world>"
@@ -30,4 +33,6 @@ post_install() {
 		vcompletion "khal.${sh}" $sh
 	done
 	vsconf khal.conf.sample
+        cd doc/
+        make man
 }
```

The following error message is stopping the process:
```python
sphinx-build -b man -d build/doctrees   source build/man
Running Sphinx v5.0.2

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 343, in eval_config_file
    exec(code, namespace)
  File "/builddir/khal-0.10.5/doc/source/conf.py", line 17, in <module>
    import khal
ModuleNotFoundError: No module named 'khal'

make: *** [Makefile:131: man] Error 2
=> ERROR: khal-0.10.5_1: post_install: 'make man' exited with 2
=> ERROR:   in post_install() at srcpkgs/khal/template:37
```

  parent reply	other threads:[~2022-08-11  8:16 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10 16:40 [PR PATCH] " dataCobra
2022-08-10 17:10 ` dataCobra
2022-08-10 17:15 ` [PR PATCH] [Updated] " dataCobra
2022-08-10 17:16 ` dataCobra
2022-08-10 18:50 ` paper42
2022-08-10 18:51 ` paper42
2022-08-11  4:41 ` classabbyamp
2022-08-11  4:48 ` [PR PATCH] [Updated] " dataCobra
2022-08-11  4:54 ` dataCobra
2022-08-11  4:59 ` classabbyamp
2022-08-11  5:03 ` classabbyamp
2022-08-11  5:19 ` dataCobra
2022-08-11  5:25 ` dataCobra
2022-08-11  5:27 ` [PR PATCH] [Updated] " dataCobra
2022-08-11  5:29 ` dataCobra
2022-08-11  5:41 ` dataCobra
2022-08-11  5:41 ` dataCobra
2022-08-11  5:42 ` Anachron
2022-08-11  5:42 ` Anachron
2022-08-11  6:07 ` classabbyamp
2022-08-11  6:09 ` classabbyamp
2022-08-11  7:37 ` dataCobra
2022-08-11  7:37 ` [PR PATCH] [Updated] " dataCobra
2022-08-11  7:39 ` dataCobra
2022-08-11  7:39 ` dataCobra
2022-08-11  7:41 ` dataCobra
2022-08-11  7:50 ` dataCobra
2022-08-11  7:57 ` classabbyamp
2022-08-11  8:16 ` dataCobra [this message]
2022-08-11  8:41 ` dataCobra
2022-08-11  8:42 ` dataCobra
2022-08-11  8:43 ` Anachron
2022-08-11  8:43 ` [PR PATCH] [Updated] " dataCobra
2022-08-11  8:45 ` dataCobra
2022-08-11  8:46 ` dataCobra
2022-08-11  8:47 ` dataCobra
2022-08-11  9:03 ` dataCobra
2022-08-11  9:24 ` paper42
2022-08-11  9:31 ` [PR PATCH] [Updated] " dataCobra
2022-08-11  9:32 ` dataCobra
2022-08-11 16:18 ` dataCobra
2022-08-11 17:29 ` Anachron
2022-08-12  5:05 ` [PR PATCH] [Updated] " dataCobra
2022-08-12  5:22 ` dataCobra
2022-08-12  5:26 ` [PR PATCH] [Updated] " dataCobra
2022-08-12  5:30 ` dataCobra
2022-08-12  5:31 ` dataCobra
2022-08-12  6:17 ` [PR REVIEW] " classabbyamp
2022-08-12  6:17 ` classabbyamp
2022-08-12  6:17 ` classabbyamp
2022-08-12 12:07 ` [PR PATCH] [Updated] " dataCobra
2022-08-12 12:10 ` dataCobra
2022-08-12 12:13 ` dataCobra
2022-08-12 16:38 ` classabbyamp
2022-08-12 17:06 ` paper42
2022-08-12 18:43 ` [PR PATCH] [Updated] " dataCobra
2022-08-12 18:47 ` dataCobra
2022-08-12 21:44 ` classabbyamp
2022-08-12 21:45 ` classabbyamp
2022-08-12 21:45 ` classabbyamp
2022-08-13  5:56 ` [PR PATCH] [Updated] " dataCobra
2022-08-13  6:15 ` dataCobra
2022-08-13  6:23 ` [PR PATCH] [Merged]: " classabbyamp

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=20220811081638.bDzoChlDv8927Qqo_-3wPCD8I_cW9L_M6MSEcx3UEps@z \
    --to=datacobra@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).