1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
9 inherit eutils distutils-r1 prefix
11 DESCRIPTION="Tool to help select distfiles mirrors for Gentoo"
12 HOMEPAGE="https://wiki.gentoo.org/wiki/Mirrorselect"
13 SRC_URI="https://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz
14 https://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test
21 KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
25 net-analyzer/netselect
26 >=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}]
29 python_prepare_all() {
31 eprefixify setup.py mirrorselect/main.py
32 echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version
33 VERSION="${PVR}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed"
34 distutils-r1_python_prepare_all