17
0

- Update to 0.2.5:

* Fixes for python 3.7
  * Many utf8 fixes
- Switch to github tarball for tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EasyProcess?expand=0&rev=23
This commit is contained in:
Tomáš Chvátal
2019-03-01 13:05:46 +00:00
committed by Git OBS Bridge
parent c1c74107c1
commit e45df413ea
4 changed files with 21 additions and 18 deletions

3
0.2.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e2efc5ee0cdad4b74587287411cbf44afb9eebc871c9a6ea3ef0de36641b7f7
size 13592

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94e241cadc9a46f55b5c06000df85618849602e7e1865b8de87576b90a22e61f
size 10402

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Mar 1 12:54:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.2.5:
* Fixes for python 3.7
* Many utf8 fixes
- Switch to github tarball for tests
-------------------------------------------------------------------
Wed Dec 5 01:05:28 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-EasyProcess
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-EasyProcess
Version: 0.2.3
Version: 0.2.5
Release: 0
Summary: Python subprocess interface
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/ponty/easyprocess
Source: https://files.pythonhosted.org/packages/source/E/EasyProcess/EasyProcess-%{version}.tar.gz
Source: https://github.com/ponty/EasyProcess/archive/%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: iputils
BuildRequires: python-rpm-macros
BuildRequires: python3-2to3
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module nose}
%endif
%python_subpackages
%description
@@ -60,6 +59,9 @@ Limitations:
%prep
%setup -q -n EasyProcess-%{version}
# requires pyvirtualdisplay which is mostly dead package
rm -f tests/coverage/fast/test_deadlock.py
2to3 -w easyprocess/examples/log.py
%build
%python_build
@@ -68,15 +70,8 @@ Limitations:
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
mkdir tester
pushd tester
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -B -m nose easyprocess
}
popd
%endif
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v tests/coverage/
%files %{python_files}
%license LICENSE.txt