From owner-svn-ports-head@freebsd.org Sun Jan 21 13:20:33 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F4187ECA4DF; Sun, 21 Jan 2018 13:20:32 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CABD86B601; Sun, 21 Jan 2018 13:20:32 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EFFAC4340; Sun, 21 Jan 2018 13:20:31 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0LDKVBM036091; Sun, 21 Jan 2018 13:20:31 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0LDKVSh036084; Sun, 21 Jan 2018 13:20:31 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201801211320.w0LDKVSh036084@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 21 Jan 2018 13:20:31 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: in head/security: . py-pyblake2 py-pyblake2/files X-SVN-Commit-Revision: 459605 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2018 13:20:33 -0000 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 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