ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Sergey Y. Afonin" <asy@altlinux.org>
To: devel@lists.altlinux.org
Subject: [devel] gpsd: python3-module-pygobject
Date: Sun, 20 Oct 2019 15:42:38 +0400
Message-ID: <201910201542.38353.asy@altlinux.org> (raw)

Приветствую.

Что-то у меня какое-то недопонимание. При сборке пакета выдаётся
такое вот предупреждение (с python 2, с которым сейчас собрано в
Sisyphus, на самом деле аналогично):

WARNING: Python module pygobject not found.
    xgps and xgpsspeed will not be installed

python3-module-pygobject установлен. При этом проверка выглядит
вот так в SConstruct:

        # check for pygobject
        try:
            imp.find_module('gi')
        except ImportError:
            # no pycairo, don't build xgps, xgpsspeed
            announce("WARNING: Python module pygobject not found.\n"
                     "    xgps and xgpsspeed will not be installed")
            env['xgps'] = False

Комментарий тут явно с ошибкой, pycairo чуть раньше проверяется. А вот
с pygobject что и почему проверяется модуль gi на самом деле? Я модуля
python3-module-gi не вижу. Но в коде xgps и xgpsspeed хотят gi, а не 
pygobject:

# Gtk3 imports.  Gtk3 requires the require_version(), which then causes
# pylint to complain about the subsequent "non-top" imports.
import gi

На https://pygobject.readthedocs.io/en/latest/guide/api/api.html пишут,
что gi c pygobject действительно связан. Я с Питоном сильно на Вы, потому
что делать, не очень понятно. У нас как-то не так module-pygobject собран?

-- 
С уважением, Сергей Афонин


             reply	other threads:[~2019-10-20 11:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-20 11:42 Sergey Y. Afonin [this message]
2019-10-20 12:19 ` Антон Мидюков
2019-10-20 15:47   ` Sergey Y. Afonin

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=201910201542.38353.asy@altlinux.org \
    --to=asy@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git