commit:     bf132632e9dd4426155caa1e72bebe9fe6aff1ff
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 15 02:56:32 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 15 03:20:03 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf132632

dev-python/platformdirs: Bump to 4.9.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/platformdirs/Manifest                  |  2 +
 dev-python/platformdirs/platformdirs-4.9.1.ebuild | 50 +++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest
index 946c70f87cee..b6eaa477646d 100644
--- a/dev-python/platformdirs/Manifest
+++ b/dev-python/platformdirs/Manifest
@@ -5,3 +5,5 @@ DIST platformdirs-4.7.0.tar.gz 23118 BLAKE2B 
d34ca4b0bdd0ab7a4ec95c5422c6bfa6250
 DIST platformdirs-4.7.0.tar.gz.provenance 9603 BLAKE2B 
c447cf6506e949e8581ee8be02c04ce744f1073e9b01bc3df0e2c30d03b83c1ac3e846077a2ecdbd7efeae385bbd7e1dadf2acfd72adc38bf8bffe8b937357b3
 SHA512 
67ab398c3993028f1439a1caaf90962574c949efd7edd1617addf85d0fe4aa344f6bfc94ac9077bcd8a9cb75cd40b91759b602c510223c4b9ca2f9843cbc92e0
 DIST platformdirs-4.8.0.tar.gz 27607 BLAKE2B 
4b528902dc5843d832b20e4519f5b979025705a46fb436814cfc749bad372449e1a92043ef682f177378c16d5271a4950f6845fe50c7cc5509399e33cc87782d
 SHA512 
fedf1c0afd7146345fece2ab54a53b1b60564258ca26e0bf099240a9ef51feede4228f95ec743e8a4719c647697458a115d1eae4793113867cf85b461b150de9
 DIST platformdirs-4.8.0.tar.gz.provenance 9748 BLAKE2B 
a707a61953bfcd8a3cc23e9bee0abb8f84d1f4ac1cd82dc6d334bef7e828fba53798f76bf63d7a4f1e70996166b610037c17f3f71c2e3cf6fd3d11a99ab33fab
 SHA512 
369c4dded10a7a2432429cdd5f7ce6b2edca62d9c4af31c32fe5560258693e084621ae88b98b963274a23805fb63c9d233eab5ae674dff44cce5965ab9bc6c43
+DIST platformdirs-4.9.1.tar.gz 28392 BLAKE2B 
4f471fee64760430175dbc01eb8d3384146d8b68a97fac0b714ad351daae1ee72629ad2a369f60b157444ae1e37093d183c7ad9557c35124647c6c0b727e5011
 SHA512 
3e4fc0841d1f23539947b765d397e50e7b4f4dc639b1286dbc082b685561e0f64af661a5dbb22ef0a3433a99ec88987a693e1462a5d4b150ea205982dae98c45
+DIST platformdirs-4.9.1.tar.gz.provenance 9415 BLAKE2B 
208160d5268e2f3fa48836def656e9c11936b268b882de278d07bb7ad4039ead7374b9450701439de09e54fb1b402362417b08494e5099ce7e86d3283832483c
 SHA512 
6a5dcc1a186d9d8bc41169a898690d957312974f9754e104a9721da1347ad6a29c7c232c48c1b57a84745da4ddb1c71371eb298ca99ea6fe8de0bde4f42da53b

diff --git a/dev-python/platformdirs/platformdirs-4.9.1.ebuild 
b/dev-python/platformdirs/platformdirs-4.9.1.ebuild
new file mode 100644
index 000000000000..559e2ecad514
--- /dev/null
+++ b/dev-python/platformdirs/platformdirs-4.9.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs
+PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A small Python module for determining appropriate 
platform-specific dirs"
+HOMEPAGE="
+       https://pypi.org/project/platformdirs/
+       https://github.com/tox-dev/platformdirs/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+
+BDEPEND="
+       test? (
+               dev-python/appdirs[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=( pytest-mock )
+distutils_enable_tests pytest
+
+src_configure() {
+       grep -q 'build-backend = "hatchling' pyproject.toml ||
+               die "Upstream changed build-backend, recheck"
+       # write a custom pyproject.toml to ease setuptools bootstrap
+       cat > pyproject.toml <<-EOF || die
+               [build-system]
+               requires = ["flit_core >=3.2,<4"]
+               build-backend = "flit_core.buildapi"
+
+               [project]
+               name = "${PN}"
+               version = "${PV}"
+               description = 'A small Python package for determining 
appropriate platform-specific dirs, e.g. a "user data dir".'
+       EOF
+       # sigh
+       cat > src/platformdirs/version.py <<-EOF || die
+               __version__ = version = '${PV}'
+               __version_tuple__ = version_tuple = (${PV//./, })
+       EOF
+}

Reply via email to