14
0

Accepting request 83896 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/83896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netaddr?expand=0&rev=6
This commit is contained in:
Sascha Peilicke
2011-09-21 15:20:09 +00:00
committed by Git OBS Bridge
4 changed files with 61 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec33a6b0a155d67734c670f33d77d9efb42a9cffb3e4e0763549c9791e4c005d
size 922309

3
netaddr-0.7.6.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f147e05d3480acc79758ad49405414a19b9c9a7d940948d1a5836a78cf75f8b
size 927647

View File

@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Tue Sep 20 13:43:05 UTC 2011 - saschpe@suse.de
- Changed license to 'BSD-3-Clause' (SPDX style)
-------------------------------------------------------------------
Tue Sep 20 13:40:39 UTC 2011 - saschpe@suse.de
- 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
-------------------------------------------------------------------
Wed Sep 14 00:32:39 UTC 2011 - alexandre@exatati.com.br
- 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?
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 3 09:51:36 UTC 2011 - saschpe@suse.de Thu Mar 3 09:51:36 UTC 2011 - saschpe@suse.de

View File

@@ -11,29 +11,28 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: python-netaddr Name: python-netaddr
Version: 0.7.5 Version: 0.7.6
Release: 6 Release: 0
License: BSD3c Url: http://github.com/drkjam/netaddr
Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
Url: http://code.google.com/p/netaddr License: BSD-3-Clause
Group: Development/Libraries/Python Group: Development/Languages/Python
Source: netaddr-%{version}.tar.bz2 Source: netaddr-%{version}.tar.bz2
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
%if 0%{?suse_version} %if 0%{?suse_version}
%py_requires %py_requires
%if 0%{?suse_version} > 1110 %if 0%{?suse_version} > 1110
BuildArch: noarch BuildArch: noarch
%endif %endif
%endif %endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description %description
A pure Python network address representation and manipulation library. A pure Python network address representation and manipulation library.
@@ -54,16 +53,19 @@ Included are routines for:
%prep %prep
%setup -q -n netaddr-%{version} %setup -q -n netaddr-%{version}
chmod -x AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS # remove executable bit from docs sed -i "1d" netaddr/{ip/iana,eui/ieee,tests/__init__}.py # Fix non-executable scripts
chmod -x AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS # Remove executable bit from docs
%build %build
%{__python} setup.py build python setup.py build
%install %install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files -f INSTALLED_FILES %files
%defattr(-,root,root) %defattr(-,root,root,-)
%{python_sitelib}/*
%{_bindir}/netaddr
%doc AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS %doc AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS
%changelog %changelog