python-six-vl.spec 3.3 KB

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