diff --git a/programming/language/python/python-sphinx/actions.py b/programming/language/python/python-sphinx/actions.py new file mode 100755 index 00000000..b9ca3a4a --- /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 100755 index 00000000..18ace796 --- /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 100755 index 00000000..30e47e39 --- /dev/null +++ b/programming/language/python/python-sphinx/pspec.xml @@ -0,0 +1,91 @@ + + + + + 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. + https://files.pythonhosted.org/packages/8b/7e/b188d9a3b9c938e736e02a74c1363c2888e095d770df2c72b4c312f9fdcb/Sphinx-1.6.5.tar.gz + + docutils + python-six + python-requests + python-sphinx-alabaster-theme + python-Babel + python-imagesize + python-Pygments + python-Jinja2 + python-MarkupSafe + + + + + + + + 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 + + + + + + 2019-10-03 + 1.6.5 + Rebuild + idris Kalp + idriskalp@gmail.com + + + 2018-09-22 + 1.6.5 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2017-01-29 + 1.5.2 + Version Bump + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 1.3.1 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2015-07-27 + 1.3.1 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/programming/language/python/python-sphinx/translations.xml b/programming/language/python/python-sphinx/translations.xml new file mode 100755 index 00000000..ddcd1ea2 --- /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ı + +