ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] rpm-build-python-0.34-alt1 regression
Date: Mon, 8 Jun 2009 11:34:37 +0400
Message-ID: <20090608073437.GB22520@altlinux.org> (raw)
In-Reply-To: <20090607164153.GA14215@wo.int.altlinux.org>

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

On Sun, Jun 07, 2009 at 08:41:53PM +0400, Dmitry V. Levin wrote:
> On Sun, Jun 07, 2009 at 11:25:24PM +0800, Terechkov Evgenii wrote:
> > 07.06.2009 Dmitry V. Levin писал:
> > 
> > > > > Если просто пересобрать нынешний python-module-imaging-1.1.6-alt2.src.rpm
> > > > > в текущей среде, то полученный бинарный python-module-imaging теряет
> > > > > python2.5(PIL) и python2.5(PIL.*) из своих Provides.
> > > > Ну... таки баг и таки не просто так alt3 ?
> > > В alt3 ситуация аналогичная: нет python2.5(PIL) и python2.5(PIL.*).
> > 
> > Судя по коммитам, переход alt2 -> alt3 сделан корректно, перенесением
> > файла PIL.pth из одного подпакета в другой.
> 
> Да, вполне.
> 
> > Пересборка python-module-imaging-1.1.6-alt3 в среде с
> > rpm-build-python-0.33.2-alt1 даёт Provides: python2.5(PIL),
> > python2.5(PIL.*) в подпакете python-module-imaging. Я думаю, это
> > регрессия в rpm-build-python.
> 
> Да, вполне возможно.

Уважаемые мужички!
Я посмотрел эту проблему, но пока проблемы особо не понял.

$ hsh-install 'python2.5(PIL)'
<13>Jun  8 07:25:23 rpmi: python-module-imaging-devel-1.1.6-alt2 installed
$ hsh-run -- python -c 'import PIL'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named PIL
$ 

Пространство питоновских зависимостей -- это имена модулей, которые
могут быть импортированы с помощью инструкции import.

Другими словами, если пакет предоставляет зависимость 'python(foo)',
то это должно значить, что будет работать команда python -c 'import foo'.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-06-08  7:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-06 14:17 [devel] python module provides Alexey Morsov
2009-06-06 16:18 ` Dmitry V. Levin
2009-06-07 10:22   ` Alexey Morsov
2009-06-07 10:52     ` Dmitry V. Levin
2009-06-07 12:24       ` Alexey Morsov
2009-06-07 12:59         ` Dmitry V. Levin
2009-06-07 15:25           ` Terechkov Evgenii
2009-06-07 16:41             ` [devel] rpm-build-python-0.34-alt1 regression Dmitry V. Levin
2009-06-08  7:34               ` Alexey Tourbin [this message]
2009-06-08 10:41                 ` Terechkov Evgenii
2009-06-08 14:02                   ` Alexey Tourbin
2009-06-08 15:19                     ` Terechkov Evgenii
2009-06-08 15:33                       ` Alexey Tourbin
2009-06-08 15:36                         ` Mikhail Gusarov
2009-06-08 15:56                           ` Terechkov Evgenii
2009-06-08 16:07                             ` Mikhail Gusarov
2009-06-08 16:08                             ` Alexey Tourbin
2009-06-13  3:31                         ` Alexey Tourbin
2009-06-08 15:46                     ` Ivan Fedorov

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=20090608073437.GB22520@altlinux.org \
    --to=at@altlinux.ru \
    --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