]> git.pld-linux.org Git - packages/python-networkx.git/blobdiff - python-networkx.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-networkx.git] / python-networkx.spec
index 0e218baec47b73da33d076a863ac1dbd671ddc46..5447af1138c1c7a4fc39dec7408dccb220a9401a 100644 (file)
@@ -1,19 +1,21 @@
 # TODO:
-# Add docs
+# - add docs
+# - package examples
+
 %define        module  networkx
 Summary:       High-productivity software for complex networks
 Summary(pl.UTF-8):     Efektywne operacje na skompliwkoanych grafach.
 Name:          python-%{module}
-Version:       1.7
-Release:       1
+Version:       1.8.1
+Release:       2
 License:       BSD
 Group:         Libraries/Python
 Source0:       https://pypi.python.org/packages/source/n/networkx/%{module}-%{version}.tar.gz
-# Source0-md5: 1a73da9d571a206aa40f6ef69254f7b4
+# Source0-md5: b4a9e68ecd1b0164446ee432d2e20bd0
 URL:           http://networkx.github.io/index.html
 BuildRequires: python-distribute
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.710
 Requires:      python-modules
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,14 +32,11 @@ dynamiki i funkcji zlozonych sieci.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.035061 seconds and 4 git commands to generate.