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