Accepting request 484217 from home:alois:branches:devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/484217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-process-tests?expand=0&rev=3
This commit is contained in:
Jan Matejek 2017-03-31 16:58:08 +00:00 committed by Git OBS Bridge
parent 2e96f22b71
commit 37f4708911
4 changed files with 31 additions and 19 deletions

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65c9d7a0260f31c15b4a22a851757e61f7072d0557db5f8a976112fbe81ff7e9
size 5497

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 31 15:05:13 UTC 2017 - aloisio@gmx.com
- Updated to 1.2.1
- Converted to single-spec
-------------------------------------------------------------------
Wed Oct 21 09:17:16 UTC 2015 - hpj@urpla.net

View File

@ -1,7 +1,7 @@
#
# spec file for package python-process-tests
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -14,40 +14,46 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-process-tests
Version: 1.2.0
Version: 1.2.1
Release: 0
License: BSD-2-Clause
Summary: Tools for testing processes
Url: https://github.com/ionelmc/python-process-tests
License: BSD-2-Clause
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/p/process-tests/process-tests-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
Url: https://github.com/ionelmc/python-process-tests
Source: https://pypi.io/packages/source/p/process-tests/process-tests-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%python_subpackages
%description
Tools for testing processes.
Testcase classes and assertions for testing processes.
%prep
%setup -q -n process-tests-%{version}
dos2unix LICENSE src/process_tests.egg-info/dependency_links.txt
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%{python_sitelib}/*
%pycache_only %{python_sitelib}/__pycache__
%{python_sitelib}/process_tests.py*
%{python_sitelib}/process_tests-%{version}-py%{python_version}.egg-info
%changelog