diff --git a/dev-python/pwdlib/Manifest b/dev-python/pwdlib/Manifest new file mode 100644 index 0000000000..ff38927d30 --- /dev/null +++ b/dev-python/pwdlib/Manifest @@ -0,0 +1 @@ +DIST pwdlib-0.2.1.tar.gz 11699 BLAKE2B 79913b1d4b52b5813defee6130707bd0444c106b1aa9b5a8a455cf0f61c42fc8878eb77b139d8cd3deae73483e570cc932b78db63347ed236d17e1af73fe5a06 SHA512 82d43867cda32faece5a21c4b348945ed25ee10ab49517f9d3a7200d0c3bc89010ffbdf9893accfcee366ea351fde9da40cbcf172be6dcc9828f1af614251864 diff --git a/dev-python/pwdlib/metadata.xml b/dev-python/pwdlib/metadata.xml new file mode 100644 index 0000000000..623ec0a95f --- /dev/null +++ b/dev-python/pwdlib/metadata.xml @@ -0,0 +1,13 @@ + + + + + negril.nx+gentoo@gmail.com + Paul Zander + + + + frankie567/pwdlib + pwdlib + + diff --git a/dev-python/pwdlib/pwdlib-0.2.1.ebuild b/dev-python/pwdlib/pwdlib-0.2.1.ebuild new file mode 100644 index 0000000000..b96cfe8b30 --- /dev/null +++ b/dev-python/pwdlib/pwdlib-0.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..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 +}