diff --git a/archivers/py-python-snappy/Makefile b/archivers/py-python-snappy/Makefile index b667e41c0457..5fb2c8bd87a1 100644 --- a/archivers/py-python-snappy/Makefile +++ b/archivers/py-python-snappy/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= python-snappy -PORTVERSION= 0.5 +PORTVERSION= 0.5.1 CATEGORIES= archivers devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,11 +11,16 @@ MAINTAINER= antoine@FreeBSD.org COMMENT= Python library for the snappy compression library from Google LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsnappy.so:archivers/snappy USES= python USE_PYTHON= distutils autoplist CPPFLAGS+= -I${LOCALBASE}/include +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test_snappy.py) .include diff --git a/archivers/py-python-snappy/distinfo b/archivers/py-python-snappy/distinfo index b021bb0bd70f..c7410885e58b 100644 --- a/archivers/py-python-snappy/distinfo +++ b/archivers/py-python-snappy/distinfo @@ -1,2 +1,3 @@ -SHA256 (python-snappy-0.5.tar.gz) = c7fe37679ebfc73840c7cc83657a76bc1ac978efa286b8ac3569fd0630d2b80d -SIZE (python-snappy-0.5.tar.gz) = 12495 +TIMESTAMP = 1494010227 +SHA256 (python-snappy-0.5.1.tar.gz) = 385fb216e7d1241f70c14c2bea3f042ec235caa65d708294f1ece50d3efa5de3 +SIZE (python-snappy-0.5.1.tar.gz) = 15252