mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-portage/mirrorselect: add 2.6.2
Ben Torkington (3):
add a set of models for the mirrors.xml structure
rework parser/extractor interface around MirrorSet models
grammar fixes
Bug: https://bugs.gentoo.org/970879
Bug: https://bugs.gentoo.org/970873
Closes: https://bugs.gentoo.org/971118
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
DIST mirrorselect-2.5.1.tar.gz 17217 BLAKE2B e8585853b06d70b63203e130218a36bcb38b4998fb79ef2ae1b526188abecd7971bbe97c9dc1fb2ec801c2f296eef962106409b46f7712225931fbf841c02ac0 SHA512 33deb0367dd08fb10789164c9230f8d03dbbe410b4d9775d114459bb2ba7cd956d9c999a6f783597e317abac0e7badcb04d066d156c497ca662e0e8b159200b5
|
||||
DIST mirrorselect-2.5.4.tar.gz 17225 BLAKE2B 7d56b086b1eb4328c57feae27ac375594c7dce73b090c4c2fcd4e5f7e3329bafc03016eee77a9c1f925ed5f0bf4a8f184116c6e334c094ca8f96cba8f766043c SHA512 898e592c1f2a5b81b24fe4289d2dd26dc1a7ffd541fe9ebc78e499f475c59ab027cfa060682e18d31a8b501ccb852722afe651b2f3465fef0219ac906c4119c5
|
||||
DIST mirrorselect-2.6.1.tar.gz 18193 BLAKE2B c1274e09d6c6ef6eb5bdea2ed0c8ba41cb05e5ed14e8d67fe2b03935246870d86b79b25753240572934621845c6e3d01730bd08e2350d033e63da3a120aa66a1 SHA512 2d01ca09a8415ba439f078e814c9bd01e99e8a0f51c02df012c966afb5086077dcf500850c1cea2e094fa77b75ee7d7821b1efd178ea401144333f7134e63ec3
|
||||
DIST mirrorselect-2.6.2.tar.gz 18970 BLAKE2B 7a50ce010d2c8e1c9e7c1dbdb5a502115241feed7a7f8a4588f7ee1b75ad4a9c12f8e42564e6615ae9334a179857558b737ec85943c03a459dd2fcc24c365d55 SHA512 8fe743fdb8c86be739f5ba4f5044d26e8ca1207b259388cf1df9ba4afb6e8cfa543063f9bd598c36ec0b04dba25cbac46623931d8e992b2f0e8913cbdd8013d0
|
||||
DIST mirrorselect-test 102403 BLAKE2B 8f23cebf111912ea6fcdea5f4a50a84751a4dd0c62956555a5c0b4fbe15d2329424a65b18c3608440bc0fedd4b2d25fc74cfe91e6e434eb90b7090b36e17b65f SHA512 f43d92e9bf7e77c8f04449a786cb659bdfc07257892caca842ab4a63eb9c5351fa48130c2e163857f3233a595cea7b83f5ea9fa879b782e15b73beb62f0e5e27
|
||||
|
||||
51
app-portage/mirrorselect/mirrorselect-2.6.2.ebuild
Normal file
51
app-portage/mirrorselect/mirrorselect-2.6.2.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit edo distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Tool to help select distfiles mirrors for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Mirrorselect"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/mirrorselect.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://gitweb.gentoo.org/proj/mirrorselect.git/snapshot/${P}.tar.gz
|
||||
https://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz
|
||||
https://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test
|
||||
"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="${DISTUTILS_DEPS}"
|
||||
RDEPEND="
|
||||
dev-util/dialog
|
||||
>=net-analyzer/netselect-0.4
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
||||
|
||||
local -x VERSION="${PVR}"
|
||||
sed -e 's:os.path.join(os.sep, EPREFIX.lstrip(os.sep), "usr/share/man/man8"):"share/man/man8":' \
|
||||
-i setup.py || die
|
||||
eprefixify setup.py mirrorselect/main.py
|
||||
edo "${PYTHON}" setup.py set_version
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
Reference in New Issue
Block a user