ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Sergey Y. Afonin" <asy@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] scons (Re:  p9: python3 и gpsd)
Date: Mon, 18 May 2020 22:55:10 +0400
Message-ID: <202005182255.10072.asy@altlinux.org> (raw)
In-Reply-To: <202001021941.20453.asy@altlinux.org>

On Thursday 02 January 2020, Sergey Y. Afonin wrote:

> Obtaining Python exe path... /usr/bin/python3
> Obtaining Python config vars... ok
> WARNING: Python too old: gps/aiogps.py will not be installed
> WARNING: Python module serial (pyserial) not found.
> ...
> WARNING: xgps and xgpsspeed will not be installed

> Видимо, какая-то путаница с питонами всё же происходит, даже несмотря
> на наличие target_python=%__python3 в вызове scons в спеке. Ещё в
> SConstruct есть приписка FIXME как раз на эту тему:
> 
>         # aiogps is only available on Python >= 3.6
>         # FIXME check target_python, not current python
>         if sys.version_info < (3, 6):
>             config.env['aiogps'] = False
 
Показалось, что могло бы помочть что-то вроде

"/usr/bin/env python3 $(which scons) ..."

в %build, но в p9 у scons нет библиотек для python3. Идея вообще похожа
на имеющую смысл, или должен быть другой вариант?

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


  parent reply	other threads:[~2020-05-18 18:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-02 15:41 [devel] p9: python3 и gpsd Sergey Y. Afonin
2020-01-03  8:59 ` Sergey Y. Afonin
2020-01-09 14:57   ` [devel] gpsd 3.20 и marble Sergey Y. Afonin
2020-05-18 18:55 ` Sergey Y. Afonin [this message]
2020-05-18 19:14   ` [devel] scons (Re: p9: python3 и gpsd) Vladimir Didenko
2020-05-18 20:02     ` Sergey Y. Afonin
2020-06-24 18:34     ` 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=202005182255.10072.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