Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aeszter
python-scikits-ann
python-scikits.ann.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-scikits.ann.spec of Package python-scikits-ann
# # spec file for package python-scikits.ann # # Copyright (c) 2011 Ansgar Esztermann. # %define mod_name scikits.ann Name: python-%{mod_name} Version: 0.2.dev_r803 %define ver 0.2.dev-r803 %define pyver %(python -c 'import sys; print sys.version[:3]') Release: 0 Url: http://scipy.org/scipy/scikits/wiki/AnnWrapper Summary: Approximate Nearest Neighbor library wrapper for Numpy License: GNU Library or Lesser General Public License (LGPL) Group: Development/Languages/Python Source: %{mod_name}-%{ver}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-numpy BuildRequires: python-setuptools BuildRequires: swig BuildRequires: gcc-c++ BuildRequires: ann-devel BuildRequires: python-numpy-devel Requires: python-numpy Requires: python >= %pyver %if %suse_version <= 1110 %define python_sitearch %{py_sitedir} %endif %description %{name} is a SWIG-generated python wrapper for the Approximate Nearest Neighbor (ANN) Library (http://www.cs.umd.edu/~mount/ANN/), developed by David M. Mount and Sunil Arya. %{name} provides an immutable kdtree implementation (via ANN) which can perform k-nearest neighbor and approximate k-nearest neighbor searches. Authors: -------- Barry Wark <barrywark@gmail.com> %prep %setup -n %{mod_name}-%{ver} %build export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) # You may have to add additional files here! %python_sitearch/scikits/ann %attr (0755,root,root) %python_sitearch/scikits/ann/info.py %attr (0755,root,root) %python_sitearch/scikits/ann/setup.py %python_sitearch/%{mod_name}-%{version}-py%{pyver}.egg-info %python_sitearch/%{mod_name}-%{version}-py%{pyver}-nspkg.pth %dir %python_sitearch/scikits %python_sitearch/scikits/__init__.py %changelog
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