svn commit: r390533 - in head/security/py-libnacl: . files
Kubilay Kocak
koobs at FreeBSD.org
Thu Jun 25 05:48:04 UTC 2015
Author: koobs
Date: Thu Jun 25 05:48:02 2015
New Revision: 390533
URL: https://svnweb.freebsd.org/changeset/ports/390533
Log:
security/py-libnacl: Update to 1.4.3
- Update to 1.4.3
- Patch setup.py so test command is supported
- Add regression-test target
Changes:
https://libnacl.readthedocs.org/en/latest/topics/releases/1.4.3.html
Based on:
PR: 200830
Submitted by: Christer Edwards <christer dot edwards gmail com>
Added:
head/security/py-libnacl/files/
head/security/py-libnacl/files/patch-setup.py (contents, props changed)
Modified:
head/security/py-libnacl/Makefile
head/security/py-libnacl/distinfo
Modified: head/security/py-libnacl/Makefile
==============================================================================
--- head/security/py-libnacl/Makefile Thu Jun 25 05:42:02 2015 (r390532)
+++ head/security/py-libnacl/Makefile Thu Jun 25 05:48:02 2015 (r390533)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libnacl
-PORTVERSION= 1.4.2
-PORTREVISION= 1
+PORTVERSION= 1.4.3
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,4 +18,8 @@ LIB_DEPENDS= libsodium.so:${PORTSDIR}/se
USES= python
USE_PYTHON= autoplist distutils
+regression-test: build
+ ${TOUCH} ${WRKSRC}/tests/__init__.py
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
.include <bsd.port.mk>
Modified: head/security/py-libnacl/distinfo
==============================================================================
--- head/security/py-libnacl/distinfo Thu Jun 25 05:42:02 2015 (r390532)
+++ head/security/py-libnacl/distinfo Thu Jun 25 05:48:02 2015 (r390533)
@@ -1,2 +1,2 @@
-SHA256 (libnacl-1.4.2.tar.gz) = 2443c9c8835bc3e337de1ba137fd783a1d73ef3d404966d960255c29910e58cf
-SIZE (libnacl-1.4.2.tar.gz) = 28162
+SHA256 (libnacl-1.4.3.tar.gz) = 873614913c90c4011f791a8fd1448f6bb3ab7dc8cdd329d1baaa65e7e1d1a929
+SIZE (libnacl-1.4.3.tar.gz) = 28777
Added: head/security/py-libnacl/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-libnacl/files/patch-setup.py Thu Jun 25 05:48:02 2015 (r390533)
@@ -0,0 +1,10 @@
+--- setup.py.orig 2015-03-17 16:11:06 UTC
++++ setup.py
+@@ -36,4 +36,6 @@ setup(name=NAME,
+ 'Intended Audience :: Developers',
+ 'Topic :: Security :: Cryptography',
+ ],
+- packages=['libnacl'])
++ packages=['libnacl'],
++ test_suite='tests.runtests.run_suite',
++)
More information about the svn-ports-head
mailing list