source: projects/specs/trunk/p/python-subprocess32/python-subprocess32-vl.spec @ 8885

Revision 8885, 1.9 KB checked in by daisuke, 10 years ago (diff)

python-subprocess32: new package

Line 
1%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
2
3Name:           python-subprocess32
4Version:        3.2.6
5Release:        1%{?_dist_release}
6Summary:        Backport of subprocess module from Python 3.2 to Python 2.*
7Summary(ja):    Python 3.2 の subprocess モジュールの python 2.x へのバックポート
8
9License:        Python
10URL:            http://pypi.python.org/pypi/subprocess32/
11Source0:        http://python-subprocess32.googlecode.com/files/subprocess32-%{version}.tar.gz
12
13BuildRequires:  python-devel
14
15Distribution: Vine Linux
16Vendor: Project Vine
17Packager: daisuke
18
19%description
20Backport of the subprocess module from Python 3.2 for use on 2.x.
21
22
23%prep
24%setup -q -n subprocess32-%{version}
25
26
27%build
28CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
29
30
31%install
32%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
33
34
35%check
36PYTHONPATH=$(pwd) %{__python} test_subprocess32.py
37
38
39%files
40%doc LICENSE README.txt
41%{python_sitearch}/_posixsubprocess.so
42%{python_sitearch}/subprocess32*.egg-info
43%{python_sitearch}/subprocess32.py*
44
45
46%changelog
47* Mon Aug 04 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.2.6-1
48- initial build for Vine Linux
49
50* Fri Jul  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.6-1
51- Update to 3.2.6
52
53* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-0.2.rc1
54- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
55
56* Wed Aug  7 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.5-0.1.rc1
57- Update to new upstream release candidate
58- Fix build failure on rawhide
59
60* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
61- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
62
63* Wed Feb 13 2013 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
64- initial package
65
Note: See TracBrowser for help on using the repository browser.