From: "Ivan A. Melnikov" <iv@altlinux.org>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] semantik (mindmaps) и библиотека waflib
Date: Mon, 10 Nov 2025 16:30:53 +0400
Message-ID: <l5rktq6frdupbpeghfabwtfn6e@iv-work> (raw)
In-Reply-To: <481770b3-9055-4948-b036-3b417e03b045@yandex.ru>
On Mon, Nov 10, 2025 at 03:06:48PM +0300, Alexander Lubyagin wrote:
> Собрал графическое приложение для рисования диаграмм связей (mindmaps).
> Называется оно semantik. Зависимости от python2.7, как и в OpenSUSE,
> подчистил sed -i. Но внутрь ещё "вкорячены" утилиты wscript и waf-2.0.27,
waf предлагаю расвкорячить: не таскать с собой, а использовать системный.
Для этого пропатчить код, который его вызывает, чтобы он вызывал
не 'python waf ...' а просто 'waf ...'. Поставить нависимость на waf,
вкоряченый удалить.
wscript это не утилиты, а, по сути, сборочные скрипты, запускаемые
из-под waf. Генерируемая из них зависимость на python3(waflib)
ложная -- при запуске waf эта библиотека будет доступна. Эту зависимость
нужно удалить, например с помощью %filter_from_requires.
--
wbr,
iv m.
prev parent reply other threads:[~2025-11-10 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-10 12:06 Alexander Lubyagin
2025-11-10 12:23 ` Anton Farygin
2025-11-10 22:31 ` Alexander Lubyagin
2025-11-10 12:30 ` Ivan A. Melnikov [this message]
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=l5rktq6frdupbpeghfabwtfn6e@iv-work \
--to=iv@altlinux.org \
--cc=devel-newbies@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
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git