Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
python-pyevolve
python-pyevolve.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyevolve.spec of Package python-pyevolve
%define modname Pyevolve Name: python-pyevolve Version: 0.6rc1 Release: 6.12 Summary: Genetic Algorithms in Python URL: http://pyevolve.sourceforge.net/ License: BSD Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.bz2 BuildRequires: python-sphinx environment-modules BuildRequires: python-pygments python-setuptools BuildRequires: numpy python-matplotlib graphviz atlas-devel Requires: numpy BuildArch: noarch BuildRequires: netpbm %description Pyevolve is a complete genetic algorithm framework written in pure python. %prep %setup -q -n %{modname}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build cd docs %__chmod +x ./build_docs.sh ./build_docs.sh %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT # make some clean up to silent rpmlint cd docs %__mv build html %__rm -rf html/.buildinfo html/.doctrees # fix line end encoding find html/ -type f -exec %__sed -i 's/\r//' {} \; %__sed -i 's/\r//' $RPM_BUILD_ROOT/%{_bindir}/pyevolve_graph.py # Add missing shebang %__sed -i -e '1i#!/usr/bin/python' $RPM_BUILD_ROOT/%{_bindir}/pyevolve_graph.py %clean rm -rf $RPM_BUILD_ROOT %files %doc docs/html %{_bindir}/* %{python_sitelib}/* %changelog * Wed Dec 28 2011 Huaren Zhong <huaren.zhong@gmail.com> 0.6rc1 - Rebuild for Fedora * Sat Mar 19 2011 scorot@gtt.fr - 0.6rc1 - Initial release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor