diff options
Diffstat (limited to 'dev-python/platformdirs')
| -rw-r--r-- | dev-python/platformdirs/Manifest | 6 | ||||
| -rw-r--r-- | dev-python/platformdirs/platformdirs-4.11.11.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/platformdirs/platformdirs-4.13.4.ebuild (renamed from dev-python/platformdirs/platformdirs-4.11.8.ebuild) | 14 | ||||
| -rw-r--r-- | dev-python/platformdirs/platformdirs-4.13.5.ebuild | 62 |
4 files changed, 80 insertions, 4 deletions
diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index fa87e323222d..e1a75dd92a20 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.8.tar.gz 37182 BLAKE2B 223120ca204637bfa8b1f13182ea73aaf03d9d0abd6cba6a190e587fb9c3a7c27678ebe2893a662ada540e2de1fcd35e8bcd1b6caf52c0e8b0d696aeb522d6fd SHA512 eaca02bb4fd5526b68cd820cdddfbb2fc9a837d8a7c0f18afd2871b134738ec180406e9f886ad318b7c1812a751055f958756ccdd8942681fe78b0976c2f6eb5 -DIST platformdirs-4.11.8.tar.gz.provenance 9930 BLAKE2B 3039cea46b90560c85320e0f6dfc5d851efb047df90b3596ea1144bc3e1f09355a355b992885571459d18d7bfd9035f30092efed476f2c1c11e0d3c5a109ac3b SHA512 ec6d06cdf399f660f639fc741839244094cc6028c037b9ab24e66cdda1e91aa2ee7819d5b02c4e3adfa651d4cd0cd37374da580bbf5424ef973719e2cfa48606 DIST platformdirs-4.12.0.tar.gz 58964 BLAKE2B df81467e591fd665e33ceaad67a5709eee8eb54e84d7246d23ccd2cc9e60f3b595721131389e041c5d752610d97fddd6d6ef6301447be0b6b0c02d19a27bb8fe SHA512 75429dabf2e94ae72394dc60431fbb63a1d9f1236cd9809e72992b18ca5d055e52cf64622f21dea829842732a9e8df95a06516ec2897c7db611837e16ca08401 DIST platformdirs-4.12.0.tar.gz.provenance 9793 BLAKE2B 0911eb42eccd899592ccfc05541699824b09f125fb5e14379c9c51aac852aa197b7cdbeb800d89926b203e89ade26c67cb8a85b9d971d0ccefa66dca8fee2dff SHA512 a0a42d7f3bb0a2d09802e190ecd189aa86ed6bd002d01f4af736b3755aebb0770bb26edfe622d8d6abfe609660e588376baa44aa5aa9ecec250d672e4dde136d DIST platformdirs-4.12.1.tar.gz 59427 BLAKE2B daca3b5be360410512e60e521c1b57fe42b63737ecf945b0e1a12772823a5e1e138ce2ea68b1ae2e75836ad7d8e1f738842d28690f1b9f52b690836ec86816bb SHA512 41cf98423ddff05b72e01711fc5322e9f51cbd458b8b728c65b541dea5b8251347765842b9fd8184b6a9f77b20fc312a9674c3c3f97ea851a73e538c909d08b1 @@ -20,3 +18,7 @@ DIST platformdirs-4.13.0.tar.gz 61094 BLAKE2B b75cd5ec0567804dbd1d17c94c47f7d0a4 DIST platformdirs-4.13.0.tar.gz.provenance 9853 BLAKE2B 8979b27b8cc88bbb93ba3b4724ef8b48589cc63b358985174080e034509219b729c18bb6e338ff9dd0b398627572bf88b3fbf80814ba0269c91e4dfc76964a4c SHA512 466c7045f45c6e54a39fb00898e10a7f9d2d1c4ff57549cd41c9d42a2d01b356f9c925cca5ec6698e218683dc218f04a8491d0e2cf808c08ff57d551257527ab DIST platformdirs-4.13.3.tar.gz 61559 BLAKE2B 67f308693abce309111ede5f65cddee40193acbdb1bd914f8a99f703b7a91311b21923ddcf004fad9fe4b6549ec967639ca1cdc5f15e6d9ec4e2035a13647e43 SHA512 6bff0c7f0039fd9a4c2c0173b4e52d4725ef0f93af627380baa5657312431b24d9e77600bfb032ff1668b7dd095421017a5eff886557fb03ea24463adefe69e9 DIST platformdirs-4.13.3.tar.gz.provenance 10088 BLAKE2B 144d56f2fe91878dcc528008b48d2face6276a675002ce364eae633694dd865b5ea4f49184b544a2bd55e6e0d5651642b2d6f64ef8285aca9af689693840f0db SHA512 ecd0ae36a2885b1edf1caec3a0975a292346e534ed234e707f4b6fb79de410bdc758a4ff0637d62ef1452c8aa2d2aa751d4a8fcb8548c3c85ba4eeebb8d6b699 +DIST platformdirs-4.13.4.tar.gz 62364 BLAKE2B 075a0a2ba6cd54fa599bd3047f4e8c468c48150b87e76cc61ccd260d86e3d1df2a3c8282ab8b24d6f335ff8837fdf713902d62f76d4ae418adc6f068584f307c SHA512 b7a996d05ea7d9d2ad4fb57646e4b8871c664f0be705f45a174d3e54419ea993ee372d9bd01a506e70f39411e3a1bfe452285304f4cc73417cad18efc6d92375 +DIST platformdirs-4.13.4.tar.gz.provenance 9994 BLAKE2B d34a5e89b64ca732aac8834c05d95367ce306c89c7df7b5cf6e05f31a92258731b01f5374ec3f1cdd5ad70acbad37c7de2902dc57b4ee16357069071bc46e656 SHA512 b96a43c5e9c0b5a34976b543d070018fc2228ed57ae63c5eb378a14a857b8e2ba7b24ba1c259b300edb2c89657d53226da1af0a1f05f974d25a40c739e6ee990 +DIST platformdirs-4.13.5.tar.gz 62362 BLAKE2B a500717f1a98e51212fa7c18d2c69336db0260df271a29e160f03cc3dccb55535d83a1b3bb0b9dfdb84fd64cc0897da258ae10fb2f293f3fad31dbfac6f05019 SHA512 ac87a2ecbed0f04a0230ff9ababad9ec1995da059f84dbc1e3c38f988cc40e5d596a25a0f9471f3882065f131a0d6c1a8c2f0f617cb85e5dbf220d753125a658 +DIST platformdirs-4.13.5.tar.gz.provenance 9900 BLAKE2B 0bf72b2bc2e5ab22db9c45976b546b4ef0f6ccf19300892aada9e042c18959cef9c29fc9618ec3e23f49a06fe4be7f02443dac2f55a2637ff295fdd125bc34da SHA512 918b5f6e01dcc8d4c8d50fbd216d326670097a8d00d242ec543f403a52e4ae722c740decfc6d72e8ec1526ac332c1ac1a8b2998838f63d4f6ef27ef2d909a934 diff --git a/dev-python/platformdirs/platformdirs-4.11.11.ebuild b/dev-python/platformdirs/platformdirs-4.11.11.ebuild index 97987e113428..efc02002085f 100644 --- a/dev-python/platformdirs/platformdirs-4.11.11.ebuild +++ b/dev-python/platformdirs/platformdirs-4.11.11.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.11.8.ebuild b/dev-python/platformdirs/platformdirs-4.13.4.ebuild index efc02002085f..64fa02613d59 100644 --- a/dev-python/platformdirs/platformdirs-4.11.8.ebuild +++ b/dev-python/platformdirs/platformdirs-4.13.4.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? ( @@ -48,3 +48,15 @@ src_configure() { __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 +} diff --git a/dev-python/platformdirs/platformdirs-4.13.5.ebuild b/dev-python/platformdirs/platformdirs-4.13.5.ebuild new file mode 100644 index 000000000000..64fa02613d59 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.13.5.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 +} |
