commit:     dfb38156bc47ce9c1c632e242af6619bc89a3f85
Author:     Oz Tiram <oz.tiram <AT> gmail <DOT> com>
AuthorDate: Tue Aug 27 20:08:41 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 05:30:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb38156

app-admin/pwman3: add 0.13.1

Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38152
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-admin/pwman3/Manifest             |  1 +
 app-admin/pwman3/pwman3-0.13.1.ebuild | 46 +++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/app-admin/pwman3/Manifest b/app-admin/pwman3/Manifest
index 0f77c15a2e52..79fc6c165dbc 100644
--- a/app-admin/pwman3/Manifest
+++ b/app-admin/pwman3/Manifest
@@ -1 +1,2 @@
 DIST pwman3-0.12.2.tar.gz 76744 BLAKE2B 
5223169a267f0c35bcb26499138c9b768c6e29c4ce39d4fb89c56eb72d24a9729159bed93af24e12f1e0e6c1569586772eb36954afd51afc7c97c9de898346e5
 SHA512 
587839e7d532ef3c53e2c429b086eb6bd59290ce43687034400f8e0772cc4e97c9296694ad83c5fa3fdde37b8d8fef5bc150e9f81fcb9fe8712ffafb4be8b400
+DIST pwman3-0.13.1.tar.gz 81775 BLAKE2B 
d470735a8d514b335f2cf0c0ca84db2f362324262fd22617a98084d2e34b3b37447c2519204525a582a2bb5365f82452819270ad26195537fb776dedcf432bd2
 SHA512 
8b729968b7817a82692a8f9424f81882e4568cf8ecf5de52037a176ca028aaa58cf238f1d92dab02fbbe547fb872f74440d6eb0bc7a4b0a30649b6d9e3008ee4

diff --git a/app-admin/pwman3/pwman3-0.13.1.ebuild 
b/app-admin/pwman3/pwman3-0.13.1.ebuild
new file mode 100644
index 000000000000..678acd2e3e0b
--- /dev/null
+++ b/app-admin/pwman3/pwman3-0.13.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="sqlite"
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="A lightweight password-manager with multiple database backends"
+HOMEPAGE="https://pwman3.github.io/pwman3/";
+SRC_URI="https://github.com/pwman3/pwman3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-python/cryptography-2.3[${PYTHON_USEDEP}]
+       >=dev-python/colorama-0.4.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pexpect[${PYTHON_USEDEP}]
+       )
+"
+
+python_prepare_all() {
+       export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       "${EPYTHON}" -m tests.test_pwman || die "Tests fail with ${EPYTHON}"
+}
+
+pkg_postinst() {
+       optfeature "Support for mongodb" dev-python/pymongo
+       optfeature "Support for postgresql" dev-python/psycopg:2
+       optfeature "Support for mysql" dev-python/pymysql
+}

Reply via email to