51f7c461a6
v2.2.6: - Fix tests wrt double-quoting in provisioning URIs v2.2.5: - Quote issuer QS parameter in provisioning_uri. Fixes #47. - Raise an exception if a negative integer is passed to at() (#41). - Documentation and release infrastructure improvements. PR: 220400 Submitted by: Vladimir Krstulja <vlad-fbsd@acheronmedia.com> (maintainer) Approved by: garga (mentor, implicit)
33 lines
646 B
Makefile
33 lines
646 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pyotp
|
|
PORTVERSION= 2.2.6
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= vlad-fbsd@acheronmedia.com
|
|
COMMENT= Python One Time Password Library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
|
|
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)
|
|
|
|
.include <bsd.port.mk>
|