Add py-sequoia 0.19.0, python binding of sequoia.
PR: 249238 Submitted by: phryk-ports@wzff.de
This commit is contained in:
@@ -974,6 +974,7 @@
|
||||
SUBDIR += py-scramp
|
||||
SUBDIR += py-scrypt
|
||||
SUBDIR += py-securesystemslib
|
||||
SUBDIR += py-sequoia
|
||||
SUBDIR += py-service_identity
|
||||
SUBDIR += py-signedjson
|
||||
SUBDIR += py-social-auth-core
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sequoia
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.19.0
|
||||
CATEGORIES= security python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= phryk-ports@wzff.de
|
||||
COMMENT= Python binding of sequoia
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/../../../LICENSE.txt
|
||||
|
||||
LIB_DEPENDS= libsequoia_ffi.so:security/sequoia
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1:devel/py-cffi@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1:devel/py-cffi@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist concurrent
|
||||
USE_GITLAB= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT}/ffi/lang/python
|
||||
|
||||
GL_ACCOUNT= sequoia-pgp
|
||||
GL_PROJECT= sequoia
|
||||
GL_COMMIT= 383133f6be990237044900a4df676488bf8dd71e
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_sequoia.abi3.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1599879269
|
||||
SHA256 (sequoia-pgp-sequoia-383133f6be990237044900a4df676488bf8dd71e_GL0.tar.gz) = 3c082bdbba219485ee00372748ff3638aea55e52184c01579bdc8166ac8cc807
|
||||
SIZE (sequoia-pgp-sequoia-383133f6be990237044900a4df676488bf8dd71e_GL0.tar.gz) = 2037544
|
||||
@@ -0,0 +1,12 @@
|
||||
--- Makefile.orig 2020-08-21 08:30:55 UTC
|
||||
+++ Makefile
|
||||
@@ -9,7 +9,8 @@ CFLAGS += -I../../include -I../../../openpgp-ffi/incl
|
||||
PYTHON ?= python3
|
||||
IPYTHON ?= ipython3
|
||||
PYTEST ?= pytest-3
|
||||
-ifeq ($(shell uname -s), Darwin)
|
||||
+
|
||||
+ifneq ($(filter Darwin FreeBSD,$(shell uname -s)),"")
|
||||
INSTALL ?= ginstall
|
||||
else
|
||||
INSTALL ?= install
|
||||
@@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2020-08-21 08:30:55 UTC
|
||||
+++ setup.py
|
||||
@@ -34,7 +34,7 @@ setup(
|
||||
|
||||
packages=['sequoia'],
|
||||
|
||||
- setup_requires=["cffi>=1.0.0", "pytest-runner"],
|
||||
+ setup_requires=["cffi>=1.0.0"],
|
||||
cffi_modules=["sequoia/sequoia_build.py:ffibuilder"],
|
||||
install_requires=["cffi>=1.0.0"],
|
||||
tests_require=["pytest"],
|
||||
@@ -0,0 +1,4 @@
|
||||
Sequoia is a cool new OpenPGP implementation. It consists of several crates,
|
||||
providing both a low-level and a high-level API for dealing with OpenPGP data.
|
||||
|
||||
WWW: https://sequoia-pgp.org/
|
||||
Reference in New Issue
Block a user