commit 63bd84853d748fb3d3ef102573d128cecba308793bf08e6d010804b9bcc9e401 Author: Alexandre Rogoski Date: Wed May 12 11:42:20 2010 +0000 - Initial package (0.7.4) for openSUSE. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/netaddr-0.7.4.tar.gz b/netaddr-0.7.4.tar.gz new file mode 100644 index 0000000..c0b86ea --- /dev/null +++ b/netaddr-0.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77b9a3c9eea0935a91b57fc8292b4038c8c64a622271d00d81d980235064cdb3 +size 1131405 diff --git a/python-netaddr.changes b/python-netaddr.changes new file mode 100644 index 0000000..106262a --- /dev/null +++ b/python-netaddr.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed May 12 11:36:17 UTC 2010 - alexandre@exatati.com.br + +- Initial package (0.7.4) for openSUSE. diff --git a/python-netaddr.spec b/python-netaddr.spec new file mode 100644 index 0000000..d41f425 --- /dev/null +++ b/python-netaddr.spec @@ -0,0 +1,69 @@ +# +# spec file for package +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-netaddr +Version: 0.7.4 +Release: 1 +License: BSD License +Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses +Url: http://code.google.com/p/netaddr +Group: Development/Libraries/Python +Source: netaddr-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{py_requires} +%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} +BuildArch: noarch +%endif + +%description +A pure Python network address representation and manipulation library. + +netaddr provides a Pythonic way of working with: + - IPv4 and IPv6 addresses and subnets (including CIDR notation); + - MAC (Media Access Control) addresses in multiple formats; + - IEEE EUI-64, OUI and IAB identifiers; + - a user friendly IP glob-style format. + +Included are routines for: + - generating, sorting and summarizing IP addresses; + - converting IP addresses and ranges between various different formats; + - performing set based operations on groups of IP addresses and subnets; + - arbitrary IP address range calculations and conversions; + - querying IEEE OUI and IAB organisational information; + - querying of IP standards related data from key IANA data sources. + +Author: +-------- + David P. D. Moss + +%prep +%setup -q -n netaddr-%{version} + + +%build +%{__python} setup.py build + + +%install +%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES + + +%files -f INSTALLED_FILES +%defattr(-,root,root)