Mailinglist Archive: opensuse-commit (861 mails)
| < Previous | Next > |
commit python-sphinx for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Fri, 14 Jan 2011 02:17:52 +0100
- Message-id: <20110114011752.BA76E202A8@hilbert.suse.de>
Hello community,
here is the log from the commit of package python-sphinx for openSUSE:Factory
checked in at Fri Jan 14 02:17:52 CET 2011.
--------
--- python-sphinx/python-sphinx.changes 2010-04-26 16:35:34.000000000 +0200
+++ python-sphinx/python-sphinx.changes 2011-01-12 11:39:28.000000000 +0100
@@ -1,0 +2,44 @@
+Wed Jan 12 09:36:17 UTC 2011 - saschpe@xxxxxxx
+
+- Spec file cleanup
+ * correct doc package group, no dupes
+ * added rpmlintrc file
+- Update to 1.0.6
+ * #581: Fix traceback in Python domain for empty cross-reference
+ targets.
+ * #283: Fix literal block display issues on Chrome browsers.
+ * #383, #148: Support sorting a limited range of accented
+ characters in the general index and the glossary.
+ * #570: Try decoding -D and -A command-line arguments with
+ the locale's preferred encoding.
+ * #528: Observe locale_dirs when looking for the JS
+ translations file.
+ * #574: Add special code for better support of Japanese documents
+ in the LaTeX builder.
+ * Regression of #77: If there is only one parameter given with
+ :param: markup, the bullet list is now suppressed again.
+ * #556: Fix missing paragraph breaks in LaTeX output in certain
+ situations.
+ * #567: Emit the autodoc-process-docstring event even for objects
+ without a docstring so that it can add content.
+ * #565: In the LaTeX builder, not only literal blocks require
+ different table handling, but also quite a few other list-like
+ block elements.
+ * #515: Fix tracebacks in the viewcode extension for Python objects
+ that do not have a valid signature.
+ * Fix strange reportings of line numbers for warnings generated
+ from autodoc-included docstrings, due to different behavior
+ depending on docutils version.
+ * Several fixes to the C++ domain.
+
+-------------------------------------------------------------------
+Mon Jan 3 12:04:29 UTC 2011 - nix@xxxxxxxxxxxx
+
+- Update to 1.0.5
+
+-------------------------------------------------------------------
+Wed Sep 8 12:35:13 UTC 2010 - nix@xxxxxxxxxxxx
+
+- Update to 1.0.3
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Sphinx-0.6.5.tar.bz2
python-sphinx-setuptools.patch
New:
----
Sphinx-1.0.6.tar.bz2
python-sphinx-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx.spec ++++++
--- /var/tmp/diff_new_pack.qn35Ol/_old 2011-01-14 02:16:09.000000000 +0100
+++ /var/tmp/diff_new_pack.qn35Ol/_new 2011-01-14 02:16:09.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python-sphinx (Version 0.6.5)
+# spec file for package python-sphinx (Version 1.0.6)
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,21 @@
# norootforbuild
-%define upstream_name Sphinx
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-Name: python-sphinx
-BuildRequires: python-devel python-setuptools
-Url: http://sphinx.pocoo.org/
-License: BSD
-Group: Productivity/Publishing/Other
-AutoReqProv: on
-Version: 0.6.5
+%define mod_name sphinx
+
+Name: python-%{mod_name}
+Version: 1.0.6
Release: 1
+Url: http://sphinx.pocoo.org/
Summary: Python documentation generator
+License: BSD
+Group: Development/Languages/Python
Source: Sphinx-%{version}.tar.bz2
-Patch0: %{name}-setuptools.patch
+Source1: python-%{mod_name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
BuildRequires: python-devel
BuildRequires: docutils
BuildRequires: python-jinja2
@@ -39,103 +39,81 @@
Requires: docutils
Requires: python-jinja2
Requires: python-pygments
+%if 0%{?suse_version}
Suggests: python-rst2pdf
+%py_requires
+%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+BuildArch: noarch
+%endif
+%endif
%description
Sphinx is a tool that makes it easy to create intelligent and beautiful
-documentation, written by Georg Brandl and licensed under the BSD license.
-
-It was originally created to translate the new Python documentation, and it has
-excellent support for the documentation of Python projects, but other documents
-can be written with it too. [...]
+documentation for Python projects (or other documents consisting of multiple
+reStructuredText sources), written by Georg Brandl. It was originally created
+for the new Python documentation, and has excellent facilities for Python
+project documentation, but C/C++ is supported as well, and more languages are
+planned.
Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.
+
+Authors:
+--------
+ Georg Brandl <georg@xxxxxxxxxx>
+
%package doc
Summary: Documentation for %{name}
-Group: Documentation
+Group: Documentation/Other
License: BSD
Requires: %{name} = %{version}-%{release}
%description doc
-Sphinx is a tool that makes it easy to create intelligent and
-beautiful documentation for Python projects (or other documents
-consisting of multiple reStructuredText sources), written by Georg
-Brandl. It was originally created to translate the new Python
-documentation, but has now been cleaned up in the hope that it will be
-useful to many other projects.
+Sphinx is a tool that makes it easy to create intelligent and beautiful
+documentation for Python projects (or other documents consisting of multiple
+reStructuredText sources), written by Georg Brandl. It was originally created
+for the new Python documentation, and has excellent facilities for Python
+project documentation, but C/C++ is supported as well, and more languages are
+planned.
+
+This package contains documentation in rST and HTML formats.
-This package contains documentation in rST and HTML formats
+Authors:
+--------
+ Georg Brandl <georg@xxxxxxxxxx>
%prep
-%setup -q -n %{upstream_name}-%{version}
-%patch0 -p0 -b .setuptools
+%setup -n Sphinx-%{version}
%build
-export CFLAGS="$RPM_OPT_FLAGS"
-%{__python} setup.py build
+export CFLAGS="%{optflags}"
+python setup.py build
cd doc
make html
+rm _build/html/.buildinfo
mv _build/html ..
rm -rf _*
%install
-rm -rf $RPM_BUILD_ROOT
-# Fix EOL delimiters
-sed -i 's|\r||g' LICENSE
-%{__python} setup.py install --prefix=%{_prefix} --skip-build --root
$RPM_BUILD_ROOT --record-rpm=INSTALLED
-
-# Language files; not under /usr/share, need to be handled manually
-(cd $RPM_BUILD_ROOT && find . -name 'sphinx.mo') | sed -e 's|^.||' | sed -e \
- 's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
- >> %{name}.lang
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%{?suse_version: --record-rpm=INSTALLED_FILES}
%clean
-rm -rf $RPM_BUILD_ROOT
-
-#%{name}.lang
+rm -rf %{buildroot}
-%files -f INSTALLED
+%files %{?suse_version: -f INSTALLED_FILES}
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE README TODO
-%{_bindir}/sphinx-*
-#%{py_sitedir}/sphinx
-#%{py_sitedir}/*.egg-info
+%if 0%{!?suse_version:1}
+%{_bindir}/%{mod_name}*
+%python_sitelib/Sphinx*
+%python_sitelib/%{mod_name}*
+%endif
%files doc
%defattr(-,root,root,-)
-%doc doc html
-
-#%prep
-#%setup -n Sphinx-%{version}
-#
-#%build
-#export CFLAGS="$RPM_OPT_FLAGS"
-#python setup.py build
-#
-#%install
-#python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
--record-rpm=INSTALLED_FILES
-#chmod 644 {examples,tests}/*.py
-
-#%clean
-#rm -rf $RPM_BUILD_ROOT
-
-#%files -f INSTALLED_FILES
-#%defattr(-,root,root)
-#%doc AUTHORS
-#%doc CHANGES
-#%doc EXAMPLES
-#%doc LICENSE
-#%doc PKG-INFO
-#%doc README
-#%doc TODO
-
-#%doc babel.cfg
-#%doc doc/
-#%doc tests/
-#%doc utils/
+%doc EXAMPLES html
%changelog
++++++ Sphinx-0.6.5.tar.bz2 -> Sphinx-1.0.6.tar.bz2 ++++++
++++ 53919 lines of diff (skipped)
++++++ python-sphinx-rpmlintrc ++++++
addFilter("file-not-in-%lang")
addFilter("zero-length")
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |