14
0
Commit Graph

23 Commits

Author SHA256 Message Date
5fdee45996 Accepting request 1113402 from home:mnhauke:network:automation
- Update to version 0.9.0
  Added:
  * Add hash capabilities to OUI.
  Fixed:
  * Backwards incompatible: Handle RFC 6164 IPv6 addresses (don't
    reserve first IP address in point-to-point subnets).
  * Technically backwards incompatible: Fix for is_loopback
    behaviour – consider IPNetwork('::1/128') to be loopback.
  * Fix print syntax in the documentation to be Python 3 compatible
  * Fix the Sphinx syntax in the documentation.
  Other:
  * Deprecate Python 3.6.
  * Eliminate unnecessary evals.

OBS-URL: https://build.opensuse.org/request/show/1113402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=30
2023-09-25 11:09:51 +00:00
0c0975fb3c Accepting request 1092293 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=28
2023-06-11 20:25:24 +00:00
0da4266bf2 - fix build for older distros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=27
2021-11-08 21:36:27 +00:00
Tomáš Chvátal
97b1c875af Accepting request 818948 from home:mnhauke:network:automation
- Update to version 0.8.0
  * Fixed weak reference support in classes with __slots__
  * Added __bytes__ to IPAddress for intuitive usage
  * Added format() function to EUI
  * Added IPNetwork.netmask property setter
  * Added support for IABs in the 40:D8:55 OUI
  * Drastically optimized spanning_cidr()
  * Fixed "x.x.x.x/x" in IPNetwork tests
  * Added support for passing iterables of IPRange to IPSet and
    cidr_merge()
  Bugfixes:
  * N log N complexity instead of linear
  * Efficiently creating a large IPSet from a list of IPRanges?
  * Weak reference support
- Run testsuite

OBS-URL: https://build.opensuse.org/request/show/818948
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=25
2020-07-06 15:10:29 +00:00
Tomáš Chvátal
ab487329ec Accepting request 807983 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807983
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=23
2020-05-21 18:33:18 +00:00
a7a80bb21a Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=21
2018-12-04 13:42:24 +00:00
9dc8a15f1a Accepting request 514799 from home:mnhauke:network:automation
- Convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/514799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=18
2017-08-14 08:05:12 +00:00
6e737937ac Accepting request 450319 from home:stroeder:branches:devel:languages:python
update to 0.7.19

OBS-URL: https://build.opensuse.org/request/show/450319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=16
2017-01-19 09:41:13 +00:00
Denisart Benjamin
f5bf13d435 Accepting request 333795 from home:stroeder:branches:devel:languages:python
update to 0.7.18

OBS-URL: https://build.opensuse.org/request/show/333795
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=15
2015-09-27 11:24:21 +00:00
Michal Čihař
c669bcbf37 Accepting request 298038 from home:benoit_monin:branches:devel:languages:python
- update to 0.7.14
- set the source URL to pypi
- remove chmod call: file mode fixed upstream

OBS-URL: https://build.opensuse.org/request/show/298038
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=14
2015-04-20 12:57:28 +00:00
Jan Matejek
f846121570 Accepting request 280106 from home:stroeder:branches:devel:languages:python
Update to 0.7.13

OBS-URL: https://build.opensuse.org/request/show/280106
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=13
2015-01-07 17:33:36 +00:00
Jan Matejek
882d148e5c Accepting request 248588 from Cloud:OpenStack:Master
- update to 0.7.12:
  * Added method IPSet.iter_ipranges().
  * bool(IPSet()) works now for large IPSets, e.g. IPSet(['2405:8100::/32']).
  * IPNetwork.iter_hosts now skips the subnet-router anycast address for IPv6.
  * Removed function fbsocket.inet_aton because it is unused and unnecessary

OBS-URL: https://build.opensuse.org/request/show/248588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=12
2014-09-12 15:56:21 +00:00
Tomáš Chvátal
9638391858 Accepting request 233654 from home:frispete:python
- Update to 0.7.11:
  * Performance of IPSet increased dramatically, implemented by
      Stefan Nordhausen and Martijn van Oosterhout. As a side effect,
      IPSet(IPNetwork("10.0.0.0/8")) is now as fast as you'd expect.
  * Various performance improvements all over the place.
  * netaddr is now hosted on PyPI and can be installed via pip.
  * Doing "10.0.0.42" in IPNetwork("10.0.0.0/24") works now.
  * IPSet has two new methods: iscontiguous() and iprange(), thanks to Louis des Landes.
  * Re-added the IPAddress.netmask_bits() method that was accidently removed.
  * Networks 128.0.0.0/16, 191.255.0.0/16, and 223.255.255.0/24 are not marked as
      reserved IPv4 addresses any more. Thanks to marnickv for pointing that out.
  * Various bug fixes contributed by Wilfred Hughes, 2*yo and Adam Goodman.
  FIXED Issue 58: https://github.com/drkjam/netaddr/issues/58
      - foo.bar doesn't throw AddrFormatError
  FIXED Issue 57: https://github.com/drkjam/netaddr/issues/57
      - netaddr packages not hosted on PyPI
  FIXED Issue 56: https://github.com/drkjam/netaddr/issues/56
      - Fix comparison with large IPSet()
  FIXED Issue 55: https://github.com/drkjam/netaddr/pull/55
      - Fix smallest_matching_cidr and all_matching_cidrs
  FIXED Issue 53: https://github.com/drkjam/netaddr/issues/53
      - Exclude 128.0.0.0/16 and possibly others from reserved range set?
  FIXED Issue 51: https://github.com/drkjam/netaddr/issues/51
      - Encoding errors in netaddr/eui/oui.txt
  FIXED Issue 46: https://github.com/drkjam/netaddr/issues/46
      - len(IPSet()) fails on python3
  FIXED Issue 43: https://github.com/drkjam/netaddr/issues/43
      - Method to check if IPSet is contiguous
  FIXED Issue 38: https://github.com/drkjam/netaddr/issues/38
      - netmask_bits is missing from the IPAddress

OBS-URL: https://build.opensuse.org/request/show/233654
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=11
2014-05-19 12:05:22 +00:00
Sascha Peilicke
cd5734c34a - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=10
2013-10-24 11:09:07 +00:00
Alexandre Rogoski
d465cad02b - Update to 0.7.10:
* A bunch of Python 3.x bug fixes. Thanks Arfrever.
  * Extended nmap support to cover full target specification.
  FIXED Issue 36 - http://github.com/drkjam/netaddr/issues/36
    - ResourceWarnings with Python >=3.2
  FIXED Issue 35 - http://github.com/drkjam/netaddr/issues/35
    - netaddr-0.7.9: Test failure with Python 3
  FIXED Issue 34 - http://github.com/drkjam/netaddr/issues/34
    - netaddr.ip.iana.SaxRecordParser.endElement() incompatible
      with Python 3.1
  FIXED Issue 33 - http://github.com/drkjam/netaddr/issues/33
    - netaddr script not installed with Python 3
  FIXED Issue 23 - http://github.com/drkjam/netaddr/issues/23
    - valid_nmap_range() does not validate nmap format case.
  FIXED Issue 22 - http://github.com/drkjam/netaddr/issues/22
    - all_matching_cidrs: documentation incorrect

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=9
2012-09-10 02:37:09 +00:00
Alexandre Rogoski
2e6ae7cbd2 - Update to 0.7.9:
* Re-release to fix build removing Sphinx dependency.
- Aditional changes from 0.7.8:
  * New SAX parser for IANA data source files (contributed by
    Andrew Stromnov)
  * Fixed pickling failures with EUI, OUI and IAB classes.
  FIXED Issue 31 - http://github.com/drkjam/netaddr/issues/31
    - Exclude '39.0.0.0/8' network from reserved set. Thanks
      Andrew Stromnov
  FIXED Issue 28 - http://github.com/drkjam/netaddr/issues/28
    - Fix algorithm in ipv6_link_local to fully conform to rfc4291.
      Thanks Philipp Wollermann
  FIXED Issue 25 - http://github.com/drkjam/netaddr/issues/25
    - install_requires is too aggressive? Thanks Adam Lindsay and
      commenters.
  FIXED Issue 21 - http://github.com/drkjam/netaddr/issues/21
    - deepcopy for EUI fails. Thanks Ryan Nowakowski.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=8
2012-08-29 05:27:01 +00:00
Alexandre Rogoski
de637b95a6 - Update to 0.7.7:
* Comprehensive documentation update! It's only taken 4 years
    to get around to using Sphinx and I can confirm it is
    **TOTALLY AWESOME!**
  * Various bug fixes
  * Refreshed IEEE OUI and IAB data
  * FIXED Issue 24 - http://github.com/drkjam/netaddr/issues/24
    - Fixed TypeError when comparing BaseIP instance with
      non-BaseIP objects. Thanks pvaret
  * FIXED Issue 17 - http://github.com/drkjam/netaddr/issues/17
    - For large ipv6 networks the .subnet() method fails. Thanks
      daveyss
  * FIXED Issue 20 - http://github.com/drkjam/netaddr/issues/20
    - Test failure with Python 3. Thanks Arfrever

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=7
2012-05-31 05:12:44 +00:00
Sascha Peilicke
921e2bfd9d - Changed license to 'BSD-3-Clause' (SPDX style)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=6
2011-09-20 13:44:24 +00:00
Sascha Peilicke
2191f785ad - Fixed non-executable script rpmlint warning
- Readded dependency on python-setuptools (with python-distribute):
  You can't simply remove this, it will break RPMs update mechanism!
- Preparatory stuff belongs into the %prep section and the %clean
  section has a sane default

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=5
2011-09-20 13:43:18 +00:00
Alexandre Rogoski
27bafd2ce4 - Regenerate spec file with py2pack;
- Removed unneded python-setuptools BuildRequires;
- Update to 0.7.6:
  * A bug fix point release
  * Refreshed 3rd party data caches
  * Tested against Python 3.2.x and PyPy 1.6.x
  * Fixed unit tests under for Mac OSX
  Specific bug fixes addressed in this release
  --------------------------------------------
  * FIXED Issue 15 - http://github.com/drkjam/netaddr/issues/15
    - Incorrect and invalid glob produced when last octet is not *
  * FIXED Issue 13 - http://github.com/drkjam/netaddr/issues/13
    - Added support for IPython 0.11 API changes. Thanks juliantaylor
  * FIXED Issue 11 - http://github.com/drkjam/netaddr/issues/11
    - Calling valid_glob on cidr raises ValueError. Thanks radicand
  * FIXED Issue 7 - http://github.com/drkjam/netaddr/issues/7
    - Unpickling Bug in IPSet. Thanks LuizOz and labeneator
  * FIXED Issue 2 - http://github.com/drkjam/netaddr/issues/2
    - UnboundLocalError raised in IPNetwork constructor. Thanks keesbos
  Miscellanea
  -----------
  - Has a famous soft drink company started making it own NICs?

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=4
2011-09-14 00:38:31 +00:00
Sascha Peilicke
ece004f668 - Spec file cleanup:
* Added %changelog
  * Removed empty lines
  * Added AUTHORS, CHANGELOG, COPYRIGHT, README, LICENSE and
    THANKS files (all documentation)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=3
2011-03-03 09:55:40 +00:00
Alexandre Rogoski
ba574650f5 - Update to 0.7.5:
* Python 3.x is now fully supported. The paint is still drying on this so
    please help with testing and raise bug tickets when you find any issues!
  * Moved code hosting to github. All history ported thanks to the most
    excellent tool, svn2git (http://github.com/nirvdrum/svn2git).
  * All netaddr objects now use approx. 65% less memory due to the use of
    __slots__ in classes throughout the codebase. Thanks to Stefan Nordhausen
   and his Python guru for this suggestion!
  * Applied many optimisations and speedups throughout the codebase.
  * Fixed the behaviour of the IPNetwork constructor so it now behaves in
    a much more sensible and expected way (i.e. no longer uses inet_aton
    semantics which is just plain odd for network addresses).
  * One minor change to behaviour in this version is that the .value property
    on IPAddress and IPNetwork objects no longer support assignment using a
    string IP address. Only integer value assignments are now valid. The impact
    of this change should be minimal for the majority of users.
  * FIXED Issue 49 - http://code.google.com/p/netaddr/issues/detail?id=49
    - Incorrect IP range recognition on IPs with leading zeros
  * FIXED Issue 50 - http://code.google.com/p/netaddr/issues/detail?id=50
    - CIDR block parsing
  * FIXED Issue 52 - http://code.google.com/p/netaddr/issues/detail?id=52
    - ipv6 cidr matches incorrectly match ipv4 [sic]
  * FIXED Issue 53 - http://code.google.com/p/netaddr/issues/detail?id=53
    - Error in online documentation
  * FIXED Issue 54 - http://code.google.com/p/netaddr/issues/detail?id=54
    - IP recognition failure 
  * FIXED Issue 55 - http://code.google.com/p/netaddr/issues/detail?id=55
    - Support for Python 3.x
 * FIXED Issue 56 - http://code.google.com/p/netaddr/issues/detail?id=56

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=2
2010-10-06 01:58:49 +00:00
Alexandre Rogoski
63bd84853d - Initial package (0.7.4) for openSUSE.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=1
2010-05-12 11:42:20 +00:00