Accepting request 532148 from home:scarabeus_iv:branches:devel:languages:python

- Update to version 2.9.2:
  * read the upstream ChangeLog for in detail list as there are
    too many changes
- Do not generate docu in the spec and make sure tests are run
- Switch to python singlespec

OBS-URL: https://build.opensuse.org/request/show/532148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-factory_boy?expand=0&rev=7
This commit is contained in:
Jan Matejek 2017-10-06 13:58:25 +00:00 committed by Git OBS Bridge
parent e5a6730e39
commit cdf00eb4af
4 changed files with 30 additions and 22 deletions

3
2.9.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5f27acda3787fb556dc26a50cbfa3ce9ee86a88b1a96b72fa31aca47257c7dd
size 134371

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd8306e64c3a115deca136685e945db88ffe171382012ec938ed241a20dd7eba
size 81518

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Oct 6 09:52:31 UTC 2017 - tchvatal@suse.com
- Update to version 2.9.2:
* read the upstream ChangeLog for in detail list as there are
too many changes
- Do not generate docu in the spec and make sure tests are run
- Switch to python singlespec
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 4 16:15:37 UTC 2015 - benoit.monin@gmx.fr Mon May 4 16:15:37 UTC 2015 - benoit.monin@gmx.fr

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-factory_boy # spec file for package python-factory_boy
# #
# Copyright (c) 2015 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,24 +16,25 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-factory_boy Name: python-factory_boy
Version: 2.5.2 Version: 2.9.2
Release: 0 Release: 0
Summary: A test fixtures replacement Summary: A test fixtures replacement
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://github.com/rbarrois/factory_boy Url: http://github.com/rbarrois/factory_boy
Source: http://pypi.python.org/packages/source/f/factory_boy/factory_boy-%{version}.tar.gz Source: https://github.com/FactoryBoy/factory_boy/archive/%{version}.tar.gz
BuildRequires: python-Sphinx BuildRequires: %{python_module Faker >= 0.7.0}
BuildRequires: python-devel BuildRequires: %{python_module devel}
BuildRequires: python-mock BuildRequires: %{python_module flake8}
BuildRequires: python-setuptools BuildRequires: %{python_module mock}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module setuptools}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 BuildRequires: python-rpm-macros
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} BuildRequires: python2-ipaddress
%else Requires: python-Faker >= 0.7.0
BuildArch: noarch BuildArch: noarch
%endif %python_subpackages
%description %description
A test fixtures replacement based on thoughtbot's factory_girl for Ruby. A test fixtures replacement based on thoughtbot's factory_girl for Ruby.
@ -42,18 +43,16 @@ A test fixtures replacement based on thoughtbot's factory_girl for Ruby.
%setup -q -n factory_boy-%{version} %setup -q -n factory_boy-%{version}
%build %build
python setup.py build %python_build
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%check %check
python setup.py -q test %python_exec setup.py test
%files %files %{python_files}
%defattr(-,root,root,-) %doc README.rst LICENSE
%doc README.rst build/sphinx/html
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog