Mageia Bugzilla – Attachment 2821 Details for
Bug 7517
Request addition of the following python packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec for python-pyopencl
python-pyopencl.spec (text/x-rpm-spec), 2.72 KB, created by
Joseph Wang
on 2012-09-18 18:51:38 CEST
(
hide
)
Description:
spec for python-pyopencl
Filename:
MIME Type:
Creator:
Joseph Wang
Created:
2012-09-18 18:51:38 CEST
Size:
2.72 KB
patch
obsolete
># Created by pyp2rpm-0.5.1 >%global pypi_name pyopencl > >Name: python-%{pypi_name} >Version: 2012.1 >Release: %mkrel 1 >Summary: Python wrapper for OpenCL >Group: Development/Python >License: MIT >URL: http://pypi.python.org/pypi/pyopencl/2012.1 >Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz >Patch0: pyopencl-boost.patch > >BuildRequires: python-devel >BuildRequires: python-sphinx >BuildRequires: boost-devel > >Requires: python-pytools >= 2011.2 >Requires: python-pytest >= 2 >Requires: python-decorator >= 3.2.0 > >%description >PyOpenCL lets you access GPUs and other massively parallel compute >devices from Python. It tries to offer computing goodness in the >spirit of its sister project `PyCUDA ><http://mathema.tician.de/software/pycuda>`_: > > * Object cleanup >tied to lifetime of objects. This idiom, often > called >`RAII <http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization>`_ >in C++, makes it much easier to write correct, leak- and > crash- >free code. > > * Completeness. PyOpenCL puts the full power of >OpenCL's API at > your disposal, if you wish. Every obscure >`get_info()` query and > all CL calls are accessible. >* Automatic Error Checking. All CL errors are automatically >translated into Python exceptions. > > * Speed. PyOpenCL's base layer >is written in C++, so all the niceties > above are virtually free. >* Helpful and complete `Documentation <http://documen.tician.de/pyopencl>`_ >as well as a `Wiki <http://wiki.tiker.net/PyOpenCL>`_. > > * Liberal >license. PyOpenCL is open-source under the > `MIT license ><http://en.wikipedia.org/wiki/MIT_License>`_ > and free for >commercial, academic, and private use. > > * Broad support. PyOpenCL >was tested and works with Apple's, AMD's, and Nvidia's > CL >implementations. > > Like PyOpenCL? (And perhaps use it for `bitcoin ><http://bitcoin.org>`_ mining?) Leave a (bitcoin) tip: >1HGPQitv27CdENBcH1bstu5B3zeqXRDwtY > > >%prep >%setup -q -n %{pypi_name}-%{version} >%apply_patches ># Remove bundled egg-info >rm -rf %{pypi_name}.egg-info > ># generate html docs >sphinx-build doc/source html ># remove the sphinx-build leftovers >rm -rf html/.{doctrees,buildinfo} > > >%build >CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build > > >%install >%{__python} setup.py install --skip-build --root %{buildroot} > > >%files >%doc html README_SETUP.txt examples >%{_includedir}/pyopencl >%{python_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info >%{python_sitearch}/%{pypi_name} > >%changelog >* Tue Sep 18 2012 joequant <joequant> - 2012.1-1.mga3 >- Initial package.
# Created by pyp2rpm-0.5.1 %global pypi_name pyopencl Name: python-%{pypi_name} Version: 2012.1 Release: %mkrel 1 Summary: Python wrapper for OpenCL Group: Development/Python License: MIT URL: http://pypi.python.org/pypi/pyopencl/2012.1 Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Patch0: pyopencl-boost.patch BuildRequires: python-devel BuildRequires: python-sphinx BuildRequires: boost-devel Requires: python-pytools >= 2011.2 Requires: python-pytest >= 2 Requires: python-decorator >= 3.2.0 %description PyOpenCL lets you access GPUs and other massively parallel compute devices from Python. It tries to offer computing goodness in the spirit of its sister project `PyCUDA <http://mathema.tician.de/software/pycuda>`_: * Object cleanup tied to lifetime of objects. This idiom, often called `RAII <http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization>`_ in C++, makes it much easier to write correct, leak- and crash- free code. * Completeness. PyOpenCL puts the full power of OpenCL's API at your disposal, if you wish. Every obscure `get_info()` query and all CL calls are accessible. * Automatic Error Checking. All CL errors are automatically translated into Python exceptions. * Speed. PyOpenCL's base layer is written in C++, so all the niceties above are virtually free. * Helpful and complete `Documentation <http://documen.tician.de/pyopencl>`_ as well as a `Wiki <http://wiki.tiker.net/PyOpenCL>`_. * Liberal license. PyOpenCL is open-source under the `MIT license <http://en.wikipedia.org/wiki/MIT_License>`_ and free for commercial, academic, and private use. * Broad support. PyOpenCL was tested and works with Apple's, AMD's, and Nvidia's CL implementations. Like PyOpenCL? (And perhaps use it for `bitcoin <http://bitcoin.org>`_ mining?) Leave a (bitcoin) tip: 1HGPQitv27CdENBcH1bstu5B3zeqXRDwtY %prep %setup -q -n %{pypi_name}-%{version} %apply_patches # Remove bundled egg-info rm -rf %{pypi_name}.egg-info # generate html docs sphinx-build doc/source html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %files %doc html README_SETUP.txt examples %{_includedir}/pyopencl %{python_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info %{python_sitearch}/%{pypi_name} %changelog * Tue Sep 18 2012 joequant <joequant> - 2012.1-1.mga3 - Initial package.
View Attachment As Raw
Actions:
View
Attachments on
bug 7517
:
2818
|
2819
|
2820
| 2821 |
2822
|
2829
|
2830
|
2831
|
2832