dev-python/platformdirs: Sync with Gentoo

It's from Gentoo commit 820e5af5cea509c571d340e1a1ed3ccd39203f20.
This commit is contained in:
Flatcar Buildbot 2024-07-01 07:14:11 +00:00 committed by Mathieu Tortuyaux
parent 2b08ed8a92
commit dafdfc5fcb
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
2 changed files with 7 additions and 2 deletions

View File

@ -1 +1 @@
DIST platformdirs-4.2.0.tar.gz 20055 BLAKE2B 07338fc1ad6f5edf3dfe9de9e74326af4c22a4b6db0979a2b0926d248e7bc27f6f40e9e47e62979657c0804e3d296dfba5b18f57fa64b1fdcd205d52ae21fe17 SHA512 615742163cc4eb0ee97c4dba069d59a08e0056e05a3fbeab32dcab854ed56976e8707dd70afd65dbd0732bf1ad1a42c565fb3d980b7b668aa2cdecc5cc1de4f0
DIST platformdirs-4.2.2.tar.gz 20916 BLAKE2B d7c551a950118a127664b8210f33497760ce06381ac6a4ea098d1a1c60605507b5e2a9762d5f7d112332d3cebd63cb642b25e93a8b67dd2a1ee7cca189f3555f SHA512 e67aff332a6c84669d77a68e7d5546bfd14e08dcf61681b03447bf6381c0d981c63be0f87fd63bc99f0a51c92bf960902ded83ba8872801c14755ab163d45a0f

View File

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..12} pypy3 )
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
@ -47,3 +47,8 @@ src_configure() {
__version_tuple__ = version_tuple = (${PV//./, })
EOF
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p pytest_mock
}