diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-18 15:41:29 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-18 15:41:29 -0500 |
| commit | 201b1a5f202628742bb2b602acc1147303f503ab (patch) | |
| tree | 48d6c9d5754ae1d1a7078e37bc40e108cecf4fbf /dev-python/platformdirs | |
| parent | 4f24a5a81ceb5b88ec46c27b34f371d5a8e30152 (diff) | |
| download | baldeagleos-repo-201b1a5f202628742bb2b602acc1147303f503ab.tar.gz baldeagleos-repo-201b1a5f202628742bb2b602acc1147303f503ab.tar.xz baldeagleos-repo-201b1a5f202628742bb2b602acc1147303f503ab.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.10.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index f4d8cd846a3c..1e3213877501 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,3 +1,5 @@ +DIST platformdirs-4.11.10.tar.gz 39389 BLAKE2B a9c3e5329d40d215d12c6895c5384ba0194ca5a870afa964ca659b00a71b8f12a8bff5aceddedd5c31cffbd0825da4ac8b3d0ed96ad4abb549ebe593e3137427 SHA512 189bda44a41e0f727dabce31b94eaa3a6ac1db214784d33ec133810e2e38b347f39efd849c8a0112c1b101d52e06c37e63912577ed3bb13aa07d5e8c939c1522 +DIST platformdirs-4.11.10.tar.gz.provenance 9727 BLAKE2B 68b894e86840f698e0b4fcc0c8738dc49419d4a7412841f56f2f6170071287b8e89add4e7c8e45d4d2a92d4695f07f0bbf7be8f398c7e0abe2322ab3a4d13ee6 SHA512 b807a7850cf218f5fd159f50811b54f745d5739cf2ffe5d9073853023c9a0b1eb8db902e943b68b623538a8debdad2739d5be55ce68d4ee9804275b77f5ad336 DIST platformdirs-4.11.3.tar.gz 33050 BLAKE2B c838822e0d5a9391d13fbf240c3006ade7094c2a2ad7c5b9904fce23c48ea9db6e851d04c887a80f37fee3bd0612e010ae58516751c050fb881c8ec6da1ab22e SHA512 0d90ccbb4f75bc2c0eda42223d475c688c59214fd696ff4690abd022322d9883816bc7c33765da8c9a792afc04ab21faa08c69dcbe027f7cbdcb4087e5baa2a1 DIST platformdirs-4.11.3.tar.gz.provenance 9777 BLAKE2B 9b4f683aaab5b99f085f560e4ff21e3a9533b892e974e8e39aef047ee2021ff416ff88af6db98c6fd284ef592a926b425c8b7c05f5cb0f4b8d5c23bb59ac8229 SHA512 97833d43052e8b2c303f204f8291cfb39bc1b399c2ecfbeabe18b54e5d20bb8920c802013fc43060c9e4f2ed7f359c5a5c763dc8cb14e9ba8bc52f328a64fa34 DIST platformdirs-4.11.4.tar.gz 34079 BLAKE2B daf5b088aa61382c1cbcbda0eebb23b9b4e7071472589ee1cc61c04f5386952d1be1b3090198104c4749c09c0fe5fcf8677ddfd31c1f8efe34219ef1a9708b3d SHA512 557782bd9f2af016372e9406a05a55194259303ae63ee90f684595f9a5dfbe0cc8ba11252135ebf31cb5a93bef740487581b4ca852f467ef781287cda15e4a0c diff --git a/dev-python/platformdirs/platformdirs-4.11.10.ebuild b/dev-python/platformdirs/platformdirs-4.11.10.ebuild new file mode 100644 index 000000000000..97987e113428 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.11.10.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 +} |
