* Numerous packages to verify python-pbr Please note that this only ONE part of a long chain of packages that seem to depend upon eachother for building and validation including some stuff that is already in MINGW-W64 PKGBUILD’s such as setuptools and pbr as well as some other stuff. The idea is build something that’s good enough to build everything else in hopefully manner including some stuff such as opencv, eigen, vtm numerous gnome packages, and who knows what else. I may have made mistakes and numerous omissios so please bear with me. mingw-w64-python2-subprocess32 - 0.6.0 mingw-w64-python-pyperclip - 1.6.4 mingw-w64-python-pyreadline - 2.1 mingw-w64-python2-cmd2 - 0.8.6 mingw-w64-python3-cmd2 – 0.9.4 mingw-w64-python-stevedore – 1.29.0 mingw-w64-python-unicodecsv – 0.14.1 mingw-w64-python-pytest-forked – 0.2 cliff-2.13.0-1 mingw-w64-python-pytest-xdist – 1.23.0 mingw-w64-python-execnet – 1.50 mingw-w64-python-testrepository – 0.20 mingw-w64-python-testresources – 2.0.1 mingw-w64-python-cliff - cliff-2.13.0 mingw-w64-python-voluptuous – 0.15.1 * python-hacking - 1.1.0 * More necessary packages for tests and afix for nose and sphinx. Also tried to fix most mentioned previous except for "testrepository" That was deliberate because it refers to the name of a package. * Numerous modules that I built for testins stestr thare useful elesewhere. I also updated sqlchemy and decorator to the latest versions. Some times the testing here may not work but I'm hoping to lay more solid groundwork and quite a bit can be conibalized by others for fixing things already in git. * Remove Python2 dependency for python3 package. * python-jsonschemea - 2.6.0 - make sure .EXE works. Added dependency on python2-functools32 python2-functutils32 - 3.2.3-2 - new package required for jsonshcemas Python2 version. Verified this with PIP. * python-matplotlib - require backports.functools_lru_cache backports.functools_lru_cache - 1.5 - new package requried for python-maplotlib in Python2 - verified with PIP
24 lines
832 B
Diff
24 lines
832 B
Diff
From 292e2fd4b52409eab05149b0d63e0291bec3786a Mon Sep 17 00:00:00 2001
|
|
From: Sergey Kozlov <sergey.kozlov@intel.com>
|
|
Date: Mon, 11 Dec 2017 17:04:20 +0100
|
|
Subject: [PATCH] PEP 479: 'return' instead of 'raise StopIteration'.
|
|
|
|
Fro details please visit https://www.python.org/dev/peps/pep-0479/
|
|
---
|
|
netaddr/ip/__init__.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/netaddr/ip/__init__.py b/netaddr/ip/__init__.py
|
|
index 489badf..ecf72d0 100644
|
|
--- a/netaddr/ip/__init__.py
|
|
+++ b/netaddr/ip/__init__.py
|
|
@@ -1258,7 +1258,7 @@ def subnet(self, prefixlen, count=None, fmt=None):
|
|
|
|
if not self.prefixlen <= prefixlen:
|
|
# Don't return anything.
|
|
- raise StopIteration
|
|
+ return
|
|
|
|
# Calculate number of subnets to be returned.
|
|
width = self._module.width
|