ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Zhukharev <ancieg@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] rename_module_to_use_pypi_name
Date: Tue, 1 Aug 2023 15:54:18 +0300
Message-ID: <374ee193-5282-1a8a-7a3d-596571b22c53@basealt.ru> (raw)
In-Reply-To: <20230801124139.GA18149@altlinux.org>

On 8/1/23 15:41, Dmitry V. Levin wrote:
> On Tue, Aug 01, 2023 at 03:35:31AM +0300, Vitaly Lipatov wrote:
>> Увидел в задании
>> https://packages.altlinux.org/ru/tasks/326144/
>> переименование пакета python3-module-dotenv в
>> python3-module-python-dotenv.
> 
> $ cut -f1 Sisyphus/files/list/src.list |grep -E '(\<python3?\>.*){2,}' |join -t$'\t' - acl/list.packages.sisyphus
> python3-module-domdf-python-tools	ancieg @everybody
> python3-module-forex-python	@python @everybody
> python3-module-google-auth-library-python	antohami @everybody
> python3-module-material-color-utilities-python	aris
> python3-module-python-barcode	oddity @everybody
> python3-module-python-build	@python @everybody
> python3-module-python-decouple	lav @everybody
> python3-module-python-dotenv	cow @everybody
> python3-module-python-for-android	lav @everybody
> python3-module-python-json-logger	toni @everybody
> python3-module-python-lsp-jsonrpc	ancieg @everybody
> python3-module-python-lsp-server	ancieg @everybody
> python3-module-python-multipart	ancieg @everybody
> python3-module-universal-analytics-python	@python @everybody
> 
> На мой взгляд, маловато питонов в именах этих пакетов.
> Раз уж это третий питон, логично, чтобы их было три!
> Например, python3-module-python-dotenv-python, ну красота же!

Да, это не очень красиво, но сильно упрощает жизнь (ИМХО).

Лично я в такие моменты задумываюсь о том, что для маппинга имён из 
PyPI, наверное, стоило бы использовать просто дополнительный провайд 
вида "pyproject-%{pep503_name %pypi_name} = %EVR", где %pypi_name - имя 
проекта на PyPI.

Но у такого способа, вроде бы, был подводный камень (но это не точно), 
про который я сейчас не могу вспомнить.

-- 
Best wishes,
Anton Zhukharev
ALT Linux Team


      parent reply	other threads:[~2023-08-01 12:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01  0:35 Vitaly Lipatov
2023-08-01  6:55 ` Anton Zhukharev
2023-08-01 12:41 ` Dmitry V. Levin
2023-08-01 12:54   ` Vladimir Didenko
2023-08-01 12:54   ` Anton Zhukharev [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=374ee193-5282-1a8a-7a3d-596571b22c53@basealt.ru \
    --to=ancieg@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