cuda.eclass: update to EAPI7, remove 0-4
authorJason Zaman <perfinion@gentoo.org>
Mon, 17 Sep 2018 11:21:37 +0000 (19:21 +0800)
committerJason Zaman <perfinion@gentoo.org>
Fri, 21 Sep 2018 16:05:38 +0000 (00:05 +0800)
commitff02dab8c2ae831144e9b3efd9472b61bc3a6867
tree000ad16e433499ab41e4d16bac521963d1596187
parent2869e6c953397db6eda69ebe1769b30beea2e133
cuda.eclass: update to EAPI7, remove 0-4

cuda.eclass is only used from EAPI5,6 currently so remove support for
older EAPIs.

Updating to EAPI7 means removing versionator. It was only used to sort
the cuda versions. Instead first try the current GCC version, if that
fails try best_version, if that still fails just pick the last in
the list that works. They are already sorted and hopefully stay that
way so version_sort is not required.

Signed-off-by: Jason Zaman <perfinion@gentoo.org>
eclass/cuda.eclass