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:
parent
e5a6730e39
commit
cdf00eb4af
3
2.9.2.tar.gz
Normal file
3
2.9.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5f27acda3787fb556dc26a50cbfa3ce9ee86a88b1a96b72fa31aca47257c7dd
|
||||
size 134371
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd8306e64c3a115deca136685e945db88ffe171382012ec938ed241a20dd7eba
|
||||
size 81518
|
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
Version: 2.5.2
|
||||
Version: 2.9.2
|
||||
Release: 0
|
||||
Summary: A test fixtures replacement
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/rbarrois/factory_boy
|
||||
Source: http://pypi.python.org/packages/source/f/factory_boy/factory_boy-%{version}.tar.gz
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-setuptools
|
||||
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
|
||||
Source: https://github.com/FactoryBoy/factory_boy/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module Faker >= 0.7.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-ipaddress
|
||||
Requires: python-Faker >= 0.7.0
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
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}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%check
|
||||
python setup.py -q test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst build/sphinx/html
|
||||
%files %{python_files}
|
||||
%doc README.rst LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user