forked from pool/python-treq
- State all dependnecies properly and execute tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-treq?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
a2925c164d
commit
a677390211
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 11 08:46:49 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- State all dependnecies properly and execute tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 6 09:06:54 UTC 2018 - ecsos@opensuse.org
|
Sat Oct 6 09:06:54 UTC 2018 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-treq
|
# spec file for package python-treq
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 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
|
||||||
@@ -12,37 +12,33 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
Name: python-treq
|
Name: python-treq
|
||||||
Version: 18.6.0
|
Version: 18.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MIT
|
|
||||||
Summary: Treq is an HTTP library inspired by requests
|
Summary: Treq is an HTTP library inspired by requests
|
||||||
Url: https://github.com/twisted/treq
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/twisted/treq
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/treq/treq-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/treq/treq-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module Twisted >= 16.4.0}
|
||||||
BuildRequires: %{python_module attrs}
|
BuildRequires: %{python_module attrs}
|
||||||
BuildRequires: %{python_module incremental}
|
BuildRequires: %{python_module incremental}
|
||||||
BuildRequires: %{python_module requests >= 2.1.0}
|
BuildRequires: %{python_module requests >= 2.1.0}
|
||||||
BuildRequires: %{python_module service_identity}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module PyHamcrest >= 1.9.0}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module Twisted >= 16.4.0}
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-incremental
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-requests >= 2.1.0
|
|
||||||
Requires: python-service_identity
|
|
||||||
Requires: python-PyHamcrest >= 1.9.0
|
|
||||||
Requires: python-six
|
|
||||||
Requires: python-Twisted >= 16.4.0
|
Requires: python-Twisted >= 16.4.0
|
||||||
Requires: python-attrs
|
Requires: python-attrs
|
||||||
|
Requires: python-incremental
|
||||||
|
Requires: python-requests >= 2.1.0
|
||||||
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -60,8 +56,7 @@ It provides a simple, higher level API for making HTTP requests when using Twist
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/treq
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/treq
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%python_expand %{_bindir}/trial-%{python_bin_suffix} treq
|
||||||
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/treq
|
%{python_sitelib}/treq
|
||||||
|
Reference in New Issue
Block a user