summaryrefslogtreecommitdiff
path: root/app-admin/pwman3
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/pwman3')
-rw-r--r--app-admin/pwman3/Manifest4
-rw-r--r--app-admin/pwman3/pwman3-0.11.1.ebuild31
-rw-r--r--app-admin/pwman3/pwman3-0.12.2.ebuild15
3 files changed, 12 insertions, 38 deletions
diff --git a/app-admin/pwman3/Manifest b/app-admin/pwman3/Manifest
index 1d21b0773ef2..18a5e2209175 100644
--- a/app-admin/pwman3/Manifest
+++ b/app-admin/pwman3/Manifest
@@ -1,5 +1,3 @@
-DIST pwman3-0.11.1.tar.gz 76992 BLAKE2B cd7289781436f0f8b941d587c61b2d8a5cad52f3d57d01106d73b3da5930de2bd2df15fe5a4bcfbdce5e5733b7328764d6e4e2d18cba8a575cadad8835218e75 SHA512 111713e23b64a7492b5e2735b0d0117a81759bd9f25a87327a2aa4a465fbbc8a0aa0fbfa86b84cbcd40eb1540d05cdbc6fb81982fe61953df91979e674ce5640
DIST pwman3-0.12.2.tar.gz 76744 BLAKE2B 5223169a267f0c35bcb26499138c9b768c6e29c4ce39d4fb89c56eb72d24a9729159bed93af24e12f1e0e6c1569586772eb36954afd51afc7c97c9de898346e5 SHA512 587839e7d532ef3c53e2c429b086eb6bd59290ce43687034400f8e0772cc4e97c9296694ad83c5fa3fdde37b8d8fef5bc150e9f81fcb9fe8712ffafb4be8b400
-EBUILD pwman3-0.11.1.ebuild 858 BLAKE2B b0309b7d0059f5fb933f216fd170a8e8fede1cffe0687d250488f289b9f5d399ecbd73249ca3162ddf82f24a66ac8ee3a0e1a4a75e3c8e30f706329833794b64 SHA512 f309072d7e2ea99871c7e6fcf807ec45a42e53d997a852429491478bbe9bcd37eb20b2b909b3f9ab1ae2969350f6850d79be7908959c56b001b09911582bc7b3
-EBUILD pwman3-0.12.2.ebuild 891 BLAKE2B f0cb8440ccf43167f950109021c399ced86717d0586e2636019eb0e5ad6e3ce578ab4543ca9f78717ca08e287587fe7db6eb1dabde26e2d7b8231cdcc5544a2e SHA512 fdd6191b036b02694d0b81ab3a64e539d27dd8d960d67b1637b3d21034559aab4d3bd3ae998b008273d4b3b56332eb141fa01e392996fd9fb341dd43590cfdde
+EBUILD pwman3-0.12.2.ebuild 966 BLAKE2B 8bfc598ec4d12420b52b43d5a881d34e5bf00e29d2f4af5b1dcd2b3a0b991479d4a25010f96cbfa2dd164394f18487df52fd565bef14e972e355812a2d4457f8 SHA512 13be127f7da2720dd9132e94e4771bae341a6da0798adab09eff311ec26b66d13c57f64d48a972797c7e664849d5421249160b062415e989b72e4218cff18149
MISC metadata.xml 944 BLAKE2B 24c67369c51110a1b5af7460665b6f55a129e86a5e61c4b9cafdf262862cbd21eff1a535dd5bf41c13ddbb3e13913ad06a5ec4bf63d5c8d5d13ee2764685cc2c SHA512 58aceafd3d884f3652682796932e9d6edf8ffecff9f61ee0b7c76f11897f5da20b18a603a8b7246da38ba507b25d5122b2f957349db94c0186abf94fc65c5602
diff --git a/app-admin/pwman3/pwman3-0.11.1.ebuild b/app-admin/pwman3/pwman3-0.11.1.ebuild
deleted file mode 100644
index af696aad1fb2..000000000000
--- a/app-admin/pwman3/pwman3-0.11.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1 optfeature
-
-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"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-python/cryptography-2.3[${PYTHON_USEDEP}]
- >=dev-python/colorama-0.3.0[${PYTHON_USEDEP}]
-"
-BDEPEND="test? ( dev-python/pexpect[${PYTHON_USEDEP}] )"
-
-distutils_enable_tests setup.py
-
-pkg_postinst() {
- optfeature "Support for mongodb" dev-python/pymongo
- optfeature "Support for postgresql" dev-python/psycopg:2
- optfeature "Support for mysql" dev-python/pymysql
-}
diff --git a/app-admin/pwman3/pwman3-0.12.2.ebuild b/app-admin/pwman3/pwman3-0.12.2.ebuild
index 5fb9d641fba2..671c2afbb0dc 100644
--- a/app-admin/pwman3/pwman3-0.12.2.ebuild
+++ b/app-admin/pwman3/pwman3-0.12.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite"
DISTUTILS_USE_PEP517=setuptools
@@ -16,15 +16,22 @@ 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="test? ( dev-python/pexpect[${PYTHON_USEDEP}] )"
+BDEPEND="
+ test? (
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ )
+"
-distutils_enable_tests setup.py
+python_test() {
+ "${EPYTHON}" -m tests.test_pwman || die "Tests fail with ${EPYTHON}"
+}
pkg_postinst() {
optfeature "Support for mongodb" dev-python/pymongo