security/py-omemo-dr: New port

Python library initially forked from python-axolotl, heavily
rewritten, focusing only on OMEMO cryptographic sessions, and not on
communication protocols.

PR:		271876
Co-Authored-By:	Alastair Hogge <agh@riseup.net>
This commit is contained in:
Ruslan Makhmatkhanov 2023-11-15 11:15:56 +03:00 committed by Matthew Seaman
parent c991821fdb
commit 22e0a97479
5 changed files with 38 additions and 0 deletions

View File

@ -960,6 +960,7 @@
SUBDIR += py-ntlm-auth
SUBDIR += py-oauth2client
SUBDIR += py-oauthlib
SUBDIR += py-omemo-dr
SUBDIR += py-onlykey
SUBDIR += py-openssl
SUBDIR += py-oscrypto

View File

@ -0,0 +1,23 @@
PORTNAME= omemo-dr
DISTVERSION= 1.0.1
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= agh@riseup.net
COMMENT= OMEMO Crypto Library
WWW= https://dev.gajim.org/gajim/omemo-dr
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}protobuf>=3.0:devel/py-protobuf@${PY_FLAVOR}
USES= python:3.9+
USE_PYTHON= autoplist pep517
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1700035755
SHA256 (omemo-dr-1.0.1.tar.gz) = 2a8a8c77231d73949bdd375278d4d5a261252bdaee52cb6241acb251c202d361
SIZE (omemo-dr-1.0.1.tar.gz) = 152526

View File

@ -0,0 +1,9 @@
--- pyproject.toml.orig 2023-10-09 00:03:25 UTC
+++ pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=65.0.0"]
+requires = ["setuptools>=63.0.0"]
build-backend = "setuptools.build_meta"
[project]

View File

@ -0,0 +1,2 @@
Python library initially forked from python-axolotl, heavily rewritten, focusing
only on OMEMO cryptographic sessions, and not on communication protocols.