Cython-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Summary: A language for writing Python extension modules
  2. Summary(ja): Python 拡張モジュールを簡単に作成するためのプログラミング言語
  3. Name: Cython
  4. Version: 0.29.32
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: Apache
  10. URL: https://cython.org/
  11. Source0: https://github.com/cython/cython/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: python-rpm-macros
  14. BuildRequires: python-devel
  15. BuildRequires: python-setuptools
  16. BuildRequires: python2-rpm-macros
  17. %description
  18. 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.
  19. 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.
  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 C modules that speed up the execution of Python code.
  23. %package -n python3-Cython
  24. Summary: A language for writing Python extension modules
  25. Summary(ja): Python 拡張モジュールを簡単に作成するためのプログラミング言語
  26. Group: programming
  27. BuildRequires: python3-devel
  28. BuildRequires: python3-setuptools
  29. BuildRequires: python3-rpm-macros
  30. %description -n python3-Cython
  31. 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.
  32. 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.
  33. This allows the compiler to generate very efficient C code from Cython code.
  34. The generated C code compiles with Python 2.4 and later (including Python 3).
  35. This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.
  36. %debug_package
  37. %prep
  38. %setup -q -n cython-%{version}
  39. %build
  40. %{py2_build}
  41. %pip3_build_wheel
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. %{py2_install}
  45. %pip3_install_wheel
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %files
  49. %defattr(-,root,root,-)
  50. %license COPYING.txt LICENSE.txt
  51. %doc README.txt USAGE.txt
  52. #{_bindir}/cygdb
  53. #{_bindir}/cython
  54. #{_bindir}/cythonize
  55. %{python_sitearch}/Cython
  56. %{python_sitearch}/pyximport
  57. %{python_sitearch}/Cython-%{version}-*-info
  58. %{python_sitearch}/cython.*
  59. %files -n python3-Cython
  60. %license COPYING.txt LICENSE.txt
  61. %doc README.txt USAGE.txt
  62. %{_bindir}/cygdb
  63. %{_bindir}/cython
  64. %{_bindir}/cythonize
  65. %{python3_sitearch}/*
  66. %changelog
  67. * Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.32-1
  68. - new upstream release.
  69. * Tue Jan 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.26-1
  70. - new upstream release.
  71. * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.21-1
  72. - new upstream release.
  73. * Fri Oct 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.13-1
  74. - new upstream release.
  75. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.4-1
  76. - new upstream release
  77. * Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
  78. - new upstream release
  79. * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.21.2-1
  80. - new upstream release
  81. - moved to Development/Languages Group
  82. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.2-1
  83. - new upstream release
  84. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1
  85. - new upstream release
  86. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1-1
  87. - initial build for Vine Linux