SHA256
14
0
forked from pool/python-sh

Accepting request 239250 from home:tokoyami:branches:devel:languages:python

Update to version 1.09.

OBS-URL: https://build.opensuse.org/request/show/239250
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2014-07-07 13:35:29 +00:00
committed by Git OBS Bridge
parent 10a8007887
commit 5cdc12f80f
4 changed files with 23 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for python-sh
# spec file for package python-sh
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,13 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-sh
Version: 1.08
Version: 1.09
Release: 0
License: MIT
Summary: Python subprocess interface
Url: https://github.com/amoffat/sh
License: MIT
Group: Development/Languages/Python
Url: https://github.com/amoffat/sh
Source0: https://github.com/amoffat/sh/archive/%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -45,7 +46,7 @@ sh is not a collection of system commands implemented in
Python.
%prep
%setup -q -n sh-%{version}
%setup -q -n amoffat-sh-80af572
%build
python setup.py build
@@ -55,10 +56,8 @@ python setup.py install \
--prefix=%{_prefix} \
--root=%{buildroot}
# mvyskocil: FIXME, fails on test_non_ascii_error and test_unicode_arg
# with UnicodeEncodeError/UnicodeDecodeError
# % check
# python test.py
%check
python test.py
%files
%defattr(0644,root,root)
@@ -68,4 +67,3 @@ python setup.py install \
%{python_sitelib}/sh-%{version}-*.egg-info
%changelog