mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +02:00
dev-python/wheel: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
This commit is contained in:
parent
dc6cdd92b6
commit
18a1698df2
@ -1 +1 @@
|
||||
DIST wheel-0.37.1.gh.tar.gz 68751 BLAKE2B 55919649f82668565d3b5907d14d0758984bb7d29d8857807ad034288ed8c9e8660957dc16f418f18408e89a97cf0d3c30df874a17f56deb56918388b18246a7 SHA512 9493db2f29e16d17ca06a4d47854b3df5dfd17f21c77efd42befd54470858256fd59f56aa9585cbf0a09830927b657d546324f793e1b1153665bf0b74d0c0457
|
||||
DIST wheel-0.38.4.gh.tar.gz 69770 BLAKE2B a6077e38c21626169d68a3256fbe6457de3d4fde5d0a582859fe7b9ec5d73c142538f7fbfe762ddd436473c682e7810407a08730f66ec2a7844084d349e0779f SHA512 2ff7c6175201f8145f2c1f9937c6955a1dd22eeedab1e456f65c4edae9186610d9e7702c35773b49026c56c9cc201672025e7d42fcc7f782153c65c28e6b90d0
|
||||
|
@ -8,5 +8,6 @@
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">wheel</remote-id>
|
||||
<remote-id type="github">pypa/wheel</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -14,8 +14,10 @@ HOMEPAGE="
|
||||
https://github.com/pypa/wheel/
|
||||
https://pypi.org/project/wheel/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
SRC_URI="
|
||||
https://github.com/pypa/wheel/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
@ -33,13 +35,10 @@ BDEPEND="
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e 's:--cov --cov-config=setup.cfg::g' \
|
||||
-i setup.cfg || die
|
||||
|
||||
# unbundle packaging
|
||||
rm -r src/wheel/vendored || die
|
||||
sed -i -e 's:\.vendored\.::' src/wheel/*.py || die
|
||||
sed -i -e 's:wheel\.vendored\.::' tests/*.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
Loading…
Reference in New Issue
Block a user