version=4
opts=uversionmangle=s/(\d)(rc|a|b|c)/$1~$2/ \
https://pypi.debian.net/u-boot-pylib/ \
  u[-_]boot[-_]pylib-@ANY_VERSION@@ARCHIVE_EXT@
