Hello community, here is the log from the commit of package python-FormEncode for openSUSE:Factory checked in at 2013-08-20 11:44:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-FormEncode (Old) and /work/SRC/openSUSE:Factory/.python-FormEncode.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-FormEncode" Changes: -------- --- /work/SRC/openSUSE:Factory/python-FormEncode/python-FormEncode.changes 2013-06-14 15:47:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-FormEncode.new/python-FormEncode.changes 2013-08-20 11:44:34.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Aug 5 13:25:42 UTC 2013 - [email protected] + +- somebody updated this package to 1.2.6 (not me) +- added missing pieces in order to generate sphinx documentation +- create documentation in separate -doc package +- fix various wrong line endings + +------------------------------------------------------------------- New: ---- FormEncode-doc-infrastructure.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-FormEncode.spec ++++++ --- /var/tmp/diff_new_pack.PwuJzW/_old 2013-08-20 11:44:35.000000000 +0200 +++ /var/tmp/diff_new_pack.PwuJzW/_new 2013-08-20 11:44:35.000000000 +0200 @@ -24,12 +24,16 @@ License: Python-2.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/F/FormEncode/FormEncode-%{version}.zip +Source1: FormEncode-doc-infrastructure.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: unzip Provides: python-formencode = %{version} Obsoletes: python-formencode < %{version} +# Documentation requirements: +BuildRequires: python-Sphinx + %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 @@ -41,17 +45,34 @@ a declarative form of defining the validation, and decoupled processes for filling and generating forms. +%package doc +Summary: HTML form validation, generation, and conversion package +Group: Development/Libraries/Python +Requires: %{name} = %{version} + +%description doc +This package contains documentation files for %{name}. + %prep -%setup -q -n FormEncode-%{version} +%setup -q -n FormEncode-%{version} -a1 +find . -name \*.txt -exec sed -i 's/\r$//g' {} \; +sed -i 's/\r$//g' PKG-INFO formencode/i18n/msgfmt.py %build python setup.py build +python setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +chmod 755 %{buildroot}%{python_sitelib}/formencode/i18n/msgfmt.py %files %defattr(-,root,root,-) +%doc PKG-INFO README.txt %{python_sitelib}/* +%files doc +%defattr(-,root,root,-) +%doc build/sphinx/html/ + %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
