Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2020 16:34:27 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r544082 - in head/security: . py-coincurve
Message-ID:  <202008031634.073GYRAA095650@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Aug  3 16:34:27 2020
New Revision: 544082
URL: https://svnweb.freebsd.org/changeset/ports/544082

Log:
  New port: security/py-coincurve: Cross-platform Python CFFI bindings for libsecp256k1

Added:
  head/security/py-coincurve/
  head/security/py-coincurve/Makefile   (contents, props changed)
  head/security/py-coincurve/distinfo   (contents, props changed)
  head/security/py-coincurve/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Mon Aug  3 16:31:33 2020	(r544081)
+++ head/security/Makefile	Mon Aug  3 16:34:27 2020	(r544082)
@@ -867,6 +867,7 @@
     SUBDIR += py-certifi
     SUBDIR += py-certstream
     SUBDIR += py-ckcc-protocol
+    SUBDIR += py-coincurve
     SUBDIR += py-cpe
     SUBDIR += py-cracklib
     SUBDIR += py-cryptography

Added: head/security/py-coincurve/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-coincurve/Makefile	Mon Aug  3 16:34:27 2020	(r544082)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	coincurve
+DISTVERSION=	13.0.0
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Cross-platform Python CFFI bindings for libsecp256k1
+
+LICENSE=	MIT APACHE20
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		gmake:devel/gmake
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>0:devel/py-asn1crypto@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}
+
+USES=		pkgconfig python
+USE_PYTHON=	distutils autoplist
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coincurve/_libsecp256k1.so
+
+.include <bsd.port.mk>

Added: head/security/py-coincurve/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-coincurve/distinfo	Mon Aug  3 16:34:27 2020	(r544082)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1596471505
+SHA256 (coincurve-13.0.0.tar.gz) = 9985627dc0c81fe98c3d2e97412801e9726d6110249317a2775cf365f0ba0df5
+SIZE (coincurve-13.0.0.tar.gz) = 961637

Added: head/security/py-coincurve/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-coincurve/pkg-descr	Mon Aug  3 16:34:27 2020	(r544082)
@@ -0,0 +1,5 @@
+The coincurve python library provides well-tested Python CFFI bindings for
+libsecp256k1, the heavily optimized C library used by Bitcoin Core for
+operations on elliptic curve secp256k1.
+
+WWW: https://github.com/ofek/coincurve



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