python-six-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. %define pkgname six
  2. # Basic Information
  3. Name: python-six
  4. Version: 1.15.0
  5. Release: 1%{?_dist_release}
  6. # /usr/share/doc/rpm-4.11.2/GROUPS_for_vine.txt を参照して Group を修正してください。
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: yasumichi
  11. License: MIT
  12. URL: https://pypi.python.org/pypi/six/
  13. Source0: https://pypi.python.org/packages/source/s/%{pkgname}/%{pkgname}-%{version}.tar.gz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Summary: Python 2 and 3 compatibility utilities
  16. Summary(ja): Python 2 および 3 の互換ユーテリティ
  17. BuildArch: noarch
  18. # Dependency
  19. Requires: python
  20. BuildRequires: python-devel
  21. BuildRequires: python-setuptools
  22. BuildRequires: python-rpm-macros
  23. BuildRequires: python2-rpm-macros
  24. BuildRequires: python3-devel
  25. BuildRequires: python3-setuptools
  26. BuildRequires: python3-rpm-macros
  27. %description
  28. for smoothing over the differences between the Python versions with the goal of
  29. writing Python code that is compatible on both Python versions. See the
  30. documentation for more information on what is provided.
  31. Six supports every Python version since 2.5. It is contained in only one Python
  32. file, so it can be easily copied into your project. (The copyright and license
  33. notice must be retained.)
  34. Online documentation is at http://pythonhosted.org/six/.
  35. Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be
  36. found there.
  37. For questions about six or porting in general, email the python-porting mailing
  38. list: http://mail.python.org/mailman/listinfo/python-porting
  39. %package -n python3-six
  40. Summary: Python 2 and 3 compatibility utilities
  41. Summary(ja): Python 2 および 3 の互換ユーテリティ
  42. Group: programming
  43. Requires: python3
  44. %description -n python3-six
  45. for smoothing over the differences between the Python versions with the goal of
  46. writing Python code that is compatible on both Python versions. See the
  47. documentation for more information on what is provided.
  48. Six supports every Python version since 2.5. It is contained in only one Python
  49. file, so it can be easily copied into your project. (The copyright and license
  50. notice must be retained.)
  51. Online documentation is at http://pythonhosted.org/six/.
  52. Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be
  53. found there.
  54. For questions about six or porting in general, email the python-porting mailing
  55. list: http://mail.python.org/mailman/listinfo/python-porting
  56. %prep
  57. %setup -q -n six-%{version}
  58. %build
  59. %py2_build
  60. %py3_build
  61. %install
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %py2_install
  64. %py3_install
  65. %clean
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. %files
  68. %defattr(-,root,root)
  69. %license LICENSE
  70. %doc README*
  71. %{python_sitelib}/six-%{version}-py*.egg-info
  72. %{python_sitelib}/six.py*
  73. %files -n python3-six
  74. %defattr(-,root,root)
  75. %license LICENSE
  76. %doc README*
  77. %{python3_sitelib}/six-%{version}-py*.egg-info
  78. %{python3_sitelib}/six.py*
  79. %{python3_sitelib}/__pycache__/six.*
  80. %changelog
  81. * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.15.0-1
  82. - new upstream release.
  83. * Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.14.0-1
  84. - new upstream release.
  85. * Wed Jan 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11.0-1
  86. - new upstream release.
  87. - added a subpackage for python3.
  88. * Sun Nov 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.0-1
  89. - new upstream release.
  90. * Sat Sep 20 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.8.0-1
  91. - initial build for Vine Linux