dev-python/soundfile: Migrate to pypi.eclass

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2023-03-02 23:14:05 +01:00
parent f0cc2ab121
commit 6c370bb9ae
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -5,7 +5,7 @@ EAPI="8"
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
inherit distutils-r1 pypi
COMMIT_ID=""
@ -22,8 +22,6 @@ else
if [[ (${PV} == *_p*) || (${PV} == *_beta*) ]]; then
SRC_URI="https://github.com/bastibe/python-${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${PN}-${COMMIT_ID}"
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
fi
fi
KEYWORDS="~amd64 ~x86"