source: projects/specs/trunk/p/python-six/python-six-vl.spec @ 11459

Revision 11459, 3.2 KB checked in by tomop, 6 years ago (diff)

python-six-1.11.0-1

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