Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2018 03:25:25 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471077 - in head/math: . py-secp256k1 py-secp256k1/files
Message-ID:  <201805290325.w4T3PPlp028750@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue May 29 03:25:25 2018
New Revision: 471077
URL: https://svnweb.freebsd.org/changeset/ports/471077

Log:
  Add py-secp256k1 0.13.2, FFI bindings to libsecp256k1.
  
  PR:		228529
  Submitted by:	Waitman Gobble <waitman@waitman.net>

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

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue May 29 03:22:00 2018	(r471076)
+++ head/math/Makefile	Tue May 29 03:25:25 2018	(r471077)
@@ -712,6 +712,7 @@
     SUBDIR += py-scientific
     SUBDIR += py-scikit-umfpack
     SUBDIR += py-seaborn
+    SUBDIR += py-secp256k1
     SUBDIR += py-statsmodels
     SUBDIR += py-svgmath
     SUBDIR += py-sym

Added: head/math/py-secp256k1/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-secp256k1/Makefile	Tue May 29 03:25:25 2018	(r471077)
@@ -0,0 +1,22 @@
+# Created by: Waitman Gobble <waitman@waitman.net>
+# $FreeBSD$
+
+PORTNAME=	secp256k1
+PORTVERSION=	0.13.2
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	python@FreeBSD.org
+COMMENT=	FFI bindings to libsecp256k1
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=2.11.1:devel/py-pytest-runner@${FLAVOR}
+LIB_DEPENDS=	libsecp256k1.so:math/secp256k1
+
+USES=		localbase python pkgconfig
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/math/py-secp256k1/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-secp256k1/distinfo	Tue May 29 03:25:25 2018	(r471077)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527391407
+SHA256 (secp256k1-0.13.2.tar.gz) = a3b43e02d321c09eafa769a6fc2c156f555cab3a7db62175ef2fd21e16cdf20c
+SIZE (secp256k1-0.13.2.tar.gz) = 156726

Added: head/math/py-secp256k1/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-secp256k1/files/patch-setup.py	Tue May 29 03:25:25 2018	(r471077)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2016-09-16 14:22:47 UTC
++++ setup.py
+@@ -263,7 +263,7 @@ setup(
+     author_email='lud@tutanota.com',
+     license='MIT',
+ 
+-    setup_requires=['cffi>=1.3.0', 'pytest-runner==2.6.2'],
++    setup_requires=['cffi>=1.3.0'],
+     install_requires=['cffi>=1.3.0'],
+     tests_require=['pytest==2.8.7'],
+ 

Added: head/math/py-secp256k1/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-secp256k1/pkg-descr	Tue May 29 03:25:25 2018	(r471077)
@@ -0,0 +1,3 @@
+FFI bindings to libsecp256k1
+
+WWW: https://pypi.org/project/secp256k1/



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