Accepting request 514023 from home:sebix:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/514023 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=12
This commit is contained in:
parent
2eba9bf66a
commit
151975bbf9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1ab0d77e5ecfae9a2b4244dd8079d8e248a69eae0260238516c260ac5e2bd007
|
|
||||||
size 6155
|
|
3
ddt-1.1.1.tar.gz
Normal file
3
ddt-1.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d6dc0fc0ec23c369090456ceaaf8baa43df8171a6906c44e52909edce78c00b0
|
||||||
|
size 10021
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 2 10:16:07 UTC 2017 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
- update to 1.1.1
|
||||||
|
* Add `@idata(iterable)` decorator-function. (#40)
|
||||||
|
* Set __wrapped__ for Python 2 (#45)
|
||||||
|
* Include more files in generated tarballs (#43)
|
||||||
|
- convert to singlespec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 1 05:23:40 UTC 2016 - tbechtold@suse.com
|
Thu Sep 1 05:23:40 UTC 2016 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ddt
|
# spec file for package python-ddt
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,40 +16,45 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without test
|
||||||
Name: python-ddt
|
Name: python-ddt
|
||||||
Version: 1.1.0
|
Version: 1.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Data-Driven/Decorated Tests
|
Summary: Data-Driven/Decorated Tests
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/txels/ddt
|
Url: https://github.com/txels/ddt
|
||||||
Source: https://pypi.io/packages/source/d/ddt/ddt-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
# SECTION test requirements
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
BuildRequires: %{python_module PyYAML}
|
||||||
%else
|
BuildRequires: %{python_module mock}
|
||||||
BuildArch: noarch
|
BuildRequires: %{python_module nose}
|
||||||
%endif
|
# /SECTION
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library to multiply test cases
|
A library to multiply test cases.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ddt-%{version}
|
%setup -q -n ddt-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%{python_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%{python_install}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
%{python_exec setup.py test}
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
%doc *.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user