You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-portage/mirrorselect/mirrorselect-2.2.2.ebuild,v 1.13 2014/09/24 09:33:24 ago Exp $
|
|
|
|
EAPI="5"
|
|
|
|
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
|
PYTHON_REQ_USE="xml"
|
|
|
|
inherit eutils distutils-r1 prefix
|
|
|
|
DESCRIPTION="Tool to help select distfiles mirrors for Gentoo"
|
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Mirrorselect"
|
|
SRC_URI="http://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz
|
|
http://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test
|
|
"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
|
|
|
RDEPEND="
|
|
dev-util/dialog
|
|
net-analyzer/netselect
|
|
>=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
python_prepare_all() {
|
|
python_export_best
|
|
eprefixify setup.py mirrorselect/main.py
|
|
echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
|
VERSION="${PVR}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed"
|
|
distutils-r1_python_prepare_all
|
|
}
|