Cython-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Summary: A language for writing Python extension modules
  2. Summary(ja): Python 拡張モジュールを簡単に作成するためのプログラミング言語
  3. Name: Cython
  4. Version: 0.23.4
  5. Release: 1%{?_dist_release}
  6. Group: Development/Languages
  7. License: Apache
  8. URL: http://cython.org/
  9. Source0: http://cython.org/release/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: python-devel
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: Takemikaduchi
  15. %description
  16. Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.
  17. The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes.
  18. This allows the compiler to generate very efficient C code from Cython code.
  19. The generated C code compiles with Python 2.4 and later (including Python 3).
  20. This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.
  21. %prep
  22. %setup -q
  23. %build
  24. %{__python} setup.py build
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  28. %clean
  29. rm -rf $RPM_BUILD_ROOT
  30. %files
  31. %defattr(-,root,root,-)
  32. %doc COPYING.txt LICENSE.txt README.txt USAGE.txt
  33. %{_bindir}/cygdb
  34. %{_bindir}/cython
  35. %{_bindir}/cythonize
  36. %{python_sitearch}/Cython
  37. %{python_sitearch}/pyximport
  38. %{python_sitearch}/Cython-%{version}-py2.7.egg-info
  39. %{python_sitearch}/cython.*
  40. %changelog
  41. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.4-1
  42. - new upstream release
  43. * Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
  44. - new upstream release
  45. * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.21.2-1
  46. - new upstream release
  47. - moved to Development/Languages Group
  48. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.2-1
  49. - new upstream release
  50. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1
  51. - new upstream release
  52. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1-1
  53. - initial build for Vine Linux