pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-apache-libcloud
Module Name: pkgsrc
Committed By: joerg
Date: Thu Dec 27 15:05:28 UTC 2018
Modified Files:
pkgsrc/net/py-apache-libcloud: Makefile distinfo
Added Files:
pkgsrc/net/py-apache-libcloud/patches:
patch-libcloud_compute_drivers_azure.py
Log Message:
async is a keyword in Python 3.7, rename. Bump revision.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/py-apache-libcloud/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/py-apache-libcloud/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/py-apache-libcloud/patches/patch-libcloud_compute_drivers_azure.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-apache-libcloud/Makefile
diff -u pkgsrc/net/py-apache-libcloud/Makefile:1.10 pkgsrc/net/py-apache-libcloud/Makefile:1.11
--- pkgsrc/net/py-apache-libcloud/Makefile:1.10 Tue Sep 26 17:21:10 2017
+++ pkgsrc/net/py-apache-libcloud/Makefile Thu Dec 27 15:05:27 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2017/09/26 17:21:10 adam Exp $
+# $NetBSD: Makefile,v 1.11 2018/12/27 15:05:27 joerg Exp $
DISTNAME= apache-libcloud-2.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/apache-libcloud/}
@@ -17,5 +18,9 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-requests-
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+pre-install:
+ ${RM} ${WRKSRC}/libcloud/compute/drivers/azure.py.orig
+ ${RM} ${WRKSRC}/build/lib/libcloud/compute/drivers/azure.py.orig
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-apache-libcloud/distinfo
diff -u pkgsrc/net/py-apache-libcloud/distinfo:1.7 pkgsrc/net/py-apache-libcloud/distinfo:1.8
--- pkgsrc/net/py-apache-libcloud/distinfo:1.7 Tue Sep 26 17:21:10 2017
+++ pkgsrc/net/py-apache-libcloud/distinfo Thu Dec 27 15:05:27 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2017/09/26 17:21:10 adam Exp $
+$NetBSD: distinfo,v 1.8 2018/12/27 15:05:27 joerg Exp $
SHA1 (apache-libcloud-2.2.1.tar.gz) = a59b545a90414f6b2fbc9805bf3ccb4090caef86
RMD160 (apache-libcloud-2.2.1.tar.gz) = 4bbf6a9b58db6cf522a0c031ff62e3751dabf974
SHA512 (apache-libcloud-2.2.1.tar.gz) = 97dc044d07888320655ea0cc16e21f61550f2c52a17464a45e6701841c03de315e94e520e50e112456869d2ae0c88e5c11175157660d1e81f2477f92ece0cb97
Size (apache-libcloud-2.2.1.tar.gz) = 1768112 bytes
+SHA1 (patch-libcloud_compute_drivers_azure.py) = 0ec64d3d8ea729284fe7fc0b068fc432e3a07836
Added files:
Index: pkgsrc/net/py-apache-libcloud/patches/patch-libcloud_compute_drivers_azure.py
diff -u /dev/null pkgsrc/net/py-apache-libcloud/patches/patch-libcloud_compute_drivers_azure.py:1.1
--- /dev/null Thu Dec 27 15:05:28 2018
+++ pkgsrc/net/py-apache-libcloud/patches/patch-libcloud_compute_drivers_azure.py Thu Dec 27 15:05:27 2018
@@ -0,0 +1,40 @@
+$NetBSD: patch-libcloud_compute_drivers_azure.py,v 1.1 2018/12/27 15:05:27 joerg Exp $
+
+--- libcloud/compute/drivers/azure.py.orig 2018-12-25 21:46:13.858442899 +0000
++++ libcloud/compute/drivers/azure.py
+@@ -1435,7 +1435,7 @@ class AzureNodeDriver(NodeDriver):
+
+ return response
+
+- def _perform_post(self, path, body, response_type=None, async=False):
++ def _perform_post(self, path, body, response_type=None, is_async=False):
+ request = AzureHTTPRequest()
+ request.method = 'POST'
+ request.host = AZURE_SERVICE_MANAGEMENT_HOST
+@@ -1447,7 +1447,7 @@ class AzureNodeDriver(NodeDriver):
+
+ return response
+
+- def _perform_put(self, path, body, response_type=None, async=False):
++ def _perform_put(self, path, body, response_type=None, is_async=False):
+ request = AzureHTTPRequest()
+ request.method = 'PUT'
+ request.host = AZURE_SERVICE_MANAGEMENT_HOST
+@@ -1459,7 +1459,7 @@ class AzureNodeDriver(NodeDriver):
+
+ return response
+
+- def _perform_delete(self, path, async=False):
++ def _perform_delete(self, path, is_async=False):
+ request = AzureHTTPRequest()
+ request.method = 'DELETE'
+ request.host = AZURE_SERVICE_MANAGEMENT_HOST
+@@ -1470,7 +1470,7 @@ class AzureNodeDriver(NodeDriver):
+
+ self.raise_for_response(response, 202)
+
+- if async:
++ if is_async:
+ return self._parse_response_for_async_op(response)
+
+ def _perform_request(self, request):
Home |
Main Index |
Thread Index |
Old Index