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.2.4
details: https://anonhg.NetBSD.org/pkgsrc/rev/28b89f347af0
branches: trunk
changeset: 323254:28b89f347af0
user: adam <adam%pkgsrc.org@localhost>
date: Tue May 07 08:00:03 2019 +0000
description:
py-lexicon: updated to 3.2.4
v3.2.4:
Update cloudns.py
update README.md link to LinodeAPIv4 Domain docs
v3.2.3:
Add netcup provider
v3.2.2:
Remove test.py in root folder
1) Fix delete record function to handle same name records properly. 2) Enable the extended test suite to validate wildcards and check record sets.
Fix new pylint errors
Fix pylint errors
Fix slave notification argument name
Remove unused import
Added explicit slave notifcation function when domain is master
Fixed PowerDNS provider to allow duplicate record names
Second attempt to add, not replace same name TXT.
Allow duplicate names for TXT records. Lets Encrypt uses the same TXT record name with a different challenge token (content) to verify the primary and wildcard domains.
v3.2.1:
Fix resolution of dependencies in a regular install of lexicon distribution
v3.2.0:
Ensure python3 for lint
Update environments for the release
Fix create record on dnsimple
Update client.py
Fix tox env name
Optimize AppVeyor
Fix import
Clean lint errors
Fix pytest flag
Also mock for client
Mock correctly the fakeprovider
Rename skip => xfail
Xfail tests for which provider dependencies are not fulfilled
Handle smartly providers with missing dependencies
Fix lint errors
Fix lint and workflow
Try with overriden environments
Standard execution
Functional new test suite
Enable mechanism to skip providers with optional deps
Leverage import of the provider module in integration tests class setup
diffstat:
net/py-lexicon/ALTERNATIVES | 2 +-
net/py-lexicon/Makefile | 33 +-
net/py-lexicon/PLIST | 432 ++++++++++++++++++++++++++++++++-----------
net/py-lexicon/distinfo | 10 +-
4 files changed, 340 insertions(+), 137 deletions(-)
diffs (truncated from 576 to 300 lines):
diff -r c2fe3eb28951 -r 28b89f347af0 net/py-lexicon/ALTERNATIVES
--- a/net/py-lexicon/ALTERNATIVES Tue May 07 06:56:23 2019 +0000
+++ b/net/py-lexicon/ALTERNATIVES Tue May 07 08:00:03 2019 +0000
@@ -1,1 +1,1 @@
-bin/lexicon @PREFIX@/bin/lexicon@PYVERSSUFFIX@
+bin/lexicon @PREFIX@/bin/lexicon-@PYVERSSUFFIX@
diff -r c2fe3eb28951 -r 28b89f347af0 net/py-lexicon/Makefile
--- a/net/py-lexicon/Makefile Tue May 07 06:56:23 2019 +0000
+++ b/net/py-lexicon/Makefile Tue May 07 08:00:03 2019 +0000
@@ -1,34 +1,33 @@
-# $NetBSD: Makefile,v 1.33 2019/01/15 11:30:03 triaxx Exp $
+# $NetBSD: Makefile,v 1.34 2019/05/07 08:00:03 adam Exp $
-DISTNAME= lexicon-3.0.8
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GITHUB:=AnalogJ/}
+DISTNAME= dns-lexicon-3.2.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/dns-//}
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_PYPI:=d/dns-lexicon/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/AnalogJ/lexicon/
+HOMEPAGE= https://github.com/AnalogJ/lexicon
COMMENT= Manipulate DNS records on various DNS providers
LICENSE= mit
-GITHUB_PROJECT= lexicon
-GITHUB_TAG= v${PKGVERSION_NOREV}
-
-EXTRACT_USING= bsdtar
-USE_TOOLS+= bsdtar
-
+DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-tldextract-[0-9]*:../../net/py-tldextract
-DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.1.1:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.26.1:../../devel/py-test-xdist
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
-EGG_NAME= ${DISTNAME:S/lexicon/dns_lexicon/}
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} lexicon lexicon-${PYVERSSUFFIX} || ${TRUE}
-post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/lexicon \
- ${DESTDIR}${PREFIX}/bin/lexicon${PYVERSSUFFIX}
+# Do not test providers
+do-test:
+ cd ${WRKSRC}/lexicon && pytest-${PYVERSSUFFIX} tests/test_*
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r c2fe3eb28951 -r 28b89f347af0 net/py-lexicon/PLIST
--- a/net/py-lexicon/PLIST Tue May 07 06:56:23 2019 +0000
+++ b/net/py-lexicon/PLIST Tue May 07 08:00:03 2019 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.23 2019/01/15 11:30:03 triaxx Exp $
-bin/lexicon${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.24 2019/05/07 08:00:03 adam Exp $
+bin/lexicon-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,173 +7,377 @@
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/lexicon/__init__.py
+${PYSITELIB}/lexicon/__init__.pyc
${PYSITELIB}/lexicon/__init__.pyo
-${PYSITELIB}/lexicon/__init__.pyc
+${PYSITELIB}/lexicon/cli.py
+${PYSITELIB}/lexicon/cli.pyc
${PYSITELIB}/lexicon/cli.pyo
-${PYSITELIB}/lexicon/cli.pyc
+${PYSITELIB}/lexicon/client.py
+${PYSITELIB}/lexicon/client.pyc
${PYSITELIB}/lexicon/client.pyo
-${PYSITELIB}/lexicon/client.pyc
+${PYSITELIB}/lexicon/config.py
+${PYSITELIB}/lexicon/config.pyc
${PYSITELIB}/lexicon/config.pyo
-${PYSITELIB}/lexicon/config.pyc
-${PYSITELIB}/lexicon/parser.pyo
+${PYSITELIB}/lexicon/conftest.py
+${PYSITELIB}/lexicon/conftest.pyc
+${PYSITELIB}/lexicon/conftest.pyo
+${PYSITELIB}/lexicon/discovery.py
+${PYSITELIB}/lexicon/discovery.pyc
+${PYSITELIB}/lexicon/discovery.pyo
+${PYSITELIB}/lexicon/parser.py
${PYSITELIB}/lexicon/parser.pyc
-${PYSITELIB}/lexicon/cli.py
-${PYSITELIB}/lexicon/client.py
-${PYSITELIB}/lexicon/config.py
-${PYSITELIB}/lexicon/parser.py
+${PYSITELIB}/lexicon/parser.pyo
${PYSITELIB}/lexicon/providers/__init__.py
+${PYSITELIB}/lexicon/providers/__init__.pyc
${PYSITELIB}/lexicon/providers/__init__.pyo
-${PYSITELIB}/lexicon/providers/__init__.pyc
+${PYSITELIB}/lexicon/providers/aurora.py
+${PYSITELIB}/lexicon/providers/aurora.pyc
${PYSITELIB}/lexicon/providers/aurora.pyo
-${PYSITELIB}/lexicon/providers/aurora.pyc
-${PYSITELIB}/lexicon/providers/auto.pyo
+${PYSITELIB}/lexicon/providers/auto.py
${PYSITELIB}/lexicon/providers/auto.pyc
-${PYSITELIB}/lexicon/providers/base.pyo
+${PYSITELIB}/lexicon/providers/auto.pyo
+${PYSITELIB}/lexicon/providers/base.py
${PYSITELIB}/lexicon/providers/base.pyc
+${PYSITELIB}/lexicon/providers/base.pyo
+${PYSITELIB}/lexicon/providers/cloudflare.py
+${PYSITELIB}/lexicon/providers/cloudflare.pyc
${PYSITELIB}/lexicon/providers/cloudflare.pyo
-${PYSITELIB}/lexicon/providers/cloudflare.pyc
+${PYSITELIB}/lexicon/providers/cloudns.py
+${PYSITELIB}/lexicon/providers/cloudns.pyc
${PYSITELIB}/lexicon/providers/cloudns.pyo
-${PYSITELIB}/lexicon/providers/cloudns.pyc
+${PYSITELIB}/lexicon/providers/cloudxns.py
+${PYSITELIB}/lexicon/providers/cloudxns.pyc
${PYSITELIB}/lexicon/providers/cloudxns.pyo
-${PYSITELIB}/lexicon/providers/cloudxns.pyc
-${PYSITELIB}/lexicon/providers/conoha.pyo
+${PYSITELIB}/lexicon/providers/conoha.py
${PYSITELIB}/lexicon/providers/conoha.pyc
-${PYSITELIB}/lexicon/providers/constellix.pyo
+${PYSITELIB}/lexicon/providers/conoha.pyo
+${PYSITELIB}/lexicon/providers/constellix.py
${PYSITELIB}/lexicon/providers/constellix.pyc
+${PYSITELIB}/lexicon/providers/constellix.pyo
+${PYSITELIB}/lexicon/providers/digitalocean.py
+${PYSITELIB}/lexicon/providers/digitalocean.pyc
${PYSITELIB}/lexicon/providers/digitalocean.pyo
-${PYSITELIB}/lexicon/providers/digitalocean.pyc
+${PYSITELIB}/lexicon/providers/dnsimple.py
+${PYSITELIB}/lexicon/providers/dnsimple.pyc
${PYSITELIB}/lexicon/providers/dnsimple.pyo
-${PYSITELIB}/lexicon/providers/dnsimple.pyc
-${PYSITELIB}/lexicon/providers/dnsmadeeasy.pyo
+${PYSITELIB}/lexicon/providers/dnsmadeeasy.py
${PYSITELIB}/lexicon/providers/dnsmadeeasy.pyc
+${PYSITELIB}/lexicon/providers/dnsmadeeasy.pyo
+${PYSITELIB}/lexicon/providers/dnspark.py
+${PYSITELIB}/lexicon/providers/dnspark.pyc
${PYSITELIB}/lexicon/providers/dnspark.pyo
-${PYSITELIB}/lexicon/providers/dnspark.pyc
+${PYSITELIB}/lexicon/providers/dnspod.py
+${PYSITELIB}/lexicon/providers/dnspod.pyc
${PYSITELIB}/lexicon/providers/dnspod.pyo
-${PYSITELIB}/lexicon/providers/dnspod.pyc
+${PYSITELIB}/lexicon/providers/easydns.py
+${PYSITELIB}/lexicon/providers/easydns.pyc
${PYSITELIB}/lexicon/providers/easydns.pyo
-${PYSITELIB}/lexicon/providers/easydns.pyc
-${PYSITELIB}/lexicon/providers/easyname.pyo
+${PYSITELIB}/lexicon/providers/easyname.py
${PYSITELIB}/lexicon/providers/easyname.pyc
-${PYSITELIB}/lexicon/providers/exoscale.pyo
+${PYSITELIB}/lexicon/providers/easyname.pyo
+${PYSITELIB}/lexicon/providers/exoscale.py
${PYSITELIB}/lexicon/providers/exoscale.pyc
+${PYSITELIB}/lexicon/providers/exoscale.pyo
+${PYSITELIB}/lexicon/providers/gandi.py
+${PYSITELIB}/lexicon/providers/gandi.pyc
${PYSITELIB}/lexicon/providers/gandi.pyo
-${PYSITELIB}/lexicon/providers/gandi.pyc
+${PYSITELIB}/lexicon/providers/gehirn.py
+${PYSITELIB}/lexicon/providers/gehirn.pyc
${PYSITELIB}/lexicon/providers/gehirn.pyo
-${PYSITELIB}/lexicon/providers/gehirn.pyc
+${PYSITELIB}/lexicon/providers/glesys.py
+${PYSITELIB}/lexicon/providers/glesys.pyc
${PYSITELIB}/lexicon/providers/glesys.pyo
-${PYSITELIB}/lexicon/providers/glesys.pyc
-${PYSITELIB}/lexicon/providers/godaddy.pyo
+${PYSITELIB}/lexicon/providers/godaddy.py
${PYSITELIB}/lexicon/providers/godaddy.pyc
+${PYSITELIB}/lexicon/providers/godaddy.pyo
+${PYSITELIB}/lexicon/providers/googleclouddns.py
+${PYSITELIB}/lexicon/providers/googleclouddns.pyc
${PYSITELIB}/lexicon/providers/googleclouddns.pyo
-${PYSITELIB}/lexicon/providers/googleclouddns.pyc
+${PYSITELIB}/lexicon/providers/henet.py
+${PYSITELIB}/lexicon/providers/henet.pyc
${PYSITELIB}/lexicon/providers/henet.pyo
-${PYSITELIB}/lexicon/providers/henet.pyc
-${PYSITELIB}/lexicon/providers/hetzner.pyo
+${PYSITELIB}/lexicon/providers/hetzner.py
${PYSITELIB}/lexicon/providers/hetzner.pyc
-${PYSITELIB}/lexicon/providers/internetbs.pyo
+${PYSITELIB}/lexicon/providers/hetzner.pyo
+${PYSITELIB}/lexicon/providers/hover.py
+${PYSITELIB}/lexicon/providers/hover.pyc
+${PYSITELIB}/lexicon/providers/hover.pyo
+${PYSITELIB}/lexicon/providers/infoblox.py
+${PYSITELIB}/lexicon/providers/infoblox.pyc
+${PYSITELIB}/lexicon/providers/infoblox.pyo
+${PYSITELIB}/lexicon/providers/internetbs.py
${PYSITELIB}/lexicon/providers/internetbs.pyc
+${PYSITELIB}/lexicon/providers/internetbs.pyo
+${PYSITELIB}/lexicon/providers/inwx.py
+${PYSITELIB}/lexicon/providers/inwx.pyc
${PYSITELIB}/lexicon/providers/inwx.pyo
-${PYSITELIB}/lexicon/providers/inwx.pyc
+${PYSITELIB}/lexicon/providers/linode.py
+${PYSITELIB}/lexicon/providers/linode.pyc
${PYSITELIB}/lexicon/providers/linode.pyo
-${PYSITELIB}/lexicon/providers/linode.pyc
-${PYSITELIB}/lexicon/providers/linode4.pyo
+${PYSITELIB}/lexicon/providers/linode4.py
${PYSITELIB}/lexicon/providers/linode4.pyc
+${PYSITELIB}/lexicon/providers/linode4.pyo
+${PYSITELIB}/lexicon/providers/localzone.py
+${PYSITELIB}/lexicon/providers/localzone.pyc
${PYSITELIB}/lexicon/providers/localzone.pyo
-${PYSITELIB}/lexicon/providers/localzone.pyc
+${PYSITELIB}/lexicon/providers/luadns.py
+${PYSITELIB}/lexicon/providers/luadns.pyc
${PYSITELIB}/lexicon/providers/luadns.pyo
-${PYSITELIB}/lexicon/providers/luadns.pyc
+${PYSITELIB}/lexicon/providers/memset.py
+${PYSITELIB}/lexicon/providers/memset.pyc
${PYSITELIB}/lexicon/providers/memset.pyo
-${PYSITELIB}/lexicon/providers/memset.pyc
-${PYSITELIB}/lexicon/providers/namecheap.pyo
+${PYSITELIB}/lexicon/providers/namecheap.py
${PYSITELIB}/lexicon/providers/namecheap.pyc
+${PYSITELIB}/lexicon/providers/namecheap.pyo
+${PYSITELIB}/lexicon/providers/namesilo.py
+${PYSITELIB}/lexicon/providers/namesilo.pyc
${PYSITELIB}/lexicon/providers/namesilo.pyo
-${PYSITELIB}/lexicon/providers/namesilo.pyc
+${PYSITELIB}/lexicon/providers/netcup.py
+${PYSITELIB}/lexicon/providers/netcup.pyc
+${PYSITELIB}/lexicon/providers/netcup.pyo
+${PYSITELIB}/lexicon/providers/nfsn.py
+${PYSITELIB}/lexicon/providers/nfsn.pyc
${PYSITELIB}/lexicon/providers/nfsn.pyo
-${PYSITELIB}/lexicon/providers/nfsn.pyc
-${PYSITELIB}/lexicon/providers/nsone.pyo
+${PYSITELIB}/lexicon/providers/nsone.py
${PYSITELIB}/lexicon/providers/nsone.pyc
-${PYSITELIB}/lexicon/providers/onapp.pyo
+${PYSITELIB}/lexicon/providers/nsone.pyo
+${PYSITELIB}/lexicon/providers/onapp.py
${PYSITELIB}/lexicon/providers/onapp.pyc
-${PYSITELIB}/lexicon/providers/online.pyo
+${PYSITELIB}/lexicon/providers/onapp.pyo
+${PYSITELIB}/lexicon/providers/online.py
${PYSITELIB}/lexicon/providers/online.pyc
-${PYSITELIB}/lexicon/providers/ovh.pyo
+${PYSITELIB}/lexicon/providers/online.pyo
+${PYSITELIB}/lexicon/providers/ovh.py
${PYSITELIB}/lexicon/providers/ovh.pyc
-${PYSITELIB}/lexicon/providers/plesk.pyo
+${PYSITELIB}/lexicon/providers/ovh.pyo
+${PYSITELIB}/lexicon/providers/plesk.py
${PYSITELIB}/lexicon/providers/plesk.pyc
-${PYSITELIB}/lexicon/providers/pointhq.pyo
+${PYSITELIB}/lexicon/providers/plesk.pyo
+${PYSITELIB}/lexicon/providers/pointhq.py
${PYSITELIB}/lexicon/providers/pointhq.pyc
-${PYSITELIB}/lexicon/providers/powerdns.pyo
+${PYSITELIB}/lexicon/providers/pointhq.pyo
+${PYSITELIB}/lexicon/providers/powerdns.py
${PYSITELIB}/lexicon/providers/powerdns.pyc
-${PYSITELIB}/lexicon/providers/rackspace.pyo
+${PYSITELIB}/lexicon/providers/powerdns.pyo
+${PYSITELIB}/lexicon/providers/rackspace.py
${PYSITELIB}/lexicon/providers/rackspace.pyc
+${PYSITELIB}/lexicon/providers/rackspace.pyo
+${PYSITELIB}/lexicon/providers/rage4.py
+${PYSITELIB}/lexicon/providers/rage4.pyc
${PYSITELIB}/lexicon/providers/rage4.pyo
-${PYSITELIB}/lexicon/providers/rage4.pyc
+${PYSITELIB}/lexicon/providers/route53.py
+${PYSITELIB}/lexicon/providers/route53.pyc
${PYSITELIB}/lexicon/providers/route53.pyo
-${PYSITELIB}/lexicon/providers/route53.pyc
+${PYSITELIB}/lexicon/providers/sakuracloud.py
+${PYSITELIB}/lexicon/providers/sakuracloud.pyc
${PYSITELIB}/lexicon/providers/sakuracloud.pyo
-${PYSITELIB}/lexicon/providers/sakuracloud.pyc
+${PYSITELIB}/lexicon/providers/softlayer.py
+${PYSITELIB}/lexicon/providers/softlayer.pyc
${PYSITELIB}/lexicon/providers/softlayer.pyo
-${PYSITELIB}/lexicon/providers/softlayer.pyc
+${PYSITELIB}/lexicon/providers/subreg.py
+${PYSITELIB}/lexicon/providers/subreg.pyc
${PYSITELIB}/lexicon/providers/subreg.pyo
Home |
Main Index |
Thread Index |
Old Index