From 261382925cdfa6ae8eb20a2e54d0b72a2897f753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= Date: Sun, 22 Sep 2024 19:24:16 -0400 Subject: [PATCH] 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(+) create mode 100644 security/py-pykeepass-cache/Makefile create mode 100644 security/py-pykeepass-cache/distinfo create mode 100644 security/py-pykeepass-cache/pkg-descr 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 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.