forked from pool/python-Fabric
- Version update to 2.3.1:
* Adds support for python3 * Supports new invoke and invocations modules - Run tests - Add all build/runtime dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=55
This commit is contained in:
committed by
Git OBS Bridge
parent
93b4476058
commit
f0e8a0cec7
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81572002a562b26df657ca10d06b5bcfc6fd56b53374037392c83d4a2158208f
|
||||
size 219294
|
||||
3
fabric-2.3.1.tar.gz
Normal file
3
fabric-2.3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:178228b94548194c2e6ff008a51b636d5b19b2eb7551996770d7c999188cf88a
|
||||
size 148829
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 11 14:54:57 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Version update to 2.3.1:
|
||||
* Adds support for python3
|
||||
* Supports new invoke and invocations modules
|
||||
- Run tests
|
||||
- Add all build/runtime dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 11:15:30 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
||||
@@ -17,26 +17,34 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python3 1
|
||||
Name: python-Fabric
|
||||
Version: 1.14.0
|
||||
Version: 2.3.1
|
||||
Release: 0
|
||||
Summary: A Pythonic tool for remote execution and deployment
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://fabfile.org
|
||||
Source: https://files.pythonhosted.org/packages/source/F/Fabric/Fabric-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module fudge}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module paramiko >= 1.10}
|
||||
URL: http://fabfile.org
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fabric/fabric-%{version}.tar.gz
|
||||
BuildRequires: %{python_module cryptography >= 1.1}
|
||||
BuildRequires: %{python_module decorator}
|
||||
BuildRequires: %{python_module invoke >= 1.1}
|
||||
BuildRequires: %{python_module mock >= 2.0.0}
|
||||
BuildRequires: %{python_module paramiko >= 2.4}
|
||||
BuildRequires: %{python_module pytest >= 3.2.5}
|
||||
BuildRequires: %{python_module pytest-relaxed}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-paramiko >= 1.10
|
||||
Requires: python-cryptography >= 1.1
|
||||
Requires: python-decorator
|
||||
Requires: python-invoke >= 1.1
|
||||
Requires: python-paramiko >= 2.4
|
||||
Requires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: python-six
|
||||
Provides: python-Fabric2 = %{version}
|
||||
Provides: python-fabric = %{version}
|
||||
Provides: python-fabric2 = %{version}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -56,9 +64,7 @@ suite at a higher level than that provided by e.g. Paramiko (which
|
||||
Fabric itself leverages).
|
||||
|
||||
%prep
|
||||
%setup -q -n Fabric-%{version}
|
||||
sed -i 's/paramiko>=1.10,<2.0/paramiko>=1.10/g' setup.py # new paramiko is okay
|
||||
sed -i "s|fudge<1.0|fudge|" setup.py # Try testing with newer fudge
|
||||
%setup -q -n fabric-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -66,14 +72,23 @@ sed -i "s|fudge<1.0|fudge|" setup.py # Try testing with newer fudge
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/fab
|
||||
|
||||
%check
|
||||
# Breaks on the raise tests completely even in git
|
||||
#%%python_exec setup.py test
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix} tests/
|
||||
}
|
||||
|
||||
%post
|
||||
%python_install_alternative fab
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative fab
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS LICENSE README.rst
|
||||
%python2_only %{_bindir}/fab
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%python_alternative %{_bindir}/fab
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user