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