diff --git a/0.2.5.tar.gz b/0.2.5.tar.gz new file mode 100644 index 0000000..410e22c --- /dev/null +++ b/0.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e2efc5ee0cdad4b74587287411cbf44afb9eebc871c9a6ea3ef0de36641b7f7 +size 13592 diff --git a/EasyProcess-0.2.3.tar.gz b/EasyProcess-0.2.3.tar.gz deleted file mode 100644 index 3807533..0000000 --- a/EasyProcess-0.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94e241cadc9a46f55b5c06000df85618849602e7e1865b8de87576b90a22e61f -size 10402 diff --git a/python-EasyProcess.changes b/python-EasyProcess.changes index 2b71c72..5e67afe 100644 --- a/python-EasyProcess.changes +++ b/python-EasyProcess.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Mar 1 12:54:05 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-EasyProcess.spec b/python-EasyProcess.spec index 244d04c..d8bc476 100644 --- a/python-EasyProcess.spec +++ b/python-EasyProcess.spec @@ -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