Cython-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Summary: C-Extensions for Python
  2. Name: Cython
  3. Version: 0.19.2
  4. Release: 1%{?_dist_release}
  5. Group: Development/Tools
  6. License: Apache
  7. URL: http://cython.org/
  8. Source0: http://cython.org/release/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: python-devel
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: Takemikaduchi
  14. %description
  15. Cython is a language that makes writing C extensions for the Python language
  16. as easy as Python itself. Cython is based on the well-known Pyrex, but supports
  17. more cutting edge functionality and optimizations.
  18. The Cython language is very close to the Python language, but Cython additionally
  19. supports calling C functions and declaring C types on variables and class attributes.
  20. This allows the compiler to generate very efficient C code from Cython code.
  21. The generated C code compiles with Python 2.4 and later (including Python 3).
  22. This makes Cython the ideal language for wrapping external C libraries, and for fast
  23. C modules that speed up the execution of Python code.
  24. %prep
  25. %setup -q
  26. %build
  27. %{__python} setup.py build
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc COPYING.txt LICENSE.txt README.txt USAGE.txt
  36. %{_bindir}/cygdb
  37. %{_bindir}/cython
  38. %{python_sitearch}/Cython
  39. %{python_sitearch}/pyximport
  40. %{python_sitearch}/Cython-%{version}-py2.7.egg-info
  41. %{python_sitearch}/cython.*
  42. %changelog
  43. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.2-1
  44. - new upstream release
  45. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1
  46. - new upstream release
  47. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1-1
  48. - initial build for Vine Linux