aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-16 11:46:50 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-16 11:46:50 +0000
commit608689f357b6652a7e22a4b4ada78ec951e9fe18 (patch)
treefad478989663d07dc2af47abc08fc6da9e1ce9d4 /security
parent838ad0b0e34bcfc683354285807c07a67964c7b0 (diff)
downloadports-608689f357b6652a7e22a4b4ada78ec951e9fe18.tar.gz
ports-608689f357b6652a7e22a4b4ada78ec951e9fe18.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/py-pyotp/Makefile11
-rw-r--r--security/py-pyotp/distinfo6
2 files changed, 13 insertions, 4 deletions
diff --git a/security/py-pyotp/Makefile b/security/py-pyotp/Makefile
index d91927427651..9867d2abb107 100644
--- a/security/py-pyotp/Makefile
+++ b/security/py-pyotp/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= pyotp
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.4
DISTVERSIONPREFIX= v
CATEGORIES= security
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,6 +18,15 @@ USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS= README.rst
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
do-test:
@(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} test.py)
diff --git a/security/py-pyotp/distinfo b/security/py-pyotp/distinfo
index 6a978db777df..8342435caba6 100644
--- a/security/py-pyotp/distinfo
+++ b/security/py-pyotp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1472669133
-SHA256 (pyotp-pyotp-v2.2.1_GH0.tar.gz) = 43044e689f55ea5271b562e8e021f57dc00f0c8e31883cbbbc3a794971398e2a
-SIZE (pyotp-pyotp-v2.2.1_GH0.tar.gz) = 15110
+TIMESTAMP = 1484217021
+SHA256 (pyotp-pyotp-v2.2.4_GH0.tar.gz) = de96072fbf189b639186f6c0d2981955e3c6a15a6eab0135128002bec4a9d111
+SIZE (pyotp-pyotp-v2.2.4_GH0.tar.gz) = 15426