Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2018 13:20:31 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459605 - in head/security: . py-pyblake2 py-pyblake2/files
Message-ID:  <201801211320.w0LDKVSh036084@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Jan 21 13:20:31 2018
New Revision: 459605
URL: https://svnweb.freebsd.org/changeset/ports/459605

Log:
  New port: security/py-pyblake2
  
  pyblake2 is an extension module for Python implementing BLAKE2 hash function.
  
  WWW: https://github.com/dchest/pyblake2

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

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Jan 21 13:12:27 2018	(r459604)
+++ head/security/Makefile	Sun Jan 21 13:20:31 2018	(r459605)
@@ -948,6 +948,7 @@
     SUBDIR += py-pyaes
     SUBDIR += py-pyaff4
     SUBDIR += py-pyaxo
+    SUBDIR += py-pyblake2
     SUBDIR += py-pyclamd
     SUBDIR += py-pycrypto
     SUBDIR += py-pycryptodome

Added: head/security/py-pyblake2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pyblake2/Makefile	Sun Jan 21 13:20:31 2018	(r459605)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	pyblake2
+PORTVERSION=	0.9.3
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	antoine@FreeBSD.org
+COMMENT=	BLAKE2 hash function extension module
+
+LICENSE=	CC0-1.0
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+do-test:
+	@(cd ${TEST_WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test/test.py)
+
+.include <bsd.port.mk>

Added: head/security/py-pyblake2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pyblake2/distinfo	Sun Jan 21 13:20:31 2018	(r459605)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509626218
+SHA256 (pyblake2-0.9.3.tar.gz) = 626448e1fe1cc01d2197118954bec9f158378577e12686d5b01979f7f0fa2212
+SIZE (pyblake2-0.9.3.tar.gz) = 130641

Added: head/security/py-pyblake2/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pyblake2/files/patch-setup.py	Sun Jan 21 13:20:31 2018	(r459605)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2014-04-13 10:53:47 UTC
++++ setup.py
+@@ -22,7 +22,7 @@ import platform
+ 
+ # Version of optimized implementation to use.
+ 
+-if platform.machine() == "x86_64":
++if platform.machine() == "x86_64" or platform.machine() == "amd64":
+     # Every x86_64 machine has at least SSE2.
+     opt_version = "BLAKE2_COMPRESS_SSE2"
+ else:

Added: head/security/py-pyblake2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pyblake2/pkg-descr	Sun Jan 21 13:20:31 2018	(r459605)
@@ -0,0 +1,3 @@
+pyblake2 is an extension module for Python implementing BLAKE2 hash function.
+
+WWW: https://github.com/dchest/pyblake2



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