ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] python and typelib
@ 2019-12-02 17:39 Alexey Shabalin
  2019-12-02 18:52 ` Stanislav Levin
  2019-12-03 12:59 ` Mikhail Efremov
  0 siblings, 2 replies; 6+ messages in thread
From: Alexey Shabalin @ 2019-12-02 17:39 UTC (permalink / raw)
  To: ALT Linux Team development discussions

День добрый.
Разбираясь с пакетом virt-install по поводу отсутствующих нужных
зависимостей, Пришел к следующему выводу:
Если в пакете есть зависимость вида
python3(gi)
python3(gi.repository)
то так же обязана быть хотя бы одна зависимость на _typelib_.

Рассмотрим пример:
в virt-manager-common в osdict.py присутствует код:
-----------------------------
from gi.repository import Libosinfo
-----------------------------
Это означает, что должны появится следующие зависимости:
python3(gi.repository)
typelib(Libosinfo)

typelib(Libosinfo) отсутствовал в зависимостях, и соответственно код не работал.
Если в ручную доустановить libosinfo-gir, то все нормальною

Последняя зависимость успешно появляется, если в сборочную среду
добавить rpm-build-gir:
Т.е. нужно
BuildRequires(pre): rpm-build-python3 rpm-build-gir

Ниже список пакетов(спасибо vseleznv@) в которых присутствует
python3(gi.repository), но нет ни одной зависимости на typelib, что
означает, что "из коробки" что-то не заработает. Прошу мантейнеров
посмотреть и поправить. Возможно достаточно добавить rpm-build-gir в
сборочную среду.

arandr lav @everybody
battray viy @everybody
catfish george @qa
dogtail lav @qa
fleet-commander-admin slev @everybody
fleet-commander-client slev @everybody
lirc rider lakostis @everybody
mate-menu cas @everybody
mugshot cas @everybody
playitslowly george @everybody
python-module-ipykernel @python @everybody
python3-module-mass mrdrew @everybody
python3-module-mpltools mrdrew @everybody
python3-module-xapp cow @everybody
rednotebook lav @everybody
xfce4-panel-profiles sem @xfce @everybody

PS: или развесить баги?


-- 
Alexey Shabalin

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

end of thread, other threads:[~2019-12-04 18:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 17:39 [devel] python and typelib Alexey Shabalin
2019-12-02 18:52 ` Stanislav Levin
2019-12-02 19:27   ` Alexey Shabalin
2019-12-02 20:10     ` Stanislav Levin
2019-12-04 18:22       ` Alexey Shabalin
2019-12-03 12:59 ` Mikhail Efremov

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