pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-lexicon



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct  4 12:13:58 UTC 2023

Modified Files:
        pkgsrc/net/py-lexicon: Makefile PLIST distinfo

Log Message:
py-lexicon: updated to 3.15.0

3.15.0

Added

Add pyotp Python dependency in Lexicon to help implementing OTP (one-time password) on providers whose API supports this kind of authentication.
Add OTP support on hover provider, with a new flag named --auth-totp-secret.
Add type marker py.typed to inform types checkers about availability of type annotations in Lexicon codebase.

Modified

Fix and modernize ReadTheDoc documentation build.
Better error management and resource cleanup when Client is used as a context manager.

Removed

Stop using cryptography in providers where only hashing is needed.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/net/py-lexicon/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/net/py-lexicon/PLIST
cvs rdiff -u -r1.83 -r1.84 pkgsrc/net/py-lexicon/distinfo

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

Modified files:

Index: pkgsrc/net/py-lexicon/Makefile
diff -u pkgsrc/net/py-lexicon/Makefile:1.86 pkgsrc/net/py-lexicon/Makefile:1.87
--- pkgsrc/net/py-lexicon/Makefile:1.86 Fri Aug 25 15:25:44 2023
+++ pkgsrc/net/py-lexicon/Makefile      Wed Oct  4 12:13:58 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.86 2023/08/25 15:25:44 adam Exp $
+# $NetBSD: Makefile,v 1.87 2023/10/04 12:13:58 adam Exp $
 
-DISTNAME=      dns_lexicon-3.14.1
+DISTNAME=      dns_lexicon-3.15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/dns_//}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dns-lexicon/}
@@ -13,6 +13,7 @@ LICENSE=      mit
 TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
 DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4>=4:../../www/py-beautifulsoup4
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4:../../devel/py-importlib-metadata
+DEPENDS+=      ${PYPKGPREFIX}-otp>=2:../../security/py-otp
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-tldextract>=2:../../net/py-tldextract
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=5:../../textproc/py-yaml
@@ -21,6 +22,11 @@ USE_LANGUAGES=       # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 310
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4.6:../../devel/py-importlib-metadata
+.endif
+
 MESSAGE_SUBST+=        PYPKGPREFIX=${PYPKGPREFIX}
 
 post-install:

Index: pkgsrc/net/py-lexicon/PLIST
diff -u pkgsrc/net/py-lexicon/PLIST:1.46 pkgsrc/net/py-lexicon/PLIST:1.47
--- pkgsrc/net/py-lexicon/PLIST:1.46    Sun Aug 13 10:36:31 2023
+++ pkgsrc/net/py-lexicon/PLIST Wed Oct  4 12:13:58 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.46 2023/08/13 10:36:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.47 2023/10/04 12:13:58 adam Exp $
 bin/lexicon-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
@@ -196,3 +196,4 @@ ${PYSITELIB}/lexicon/interfaces.py
 ${PYSITELIB}/lexicon/interfaces.pyc
 ${PYSITELIB}/lexicon/providers/__init__.py
 ${PYSITELIB}/lexicon/providers/__init__.pyc
+${PYSITELIB}/lexicon/py.typed

Index: pkgsrc/net/py-lexicon/distinfo
diff -u pkgsrc/net/py-lexicon/distinfo:1.83 pkgsrc/net/py-lexicon/distinfo:1.84
--- pkgsrc/net/py-lexicon/distinfo:1.83 Fri Aug 25 15:25:44 2023
+++ pkgsrc/net/py-lexicon/distinfo      Wed Oct  4 12:13:58 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.83 2023/08/25 15:25:44 adam Exp $
+$NetBSD: distinfo,v 1.84 2023/10/04 12:13:58 adam Exp $
 
-BLAKE2s (dns_lexicon-3.14.1.tar.gz) = 1f0bc46c0f97b65122a3952cc6a4ad266e154b1ebcfc3ae9fffa8d79619e4bd3
-SHA512 (dns_lexicon-3.14.1.tar.gz) = 949a242de4d693cd80bf4606622ba152cc23760a4da6c9625d76abd703a4f8cd879946f0161547763d1aed97869f93681ff9e1143815f1f94290d2166ec0e6b6
-Size (dns_lexicon-3.14.1.tar.gz) = 153758 bytes
+BLAKE2s (dns_lexicon-3.15.0.tar.gz) = 9c446fb6818dbdf13475c02e7e63f362645e5b45e4525c19e4c56a378369cb95
+SHA512 (dns_lexicon-3.15.0.tar.gz) = 11c44bb815cb904aa71e86a56e8560a03a69cd6b63fcb0364acdaa0aa522f79d1597ddaccb540208b0d2878dea0f4755abef1f83a40cacb20b0f2fda7a81b7c2
+Size (dns_lexicon-3.15.0.tar.gz) = 154091 bytes



Home | Main Index | Thread Index | Old Index