diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-02 08:14:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-02 08:14:24 +0100 |
commit | 77ebfe74c4b5125f8717ec29632589942911c594 (patch) | |
tree | 68d083a514e369b642d56fc838d6338fb2f27b6d /dev-python/keyrings-alt/keyrings-alt-5.0.1.ebuild | |
parent | ba6effbcc0d8d9795c4f496457ddfdd024b6e864 (diff) |
gentoo auto-resync : 02:04:2024 - 08:14:24
Diffstat (limited to 'dev-python/keyrings-alt/keyrings-alt-5.0.1.ebuild')
-rw-r--r-- | dev-python/keyrings-alt/keyrings-alt-5.0.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/keyrings-alt/keyrings-alt-5.0.1.ebuild b/dev-python/keyrings-alt/keyrings-alt-5.0.1.ebuild new file mode 100644 index 000000000000..20d784b8a5e1 --- /dev/null +++ b/dev-python/keyrings-alt/keyrings-alt-5.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternate keyring implementations" +HOMEPAGE=" + https://github.com/jaraco/keyrings.alt/ + https://pypi.org/project/keyrings.alt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/jaraco-classes[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] + test? ( + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # oldschool namespaces + rm keyrings/__init__.py || die + distutils-r1_src_prepare +} + +python_test() { + epytest -k 'not Cryptodome' +} |