ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Помощь с зависимостями в python
Date: Tue, 15 Oct 2019 19:25:26 +0300
Message-ID: <CAEdvWkScUG6nnvJwj3MUm8yGufDrpZd90KUvP1V4HdK8kZZzNQ@mail.gmail.com> (raw)
In-Reply-To: <fc1f585267210ef040e2ccf03bc087b6@altlinux.ru>

вт, 15 окт. 2019 г. в 19:13, Vitaly Lipatov <lav@altlinux.ru>:
>
> Alexey Shabalin писал 15.10.19 18:32:
> > вт, 15 окт. 2019 г. в 17:14, Vitaly Lipatov <lav@altlinux.ru>:
> >>
> >> Помогите, пожалуйста, разобраться.
> >>
> >> Проваливается сборка пакета:
> >>         x86_64: NEW unmet dependencies detected:
> >> certbot-apache#0.38.0-alt1      python3(certbot) < 0
> >>
> >> http://git.altlinux.org/tasks/237698/logs/events.5.1.log
> >>
> >> При этом при сборке пакета certbot автовыставляется такое:
> >> Provides: letsencrypt = 0.38.0, python3(certbot) = set:edzs
> >>
> >> Не пойму, почему не удовлетворяется зависимость.
> >> Не пойму, почему в зависимости написано < 0 и что это значит.
> >> Соответственно, не могу починить :(
> >
> > python3(certbot) = set:edzs  означает что этот модуль лежит в
> > приватном месте, не стандартный путь поиска для python3 модулей
> А зачем пакет провайдит модуль из приватного места, если им никто не
> может воспользоваться?

Им может воспользоваться сам этот же пакет.
Т.е. если в этом же пакете есть import приватных модулей, то автопоиск
их найдет и выставит Requires, которые надо удовлетворить. Т.е. сам
пакет у вас успешно собирался, а вот для сторонних пакетов уже нужны
"чесные" Provides.

>
> > И действительно:
> > certbotdir %_datadir/%name
>
> >
> > Что бы сделать его "стандартным", вам нужно в спек добавить следующее:
> > %allow_python3_import_path %certbotdir
> > %add_python3_path %certbotdir
> Спасибо, помогло!

-- 
Alexey Shabalin

  reply	other threads:[~2019-10-15 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 14:13 Vitaly Lipatov
2019-10-15 14:27 ` Grigory Ustinov
2019-10-15 15:24   ` Vitaly Lipatov
2019-10-15 14:55 ` Michael Shigorin
2019-10-15 15:32 ` Alexey Shabalin
2019-10-15 16:13   ` Vitaly Lipatov
2019-10-15 16:25     ` Alexey Shabalin [this message]
2019-10-15 19:44     ` 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=CAEdvWkScUG6nnvJwj3MUm8yGufDrpZd90KUvP1V4HdK8kZZzNQ@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --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