ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Yuri Sedunov <aris@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] selecting the default Cython to use: none (for bootstrap) or real
Date: Mon, 26 Mar 2018 23:46:51 +0300
Message-ID: <2ca9c14afbb43a89478e1b6f115b64f8ee17d793.camel@altlinux.org> (raw)
In-Reply-To: <alpine.LFD.2.20.1803261600510.3361@imap.altlinux.org>

В Пн, 26/03/2018 в 16:18 +0300, Ivan Zakharyaschev пишет:
> Hello!
> 
> Пакеты, использующую Cython для сборки, обычно работают и не 
> скомпилированные им (непотимально, интерпретируются питоном).
...
> 
> Другой вариант: python3-module-Cython -- пустой пакет, который имеет 
> только Requires: python3-module-CythonVERSION . На время пересборки
> с 
> новым python3 и для новых платформ собирается его релиз без
> Requires, 
> потом возвращается (в следующем таске или когда будет реализован).
> 
> В BuildRequires уже написано python3-module-Cython у пакетов и это
> мы 
> редактировать не хотим.
> 
> Для реализации второго плана нужно содействие от мейнтейнера 
> python-module-Cython (а первый план -- больше беспорядка вносит) в 
> переименовании пакета по крайней мере. aris@ и другие
> заинтересованные, 
> что думаете?

Думается, что не надо портить python-module-Cython. 

Если научить сборочечницу принимать аргументы для rpmbuild, что кажется
полезным в общем случае, то будет достаточно чуть модифицировать
целевые пакеты вписав простые конструкции типа:
%def_enable cython
%{?_enable_cython: BuildRequires: python-module-Cython}

-- 
Yuri N. Sedunov



  parent reply	other threads:[~2018-03-26 20:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-26 13:18 Ivan Zakharyaschev
2018-03-26 13:50 ` Paul Wolneykien
2018-03-26 13:52   ` Ivan Zakharyaschev
2018-03-26 20:46 ` Yuri Sedunov [this message]
2018-03-26 21:31   ` Dmitry V. Levin
2018-03-26 22:09     ` Yuri Sedunov
2018-03-27  9:40       ` Ivan Zakharyaschev
2018-03-27 10:39         ` Yuri Sedunov

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=2ca9c14afbb43a89478e1b6f115b64f8ee17d793.camel@altlinux.org \
    --to=aris@altlinux.org \
    --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