diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-02 03:04:44 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-02 03:04:44 -0500 |
| commit | db7f283451256f94921bd723861f0e82ed7157f2 (patch) | |
| tree | 938785cb5ae699af0bf0839b6e9c6a0eb776d6e0 /dev-python/platformdirs | |
| parent | 8d04041d08ac162ab85e05cce67bc70c471bcb33 (diff) | |
| download | baldeagleos-repo-db7f283451256f94921bd723861f0e82ed7157f2.tar.gz baldeagleos-repo-db7f283451256f94921bd723861f0e82ed7157f2.tar.xz baldeagleos-repo-db7f283451256f94921bd723861f0e82ed7157f2.zip | |
Adding metadata
Diffstat (limited to 'dev-python/platformdirs')
| -rw-r--r-- | dev-python/platformdirs/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/platformdirs/platformdirs-4.11.7.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 77708d9c3f1a..8e96f9240dc5 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -6,3 +6,5 @@ DIST platformdirs-4.11.4.tar.gz 34079 BLAKE2B daf5b088aa61382c1cbcbda0eebb23b9b4 DIST platformdirs-4.11.4.tar.gz.provenance 9840 BLAKE2B a0988dc801b4d8bc449aeb7db45e9760e410dc58e9ac8bce7a8e0d48ce2d57deda740312c822b018a517073779af4e105d9f10a5a060eb20465f1ca17d47d71b SHA512 307d1916679a68ec9affd36b1ccd49a331058f87673ab0b630e8b21318561db98aad97d45ee6a0b6d3c9544d557d18330de86718379ccb699432922cd418714e 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 diff --git a/dev-python/platformdirs/platformdirs-4.11.7.ebuild b/dev-python/platformdirs/platformdirs-4.11.7.ebuild new file mode 100644 index 000000000000..97987e113428 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.11.7.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-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 +} |
