- Version update to 1.4:
* Various py3 fixes * pytest for testing - Use multibuild to run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invocations?expand=0&rev=5
This commit is contained in:
parent
8b3112089e
commit
aa187917f3
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:085d03a47fc46bb6d626ff59ad3a4439a95c213f27e9d71fe59b8d658d897a42
|
||||
size 23724
|
3
invocations-1.4.0.tar.gz
Normal file
3
invocations-1.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b0b5e8c2a62b7b4267a31ff0c2ae4544fd97dcc70ac6081400f4fb530261a07c
|
||||
size 27512
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 11 10:01:08 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Version update to 1.4:
|
||||
* Various py3 fixes
|
||||
* pytest for testing
|
||||
- Use multibuild to run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 10 03:05:07 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-invocations
|
||||
# spec file for package python
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -13,38 +13,49 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%bcond_with test
|
||||
Name: python-invocations
|
||||
Version: 0.20.0
|
||||
%if "%{flavor}" == "test"
|
||||
%bcond_without test
|
||||
%endif
|
||||
%if %{with test}
|
||||
Name: python-requests-%{flavor}
|
||||
%else
|
||||
Name: python-requests
|
||||
%endif
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
License: BSD-2-Clause
|
||||
Summary: Reusable Invoke tasks
|
||||
Url: http://pyinvoke.org
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://pyinvoke.org
|
||||
Source: https://files.pythonhosted.org/packages/source/i/invocations/invocations-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-blessings >= 1.6
|
||||
Requires: python-invoke >= 1.0
|
||||
Requires: python-releases >= 1.2
|
||||
Requires: python-semantic_version >= 2.4
|
||||
Requires: python-tabulate >= 0.7.5
|
||||
Requires: python-tqdm >= 4.8.1
|
||||
%ifpython2
|
||||
Requires: python-enum34
|
||||
%endif
|
||||
BuildRequires: python2-enum34
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module blessings >= 1.6}
|
||||
BuildRequires: %{python_module invoke >= 0.13}
|
||||
BuildRequires: %{python_module invoke >= 1.0}
|
||||
BuildRequires: %{python_module releases >= 1.2}
|
||||
BuildRequires: %{python_module semantic_version >= 2.4}
|
||||
BuildRequires: %{python_module tabulate >= 0.7.5}
|
||||
BuildRequires: %{python_module tqdm >= 4.8.1}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
Requires: python-blessings >= 1.6
|
||||
Requires: python-invoke >= 0.13
|
||||
Requires: python-releases >= 1.2
|
||||
Requires: python-semantic_version >= 2.4
|
||||
Requires: python-tabulate >= 0.7.5
|
||||
Requires: python-tqdm >= 4.8.1
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -65,8 +76,10 @@ the Invoke project's communication channels for updates. Thanks!
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
@ -74,9 +87,10 @@ the Invoke project's communication channels for updates. Thanks!
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%if !%{with test}
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user