Accepting request 497351 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version. - Fix source URL. - Update to version 1.4.6 OBS-URL: https://build.opensuse.org/request/show/497351 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=11
This commit is contained in:
parent
6a0a7cfd38
commit
22f9f81ac6
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 22 16:52:16 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version.
|
||||||
|
- Fix source URL.
|
||||||
|
- Update to version 1.4.6
|
||||||
|
* Enormous number of changes. Please see full changelog here:
|
||||||
|
https://github.com/gabrielfalcao/sure/blob/v1.4.6/CHANGELOG.md
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 9 11:16:30 UTC 2016 - dvaleev@suse.com
|
Wed Mar 9 11:16:30 UTC 2016 - dvaleev@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sure
|
# spec file for package python-sure
|
||||||
#
|
#
|
||||||
# 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,29 +16,31 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without test
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-sure
|
Name: python-sure
|
||||||
Version: 1.2.24
|
Version: 1.4.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utility belt for automated testing in python for python
|
Summary: Utility belt for automated testing in python for python
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/requests/sure
|
Url: https://github.com/requests/sure
|
||||||
Source: https://pypi.python.org/packages/source/s/sure/sure-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-mock
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-nose
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-rednose
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module mock >= 2.0.0}
|
||||||
BuildRequires: python-six
|
BuildRequires: %{python_module six >= 1.10.0}
|
||||||
Requires: python-mock
|
%if %{with test}
|
||||||
Requires: python-six
|
BuildRequires: %{python_module nose}
|
||||||
%py_requires
|
|
||||||
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
|
|
||||||
%endif
|
%endif
|
||||||
|
Requires: python-mock >= 2.0.0
|
||||||
|
Requires: python-six >= 1.10.0
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A testing library for python with powerful and flexible assertions. Sure is
|
A testing library for python with powerful and flexible assertions. Sure is
|
||||||
@ -49,17 +51,20 @@ heavily inspired by should.js
|
|||||||
sed -i '/^#!/d' sure/*.py
|
sed -i '/^#!/d' sure/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
%python_expand nosetests-%{$python_bin_suffix}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md
|
%doc COPYING README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5c0456a0bfec40ffe57bf9f1f1d4f6cfd4b92848b8c97b5b4165afb933c0d2d3
|
|
||||||
size 28089
|
|
3
sure-1.4.6.tar.gz
Normal file
3
sure-1.4.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3ff4f1a221b193e57194e58d75598169ace2e3a7c0e1f0108a4d65d384d7d8c7
|
||||||
|
size 45608
|
Loading…
x
Reference in New Issue
Block a user