pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-lexicon py-lexicon: updated to 3.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65cd24384cb8
branches:  trunk
changeset: 452275:65cd24384cb8
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 07 18:45:04 2021 +0000

description:
py-lexicon: updated to 3.6.0

3.6.0

Added

Vendor pynamecheap project for namecheap provider
Annotate public API with types
Check mypy types during CI
Add the RFC2136 DynDNS provider (named ddns)
Use Lexicon specific exceptions in code: AuthenticationError for authentication problems

Modified

Implement the base provider as an ABC class
Improve plesk provider for wildcard domains or subdomains
Use poetry-core instead of poetry for the builds
Switch to GitHub-native Dependabot

Deleted

Remove dependency of plesk provider to xmltodict
Remove some Python 2 specific code
Remove deprecated type parameter in providers public methods

diffstat:

 net/py-lexicon/Makefile |   7 +++----
 net/py-lexicon/PLIST    |   8 +++++++-
 net/py-lexicon/distinfo |  10 +++++-----
 3 files changed, 15 insertions(+), 10 deletions(-)

diffs (73 lines):

diff -r 338b65c6856e -r 65cd24384cb8 net/py-lexicon/Makefile
--- a/net/py-lexicon/Makefile   Fri May 07 18:31:59 2021 +0000
+++ b/net/py-lexicon/Makefile   Fri May 07 18:45:04 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2021/04/05 16:36:17 adam Exp $
+# $NetBSD: Makefile,v 1.58 2021/05/07 18:45:04 adam Exp $
 
-DISTNAME=      dns-lexicon-3.5.6
+DISTNAME=      dns-lexicon-3.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/dns-//}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dns-lexicon/}
@@ -12,7 +12,6 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4>=4:../../www/py-beautifulsoup4
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=2:../../security/py-cryptography
-DEPENDS+=      ${PYPKGPREFIX}-future>=0:../../devel/py-future
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-tldextract>=3:../../net/py-tldextract
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=5:../../textproc/py-yaml
@@ -28,7 +27,7 @@
 
 # Do not test providers
 do-test:
-       cd ${WRKSRC}/lexicon && pytest-${PYVERSSUFFIX} tests/test_*
+       cd ${WRKSRC}/lexicon && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests/test_*
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 338b65c6856e -r 65cd24384cb8 net/py-lexicon/PLIST
--- a/net/py-lexicon/PLIST      Fri May 07 18:31:59 2021 +0000
+++ b/net/py-lexicon/PLIST      Fri May 07 18:45:04 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.34 2021/04/05 16:36:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.35 2021/05/07 18:45:04 adam Exp $
 bin/lexicon-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -63,6 +63,9 @@
 ${PYSITELIB}/lexicon/providers/constellix.py
 ${PYSITELIB}/lexicon/providers/constellix.pyc
 ${PYSITELIB}/lexicon/providers/constellix.pyo
+${PYSITELIB}/lexicon/providers/ddns.py
+${PYSITELIB}/lexicon/providers/ddns.pyc
+${PYSITELIB}/lexicon/providers/ddns.pyo
 ${PYSITELIB}/lexicon/providers/digitalocean.py
 ${PYSITELIB}/lexicon/providers/digitalocean.pyc
 ${PYSITELIB}/lexicon/providers/digitalocean.pyo
@@ -282,6 +285,9 @@
 ${PYSITELIB}/lexicon/tests/providers/test_constellix.py
 ${PYSITELIB}/lexicon/tests/providers/test_constellix.pyc
 ${PYSITELIB}/lexicon/tests/providers/test_constellix.pyo
+${PYSITELIB}/lexicon/tests/providers/test_ddns.py
+${PYSITELIB}/lexicon/tests/providers/test_ddns.pyc
+${PYSITELIB}/lexicon/tests/providers/test_ddns.pyo
 ${PYSITELIB}/lexicon/tests/providers/test_digitalocean.py
 ${PYSITELIB}/lexicon/tests/providers/test_digitalocean.pyc
 ${PYSITELIB}/lexicon/tests/providers/test_digitalocean.pyo
diff -r 338b65c6856e -r 65cd24384cb8 net/py-lexicon/distinfo
--- a/net/py-lexicon/distinfo   Fri May 07 18:31:59 2021 +0000
+++ b/net/py-lexicon/distinfo   Fri May 07 18:45:04 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.56 2021/04/05 16:36:17 adam Exp $
+$NetBSD: distinfo,v 1.57 2021/05/07 18:45:04 adam Exp $
 
-SHA1 (dns-lexicon-3.5.6.tar.gz) = f2b42ab65a45014c6477ec41fbf69aa75f352433
-RMD160 (dns-lexicon-3.5.6.tar.gz) = 0d896354caca90fae0029d33a6dbf8ba985d1695
-SHA512 (dns-lexicon-3.5.6.tar.gz) = 69feaf8d9c58e0c1043b7ea275fdf04e10f2d9b93aebd26e531c4472dbeb7a69ba4d2bd9b4b995a255bfabcea4c253d709800a28b65bc68751c58b1c24bc31b9
-Size (dns-lexicon-3.5.6.tar.gz) = 152076 bytes
+SHA1 (dns-lexicon-3.6.0.tar.gz) = d4a4cb3fd9996a512e7375d8ae981fb92dee8e84
+RMD160 (dns-lexicon-3.6.0.tar.gz) = 3ecbdecae07aabe1d31f28a3f4374c636b2df501
+SHA512 (dns-lexicon-3.6.0.tar.gz) = bdbe917dfe64cc875b5b50e198b48166cd58525b5a15e0b36d979e21ef9865d75b8b66fba2d20c3bd989bbddc4d5e9d44088e7cc1df62121fd39f5c10e82805e
+Size (dns-lexicon-3.6.0.tar.gz) = 156047 bytes



Home | Main Index | Thread Index | Old Index