Bug 25754 - gir-python.req is broken
Summary: gir-python.req is broken
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build-gir (show other bugs)
Version: unstable
Hardware: all Linux
: P5 critical
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 01:00 MSK by Yuri N. Sedunov
Modified: 2011-09-14 14:22 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri N. Sedunov 2011-06-14 01:00:10 MSK
gir-python.req испорчен в 0.6-alt1
В частности, при сборке python-module-pygobject появляется ложная зависимость на typelib(as)
Очевидно, фильтр неверно обрабатывает строки вида:
/usr/lib/python2.6/site-packages/gi/overrides/Gdk.py:    from gi.repository import cairo as _cairo
Comment 1 Repository Robot 2011-06-14 14:10:54 MSK
rpm-build-gir-0.7-alt1 -> sisyphus:

* Tue Jun 14 2011 Alexey Shabalin <shaba@altlinux> 0.7-alt1
- fixed gir-python.req - delete all after "as" (ALT #25754)
Comment 2 Yuri N. Sedunov 2011-08-22 03:28:55 MSK
В pygobject-2.90.2 есть строка
gi/_gobject/__init__.py:    raise ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".')

Из нее gir-python.req извлекает следующие зависимости:
typelib(gobject) 
typelib(like)
typelib(modules)
typelib(static)
Comment 3 Yuri N. Sedunov 2011-08-26 08:43:21 MSK
ping
Comment 4 Alexey Shabalin 2011-08-26 17:58:08 MSK
предлагай фильтр.
Comment 5 Yuri N. Sedunov 2011-08-26 18:04:46 MSK
(In reply to comment #4)
> предлагай фильтр.

Не, мне проще и удобнее будет форкнуть rpm-build-gir, чем "предлагать" что-то тебе.
Comment 6 Repository Robot 2011-09-14 14:22:22 MSK
rpm-build-gir-0.7.1-alt2 -> sisyphus:

* Wed Sep 14 2011 Alexey Shabalin <shaba@altlinux> 0.7.1-alt2
- build to Sisyphus

* Sun Sep 04 2011 Yuri N. Sedunov <aris@altlinux> 0.7.1-alt1
- improved gir-python.req (ALT #25754)