diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-portage/mirrorselect/mirrorselect-2.2.2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-portage/mirrorselect/mirrorselect-2.2.2.ebuild')
-rw-r--r-- | app-portage/mirrorselect/mirrorselect-2.2.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-portage/mirrorselect/mirrorselect-2.2.2.ebuild b/app-portage/mirrorselect/mirrorselect-2.2.2.ebuild new file mode 100644 index 000000000000..88aaa45414ac --- /dev/null +++ b/app-portage/mirrorselect/mirrorselect-2.2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,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/Mirrorselect" +SRC_URI="https://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz + https://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}] + <dev-python/ssl-fetch-0.3[${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 +} |