pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-gandi.cli py-gandi.cli: update to 1.5
details: https://anonhg.NetBSD.org/pkgsrc/rev/973185c71f2c
branches: trunk
changeset: 426060:973185c71f2c
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Wed Mar 25 16:19:48 2020 +0000
description:
py-gandi.cli: update to 1.5
1.5
---
* Fixes #280: Problem with new record
* Fixes #284: Manpage errors
* Fixes #287: Problem with dnssec create with algorithm/flags
1.4
---
* Fixes #268: Drop support of click < 7.0
* Drop support of python 2.6 and 3.3
* Add coverage
* Test python 3.7 and pypy in travis
* PEP8
1.3
---
* Use pytest instead of nose
* Add extra parameter in domain create
* Add support of Python 3.7
* Fixes #245: Add support of DNSSEC
* Fixes #250: Drop support of Python < 3.3
1.2
---
* Add support for paas size s+ for creation/update
* Fixes #232: Update 'gandi record update' command to allow filtering by name
* Fix bug when attempting to migrate a vm which cannot be migrated
* Only display DC closed warning if a date is set
1.1
---
* FR-SD5 is now the default datacenter.
* Add new 'gandi dns update' command.
* Fixes #228: Generate a user password at the creation of a VM
* Improve wait for ssh connectivity after 'gandi vm create' command to handle ipv6
* Fix a bug with 'gandi disk migrate' command not working with multiple datacenters choices
* Improve documentation for generating username/apikey with Gandi V5
1.0
----
* New 'dns' namespace to manage DNS records/dnssec through LiveDNS API.
* Add new 'gandi vm migrate' command.
* Refactor internal click code usage. Remove hackish code to handle
nested commands which was limited to only 1 nested level.
- This change will break code of users which were using custom commands
on top of Gandi CLI, To fix this you have to use the proper click syntax
to declare a new group for your commands.
- This change also remove the automatic listing of all namespace commands
upon a typo or unknown/wrong command.
* Fixes #224: DeprecationWarning makes tests fail with python 3.6.2
0.22
----
* Fixes #223: 'gandi setup' command error
* Fixes #222: AttributeError during vm creation on a private vlan
* Fixes tests for 'gandi deploy' and 'gandi status' commands
0.21
----
* Add new 'gandi disk migrate' command
* Update 'gandi setup' command to ask for apikey for REST API
* Handle deprecated images
- Add a warning during 'gandi vm create' command
- Display a * before image labels on 'gandi vm create' help
- Display a /!\ DEPRECATED on 'gandi vm images' command
* Fixes #220: gandi record update issues
- Do not cast to int the id of the record, use the retrieve value
- Handle both record syntax with 'IN' or not when parsing
- Delete created zone if record.update call fail from xmlrpc API
* Fixes #219: Can't remove disk snapshot profile
* vm: delete: Fix delete when we reach the list limit
- Fixed a bug when deleting a vm that wasn't listed in the first 500 results
of gandi.iaas.list.
* Fix issue when updating disk kernel with a kernel from another datacenter
- CLI was proposing only kernels available on datacenter 1, but some kernels
are available only on other datacenters, so we list everything for --kernel
parameters, and for disk update command we add a new check if this kernel is
available for this disk on this datacenter.
* Add epilog to help messages to notify user about man documentation
* Add one new verbose level for dumping data
0.20
----
* Add support for python3.6
* Debian 8 is the new default VM image
* FR-SD3 is the new default datacenter
* Update 'gandi mail create' command to allow passing password as parameter
* Update 'gandi certificate create' command: duration is now limited to 2 years
* Update 'gandi ip create' command to fix bad units in help message
* Fixes #182: 'gandi disk create' will detect datacenter when creating a new VM disk
* Fixes #184: 'gandi disk list' can now filter for attach/detach state
* Fixes #192: 'gandi certificate info' now still works after 500 certificates
* Fixes #201: 'gandi certificate export' was duplicating intermediate certificate
* Fixes #211: 'gandi paas deploy' tests should work again when using git commands
* Fixes a bug with options not using corrected value when deprecated
* Update unixpipe module to remove usage of posix and non portable imports
diffstat:
net/py-gandi.cli/Makefile | 12 +-
net/py-gandi.cli/PLIST | 383 ++++++++++++++++++++++++---------------------
net/py-gandi.cli/distinfo | 10 +-
3 files changed, 214 insertions(+), 191 deletions(-)
diffs (truncated from 540 to 300 lines):
diff -r c57d9bf60216 -r 973185c71f2c net/py-gandi.cli/Makefile
--- a/net/py-gandi.cli/Makefile Wed Mar 25 16:19:26 2020 +0000
+++ b/net/py-gandi.cli/Makefile Wed Mar 25 16:19:48 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2016/11/28 23:38:18 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2020/03/25 16:19:48 riastradh Exp $
-GITHUB_TAG= 0.19
+GITHUB_TAG= 1.5
DISTNAME= ${GITHUB_TAG}
PKGNAME= ${PYPKGPREFIX}-gandi.cli-${GITHUB_TAG}
CATEGORIES= net
@@ -14,12 +14,14 @@
COMMENT= Command line interface for Gandi.net
LICENSE= gnu-gpl-v3
-PYTHON_VERSIONS_ACCEPTED= 27
-
-DEPENDS+= ${PYPKGPREFIX}-click>=3.1:../../devel/py-click
+DEPENDS+= ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-IP-[0-9]*:../../net/py-IP
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-tox>=0:../../devel/py-tox
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r c57d9bf60216 -r 973185c71f2c net/py-gandi.cli/PLIST
--- a/net/py-gandi.cli/PLIST Wed Mar 25 16:19:26 2020 +0000
+++ b/net/py-gandi.cli/PLIST Wed Mar 25 16:19:48 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/10/27 10:15:18 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/03/25 16:19:48 riastradh Exp $
bin/gandi
${PYSITELIB}/${EGG_NAME}-nspkg.pth
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -10,284 +10,305 @@
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/gandi/cli/__init__.py
-${PYSITELIB}/gandi/cli/__init__.pyc
+${PYSITELIB}/gandi/cli/__main__.py
${PYSITELIB}/gandi/cli/__init__.pyo
-${PYSITELIB}/gandi/cli/__main__.py
+${PYSITELIB}/gandi/cli/__init__.pyc
+${PYSITELIB}/gandi/cli/__main__.pyo
${PYSITELIB}/gandi/cli/__main__.pyc
-${PYSITELIB}/gandi/cli/__main__.pyo
${PYSITELIB}/gandi/cli/commands/__init__.py
-${PYSITELIB}/gandi/cli/commands/__init__.pyc
${PYSITELIB}/gandi/cli/commands/__init__.pyo
-${PYSITELIB}/gandi/cli/commands/account.py
-${PYSITELIB}/gandi/cli/commands/account.pyc
+${PYSITELIB}/gandi/cli/commands/__init__.pyc
${PYSITELIB}/gandi/cli/commands/account.pyo
-${PYSITELIB}/gandi/cli/commands/certificate.py
-${PYSITELIB}/gandi/cli/commands/certificate.pyc
+${PYSITELIB}/gandi/cli/commands/account.pyc
${PYSITELIB}/gandi/cli/commands/certificate.pyo
-${PYSITELIB}/gandi/cli/commands/certstore.py
-${PYSITELIB}/gandi/cli/commands/certstore.pyc
+${PYSITELIB}/gandi/cli/commands/certificate.pyc
${PYSITELIB}/gandi/cli/commands/certstore.pyo
-${PYSITELIB}/gandi/cli/commands/config.py
-${PYSITELIB}/gandi/cli/commands/config.pyc
+${PYSITELIB}/gandi/cli/commands/certstore.pyc
${PYSITELIB}/gandi/cli/commands/config.pyo
-${PYSITELIB}/gandi/cli/commands/contact.py
-${PYSITELIB}/gandi/cli/commands/contact.pyc
+${PYSITELIB}/gandi/cli/commands/config.pyc
${PYSITELIB}/gandi/cli/commands/contact.pyo
-${PYSITELIB}/gandi/cli/commands/disk.py
-${PYSITELIB}/gandi/cli/commands/disk.pyc
+${PYSITELIB}/gandi/cli/commands/contact.pyc
${PYSITELIB}/gandi/cli/commands/disk.pyo
-${PYSITELIB}/gandi/cli/commands/docker.py
-${PYSITELIB}/gandi/cli/commands/docker.pyc
+${PYSITELIB}/gandi/cli/commands/disk.pyc
+${PYSITELIB}/gandi/cli/commands/dns.pyo
+${PYSITELIB}/gandi/cli/commands/dns.pyc
+${PYSITELIB}/gandi/cli/commands/dnssec.pyo
+${PYSITELIB}/gandi/cli/commands/dnssec.pyc
${PYSITELIB}/gandi/cli/commands/docker.pyo
-${PYSITELIB}/gandi/cli/commands/domain.py
-${PYSITELIB}/gandi/cli/commands/domain.pyc
+${PYSITELIB}/gandi/cli/commands/docker.pyc
${PYSITELIB}/gandi/cli/commands/domain.pyo
-${PYSITELIB}/gandi/cli/commands/forward.py
-${PYSITELIB}/gandi/cli/commands/forward.pyc
+${PYSITELIB}/gandi/cli/commands/domain.pyc
${PYSITELIB}/gandi/cli/commands/forward.pyo
-${PYSITELIB}/gandi/cli/commands/ip.py
-${PYSITELIB}/gandi/cli/commands/ip.pyc
+${PYSITELIB}/gandi/cli/commands/forward.pyc
${PYSITELIB}/gandi/cli/commands/ip.pyo
-${PYSITELIB}/gandi/cli/commands/mail.py
+${PYSITELIB}/gandi/cli/commands/ip.pyc
+${PYSITELIB}/gandi/cli/commands/mail.pyo
${PYSITELIB}/gandi/cli/commands/mail.pyc
-${PYSITELIB}/gandi/cli/commands/mail.pyo
-${PYSITELIB}/gandi/cli/commands/oper.py
+${PYSITELIB}/gandi/cli/commands/oper.pyo
${PYSITELIB}/gandi/cli/commands/oper.pyc
-${PYSITELIB}/gandi/cli/commands/oper.pyo
-${PYSITELIB}/gandi/cli/commands/paas.py
+${PYSITELIB}/gandi/cli/commands/paas.pyo
${PYSITELIB}/gandi/cli/commands/paas.pyc
-${PYSITELIB}/gandi/cli/commands/paas.pyo
-${PYSITELIB}/gandi/cli/commands/record.py
+${PYSITELIB}/gandi/cli/commands/record.pyo
${PYSITELIB}/gandi/cli/commands/record.pyc
-${PYSITELIB}/gandi/cli/commands/record.pyo
-${PYSITELIB}/gandi/cli/commands/root.py
+${PYSITELIB}/gandi/cli/commands/root.pyo
${PYSITELIB}/gandi/cli/commands/root.pyc
-${PYSITELIB}/gandi/cli/commands/root.pyo
-${PYSITELIB}/gandi/cli/commands/snapshotprofile.py
+${PYSITELIB}/gandi/cli/commands/snapshotprofile.pyo
${PYSITELIB}/gandi/cli/commands/snapshotprofile.pyc
-${PYSITELIB}/gandi/cli/commands/snapshotprofile.pyo
-${PYSITELIB}/gandi/cli/commands/sshkey.py
+${PYSITELIB}/gandi/cli/commands/sshkey.pyo
${PYSITELIB}/gandi/cli/commands/sshkey.pyc
-${PYSITELIB}/gandi/cli/commands/sshkey.pyo
-${PYSITELIB}/gandi/cli/commands/vhost.py
+${PYSITELIB}/gandi/cli/commands/vhost.pyo
${PYSITELIB}/gandi/cli/commands/vhost.pyc
-${PYSITELIB}/gandi/cli/commands/vhost.pyo
-${PYSITELIB}/gandi/cli/commands/vlan.py
+${PYSITELIB}/gandi/cli/commands/vlan.pyo
${PYSITELIB}/gandi/cli/commands/vlan.pyc
-${PYSITELIB}/gandi/cli/commands/vlan.pyo
-${PYSITELIB}/gandi/cli/commands/vm.py
+${PYSITELIB}/gandi/cli/commands/vm.pyo
${PYSITELIB}/gandi/cli/commands/vm.pyc
-${PYSITELIB}/gandi/cli/commands/vm.pyo
-${PYSITELIB}/gandi/cli/commands/webacc.py
+${PYSITELIB}/gandi/cli/commands/webacc.pyo
${PYSITELIB}/gandi/cli/commands/webacc.pyc
-${PYSITELIB}/gandi/cli/commands/webacc.pyo
+${PYSITELIB}/gandi/cli/commands/account.py
+${PYSITELIB}/gandi/cli/commands/certificate.py
+${PYSITELIB}/gandi/cli/commands/certstore.py
+${PYSITELIB}/gandi/cli/commands/config.py
+${PYSITELIB}/gandi/cli/commands/contact.py
+${PYSITELIB}/gandi/cli/commands/disk.py
+${PYSITELIB}/gandi/cli/commands/dns.py
+${PYSITELIB}/gandi/cli/commands/dnssec.py
+${PYSITELIB}/gandi/cli/commands/docker.py
+${PYSITELIB}/gandi/cli/commands/domain.py
+${PYSITELIB}/gandi/cli/commands/forward.py
+${PYSITELIB}/gandi/cli/commands/ip.py
+${PYSITELIB}/gandi/cli/commands/mail.py
+${PYSITELIB}/gandi/cli/commands/oper.py
+${PYSITELIB}/gandi/cli/commands/paas.py
+${PYSITELIB}/gandi/cli/commands/record.py
+${PYSITELIB}/gandi/cli/commands/root.py
+${PYSITELIB}/gandi/cli/commands/snapshotprofile.py
+${PYSITELIB}/gandi/cli/commands/sshkey.py
+${PYSITELIB}/gandi/cli/commands/vhost.py
+${PYSITELIB}/gandi/cli/commands/vlan.py
+${PYSITELIB}/gandi/cli/commands/vm.py
+${PYSITELIB}/gandi/cli/commands/webacc.py
${PYSITELIB}/gandi/cli/core/__init__.py
-${PYSITELIB}/gandi/cli/core/__init__.pyc
${PYSITELIB}/gandi/cli/core/__init__.pyo
-${PYSITELIB}/gandi/cli/core/base.py
+${PYSITELIB}/gandi/cli/core/__init__.pyc
+${PYSITELIB}/gandi/cli/core/base.pyo
${PYSITELIB}/gandi/cli/core/base.pyc
-${PYSITELIB}/gandi/cli/core/base.pyo
+${PYSITELIB}/gandi/cli/core/cli.pyo
+${PYSITELIB}/gandi/cli/core/cli.pyc
+${PYSITELIB}/gandi/cli/core/client.pyo
+${PYSITELIB}/gandi/cli/core/client.pyc
+${PYSITELIB}/gandi/cli/core/conf.pyo
+${PYSITELIB}/gandi/cli/core/conf.pyc
+${PYSITELIB}/gandi/cli/core/params.pyo
+${PYSITELIB}/gandi/cli/core/params.pyc
+${PYSITELIB}/gandi/cli/core/base.py
${PYSITELIB}/gandi/cli/core/cli.py
-${PYSITELIB}/gandi/cli/core/cli.pyc
-${PYSITELIB}/gandi/cli/core/cli.pyo
${PYSITELIB}/gandi/cli/core/client.py
-${PYSITELIB}/gandi/cli/core/client.pyc
-${PYSITELIB}/gandi/cli/core/client.pyo
${PYSITELIB}/gandi/cli/core/conf.py
-${PYSITELIB}/gandi/cli/core/conf.pyc
-${PYSITELIB}/gandi/cli/core/conf.pyo
${PYSITELIB}/gandi/cli/core/params.py
-${PYSITELIB}/gandi/cli/core/params.pyc
-${PYSITELIB}/gandi/cli/core/params.pyo
${PYSITELIB}/gandi/cli/core/utils/__init__.py
+${PYSITELIB}/gandi/cli/core/utils/__init__.pyo
${PYSITELIB}/gandi/cli/core/utils/__init__.pyc
-${PYSITELIB}/gandi/cli/core/utils/__init__.pyo
+${PYSITELIB}/gandi/cli/core/utils/ascii_sparks.pyo
+${PYSITELIB}/gandi/cli/core/utils/ascii_sparks.pyc
+${PYSITELIB}/gandi/cli/core/utils/password.pyo
+${PYSITELIB}/gandi/cli/core/utils/password.pyc
+${PYSITELIB}/gandi/cli/core/utils/size.pyo
+${PYSITELIB}/gandi/cli/core/utils/size.pyc
+${PYSITELIB}/gandi/cli/core/utils/unixpipe.pyo
+${PYSITELIB}/gandi/cli/core/utils/unixpipe.pyc
+${PYSITELIB}/gandi/cli/core/utils/xmlrpc.pyo
+${PYSITELIB}/gandi/cli/core/utils/xmlrpc.pyc
${PYSITELIB}/gandi/cli/core/utils/ascii_sparks.py
-${PYSITELIB}/gandi/cli/core/utils/ascii_sparks.pyc
-${PYSITELIB}/gandi/cli/core/utils/ascii_sparks.pyo
+${PYSITELIB}/gandi/cli/core/utils/password.py
${PYSITELIB}/gandi/cli/core/utils/size.py
-${PYSITELIB}/gandi/cli/core/utils/size.pyc
-${PYSITELIB}/gandi/cli/core/utils/size.pyo
${PYSITELIB}/gandi/cli/core/utils/unixpipe.py
-${PYSITELIB}/gandi/cli/core/utils/unixpipe.pyc
-${PYSITELIB}/gandi/cli/core/utils/unixpipe.pyo
${PYSITELIB}/gandi/cli/core/utils/xmlrpc.py
-${PYSITELIB}/gandi/cli/core/utils/xmlrpc.pyc
-${PYSITELIB}/gandi/cli/core/utils/xmlrpc.pyo
${PYSITELIB}/gandi/cli/modules/__init__.py
+${PYSITELIB}/gandi/cli/modules/__init__.pyo
${PYSITELIB}/gandi/cli/modules/__init__.pyc
-${PYSITELIB}/gandi/cli/modules/__init__.pyo
-${PYSITELIB}/gandi/cli/modules/account.py
+${PYSITELIB}/gandi/cli/modules/account.pyo
${PYSITELIB}/gandi/cli/modules/account.pyc
-${PYSITELIB}/gandi/cli/modules/account.pyo
+${PYSITELIB}/gandi/cli/modules/api.pyo
+${PYSITELIB}/gandi/cli/modules/api.pyc
+${PYSITELIB}/gandi/cli/modules/cert.pyo
+${PYSITELIB}/gandi/cli/modules/cert.pyc
+${PYSITELIB}/gandi/cli/modules/contact.pyo
+${PYSITELIB}/gandi/cli/modules/contact.pyc
+${PYSITELIB}/gandi/cli/modules/datacenter.pyo
+${PYSITELIB}/gandi/cli/modules/datacenter.pyc
+${PYSITELIB}/gandi/cli/modules/disk.pyo
+${PYSITELIB}/gandi/cli/modules/disk.pyc
+${PYSITELIB}/gandi/cli/modules/dns.pyo
+${PYSITELIB}/gandi/cli/modules/dns.pyc
+${PYSITELIB}/gandi/cli/modules/dnssec.pyo
+${PYSITELIB}/gandi/cli/modules/dnssec.pyc
+${PYSITELIB}/gandi/cli/modules/docker.pyo
+${PYSITELIB}/gandi/cli/modules/docker.pyc
+${PYSITELIB}/gandi/cli/modules/domain.pyo
+${PYSITELIB}/gandi/cli/modules/domain.pyc
+${PYSITELIB}/gandi/cli/modules/forward.pyo
+${PYSITELIB}/gandi/cli/modules/forward.pyc
+${PYSITELIB}/gandi/cli/modules/hostedcert.pyo
+${PYSITELIB}/gandi/cli/modules/hostedcert.pyc
+${PYSITELIB}/gandi/cli/modules/iaas.pyo
+${PYSITELIB}/gandi/cli/modules/iaas.pyc
+${PYSITELIB}/gandi/cli/modules/mail.pyo
+${PYSITELIB}/gandi/cli/modules/mail.pyc
+${PYSITELIB}/gandi/cli/modules/metric.pyo
+${PYSITELIB}/gandi/cli/modules/metric.pyc
+${PYSITELIB}/gandi/cli/modules/network.pyo
+${PYSITELIB}/gandi/cli/modules/network.pyc
+${PYSITELIB}/gandi/cli/modules/oper.pyo
+${PYSITELIB}/gandi/cli/modules/oper.pyc
+${PYSITELIB}/gandi/cli/modules/paas.pyo
+${PYSITELIB}/gandi/cli/modules/paas.pyc
+${PYSITELIB}/gandi/cli/modules/record.pyo
+${PYSITELIB}/gandi/cli/modules/record.pyc
+${PYSITELIB}/gandi/cli/modules/snapshotprofile.pyo
+${PYSITELIB}/gandi/cli/modules/snapshotprofile.pyc
+${PYSITELIB}/gandi/cli/modules/sshkey.pyo
+${PYSITELIB}/gandi/cli/modules/sshkey.pyc
+${PYSITELIB}/gandi/cli/modules/status.pyo
+${PYSITELIB}/gandi/cli/modules/status.pyc
+${PYSITELIB}/gandi/cli/modules/vhost.pyo
+${PYSITELIB}/gandi/cli/modules/vhost.pyc
+${PYSITELIB}/gandi/cli/modules/webacc.pyo
+${PYSITELIB}/gandi/cli/modules/webacc.pyc
+${PYSITELIB}/gandi/cli/modules/account.py
${PYSITELIB}/gandi/cli/modules/api.py
-${PYSITELIB}/gandi/cli/modules/api.pyc
-${PYSITELIB}/gandi/cli/modules/api.pyo
${PYSITELIB}/gandi/cli/modules/cert.py
-${PYSITELIB}/gandi/cli/modules/cert.pyc
-${PYSITELIB}/gandi/cli/modules/cert.pyo
${PYSITELIB}/gandi/cli/modules/contact.py
-${PYSITELIB}/gandi/cli/modules/contact.pyc
-${PYSITELIB}/gandi/cli/modules/contact.pyo
${PYSITELIB}/gandi/cli/modules/datacenter.py
-${PYSITELIB}/gandi/cli/modules/datacenter.pyc
-${PYSITELIB}/gandi/cli/modules/datacenter.pyo
${PYSITELIB}/gandi/cli/modules/disk.py
-${PYSITELIB}/gandi/cli/modules/disk.pyc
-${PYSITELIB}/gandi/cli/modules/disk.pyo
+${PYSITELIB}/gandi/cli/modules/dns.py
+${PYSITELIB}/gandi/cli/modules/dnssec.py
${PYSITELIB}/gandi/cli/modules/docker.py
-${PYSITELIB}/gandi/cli/modules/docker.pyc
-${PYSITELIB}/gandi/cli/modules/docker.pyo
${PYSITELIB}/gandi/cli/modules/domain.py
-${PYSITELIB}/gandi/cli/modules/domain.pyc
-${PYSITELIB}/gandi/cli/modules/domain.pyo
Home |
Main Index |
Thread Index |
Old Index