Accepting request 517861 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/517861 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpretty?expand=0&rev=10
This commit is contained in:
commit
e93d5a6202
3
httpretty-0.8.14.tar.gz
Normal file
3
httpretty-0.8.14.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:83c176bbac9d68a45a5cca54f2d5be7e6b16a063adf6f334e7fd0eee272e976e
|
||||||
|
size 43574
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:19d65fe6f20502d5fee082d83c5c73ccfaba1519b9bbd0efdcb65cffe58e32d6
|
|
||||||
size 40886
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 15 20:13:58 UTC 2017 - daniel.molkentin@suse.com
|
||||||
|
|
||||||
|
- Update to 0.8.14
|
||||||
|
- Converted to singlespec
|
||||||
|
- Remove legacy macros
|
||||||
|
- Ran spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 13 21:05:33 UTC 2016 - dmueller@suse.com
|
Sun Mar 13 21:05:33 UTC 2016 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-httpretty
|
# spec file for package python-httpretty
|
||||||
#
|
#
|
||||||
# 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,28 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-httpretty
|
Name: python-httpretty
|
||||||
Version: 0.8.8
|
Version: 0.8.14
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: HTTP client mock for Python
|
Summary: HTTP client mocking tool for Python, it's like ruby's FakeWeb for python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/gabrielfalcao/httpretty
|
Url: https://github.com/gabrielfalcao/HTTPretty
|
||||||
Source: https://pypi.python.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
# Test requirements
|
BuildRequires: fdupes
|
||||||
#BuildRequires: python-httplib2
|
BuildRequires: python-rpm-macros
|
||||||
#BuildRequires: python-requests
|
|
||||||
#BuildRequires: python-sure
|
|
||||||
BuildRequires: python-urllib3
|
|
||||||
Requires: python-urllib3
|
|
||||||
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
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This libary allows mocking of http protocol based
|
This libary allows mocking of http protocol based
|
||||||
@ -47,20 +40,20 @@ unit tests.
|
|||||||
%setup -q -n httpretty-%{version}
|
%setup -q -n httpretty-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
||||||
|
|
||||||
# crazy deps still
|
# crazy deps still
|
||||||
%if 0
|
%if 0
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
%python_exec setup.py test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%install
|
||||||
%defattr(-,root,root,-)
|
%python_install
|
||||||
%doc README.rst COPYING
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc COPYING README.rst
|
||||||
%{python_sitelib}/httpretty
|
%{python_sitelib}/httpretty
|
||||||
%{python_sitelib}/httpretty*egg-info
|
%{python_sitelib}/httpretty*egg-info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user