python-six-vl.spec 3.3 KB

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