Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2020 19:36:31 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545859 - head/security/py-pyotp
Message-ID:  <202008231936.07NJaVvr071841@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008231936.07NJaVvr071841>