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.3.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa88eb08d115
branches:  trunk
changeset: 401998:fa88eb08d115
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 02 15:33:43 2019 +0000

description:
py-lexicon: updated to 3.3.3

v3.3.3:
Add endpoint argument to specify DirectAdmin endpoint

Implement _authenticate to verify DirectAdmin credentials

Add logger for DirectAdmin provider

Implement _list_records for DirectAdmin provider

Implement _create_record for DirectAdmin provider

Implement _delete_record for DirectAdmin provider

Implement _update_record for DirectAdmin provider

Allow arbitrary non-JSON endpoints to be queried

Verify validity/ownership of domain during _authenticate

Add empty module levelNAMESERVER_DOMAINS to pass tests

As DirectAdmin is not tied to a specific host, it's impossible to
provide a more specific value.

Return FQDN from _list_records

Add default TTL value in _list_records response

Always use FQDN as name filter in _list_records

Return id in parsed record response from _list_records

This id is a combination of the record's name and value used in the
deletion process by DirectAdmin.

Implement identifier-based deletion and updates

Failure success keys should be strings for return value calculation

Handle unknown rtypes in _delete_record

Use warnings module to provide feedback in _list_records

Check for existing records in _create_record

Warn if record cannot be found in _update_record

Add integration tests

Add CODEOWNERS entry for DirectAdmin Provider

Move DirectAdmin to supported providers in README

Fix whitespace linting errors

Remove unused json import

Add module level docstring for DirectAdmin integration tests

Fix module import linting warnings

Fix dangerous default value linting warnings

Get rid of unnecessary else statement after an if, return combination

Remove shadowing variable name in _delete_record

Stop using len to determine whether a list is empty

Decrease help line length to satisfy linter

Strop trying to scrub responses from within the test suite

This breaks the vcrpy recordings. It's easier to process the recordings
after the fact removing any sensitive data.

Determine response body parsing based on Content-Type header

Fix incorrect predicate for checking existing records on _create_record

Record integration test recordings using Python 3

This makes the tests pass on both Python 2 and 3 instead of only on 3.

diffstat:

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

diffs (56 lines):

diff -r 082801544de0 -r fa88eb08d115 net/py-lexicon/Makefile
--- a/net/py-lexicon/Makefile   Wed Oct 02 14:54:02 2019 +0000
+++ b/net/py-lexicon/Makefile   Wed Oct 02 15:33:43 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2019/08/23 09:40:44 adam Exp $
+# $NetBSD: Makefile,v 1.37 2019/10/02 15:33:43 adam Exp $
 
-DISTNAME=      dns-lexicon-3.3.1
+DISTNAME=      dns-lexicon-3.3.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/dns-//}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dns-lexicon/}
diff -r 082801544de0 -r fa88eb08d115 net/py-lexicon/PLIST
--- a/net/py-lexicon/PLIST      Wed Oct 02 14:54:02 2019 +0000
+++ b/net/py-lexicon/PLIST      Wed Oct 02 15:33:43 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2019/08/23 09:40:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.27 2019/10/02 15:33:43 adam Exp $
 bin/lexicon-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -66,6 +66,9 @@
 ${PYSITELIB}/lexicon/providers/dinahosting.py
 ${PYSITELIB}/lexicon/providers/dinahosting.pyc
 ${PYSITELIB}/lexicon/providers/dinahosting.pyo
+${PYSITELIB}/lexicon/providers/directadmin.py
+${PYSITELIB}/lexicon/providers/directadmin.pyc
+${PYSITELIB}/lexicon/providers/directadmin.pyo
 ${PYSITELIB}/lexicon/providers/dnsimple.py
 ${PYSITELIB}/lexicon/providers/dnsimple.pyc
 ${PYSITELIB}/lexicon/providers/dnsimple.pyo
@@ -255,6 +258,9 @@
 ${PYSITELIB}/lexicon/tests/providers/test_dinahosting.py
 ${PYSITELIB}/lexicon/tests/providers/test_dinahosting.pyc
 ${PYSITELIB}/lexicon/tests/providers/test_dinahosting.pyo
+${PYSITELIB}/lexicon/tests/providers/test_directadmin.py
+${PYSITELIB}/lexicon/tests/providers/test_directadmin.pyc
+${PYSITELIB}/lexicon/tests/providers/test_directadmin.pyo
 ${PYSITELIB}/lexicon/tests/providers/test_dnsimple.py
 ${PYSITELIB}/lexicon/tests/providers/test_dnsimple.pyc
 ${PYSITELIB}/lexicon/tests/providers/test_dnsimple.pyo
diff -r 082801544de0 -r fa88eb08d115 net/py-lexicon/distinfo
--- a/net/py-lexicon/distinfo   Wed Oct 02 14:54:02 2019 +0000
+++ b/net/py-lexicon/distinfo   Wed Oct 02 15:33:43 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.36 2019/08/23 09:40:44 adam Exp $
+$NetBSD: distinfo,v 1.37 2019/10/02 15:33:43 adam Exp $
 
-SHA1 (dns-lexicon-3.3.1.tar.gz) = 8b03b87b8a2eb648d567e0a25ad43904e9e5a377
-RMD160 (dns-lexicon-3.3.1.tar.gz) = ae7904bc4017dc468f9ec8186a5fc82ade7f6034
-SHA512 (dns-lexicon-3.3.1.tar.gz) = 435d193525e9f65d809e63816e19f2b6620dcf56a93a6f9a0ba169740f8ab962811610bbf6c34d2319a49be1d2be77e5f90efa4b160977e7474e21f901b704f2
-Size (dns-lexicon-3.3.1.tar.gz) = 142331 bytes
+SHA1 (dns-lexicon-3.3.3.tar.gz) = 84cde958a8b92eeb6e98fe21fb0953561a43dc15
+RMD160 (dns-lexicon-3.3.3.tar.gz) = becf0fddbeda2677f593409359b32658cc983355
+SHA512 (dns-lexicon-3.3.3.tar.gz) = c98f097770851c11166fda0ccddafa03e3ba1a7f989c4c93ea66463ef46d11824be18238e224681e6f615d4914d8d6a089eb09fb2b3112586d1255507df0193a
+Size (dns-lexicon-3.3.3.tar.gz) = 144421 bytes



Home | Main Index | Thread Index | Old Index