]> git.itanic.dy.fi Git - emerge-timer/commit
list_pretended: Change how the package name is parsed from stdin
authorEsko Kokkonen <esko.kokkonen@gmail.com>
Mon, 29 Aug 2011 10:14:22 +0000 (13:14 +0300)
committerEsko Kokkonen <esko.kokkonen@gmail.com>
Mon, 29 Aug 2011 10:14:22 +0000 (13:14 +0300)
commita4c5d89b082cfbc43c1ea38ef88a281369340ef7
treecf83113e136769a88ede0b7047f9fb548440c5e6
parentc85e2cbc0a0148ccfa78e22df123a49dfa6469bb
list_pretended: Change how the package name is parsed from stdin

Implement a better way of getting the package name and version from
stdin. This doesn't involve going through a list of all packages in
such a tedious way it was before. Only thing this now requires is that
the version number of any package always starts with a digit. So a
version number like "-1.0" is totally fine, but a version number like
"-r1-1.0" is not. Hopefully the latter ones aren't that common.
emerge-timer.py