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

Revision 8961, 1.9 KB checked in by yasumichi, 10 years ago (diff)

new package

Line 
1%define pkgname six
2
3# Basic Information
4Name:           python-six
5Version:        1.8.0
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
21# Dependency
22Requires:       python
23BuildRequires:  python-devel
24BuildArch:      noarch
25
26%description
27for smoothing over the differences between the Python versions with the goal of
28writing Python code that is compatible on both Python versions.  See the
29documentation for more information on what is provided.
30
31Six supports every Python version since 2.5.  It is contained in only one Python
32file, so it can be easily copied into your project. (The copyright and license
33notice must be retained.)
34
35Online documentation is at http://pythonhosted.org/six/.
36
37Bugs can be reported to http://bitbucket.org/gutworth/six.  The code can also be
38found there.
39
40For questions about six or porting in general, email the python-porting mailing
41list: http://mail.python.org/mailman/listinfo/python-porting
42
43
44#%%description -l ja
45#ここに日本語で詳細を記述してください。
46
47%prep
48%setup -q -n six-%{version}
49
50%build
51%{__python} setup.py build
52
53%install
54%{__rm} -rf ${RPM_BUILD_ROOT}
55%{__python} setup.py install --root=${RPM_BUILD_ROOT}
56
57
58%clean
59%{__rm} -rf ${RPM_BUILD_ROOT}
60
61
62%files
63%defattr(-,root,root)
64%doc LICENSE README
65%{python_sitelib}/six-%{version}-py*.egg-info
66%{python_sitelib}/six.py*
67
68%changelog
69* Sat Sep 20 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.8.0-1
70- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.