ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: drool@altlinux.ru
Cc: devel@lists.altlinux.org
Subject: [devel] allow_python3_import_path Re: gis-weather unmets
Date: Tue, 11 Oct 2016 15:41:00 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1610111537050.5482@ovicaa.localdomain> (raw)
In-Reply-To: <2b791e5c-6095-0da3-cc6f-46e2dd71f3b3@rambler.ru>

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


On Tue, 11 Oct 2016, Motsyo Gennadi wrote:

> 	Захотел обновить gis-weather, на локальном хашере p8 собирается, в 
> сизифе обломалось:
> http://git.altlinux.org/tasks/170722/logs/events.1.1.log
> 	 Есть возможность подсказать, чего ему не хватает?

Там:

 	x86_64: NEW unmet dependencies detected:
gis-weather#0.8.1-alt1  	python3(dialogs) < 0
gis-weather#0.8.1-alt1  	python3(services) < 0


Вижу, он сам их и предоставляет по своему особому пути (разбил на строки) 
-- и раньше так:

[imz@people 1010]$ fgrep 'python3(dialogs)' success/* error/*
success/gis-weather-0.8.0-alt1.1:/usr/src/tmp/gis-weather-buildroot/usr/share/gis-weather/dialogs/__init__.py 
provides python3(dialogs) (under non-std path /usr/share/gis-weather)

success/gis-weather-0.8.0-alt1.1:Provides: python3(dialogs) = set:ed6q, 
python3(dialogs.about_dialog) = set:ed6q, python3(dialogs.city_id_dialog) 
= set:ed6q, python3(dialogs.help_dialog) = set:ed6q, 
python3(dialogs.settings_dialog) = set:ed6q, 
python3(dialogs.update_dialog) = set:ed6q, python3(services) = set:ed6q, 
python3(services.accuweather) = set:ed6q, python3(services.data) = 
set:ed6q, python3(services.gismeteo) = set:ed6q, 
python3(services.openweathermap) = set:ed6q, python3(services.yr) = 
set:ed6q, python3(utils) = set:ed6q, python3(utils.autorun) = set:ed6q, 
python3(utils.convert) = set:ed6q, python3(utils.date_convert) = set:ed6q, 
python3(utils.desktop) = set:ed6q, python3(utils.diff_versions) = 
set:ed6q, python3(utils.gw_menu) = set:ed6q, python3(utils.gw_vars) = 
set:ed6q, python3(utils.instance) = set:ed6q, python3(utils.localization) 
= set:ed6q, python3(utils.opener) = set:ed6q, python3(utils.presets) = 
set:ed6q, python3(utils.weather_vars) = set:ed6q, 
python3(utils.wind_direct_convert) = set:ed6q

success/gis-weather-0.8.0-alt1.1:Requires: python3-module-pygobject3, 
python3-module-pycairo, /bin/bash, /usr/bin/env, python3, 
python3(__future__) < 0, python3(argparse) < 0, python3(cairo) < 0, 
python3(datetime) < 0, python3(dialogs) < 0, python3(gettext) < 0, 
python3(gi) < 0, python3(gzip) < 0, python3(json) < 0, python3(locale) < 
0, python3(math) < 0, python3(os) < 0, python3(re) < 0, python3(services) 
< 0, python3(shlex) < 0, python3(shutil) < 0, python3(subprocess) < 0, 
python3(urllib) < 0, python3(utils) < 0, typelib(GLib), typelib(GObject), 
typelib(Gdk), typelib(GdkPixbuf), typelib(Gtk), typelib(Pango), 
typelib(PangoCairo), typelib(Rsvg)

success/gis-weather-0.8.0-alt1.1:+Requires: python3(dialogs) < 0

success/gis-weather-0.8.0-alt1.1:+Provides: python3(dialogs) = set:ed6q

Надо дать указание про это в spec-е с помощью %allow_python3_import_path . 
См. пример в спеке poezio .

Не всегда удобно по умолчанию разрешать такие импорты, даже если у нас 
есть не стандратный python3_path.

(В частности, могут возникнуть проблемы из-за разных путей на разных 
архитектурах.)

Давайте посмотрим, что будет.

Best regards,
Ivan

       reply	other threads:[~2016-10-11 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-11 12:41 ` Ivan Zakharyaschev [this message]
2016-10-11 17:31     ` Ivan Zakharyaschev

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=alpine.LFD.2.20.1610111537050.5482@ovicaa.localdomain \
    --to=imz@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=drool@altlinux.ru \
    /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