From 97f40b3a12ac889e361b2f8feb4d0a484254b453 Mon Sep 17 00:00:00 2001 From: Paul Zander Date: Thu, 12 Mar 2026 15:01:36 +0100 Subject: [PATCH] dev-python/pwdlib: add 0.3.0 Signed-off-by: Alfred Wingate Signed-off-by: Paul Zander --- dev-python/pwdlib/Manifest | 1 + dev-python/pwdlib/pwdlib-0.3.0.ebuild | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-python/pwdlib/pwdlib-0.3.0.ebuild diff --git a/dev-python/pwdlib/Manifest b/dev-python/pwdlib/Manifest index ff38927d30..caf7856e8b 100644 --- a/dev-python/pwdlib/Manifest +++ b/dev-python/pwdlib/Manifest @@ -1 +1,2 @@ DIST pwdlib-0.2.1.tar.gz 11699 BLAKE2B 79913b1d4b52b5813defee6130707bd0444c106b1aa9b5a8a455cf0f61c42fc8878eb77b139d8cd3deae73483e570cc932b78db63347ed236d17e1af73fe5a06 SHA512 82d43867cda32faece5a21c4b348945ed25ee10ab49517f9d3a7200d0c3bc89010ffbdf9893accfcee366ea351fde9da40cbcf172be6dcc9828f1af614251864 +DIST pwdlib-0.3.0.tar.gz 215810 BLAKE2B d25c97dc5e8ca20a816b8ce823eccb5ae666e0b3d45582eafe230a70680bf84db092028425e2e0854b819a60847fa8f6d48a3ecaec290ddbfea019508ce5881e SHA512 0bedb03f588d8b9f6413a5e660f11ee85f5f608dc96bf2a7de12953339db83b347741f7e783c5a939f5fec0057b80b923a0785c9ef89865236efa0adca7df98c diff --git a/dev-python/pwdlib/pwdlib-0.3.0.ebuild b/dev-python/pwdlib/pwdlib-0.3.0.ebuild new file mode 100644 index 0000000000..6e63e463bd --- /dev/null +++ b/dev-python/pwdlib/pwdlib-0.3.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Modern password hashing for Python" +HOMEPAGE=" + https://github.com/frankie567/pwdlib/ + https://pypi.org/project/pwdlib/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/bcrypt[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_prepare_all() { + # no coverage please + sed -e '/[tool.pytest.ini_options]/,/^$/ { /^addopts/d }' -i pyproject.toml || die + + distutils-r1_python_prepare_all +}