mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
eclass/pypi: Sync with Gentoo
It's from Gentoo commit bb60cc3fc8505ce5323ebbe6825faf68c6af4f33.
This commit is contained in:
parent
fbcbdb052c
commit
7a6c2de03b
@ -105,6 +105,7 @@ _pypi_translate_version() {
|
||||
local version=${1}
|
||||
version=${version/_alpha/a}
|
||||
version=${version/_beta/b}
|
||||
version=${version/_pre/.dev}
|
||||
version=${version/_rc/rc}
|
||||
_PYPI_TRANSLATED_VERSION=${version/_p/.post}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user