diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/portalocker | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/portalocker')
| -rw-r--r-- | dev-python/portalocker/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/portalocker/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/portalocker/portalocker-3.2.0.ebuild | 47 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/portalocker/Manifest b/dev-python/portalocker/Manifest new file mode 100644 index 000000000000..eca18958e4f3 --- /dev/null +++ b/dev-python/portalocker/Manifest @@ -0,0 +1 @@ +DIST portalocker-3.2.0.gh.tar.gz 89888 BLAKE2B 94ce9a737cbf19a77045f73d32510b2b1d7ba0bba273aee7cd404136dd919c0290aebbd8982cb0972d360ff05c6009bb958e0d5a4aa875feae785bf2a6914532 SHA512 0777572f34504b8dac8bc009ea32891f88db7c1c82199f444c4caf36a8f71cf1e7626cb0e3a3ce11346b3488c67e60a394ddd9cd28771937962fa35a33767b2d diff --git a/dev-python/portalocker/metadata.xml b/dev-python/portalocker/metadata.xml new file mode 100644 index 000000000000..3c4e89462009 --- /dev/null +++ b/dev-python/portalocker/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Florian Schmaus</name> + <email>flow@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/portalocker/portalocker-3.2.0.ebuild b/dev-python/portalocker/portalocker-3.2.0.ebuild new file mode 100644 index 000000000000..b63c00d5c052 --- /dev/null +++ b/dev-python/portalocker/portalocker-3.2.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A library for Python file locking" +HOMEPAGE=" + https://github.com/WoLpH/portalocker/ + https://portalocker.readthedocs.io/ + https://pypi.org/project/portalocker/ +" +SRC_URI=" + https://github.com/WoLpH/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64" + +BDEPEND=" + test? ( + dev-python/redis[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-15.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{rerunfailures,timeout} ) +distutils_enable_tests pytest + +src_prepare() { + default + + # Disable code coverage in tests. + sed -i '/--cov/d' pyproject.toml || die +} + +pkg_postinst() { + optfeature "redis support" dev-python/redis +} |
