From bbb006370a87e5c60f21145a1c97a8dbbe42e7fe Mon Sep 17 00:00:00 2001 From: Crucible Date: Sun, 4 Oct 2026 03:05:07 -0500 Subject: Publish srcux candidate 0000000563-20261004-030310 --- dev-python/platformdirs/Manifest | 4 +- dev-python/platformdirs/platformdirs-4.11.5.ebuild | 50 ----------------- dev-python/platformdirs/platformdirs-4.11.7.ebuild | 2 +- dev-python/platformdirs/platformdirs-4.12.3.ebuild | 62 ++++++++++++++++++++++ 4 files changed, 65 insertions(+), 53 deletions(-) delete mode 100644 dev-python/platformdirs/platformdirs-4.11.5.ebuild create mode 100644 dev-python/platformdirs/platformdirs-4.12.3.ebuild (limited to 'dev-python/platformdirs') diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 475f16bab08e..b361cf0a398f 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -4,8 +4,6 @@ DIST platformdirs-4.11.12.tar.gz 40016 BLAKE2B d8f5b81cdde33623e59b21c5309d357e5 DIST platformdirs-4.11.12.tar.gz.provenance 9617 BLAKE2B fd02ecf2e8bceb5f143d5184e8a242ddcce1b981af46f679de638714096c0e30ba8cc6040e594680a049c9ef5544e324503f95ddc372c885dda7365687a43491 SHA512 7b588b06856b2a61c83bc0607325befb42b95146db61ec34d6620dd07f93a74b07c9e055576271e40f4082383b009317707c39edef8eaa8b10480e62f49c1bfa DIST platformdirs-4.11.15.tar.gz 46059 BLAKE2B 69da625f4bad69e17c1739c0f4133ff619671f0c592035c91b98b7fe88d6da2b9c6a98e11a52c1d6368f7a383da4c0ce32bbeaeb1e24a191533c6f8f1db00144 SHA512 0e8f7b7fa2fe817695e61a4df091346cf56e0493ab80abe0871df5c88be7a0e96f63f64451e8848da53e5bda7cd33296a1e8475f847a68c4798f59771fe0d855 DIST platformdirs-4.11.15.tar.gz.provenance 9958 BLAKE2B c85324fdb9dc97ab5d29503da0916a13f3416f31362466182d9bd62cb1f0ce5bb55a6b350ceec05e600e7fb3e5895222517e2cd84610ff4670bf350fcf8f18f4 SHA512 7a18eb7c497cd2af7ad0dd1903c5b482d05d814fade6e3aefbc6363056de78ec2607eb46c9a416d47a701e995ae3c784efbb3df3e3bcc09af795ff3a3c0707e3 -DIST platformdirs-4.11.5.tar.gz 34823 BLAKE2B f293190f29e9fa5417bd2eb4ce0f1039481abe86729b1a652fabf29e3aa6ad708ed1f962cf96011f764a561d4fb914b6a17baf8f006911fd82a0c99b8826d263 SHA512 6238abd47f5d3ec6f5b87db98bc3a051e521594c280decf3f4f0403e2c43e07fa3b3802d40637b7414d322b8e0ed64853377b0b547a580654a3cbc198bd4f61e -DIST platformdirs-4.11.5.tar.gz.provenance 9871 BLAKE2B 026412ddd8cf20de7dc7b43c2cb02cb4812a537bcba18dcec5680d70ac8bb2deae31798fab48f288009dbf0360f94c72fe04332a38d415bc1cb59353c7de0293 SHA512 69e8fcfb25ac561c65562fa08205876fe47ea59d98f8fa53378871af81a0b213d6f3d13df883b54823687d8e91c031a666fda7588b280aa644ea1c4352c9c812 DIST platformdirs-4.11.7.tar.gz 35127 BLAKE2B 1cd3f4461c0f1c2c1c7ac62491d23a7d57ad14fb4f1a58f0ce78f72ea6fd9cc7ac2428dad2129a3ca70335377085a7854cd4d45ec229b178c65339377d3f439d SHA512 717cfe7407e3afcbd9a115d4a7758d8e70c96f7b26479c8d3144bc41aebe87852197b534a86c11c0c3ed01687955aacd049c656062fb3ca4e802476872a65197 DIST platformdirs-4.11.7.tar.gz.provenance 9640 BLAKE2B 2cbc679cbcabea84ba9533d4aedd50a9339f2c727823dab79726aa8d005fb8a4e65995b65b6df3d9924290d4c8f9e3266a459353eb713509af967d4536fe0acd SHA512 814547814683965b3285c82b66747b7c712ef01ec92e90be5ef4b50d9bb0e103cbcdc848dd7b27c2aa95dccbb4f813c64bc3dd76cb51bc9ce69b518cf3540f18 DIST platformdirs-4.11.8.tar.gz 37182 BLAKE2B 223120ca204637bfa8b1f13182ea73aaf03d9d0abd6cba6a190e587fb9c3a7c27678ebe2893a662ada540e2de1fcd35e8bcd1b6caf52c0e8b0d696aeb522d6fd SHA512 eaca02bb4fd5526b68cd820cdddfbb2fc9a837d8a7c0f18afd2871b134738ec180406e9f886ad318b7c1812a751055f958756ccdd8942681fe78b0976c2f6eb5 @@ -16,3 +14,5 @@ DIST platformdirs-4.12.1.tar.gz 59427 BLAKE2B daca3b5be360410512e60e521c1b57fe42 DIST platformdirs-4.12.1.tar.gz.provenance 9507 BLAKE2B 87aa1065feb9c85d3f4fbf130e20c2a5222c34ee7d77259d4d1df36a12bad8411ac86e252812d42fcb839a50646e709c578b2507ed6a6f3e6a932e21887963c3 SHA512 e779fb8f11453a52f7b0e44ce46b28383978b42e183ba926d54311f102061cff1b4c1c7f9ace7d4e7f63621b09dee7a5ae6b58adcde28f91cab5c771d5979e2f DIST platformdirs-4.12.2.tar.gz 59353 BLAKE2B 96ee0e36f5c7dac74f0a04ede52890cfed560ee127e75b95c5729c2fe93ec7c6c4d9a79dc523425ba3a8edcba597628209cd6e1d6a5709751bf7c27717380fac SHA512 1c1c3c93de8ba3bb6a035dc62cc627bb77034516252eaeb1ea5a349ff9ed52df9b2002cf72a1a91c420f1eb9e4ded58c9102171ecef6a0b51017fd94e1fde0a8 DIST platformdirs-4.12.2.tar.gz.provenance 9777 BLAKE2B b63dc96908d4f9dce9ff919c7c66b59c9fb1876263c0b50878121031a5a1a995882117f333996e1c11dbb5c495ba5d2469dc4bffbfc91b0c8d4137b78109fe16 SHA512 e0873b3e3ac8a5259bbd9bcd1707f0bf3bdff4628534fa808ec4723040599cfea90a7a42a4af659b816e64113eab914a4fc279abc7c50f227dd9f62070394166 +DIST platformdirs-4.12.3.tar.gz 59538 BLAKE2B c70282025e61d0a46767b51bf731b5bd7ef124e6a1306139e98ce26345f5beff96f7e4d2ba266dab00738d91b8fdd9561ee96e0e44dc88cb74da07b71afc8863 SHA512 15e8446d68d934fb1295a3c85ffb33551fa0d54b832e32a59c26d8605b17c0f5bbf5b34374a0647c1fe4f71edb3a435bdbdb3c833ea1680e73fc67929dcf64b9 +DIST platformdirs-4.12.3.tar.gz.provenance 9636 BLAKE2B 45435c79304e89cf1d65a3ea2b9998fd31c40c662e8ba2f83b622d1f5d877f02a188c707129abccfcc249e2e37843fa1389c5b788b885377984777b08738902a SHA512 6e557d5014f9f1360a1d5459331e08779b9786e779fcc12d16d0ff5c632de65d5e0db9b485c5954e4bec52888bffb16570dc4a3bb0921b14474a21ea362dcc85 diff --git a/dev-python/platformdirs/platformdirs-4.11.5.ebuild b/dev-python/platformdirs/platformdirs-4.11.5.ebuild deleted file mode 100644 index efc02002085f..000000000000 --- a/dev-python/platformdirs/platformdirs-4.11.5.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit-core -PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs -PYTHON_COMPAT=( python3_{13..14} ) - -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 -} diff --git a/dev-python/platformdirs/platformdirs-4.11.7.ebuild b/dev-python/platformdirs/platformdirs-4.11.7.ebuild index 97987e113428..efc02002085f 100644 --- a/dev-python/platformdirs/platformdirs-4.11.7.ebuild +++ b/dev-python/platformdirs/platformdirs-4.11.7.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" BDEPEND=" test? ( diff --git a/dev-python/platformdirs/platformdirs-4.12.3.ebuild b/dev-python/platformdirs/platformdirs-4.12.3.ebuild new file mode 100644 index 000000000000..64fa02613d59 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.12.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs +PYTHON_COMPAT=( python3_{13..14} ) + +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 +} + +python_test() { + local EPYTEST_DESELECT=( + # failing on -Werror, because upstream doesn't bother using + # new pytest + tests/test_pytest_plugin.py::test_import_before_pytest_main + ) + + # have to disable removing tmp_paths since upstream mocks are + # incomplete and break teardown + epytest -p platformdirs.pytest_plugin -o tmp_path_retention_policy=all +} -- cgit v1.3