commit:     d605d365f413bc1d10e26a3aba95fc233d459276
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Sep 29 10:51:42 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Oct 29 12:20:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d605d365

dev-python/pwdlib: new package, add 0.2.1

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>

 dev-python/pwdlib/Manifest            |  1 +
 dev-python/pwdlib/metadata.xml        | 13 +++++++++++++
 dev-python/pwdlib/pwdlib-0.2.1.ebuild | 36 +++++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+)

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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Paul Zander</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="github">frankie567/pwdlib</remote-id>
+               <remote-id type="pypi">pwdlib</remote-id>
+       </upstream>
+</pkgmetadata>

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
+}

Reply via email to