Accepting request 142567 from devel:languages:python

- Update to version 1.2.0:
  + Upstream provides no changelog
- Build HTML documentation

OBS-URL: https://build.opensuse.org/request/show/142567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-factory_boy?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2012-11-25 12:39:31 +00:00 committed by Git OBS Bridge
commit 0912fd5749
4 changed files with 21 additions and 6 deletions

View File

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

3
factory_boy-1.2.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 23 11:06:19 UTC 2012 - saschpe@suse.de
- Update to version 1.2.0:
+ Upstream provides no changelog
- Build HTML documentation
-------------------------------------------------------------------
Mon Jun 11 13:10:36 UTC 2012 - saschpe@suse.de

View File

@ -15,14 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-factory_boy
Version: 1.0.4
Version: 1.2.0
Release: 0
License: MIT
Summary: A test fixtures replacement
Url: http://github.com/rbarrois/factory_boy
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@ -39,12 +41,18 @@ A test fixtures replacement based on thoughtbot's factory_girl for Ruby.
%build
python setup.py build
#python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
cd docs && make html
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc README docs/_build/html
%{python_sitelib}/*
%changelog