Browse Source

python-subprocess32: new package

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8885 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 9 years ago
parent
commit
f66bdc5079
1 changed files with 65 additions and 0 deletions
  1. 65 0
      p/python-subprocess32/python-subprocess32-vl.spec

+ 65 - 0
p/python-subprocess32/python-subprocess32-vl.spec

@@ -0,0 +1,65 @@
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+Name:           python-subprocess32
+Version:        3.2.6
+Release:        1%{?_dist_release}
+Summary:        Backport of subprocess module from Python 3.2 to Python 2.*
+Summary(ja):    Python 3.2 の subprocess モジュールの python 2.x へのバックポート
+
+License:        Python
+URL:            http://pypi.python.org/pypi/subprocess32/
+Source0:        http://python-subprocess32.googlecode.com/files/subprocess32-%{version}.tar.gz
+
+BuildRequires:  python-devel
+
+Distribution: Vine Linux
+Vendor: Project Vine
+Packager: daisuke
+
+%description
+Backport of the subprocess module from Python 3.2 for use on 2.x.
+
+
+%prep
+%setup -q -n subprocess32-%{version}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+
+
+%check
+PYTHONPATH=$(pwd) %{__python} test_subprocess32.py
+
+
+%files
+%doc LICENSE README.txt
+%{python_sitearch}/_posixsubprocess.so
+%{python_sitearch}/subprocess32*.egg-info
+%{python_sitearch}/subprocess32.py*
+
+
+%changelog
+* Mon Aug 04 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.2.6-1
+- initial build for Vine Linux
+
+* Fri Jul  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.6-1
+- Update to 3.2.6
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-0.2.rc1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed Aug  7 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.5-0.1.rc1
+- Update to new upstream release candidate
+- Fix build failure on rawhide
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Feb 13 2013 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
+- initial package
+