diff --git a/programming/language/python/python-sphinx/actions.py b/programming/language/python/python-sphinx/actions.py new file mode 100644 index 0000000000..8fdb979cde --- /dev/null +++ b/programming/language/python/python-sphinx/actions.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +#WorkDir = "Sphinx-%s" % get.srcVERSION() + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + # Generating the Grammar pickle to avoid on the fly generation causing sandbox violations + pythonmodules.run("-c \"from sphinx.pycode.pgen2.driver import load_grammar ; \ +load_grammar('%s/usr/lib/%s/site-packages/sphinx/pycode/Grammar-py2.txt')\"" %(get.installDIR(), get.curPYTHON(), ) ) + + # create sphinx documentation using itself + pythonmodules.run("sphinx-build.py doc doc/_build/html") + pisitools.dohtml("doc/_build/html/*") + + pisitools.dodoc("CHANGES", "EXAMPLES") + diff --git a/programming/language/python/python-sphinx/files/remove_docutils.patch b/programming/language/python/python-sphinx/files/remove_docutils.patch new file mode 100644 index 0000000000..18ace7965e --- /dev/null +++ b/programming/language/python/python-sphinx/files/remove_docutils.patch @@ -0,0 +1,12 @@ +diff -Nuar a/setup.py b/setup.py +--- a/setup.py 2014-01-19 18:46:09.000000000 +0200 ++++ b/setup.py 2014-02-27 01:54:23.829755482 +0200 +@@ -44,7 +44,7 @@ + `_. + ''' + +-requires = ['Pygments>=1.2', 'docutils>=0.7'] ++requires = ['Pygments>=1.2'] + + if sys.version_info[:3] >= (3, 3, 0): + requires[1] = 'docutils>=0.10' diff --git a/programming/language/python/python-sphinx/pspec.xml b/programming/language/python/python-sphinx/pspec.xml new file mode 100644 index 0000000000..0547647e5a --- /dev/null +++ b/programming/language/python/python-sphinx/pspec.xml @@ -0,0 +1,71 @@ + + + + + python-sphinx + http://sphinx.pocoo.org + + PisiLinux Community + admins@pisilinux.org + + as-is + app:console + Python documentation generator. It can generate HTML or Latex outputs + It's a very common documentation generator especially using for python based documentation.It can generate HTML or PDF, Ps outputs with Latex output support. + http://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.1.tar.gz + + docutils + python-Pygments + python-Jinja2 + + + remove_docutils.patch + + + + + python-sphinx + + docutils + python-Pygments + python-Jinja2 + + + /usr/bin + /usr/lib/python* + /usr/share/doc/python-sphinx/LICENSE + + + + + python-sphinx-docs + Documentation files for python-sphinx + + /usr/share/doc/python-sphinx + + + + + + 2015-07-27 + 1.3.1 + Version bump. + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2014-02-27 + 1.2.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2012-10-29 + 1.1.3 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + diff --git a/programming/language/python/python-sphinx/translations.xml b/programming/language/python/python-sphinx/translations.xml new file mode 100644 index 0000000000..ddcd1ea2b3 --- /dev/null +++ b/programming/language/python/python-sphinx/translations.xml @@ -0,0 +1,13 @@ + + + + python-sphinx + Python için döküman üreticisi. HTML, Latex gibi çıktılar üretebiliyor + Özellikle python için hazırlanan dökümanları yorumlamak için kullanılan yaygın bir döoküman üreticisi. Başta HTML olmak üzere Latex ile birlikte PDF, Ps gibi doküman çıktıları üretebiliyor. + + + + python-sphinx-docs + python-sphinx için belgelendirme dosyaları + +