Edit: Thanks @MarsSeed
I have updated and fixed the pkgver(), so please don't delete.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/python-colorama-git.git (read-only, click to copy) |
|---|---|
| Package Base: | python-colorama-git |
| Description: | Simple cross-plaform colored terminal text in Python 3 |
| Upstream URL: | https://github.com/tartley/colorama |
| Licenses: | BSD-3-Clause |
| Conflicts: | python-colorama |
| Provides: | python-colorama |
| Submitter: | jyantis |
| Maintainer: | a821 |
| Last Packager: | a821 |
| Votes: | 1 |
| Popularity: | 0.000000 |
| First Submitted: | 2014-10-08 03:24 (UTC) |
| Last Updated: | 2024-07-15 11:07 (UTC) |
Edit: Thanks @MarsSeed
I have updated and fixed the pkgver(), so please don't delete.
Wrong version generated: 0.4.5.pre.0.4.1.r97.g34703ec-1
For Pacman, 0.4.5.pre is newer than the future, to-be-released 0.4.5.
To fix:
You should use this one line in pkgver():
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
Add epoch=1 before pkgver= in PKGBUILD.
The correct version generated as of now shoul be: 1:0.4.4.r46.g34703ec.