Update to 2.4.0

- Change MASTER_SITES from GitHub to CHEESESHOP
- Use USE_PYTHON=concurrent instead of setting DOCSDIR manually
- Update WWW
- Take maintainership

Changes:	https://github.com/pyauth/pyotp/releases
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-08-23 19:36:31 +00:00
parent de70f2d3fb
commit 82f56ab9ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545859
3 changed files with 10 additions and 20 deletions

View File

@ -1,33 +1,23 @@
# $FreeBSD$
PORTNAME= pyotp
PORTVERSION= 2.2.6
DISTVERSIONPREFIX= v
PORTVERSION= 2.4.0
CATEGORIES= security
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python One Time Password Library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
USES= python:3.4+
USE_PYTHON= autoplist concurrent distutils
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)
cd ${WRKSRC} && ${PYTHON_CMD} test.py
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1498915776
SHA256 (pyotp-pyotp-v2.2.6_GH0.tar.gz) = 51dbd7691705a192a39c05b2bd27d98fabae99b260fe2cc6798054164a5f6299
SIZE (pyotp-pyotp-v2.2.6_GH0.tar.gz) = 15942
TIMESTAMP = 1598175232
SHA256 (pyotp-2.4.0.tar.gz) = 01eceab573181188fe038d001e42777884a7f5367203080ef5bda0e30fe82d28
SIZE (pyotp-2.4.0.tar.gz) = 14789

View File

@ -2,4 +2,4 @@ PyOTP is a Python library for generating and verifying one-time passwords. It
can be used to implement two-factor (2FA) or multi-factor (MFA) authentication
methods in web applications and in other systems that require users to log in.
WWW: https://github.com/pyotp/pyotp
WWW: https://github.com/pyauth/pyotp