From: Stanislav Levin <slev@altlinux.org> To: devel@lists.altlinux.org Subject: Re: [devel] pyproject.toml and new rpm macroses Date: Fri, 24 Jun 2022 17:05:50 +0300 Message-ID: <1c39d789-c096-a921-11cf-44d444b0aa27@altlinux.org> (raw) In-Reply-To: <20220623160827.GA16239@altlinux.org> [-- Attachment #1.1: Type: text/plain, Size: 1947 bytes --] 23.06.2022 19:08, Dmitry V. Levin пишет: > On Mon, Jun 20, 2022 at 05:40:48PM +0300, Stanislav Levin wrote: >> Здравствуйте, >> >> в сборочном задании 301407 [0] предложены RPM макросы и их реализация >> для поддержки сборки и установки современных Python проектов >> (setup.py-less). >> >> Больше информации на соответствующей wiki странице [1]. >> >> Замечания и предложения приветствуются. >> >> [0]: >> https://lists.altlinux.org/pipermail/sisyphus-incominger/2022-June/663615.html >> [1]: https://www.altlinux.org/Python_packaging_guide > Спасибо за отклик! > Мне кажется странным, что макрос по имени %tox_default_config > занимается тем, что создаёт файл tox.ini в текущем каталоге. > Возможно, имя %tox_create_default_config подошло бы лучше. Имеет смысл, поправил. > > Порядок использования переменной по имени posargs не очевиден. posargs - это про tox: https://tox.wiki/en/latest/config.html#substitutions-for-positional-arguments-in-commands Например, указав следующее %tox_check_pyproject -- -vv, '-vv' передастся команде выполнения, например, pytest -vv. > > Вместо foo="${foo:-bar}" обычно используют ${foo:=bar}. > Кстати, необходимость переопределения пустого значения тоже не очевидна. > > Да, пустые TOX переменные имеют практический смысл и не должны никак искажаться. Поправил. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2022-06-24 14:05 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-20 14:40 Stanislav Levin 2022-06-20 16:03 ` Grigory Ustinov 2022-06-21 10:54 ` Stanislav Levin 2022-06-21 15:22 ` Vladimir D. Seleznev 2022-06-20 17:52 ` Yuri Sedunov 2022-06-21 12:14 ` Ivan Zakharyaschev 2022-06-23 5:34 ` Michael Shigorin 2022-06-23 14:23 ` Stanislav Levin 2022-06-23 16:08 ` Dmitry V. Levin 2022-06-24 14:05 ` Stanislav Levin [this message] 2022-06-29 11:48 ` Stanislav Levin 2022-07-18 8:06 ` Stanislav Levin 2022-07-19 10:21 ` Ivan Zakharyaschev 2022-07-19 10:28 ` Anton Farygin 2022-07-19 10:57 ` Stanislav Levin 2022-07-19 11:09 ` Arseny Maslennikov 2022-07-19 12:30 ` Stanislav Levin 2022-07-19 11:12 ` Ivan Zakharyaschev 2022-07-20 8:00 ` Stanislav Levin 2022-07-20 15:08 ` Grigory Ustinov 2022-07-20 15:15 ` Stanislav Levin 2022-07-20 16:03 ` Grigory Ustinov 2022-07-20 20:13 ` Stanislav Levin 2022-07-20 21:43 ` Grigory Ustinov 2022-07-21 9:12 ` Stanislav Levin 2022-08-11 18:01 ` Vitaly Lipatov 2022-08-11 18:15 ` Yuri Sedunov 2022-08-12 7:22 ` Stanislav Levin 2022-07-23 12:06 ` Andrey Cherepanov
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=1c39d789-c096-a921-11cf-44d444b0aa27@altlinux.org \ --to=slev@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