Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2024 06:30:28 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 261382925cdf - main - security/py-pykeepass-cache: New port: Database caching for PyKeePass
Message-ID:  <202409250630.48P6USof053254@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=261382925cdfa6ae8eb20a2e54d0b72a2897f753

commit 261382925cdfa6ae8eb20a2e54d0b72a2897f753
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-09-22 23:24:16 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-09-25 06:29:18 +0000

    security/py-pykeepass-cache: New port: Database caching for PyKeePass
    
    pykeepass_cache is a support library for pykeepass. It is a drop-in
    replacement for pykeepass.PyKeePass which caches databases in a
    background process to make database access faster.
    
    This is useful in situations where the program is terminated between
    invocations (e.g. CLI scripts). The background process will
    automatically shut down after 300 seconds.
    
    WWW: https://pypi.org/project/pykeepass-cache
    
    PR:             277694
    Event:          EuroBSDcon 2024
---
 security/Makefile                     |  1 +
 security/py-pykeepass-cache/Makefile  | 23 +++++++++++++++++++++++
 security/py-pykeepass-cache/distinfo  |  3 +++
 security/py-pykeepass-cache/pkg-descr |  7 +++++++
 4 files changed, 34 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 668ccbd77cfa..6775b326c4b5 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1021,6 +1021,7 @@
     SUBDIR += py-pyhanko
     SUBDIR += py-pyhanko-certvalidator
     SUBDIR += py-pykeepass
+    SUBDIR += py-pykeepass-cache
     SUBDIR += py-pylibacl
     SUBDIR += py-pymacaroons
     SUBDIR += py-pynacl
diff --git a/security/py-pykeepass-cache/Makefile b/security/py-pykeepass-cache/Makefile
new file mode 100644
index 000000000000..a0591c8e442c
--- /dev/null
+++ b/security/py-pykeepass-cache/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	pykeepass-cache
+DISTVERSION=	2.0.3
+CATEGORIES=	security python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Database caching for PyKeePass
+WWW=		https://pypi.org/project/pykeepass-cache \
+		https://github.com/libkeepass/pykeepass_cache
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}daemon>=0:devel/py-daemon@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pykeepass>=0:security/py-pykeepass@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rpyc>=0:devel/py-RPyC@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-pykeepass-cache/distinfo b/security/py-pykeepass-cache/distinfo
new file mode 100644
index 000000000000..0cd5e2472d60
--- /dev/null
+++ b/security/py-pykeepass-cache/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710387456
+SHA256 (pykeepass-cache-2.0.3.tar.gz) = 7f36fea82f1d0023ebf95df50d5e741251f321e3dd5cc5fa4ed7a94d8e9f61e8
+SIZE (pykeepass-cache-2.0.3.tar.gz) = 4185
diff --git a/security/py-pykeepass-cache/pkg-descr b/security/py-pykeepass-cache/pkg-descr
new file mode 100644
index 000000000000..9c594bef3aa6
--- /dev/null
+++ b/security/py-pykeepass-cache/pkg-descr
@@ -0,0 +1,7 @@
+pykeepass_cache is a support library for pykeepass. It is a drop-in
+replacement for pykeepass.PyKeePass which caches databases in a
+background process to make database access faster.
+
+This is useful in situations where the program is terminated between
+invocations (e.g. CLI scripts). The background process will
+automatically shut down after 300 seconds.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409250630.48P6USof053254>