diff --git a/net/nsscache/Makefile b/net/nsscache/Makefile index 3db8b3622773..f7081b8ed197 100644 --- a/net/nsscache/Makefile +++ b/net/nsscache/Makefile @@ -1,8 +1,8 @@ -# Created by: Kevin Bowling +# Created by: Kevin Bowling # $FreeBSD$ PORTNAME= nsscache -PORTVERSION= 0.36 +PORTVERSION= 0.37 DISTVERSIONPREFIX= version/ CATEGORIES= net python @@ -12,14 +12,18 @@ COMMENT= Python utility to create a local cache of directory services LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pycurl.so:ftp/py-pycurl@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:databases/py-bsddb@${PY_FLAVOR} \ + ${PYTHON_SITELIBDIR}/pycurl.so:ftp/py-pycurl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap>0:net/py-ldap@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mox>0:devel/py-mox@${PY_FLAVOR} USES= python:2.7 USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= google +NO_ARCH= yes + PLIST_FILES= '@sample etc/nsscache.conf.sample' '@dir /var/db/nsscache' \ man/man1/nsscache.1.gz man/man5/nsscache.conf.5.gz @@ -34,4 +38,7 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/nsscache.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 @${MKDIR} ${STAGEDIR}/var/db/nsscache +do-test: + ${PYTHON_CMD} ${WRKSRC}/runtests.py + .include diff --git a/net/nsscache/distinfo b/net/nsscache/distinfo index ef3e1f0baf9d..88ae75ce3810 100644 --- a/net/nsscache/distinfo +++ b/net/nsscache/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1536841811 -SHA256 (google-nsscache-version-0.36_GH0.tar.gz) = ecdcb81dcc71d42e4900730bd09ba7b781feef8c975a0b991ce4f4d6f519c225 -SIZE (google-nsscache-version-0.36_GH0.tar.gz) = 117694 +TIMESTAMP = 1545713850 +SHA256 (google-nsscache-version-0.37_GH0.tar.gz) = fab735cabb6ea6e46ce2c52e2c9ea9c2938057fa9e3992b3509f31cf5948fff4 +SIZE (google-nsscache-version-0.37_GH0.tar.gz) = 122932