diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2022-06-23 13:09:36 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2022-06-23 13:11:03 -0700 |
commit | 31e6b9634e6be75108e499c6a150679cbb0de53c (patch) | |
tree | a5d6112bccd3dd74f282a1263cb43ed49d449fa1 /app-portage | |
parent | dev-libs/elfutils: Stabilize 0.187 ppc64, #853910 (diff) | |
download | gentoo-31e6b9634e6be75108e499c6a150679cbb0de53c.tar.gz gentoo-31e6b9634e6be75108e499c6a150679cbb0de53c.tar.bz2 gentoo-31e6b9634e6be75108e499c6a150679cbb0de53c.zip |
app-portage/mirrorselect: Bump to version 2.3.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/mirrorselect/Manifest | 1 | ||||
-rw-r--r-- | app-portage/mirrorselect/mirrorselect-2.3.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-portage/mirrorselect/Manifest b/app-portage/mirrorselect/Manifest index 3cfe5b8dc8b4..c3df53f89d10 100644 --- a/app-portage/mirrorselect/Manifest +++ b/app-portage/mirrorselect/Manifest @@ -1,2 +1,3 @@ DIST mirrorselect-2.2.6.tar.gz 16727 BLAKE2B 8875bf61e26ac474338d81a602297fa4fdf3fab3dbd478b02129dbe71f2d09445efa9b82792e3e654725c5e87a4ca00d37a3d924f8bd6f2decdf74148d1069c8 SHA512 ff2b88bf568f79182275e2c85cafbeee7cbeb0226225a7c3289f0a1d7a8b5eae9d41c69b099bb7e0cc9b0300b23afea43c3ac1baa13f37c696159bb1b3ac05f8 +DIST mirrorselect-2.3.0.tar.gz 18039 BLAKE2B eebc4a02257b734c3dfd05cee541369689b92548b5421e977dd451442e8c83e426a03845a46e92eaa01507e0cba2b3679c97db2c00f012619cf9f551cfa1e1af SHA512 fc040bf6a9cc79f781157c7b65c6366c86dd54d583b4286845e3d037a2709c376e9132889e9dbe2cd40846cd7bd138aae7111d1a442a421101db756cc259b535 DIST mirrorselect-test 102403 BLAKE2B 8f23cebf111912ea6fcdea5f4a50a84751a4dd0c62956555a5c0b4fbe15d2329424a65b18c3608440bc0fedd4b2d25fc74cfe91e6e434eb90b7090b36e17b65f SHA512 f43d92e9bf7e77c8f04449a786cb659bdfc07257892caca842ab4a63eb9c5351fa48130c2e163857f3233a595cea7b83f5ea9fa879b782e15b73beb62f0e5e27 diff --git a/app-portage/mirrorselect/mirrorselect-2.3.0.ebuild b/app-portage/mirrorselect/mirrorselect-2.3.0.ebuild new file mode 100644 index 000000000000..140f530d2904 --- /dev/null +++ b/app-portage/mirrorselect/mirrorselect-2.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="xml" + +inherit 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="ipv6" + +RDEPEND=" + dev-util/dialog + >=net-analyzer/netselect-0.4[ipv6(+)?] + >=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}] +" + +python_prepare_all() { + python_setup + 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 +} + +python_test() { + esetup.py test || die "tests failed under ${EPYTHON}" +} |