From b7f97d8e0ccc4925357d129fbfaf7135911e8a16 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sat, 14 Mar 2015 09:43:24 +0100 Subject: [PATCH] 2015-03-14: Retired bacause of broken deps: unresolved dependencies for python-sphinx-0.4.2-1.el5.1.noarch: python-pygments --- .gitignore | 1 - dead.package | 4 + python-sphinx-no-ez_setup.patch | 12 --- python-sphinx.spec | 143 -------------------------------- sources | 1 - 5 files changed, 4 insertions(+), 157 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 python-sphinx-no-ez_setup.patch delete mode 100644 python-sphinx.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1bf367a..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -Sphinx-0.5.1.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..16f5aca --- /dev/null +++ b/dead.package @@ -0,0 +1,4 @@ +2015-03-14: Retired bacause of broken deps: +unresolved dependencies for python-sphinx-0.4.2-1.el5.1.noarch: +python-pygments + diff --git a/python-sphinx-no-ez_setup.patch b/python-sphinx-no-ez_setup.patch deleted file mode 100644 index 1af7d8a..0000000 --- a/python-sphinx-no-ez_setup.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: Sphinx-0.5.1/setup.py -=================================================================== ---- Sphinx-0.5.1.orig/setup.py -+++ Sphinx-0.5.1/setup.py -@@ -1,7 +1,4 @@ - # -*- coding: utf-8 -*- --import ez_setup --ez_setup.use_setuptools() -- - import os - import sys - from setuptools import setup, find_packages diff --git a/python-sphinx.spec b/python-sphinx.spec deleted file mode 100644 index 8779120..0000000 --- a/python-sphinx.spec +++ /dev/null @@ -1,143 +0,0 @@ -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")} - -%define upstream_name Sphinx - -Name: python-sphinx -Version: 0.5.1 -Release: 2%{?dist} -Summary: Python documentation generator - - -Group: Development/Tools -License: BSD -URL: http://sphinx.pocoo.org/ -Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz -# Remove need for a spcific version of seutptools -Patch0: python-sphinx-no-ez_setup.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch -BuildRequires: python-devel python-docutils python-jinja python-setuptools -Requires: python-docutils python-jinja python-pygments - - -%description -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 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. - -Although it is still under constant development, the following -features are already present, work fine and can be seen "in action" in -the Python docs: - - * Output formats: HTML (including Windows HTML Help) and LaTeX, - for printable PDF versions - * Extensive cross-references: semantic markup and automatic links - for functions, classes, glossary terms and similar pieces of - information - * Hierarchical structure: easy definition of a document tree, with - automatic links to siblings, parents and children - * Automatic indices: general index as well as a module index - * Code handling: automatic highlighting using the Pygments highlighter - * Various extensions are available, e.g. for automatic testing of - snippets and inclusion of appropriately formatted docstrings. - - -%package doc -Summary: Documentation for %{name} -Group: Documentation -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. - -This package contains documentation in rST and HTML formats - - -%prep -%setup -q -n %{upstream_name}-%{version} -%patch0 -p1 - -%build -%{__python} setup.py build -cd doc -make html -mv _build/html .. -rm -rf _* - - -%install -rm -rf $RPM_BUILD_ROOT -# Fix EOL delimiters -sed -i 's|\r||g' LICENSE -%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT - -# 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 - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS CHANGES LICENSE README TODO -%{_bindir}/sphinx-* -%{python_sitelib}/sphinx -%{python_sitelib}/*.egg-info - -%files doc -%defattr(-,root,root,-) -%doc doc html - - -%changelog -* Sat Mar 14 2009 Toshio Kuratomi - 0.5.1-2 -- Patch to remove extraneous setuptools version dep from build. - -* Fri Jan 2 2009 Michel Salim - 0.5.1-1 -- Update to 0.5.1 - -* Mon Nov 24 2008 Michel Salim - 0.5-1 -- Update to 0.5 - -* Fri Oct 10 2008 Michel Salim - 0.4.3-1 -- Update to 0.4.3 - -* Wed Aug 27 2008 Toshio Kuratomi - 0.4.2-1.1 -- Fix for EL-5 build. - -* Mon Aug 25 2008 Michel Salim - 0.4.2-1 -- Update to 0.4.2 - -* Mon May 26 2008 Michel Salim - 0.3-1 -- Update to 0.3 - -* Fri May 2 2008 Michel Salim - 0.1.61950-3 -- Split documentation into subpackage -- Exclude C files (not built by default anyway) - -* Wed Apr 16 2008 José Matos - 0.1.61950-2 -- Build html documentation, include it and include the rst - documentation. - -* Thu Mar 27 2008 Michel Salim 0.1.61950-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index f90f6b5..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -11456e362d75c1a4c5a5847921d3f4c7 Sphinx-0.5.1.tar.gz