svn commit: r549083 - in head/security: . py-sequoia py-sequoia/files

Vanilla I. Shu vanilla at FreeBSD.org
Sun Sep 20 02:13:56 UTC 2020


Author: vanilla
Date: Sun Sep 20 02:13:54 2020
New Revision: 549083
URL: https://svnweb.freebsd.org/changeset/ports/549083

Log:
  Add py-sequoia 0.19.0, python binding of sequoia.
  
  PR:		249238
  Submitted by:	phryk-ports at wzff.de

Added:
  head/security/py-sequoia/
  head/security/py-sequoia/Makefile   (contents, props changed)
  head/security/py-sequoia/distinfo   (contents, props changed)
  head/security/py-sequoia/files/
  head/security/py-sequoia/files/patch-Makefile   (contents, props changed)
  head/security/py-sequoia/files/patch-setup.py   (contents, props changed)
  head/security/py-sequoia/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Sep 20 02:13:26 2020	(r549082)
+++ head/security/Makefile	Sun Sep 20 02:13:54 2020	(r549083)
@@ -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

Added: head/security/py-sequoia/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-sequoia/Makefile	Sun Sep 20 02:13:54 2020	(r549083)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	sequoia
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.19.0
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	phryk-ports at 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>

Added: head/security/py-sequoia/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-sequoia/distinfo	Sun Sep 20 02:13:54 2020	(r549083)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1599879269
+SHA256 (sequoia-pgp-sequoia-383133f6be990237044900a4df676488bf8dd71e_GL0.tar.gz) = 3c082bdbba219485ee00372748ff3638aea55e52184c01579bdc8166ac8cc807
+SIZE (sequoia-pgp-sequoia-383133f6be990237044900a4df676488bf8dd71e_GL0.tar.gz) = 2037544

Added: head/security/py-sequoia/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-sequoia/files/patch-Makefile	Sun Sep 20 02:13:54 2020	(r549083)
@@ -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

Added: head/security/py-sequoia/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-sequoia/files/patch-setup.py	Sun Sep 20 02:13:54 2020	(r549083)
@@ -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"],

Added: head/security/py-sequoia/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-sequoia/pkg-descr	Sun Sep 20 02:13:54 2020	(r549083)
@@ -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/


More information about the svn-ports-all mailing list