detect binary packages upgrades on gentoo

This commit is contained in:
Fredrik Eriksson 2021-02-22 17:21:05 +01:00
parent a0a58c46d9
commit 5a20f43255
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D

View File

@ -102,7 +102,7 @@ def pkg_upgrade():
_sync_portage()
# [ebuild U ] media-plugins/alsa-plugins-1.1.8 [1.1.6]
pretend_re = re.compile(r'^\[ebuild ([^\]]*)\] ([^ ]+)( \[[^\]]+\])?')
pretend_re = re.compile(r'^\[(?:ebuild|binary) ([^\]]*)\] ([^ ]+)( \[[^\]]+\])?')
# media-plugins/alsa-plugins-1.1.8
version_re = re.compile(r'^(.*/.*)-(\d+.*)$')