pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-otp: update to 2.8.0.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sat Mar 11 09:54:15 2023 +0100
Changeset:	c9b5df53fd7a540edd5984db0dcaa91058b2f1d3

Modified Files:
	py-otp/DESCR
	py-otp/Makefile
	py-otp/PLIST
	py-otp/distinfo

Log Message:
py-otp: update to 2.8.0.

2.8.0

    Modify OTP generation to run in constant time (#148)
        Documentation improvements
        Drop Python 3.6 support; introduce Python 3.11 support

2.7.0
    Support Steam TOTP (#142)
        Build, test, and documentation updates

2.6.0

    Raise default and minimum base32 secret length to 32, and hex secret length to 40 (160 bits as recommended by the RFC) (#115).
        Fix issue where provisioning_uri would return invalid results after calling verify() (#115).

2.5.1

    parse_uri accepts and ignores optional image parameter (#114)

2.5.0

    Add optional image parameter to provisioning_uri (#113)
        Support for 7-digit codes in 'parse_uri' (#111)
        Raise default and minimum base32 secret length to 26

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9b5df53fd7a540edd5984db0dcaa91058b2f1d3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-otp/DESCR    | 2 +-
 py-otp/Makefile | 8 +++++---
 py-otp/PLIST    | 6 ++++++
 py-otp/distinfo | 6 +++---
 4 files changed, 15 insertions(+), 7 deletions(-)

diffs:
diff --git a/py-otp/DESCR b/py-otp/DESCR
index 886544f0b9..9a1ea788ad 100644
--- a/py-otp/DESCR
+++ b/py-otp/DESCR
@@ -1,4 +1,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
+applications and in other systems that require users to log in.
diff --git a/py-otp/Makefile b/py-otp/Makefile
index 3a2887b431..95a59e19e9 100644
--- a/py-otp/Makefile
+++ b/py-otp/Makefile
@@ -1,16 +1,18 @@
 # $NetBSD$
 
-DISTNAME=	pyotp-2.4.0
+DISTNAME=	pyotp-2.8.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=	security python
-MASTER_SITES=	https://files.pythonhosted.org/packages/9b/1b/179c53123bd712b6073e928546b7d7c480e2504955ede53b4a8bef24f31c/
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyotp/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
 HOMEPAGE=	https://github.com/pyotp/pyotp
-COMMENT=	Python One Time Password Library
+COMMENT=	Python One-Time Password Library
 LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-otp/PLIST b/py-otp/PLIST
index f5ddfa18b6..70466b6f72 100644
--- a/py-otp/PLIST
+++ b/py-otp/PLIST
@@ -10,6 +10,12 @@ ${PYSITELIB}/pyotp/__init__.pyo
 ${PYSITELIB}/pyotp/compat.py
 ${PYSITELIB}/pyotp/compat.pyc
 ${PYSITELIB}/pyotp/compat.pyo
+${PYSITELIB}/pyotp/contrib/__init__.py
+${PYSITELIB}/pyotp/contrib/__init__.pyc
+${PYSITELIB}/pyotp/contrib/__init__.pyo
+${PYSITELIB}/pyotp/contrib/steam.py
+${PYSITELIB}/pyotp/contrib/steam.pyc
+${PYSITELIB}/pyotp/contrib/steam.pyo
 ${PYSITELIB}/pyotp/hotp.py
 ${PYSITELIB}/pyotp/hotp.pyc
 ${PYSITELIB}/pyotp/hotp.pyo
diff --git a/py-otp/distinfo b/py-otp/distinfo
index 2754b3cca1..dbd597d509 100644
--- a/py-otp/distinfo
+++ b/py-otp/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (pyotp-2.4.0.tar.gz) = 7e37d3f7bf0aa06dae2b127edf0f4fbd85cc35cf
-SHA512 (pyotp-2.4.0.tar.gz) = cb6d49d0b6880c6d7c5ef6337d1f0085609e1b66c693b1a9cf6604334af6456cd67dd0278836211edb91a81b5340cab51499cd47b2013d291c9cc9d59e4f31a5
-Size (pyotp-2.4.0.tar.gz) = 14789 bytes
+BLAKE2s (pyotp-2.8.0.tar.gz) = fe6d9d51dbda44979c1cb2a78b4f7ad460117683175bab29402699acbe8f29dd
+SHA512 (pyotp-2.8.0.tar.gz) = f4e6c857833c7c994a64586bb495b48935752d0fa9d90edbdcce899ebce10fc0ac13ab03c439ea81f1c0fcfc4adafbf2c42ee8c4fa4afdd662c30d5be164c9b2
+Size (pyotp-2.8.0.tar.gz) = 16873 bytes


Home | Main Index | Thread Index | Old Index