npmccallum pushed to python-ipaddress (master). "Initial commit"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 15 13:53:56 UTC 2015


From 1d43f39a78797a88be6e42e8e0c5f160535e9942 Mon Sep 17 00:00:00 2001
From: Nathaniel McCallum <nathaniel at themccallums.org>
Date: Fri, 15 May 2015 09:53:34 -0400
Subject: Initial commit


diff --git a/.gitignore b/.gitignore
index e69de29..7fc5a4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ipaddress-1.0.7.tar.gz
diff --git a/python-ipaddress.spec b/python-ipaddress.spec
new file mode 100644
index 0000000..3a84f78
--- /dev/null
+++ b/python-ipaddress.spec
@@ -0,0 +1,48 @@
+%global pyname ipaddress
+
+Name:           python-%{pyname}
+Version:        1.0.7
+Release:        1%{?dist}
+Summary:        Port of the python 3.3+ ipaddress module to 2.6+
+
+License:        Python
+URL:            https://pypi.python.org/pypi/%{pyname}/%{version}
+Source0:        https://pypi.python.org/packages/source/i/%{pyname}/%{pyname}-1.0.7.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+
+%description
+ipaddress provides the capabilities to create, manipulate and operate
+on IPv4 and IPv6 addresses and networks.
+
+The functions and classes in this module make it straightforward to
+handle various tasks related to IP addresses, including checking
+whether or not two hosts are on the same subnet, iterating over all
+hosts in a particular subnet, checking whether or not a string
+represents a valid IP address or network definition, and so on.
+
+%prep
+%setup -q -n %{pyname}-%{version}
+
+
+%build
+%{__python2} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc README.txt
+%{python2_sitelib}/*
+
+
+%changelog
+* Thu May 14 2015 Nathaniel McCallum <npmccallum at redhat.com> - 1.0.7-1
+- Update to 1.0.7
+
+* Wed Mar 20 2013 Matt Domsch <mdomsch at fedoraproject.org> - 1.0.3-1
+- initial release
diff --git a/sources b/sources
index e69de29..b52d626 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5d9ecf415cced476f7781cf5b9ef70c4  ipaddress-1.0.7.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-ipaddress.git/commit/?h=master&id=1d43f39a78797a88be6e42e8e0c5f160535e9942


More information about the scm-commits mailing list