svn commit: r545859 - head/security/py-pyotp

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Aug 23 19:36:37 UTC 2020


Author: sunpoet
Date: Sun Aug 23 19:36:31 2020
New Revision: 545859
URL: https://svnweb.freebsd.org/changeset/ports/545859

Log:
  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

Modified:
  head/security/py-pyotp/Makefile
  head/security/py-pyotp/distinfo
  head/security/py-pyotp/pkg-descr   (contents, props changed)

Modified: head/security/py-pyotp/Makefile
==============================================================================
--- head/security/py-pyotp/Makefile	Sun Aug 23 19:36:26 2020	(r545858)
+++ head/security/py-pyotp/Makefile	Sun Aug 23 19:36:31 2020	(r545859)
@@ -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 at FreeBSD.org
+MAINTAINER=	sunpoet at 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>

Modified: head/security/py-pyotp/distinfo
==============================================================================
--- head/security/py-pyotp/distinfo	Sun Aug 23 19:36:26 2020	(r545858)
+++ head/security/py-pyotp/distinfo	Sun Aug 23 19:36:31 2020	(r545859)
@@ -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

Modified: head/security/py-pyotp/pkg-descr
==============================================================================
--- head/security/py-pyotp/pkg-descr	Sun Aug 23 19:36:26 2020	(r545858)
+++ head/security/py-pyotp/pkg-descr	Sun Aug 23 19:36:31 2020	(r545859)
@@ -2,4 +2,4 @@ PyOTP is a Python library for generating and verifying
 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


More information about the svn-ports-all mailing list