Исправлено: определение корректной версии .rpm

Дополнено: шаблон генерации пакетов pip
This commit is contained in:
2025-04-06 15:48:28 +03:00
parent 2bbc308810
commit c59ed6d505
2 changed files with 43 additions and 45 deletions

View File

@ -41,10 +41,10 @@ checksums=('blake2b-256:{{.SourceURL.Digests.blake2b_256}}')
build() {
cd "$srcdir/{{.Info.Name}}-${version}"
python3 -m build
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/{{.Info.Name}}-${version}"
pip install --root="${pkgdir}/" . --no-deps --disable-pip-version-check
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
}