pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-apache-libcloud Changes in Apache Libcloud 2.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d42863605e42
branches:  trunk
changeset: 362294:d42863605e42
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 10 17:58:32 2017 +0000

description:
Changes in Apache Libcloud 2.0.0
--------------------------------
Common
~~~~~~
- Fix OpenStack drivers not correctly setting URLs when used with identity API, would default to 127.0.0.1 and service
  catalog URLs were not adhered to.

- Fix Aliyun ECS, Load balancer and storage adapters when using unicode UTF-8 characters in the names of resources
  in 2.0.0rc2 < it would fail as a MalformedResponseError, Python 2.7 element tree was raising a unicode error

- Refactor the test classes to use the full libcloud.http and libcloud.common.base modules, with Connection,
  Response all used with requests_mock. This increases our test coverages and catches bugs in drivers' custom
  parse_body and auth modules

- Rename libcloud.httplib_ssl to libcloud.http now that we don't use httplib

diffstat:

 net/py-apache-libcloud/Makefile |    13 +-
 net/py-apache-libcloud/PLIST    |  1955 +++++++++++++++++++++++++++++++-------
 net/py-apache-libcloud/distinfo |    10 +-
 3 files changed, 1565 insertions(+), 413 deletions(-)

diffs (truncated from 2755 to 300 lines):

diff -r 4b3ea94a8795 -r d42863605e42 net/py-apache-libcloud/Makefile
--- a/net/py-apache-libcloud/Makefile   Wed May 10 17:54:09 2017 +0000
+++ b/net/py-apache-libcloud/Makefile   Wed May 10 17:58:32 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2016/06/08 17:43:37 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/05/10 17:58:32 adam Exp $
 
-DISTNAME=      apache-libcloud-0.17.0
+DISTNAME=      apache-libcloud-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/apache-libcloud/}
@@ -12,12 +12,9 @@
 
 USE_LANGUAGES= # none
 
-DEPENDS+=      ${PYPKGPREFIX}-simplejson>=3.3.2:../../converters/py-simplejson
+DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock
 
 .include "../../lang/python/egg.mk"
-
-.if !empty(_PYTHON_VERSION:M3*)
-DEPENDS+=      ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
-.endif
-
 .include "../../mk/bsd.pkg.mk"
diff -r 4b3ea94a8795 -r d42863605e42 net/py-apache-libcloud/PLIST
--- a/net/py-apache-libcloud/PLIST      Wed May 10 17:54:09 2017 +0000
+++ b/net/py-apache-libcloud/PLIST      Wed May 10 17:58:32 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2015/02/23 10:46:31 imil Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/05/10 17:58:32 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,469 +8,680 @@
 ${PYSITELIB}/libcloud/__init__.py
 ${PYSITELIB}/libcloud/__init__.pyc
 ${PYSITELIB}/libcloud/__init__.pyo
-${PYSITELIB}/libcloud/httplib_ssl.pyc
-${PYSITELIB}/libcloud/httplib_ssl.pyo
-${PYSITELIB}/libcloud/pricing.pyc
-${PYSITELIB}/libcloud/pricing.pyo
-${PYSITELIB}/libcloud/security.pyc
-${PYSITELIB}/libcloud/security.pyo
+${PYSITELIB}/libcloud/backup/__init__.py
+${PYSITELIB}/libcloud/backup/__init__.pyc
+${PYSITELIB}/libcloud/backup/__init__.pyo
+${PYSITELIB}/libcloud/backup/base.py
+${PYSITELIB}/libcloud/backup/base.pyc
+${PYSITELIB}/libcloud/backup/base.pyo
+${PYSITELIB}/libcloud/backup/drivers/__init__.py
+${PYSITELIB}/libcloud/backup/drivers/__init__.pyc
+${PYSITELIB}/libcloud/backup/drivers/__init__.pyo
+${PYSITELIB}/libcloud/backup/drivers/dimensiondata.py
+${PYSITELIB}/libcloud/backup/drivers/dimensiondata.pyc
+${PYSITELIB}/libcloud/backup/drivers/dimensiondata.pyo
+${PYSITELIB}/libcloud/backup/drivers/dummy.py
+${PYSITELIB}/libcloud/backup/drivers/dummy.pyc
+${PYSITELIB}/libcloud/backup/drivers/dummy.pyo
+${PYSITELIB}/libcloud/backup/drivers/ebs.py
+${PYSITELIB}/libcloud/backup/drivers/ebs.pyc
+${PYSITELIB}/libcloud/backup/drivers/ebs.pyo
+${PYSITELIB}/libcloud/backup/drivers/gce.py
+${PYSITELIB}/libcloud/backup/drivers/gce.pyc
+${PYSITELIB}/libcloud/backup/drivers/gce.pyo
+${PYSITELIB}/libcloud/backup/providers.py
+${PYSITELIB}/libcloud/backup/providers.pyc
+${PYSITELIB}/libcloud/backup/providers.pyo
+${PYSITELIB}/libcloud/backup/types.py
+${PYSITELIB}/libcloud/backup/types.pyc
+${PYSITELIB}/libcloud/backup/types.pyo
+${PYSITELIB}/libcloud/base.py
+${PYSITELIB}/libcloud/base.pyc
+${PYSITELIB}/libcloud/base.pyo
 ${PYSITELIB}/libcloud/common/__init__.py
 ${PYSITELIB}/libcloud/common/__init__.pyc
 ${PYSITELIB}/libcloud/common/__init__.pyo
+${PYSITELIB}/libcloud/common/abiquo.py
 ${PYSITELIB}/libcloud/common/abiquo.pyc
 ${PYSITELIB}/libcloud/common/abiquo.pyo
+${PYSITELIB}/libcloud/common/aliyun.py
+${PYSITELIB}/libcloud/common/aliyun.pyc
+${PYSITELIB}/libcloud/common/aliyun.pyo
+${PYSITELIB}/libcloud/common/aws.py
 ${PYSITELIB}/libcloud/common/aws.pyc
 ${PYSITELIB}/libcloud/common/aws.pyo
+${PYSITELIB}/libcloud/common/azure.py
 ${PYSITELIB}/libcloud/common/azure.pyc
 ${PYSITELIB}/libcloud/common/azure.pyo
+${PYSITELIB}/libcloud/common/azure_arm.py
+${PYSITELIB}/libcloud/common/azure_arm.pyc
+${PYSITELIB}/libcloud/common/azure_arm.pyo
+${PYSITELIB}/libcloud/common/base.py
 ${PYSITELIB}/libcloud/common/base.pyc
 ${PYSITELIB}/libcloud/common/base.pyo
+${PYSITELIB}/libcloud/common/brightbox.py
 ${PYSITELIB}/libcloud/common/brightbox.pyc
 ${PYSITELIB}/libcloud/common/brightbox.pyo
+${PYSITELIB}/libcloud/common/buddyns.py
+${PYSITELIB}/libcloud/common/buddyns.pyc
+${PYSITELIB}/libcloud/common/buddyns.pyo
+${PYSITELIB}/libcloud/common/cloudsigma.py
 ${PYSITELIB}/libcloud/common/cloudsigma.pyc
 ${PYSITELIB}/libcloud/common/cloudsigma.pyo
+${PYSITELIB}/libcloud/common/cloudstack.py
 ${PYSITELIB}/libcloud/common/cloudstack.pyc
 ${PYSITELIB}/libcloud/common/cloudstack.pyo
+${PYSITELIB}/libcloud/common/digitalocean.py
+${PYSITELIB}/libcloud/common/digitalocean.pyc
+${PYSITELIB}/libcloud/common/digitalocean.pyo
+${PYSITELIB}/libcloud/common/dimensiondata.py
+${PYSITELIB}/libcloud/common/dimensiondata.pyc
+${PYSITELIB}/libcloud/common/dimensiondata.pyo
+${PYSITELIB}/libcloud/common/dnsimple.py
+${PYSITELIB}/libcloud/common/dnsimple.pyc
+${PYSITELIB}/libcloud/common/dnsimple.pyo
+${PYSITELIB}/libcloud/common/dnspod.py
+${PYSITELIB}/libcloud/common/dnspod.pyc
+${PYSITELIB}/libcloud/common/dnspod.pyo
+${PYSITELIB}/libcloud/common/durabledns.py
+${PYSITELIB}/libcloud/common/durabledns.pyc
+${PYSITELIB}/libcloud/common/durabledns.pyo
+${PYSITELIB}/libcloud/common/exceptions.py
+${PYSITELIB}/libcloud/common/exceptions.pyc
+${PYSITELIB}/libcloud/common/exceptions.pyo
+${PYSITELIB}/libcloud/common/gandi.py
 ${PYSITELIB}/libcloud/common/gandi.pyc
 ${PYSITELIB}/libcloud/common/gandi.pyo
+${PYSITELIB}/libcloud/common/gogrid.py
 ${PYSITELIB}/libcloud/common/gogrid.pyc
 ${PYSITELIB}/libcloud/common/gogrid.pyo
+${PYSITELIB}/libcloud/common/google.py
 ${PYSITELIB}/libcloud/common/google.pyc
 ${PYSITELIB}/libcloud/common/google.pyo
+${PYSITELIB}/libcloud/common/hostvirtual.py
 ${PYSITELIB}/libcloud/common/hostvirtual.pyc
 ${PYSITELIB}/libcloud/common/hostvirtual.pyo
+${PYSITELIB}/libcloud/common/linode.py
 ${PYSITELIB}/libcloud/common/linode.pyc
 ${PYSITELIB}/libcloud/common/linode.pyo
+${PYSITELIB}/libcloud/common/liquidweb.py
+${PYSITELIB}/libcloud/common/liquidweb.pyc
+${PYSITELIB}/libcloud/common/liquidweb.pyo
+${PYSITELIB}/libcloud/common/luadns.py
+${PYSITELIB}/libcloud/common/luadns.pyc
+${PYSITELIB}/libcloud/common/luadns.pyo
+${PYSITELIB}/libcloud/common/nfsn.py
+${PYSITELIB}/libcloud/common/nfsn.pyc
+${PYSITELIB}/libcloud/common/nfsn.pyo
+${PYSITELIB}/libcloud/common/nsone.py
+${PYSITELIB}/libcloud/common/nsone.pyc
+${PYSITELIB}/libcloud/common/nsone.pyo
+${PYSITELIB}/libcloud/common/onapp.py
+${PYSITELIB}/libcloud/common/onapp.pyc
+${PYSITELIB}/libcloud/common/onapp.pyo
+${PYSITELIB}/libcloud/common/openstack.py
 ${PYSITELIB}/libcloud/common/openstack.pyc
 ${PYSITELIB}/libcloud/common/openstack.pyo
+${PYSITELIB}/libcloud/common/openstack_identity.py
 ${PYSITELIB}/libcloud/common/openstack_identity.pyc
 ${PYSITELIB}/libcloud/common/openstack_identity.pyo
+${PYSITELIB}/libcloud/common/ovh.py
+${PYSITELIB}/libcloud/common/ovh.pyc
+${PYSITELIB}/libcloud/common/ovh.pyo
+${PYSITELIB}/libcloud/common/pointdns.py
+${PYSITELIB}/libcloud/common/pointdns.pyc
+${PYSITELIB}/libcloud/common/pointdns.pyo
+${PYSITELIB}/libcloud/common/providers.py
+${PYSITELIB}/libcloud/common/providers.pyc
+${PYSITELIB}/libcloud/common/providers.pyo
+${PYSITELIB}/libcloud/common/rackspace.py
 ${PYSITELIB}/libcloud/common/rackspace.pyc
 ${PYSITELIB}/libcloud/common/rackspace.pyo
+${PYSITELIB}/libcloud/common/softlayer.py
 ${PYSITELIB}/libcloud/common/softlayer.pyc
 ${PYSITELIB}/libcloud/common/softlayer.pyo
+${PYSITELIB}/libcloud/common/types.py
 ${PYSITELIB}/libcloud/common/types.pyc
 ${PYSITELIB}/libcloud/common/types.pyo
+${PYSITELIB}/libcloud/common/vultr.py
+${PYSITELIB}/libcloud/common/vultr.pyc
+${PYSITELIB}/libcloud/common/vultr.pyo
+${PYSITELIB}/libcloud/common/worldwidedns.py
+${PYSITELIB}/libcloud/common/worldwidedns.pyc
+${PYSITELIB}/libcloud/common/worldwidedns.pyo
+${PYSITELIB}/libcloud/common/xmlrpc.py
 ${PYSITELIB}/libcloud/common/xmlrpc.pyc
 ${PYSITELIB}/libcloud/common/xmlrpc.pyo
-${PYSITELIB}/libcloud/common/abiquo.py
-${PYSITELIB}/libcloud/common/aws.py
-${PYSITELIB}/libcloud/common/azure.py
-${PYSITELIB}/libcloud/common/base.py
-${PYSITELIB}/libcloud/common/brightbox.py
-${PYSITELIB}/libcloud/common/cloudsigma.py
-${PYSITELIB}/libcloud/common/cloudstack.py
-${PYSITELIB}/libcloud/common/gandi.py
-${PYSITELIB}/libcloud/common/gogrid.py
-${PYSITELIB}/libcloud/common/google.py
-${PYSITELIB}/libcloud/common/hostvirtual.py
-${PYSITELIB}/libcloud/common/linode.py
-${PYSITELIB}/libcloud/common/openstack.py
-${PYSITELIB}/libcloud/common/openstack_identity.py
-${PYSITELIB}/libcloud/common/rackspace.py
-${PYSITELIB}/libcloud/common/softlayer.py
-${PYSITELIB}/libcloud/common/types.py
-${PYSITELIB}/libcloud/common/xmlrpc.py
+${PYSITELIB}/libcloud/common/zonomi.py
+${PYSITELIB}/libcloud/common/zonomi.pyc
+${PYSITELIB}/libcloud/common/zonomi.pyo
 ${PYSITELIB}/libcloud/compute/__init__.py
 ${PYSITELIB}/libcloud/compute/__init__.pyc
 ${PYSITELIB}/libcloud/compute/__init__.pyo
+${PYSITELIB}/libcloud/compute/base.py
 ${PYSITELIB}/libcloud/compute/base.pyc
 ${PYSITELIB}/libcloud/compute/base.pyo
+${PYSITELIB}/libcloud/compute/deployment.py
 ${PYSITELIB}/libcloud/compute/deployment.pyc
 ${PYSITELIB}/libcloud/compute/deployment.pyo
-${PYSITELIB}/libcloud/compute/providers.pyc
-${PYSITELIB}/libcloud/compute/providers.pyo
-${PYSITELIB}/libcloud/compute/ssh.pyc
-${PYSITELIB}/libcloud/compute/ssh.pyo
-${PYSITELIB}/libcloud/compute/types.pyc
-${PYSITELIB}/libcloud/compute/types.pyo
-${PYSITELIB}/libcloud/compute/base.py
-${PYSITELIB}/libcloud/compute/deployment.py
+${PYSITELIB}/libcloud/compute/deprecated.py
+${PYSITELIB}/libcloud/compute/deprecated.pyc
+${PYSITELIB}/libcloud/compute/deprecated.pyo
 ${PYSITELIB}/libcloud/compute/drivers/__init__.py
 ${PYSITELIB}/libcloud/compute/drivers/__init__.pyc
 ${PYSITELIB}/libcloud/compute/drivers/__init__.pyo
+${PYSITELIB}/libcloud/compute/drivers/abiquo.py
 ${PYSITELIB}/libcloud/compute/drivers/abiquo.pyc
 ${PYSITELIB}/libcloud/compute/drivers/abiquo.pyo
+${PYSITELIB}/libcloud/compute/drivers/auroracompute.py
+${PYSITELIB}/libcloud/compute/drivers/auroracompute.pyc
+${PYSITELIB}/libcloud/compute/drivers/auroracompute.pyo
+${PYSITELIB}/libcloud/compute/drivers/azure.py
+${PYSITELIB}/libcloud/compute/drivers/azure.pyc
+${PYSITELIB}/libcloud/compute/drivers/azure.pyo
+${PYSITELIB}/libcloud/compute/drivers/azure_arm.py
+${PYSITELIB}/libcloud/compute/drivers/azure_arm.pyc
+${PYSITELIB}/libcloud/compute/drivers/azure_arm.pyo
+${PYSITELIB}/libcloud/compute/drivers/bluebox.py
 ${PYSITELIB}/libcloud/compute/drivers/bluebox.pyc
 ${PYSITELIB}/libcloud/compute/drivers/bluebox.pyo
+${PYSITELIB}/libcloud/compute/drivers/brightbox.py
 ${PYSITELIB}/libcloud/compute/drivers/brightbox.pyc
 ${PYSITELIB}/libcloud/compute/drivers/brightbox.pyo
-${PYSITELIB}/libcloud/compute/drivers/cloudframes.pyc
-${PYSITELIB}/libcloud/compute/drivers/cloudframes.pyo
+${PYSITELIB}/libcloud/compute/drivers/bsnl.py
+${PYSITELIB}/libcloud/compute/drivers/bsnl.pyc
+${PYSITELIB}/libcloud/compute/drivers/bsnl.pyo
+${PYSITELIB}/libcloud/compute/drivers/cloudscale.py
+${PYSITELIB}/libcloud/compute/drivers/cloudscale.pyc
+${PYSITELIB}/libcloud/compute/drivers/cloudscale.pyo
+${PYSITELIB}/libcloud/compute/drivers/cloudsigma.py
 ${PYSITELIB}/libcloud/compute/drivers/cloudsigma.pyc
 ${PYSITELIB}/libcloud/compute/drivers/cloudsigma.pyo
+${PYSITELIB}/libcloud/compute/drivers/cloudstack.py
 ${PYSITELIB}/libcloud/compute/drivers/cloudstack.pyc
 ${PYSITELIB}/libcloud/compute/drivers/cloudstack.pyo
+${PYSITELIB}/libcloud/compute/drivers/cloudwatt.py
+${PYSITELIB}/libcloud/compute/drivers/cloudwatt.pyc
+${PYSITELIB}/libcloud/compute/drivers/cloudwatt.pyo
+${PYSITELIB}/libcloud/compute/drivers/digitalocean.py
 ${PYSITELIB}/libcloud/compute/drivers/digitalocean.pyc
 ${PYSITELIB}/libcloud/compute/drivers/digitalocean.pyo
-${PYSITELIB}/libcloud/compute/drivers/dreamhost.pyc
-${PYSITELIB}/libcloud/compute/drivers/dreamhost.pyo
+${PYSITELIB}/libcloud/compute/drivers/dimensiondata.py
+${PYSITELIB}/libcloud/compute/drivers/dimensiondata.pyc
+${PYSITELIB}/libcloud/compute/drivers/dimensiondata.pyo
+${PYSITELIB}/libcloud/compute/drivers/dummy.py
 ${PYSITELIB}/libcloud/compute/drivers/dummy.pyc
 ${PYSITELIB}/libcloud/compute/drivers/dummy.pyo
+${PYSITELIB}/libcloud/compute/drivers/ec2.py
 ${PYSITELIB}/libcloud/compute/drivers/ec2.pyc
 ${PYSITELIB}/libcloud/compute/drivers/ec2.pyo
+${PYSITELIB}/libcloud/compute/drivers/ecp.py
 ${PYSITELIB}/libcloud/compute/drivers/ecp.pyc
 ${PYSITELIB}/libcloud/compute/drivers/ecp.pyo
+${PYSITELIB}/libcloud/compute/drivers/ecs.py
+${PYSITELIB}/libcloud/compute/drivers/ecs.pyc
+${PYSITELIB}/libcloud/compute/drivers/ecs.pyo
+${PYSITELIB}/libcloud/compute/drivers/elastichosts.py
 ${PYSITELIB}/libcloud/compute/drivers/elastichosts.pyc
 ${PYSITELIB}/libcloud/compute/drivers/elastichosts.pyo
+${PYSITELIB}/libcloud/compute/drivers/elasticstack.py
 ${PYSITELIB}/libcloud/compute/drivers/elasticstack.pyc
 ${PYSITELIB}/libcloud/compute/drivers/elasticstack.pyo
+${PYSITELIB}/libcloud/compute/drivers/exoscale.py
 ${PYSITELIB}/libcloud/compute/drivers/exoscale.pyc
 ${PYSITELIB}/libcloud/compute/drivers/exoscale.pyo
+${PYSITELIB}/libcloud/compute/drivers/gandi.py



Home | Main Index | Thread Index | Old Index