python-sphinx move to core

This commit is contained in:
IdrisKalp
2019-12-10 19:33:07 +03:00
parent 93683a8963
commit 4e5399aa8e
4 changed files with 144 additions and 0 deletions
+28
View File
@@ -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")
@@ -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 @@
<http://bitbucket.org/birkenfeld/sphinx/get/tip.gz#egg=Sphinx-dev>`_.
'''
-requires = ['Pygments>=1.2', 'docutils>=0.7']
+requires = ['Pygments>=1.2']
if sys.version_info[:3] >= (3, 3, 0):
requires[1] = 'docutils>=0.10'
+91
View File
@@ -0,0 +1,91 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-sphinx</Name>
<Homepage>http://sphinx.pocoo.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>app:console</IsA>
<Summary>Python documentation generator. It can generate HTML or Latex outputs</Summary>
<Description>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.</Description>
<Archive sha1sum="d374d466a6d6b4fcf1df997ae580d66480134ea8" type="targz">https://files.pythonhosted.org/packages/8b/7e/b188d9a3b9c938e736e02a74c1363c2888e095d770df2c72b4c312f9fdcb/Sphinx-1.6.5.tar.gz</Archive>
<BuildDependencies>
<Dependency>docutils</Dependency>
<Dependency>python-six</Dependency>
<Dependency>python-requests</Dependency>
<Dependency>python-sphinx-alabaster-theme</Dependency>
<Dependency>python-Babel</Dependency>
<Dependency>python-imagesize</Dependency>
<Dependency>python-Pygments</Dependency>
<Dependency>python-Jinja2</Dependency>
<Dependency>python-MarkupSafe</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">remove_docutils.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>python-sphinx</Name>
<RuntimeDependencies>
<Dependency>docutils</Dependency>
<Dependency>python-Pygments</Dependency>
<Dependency>python-Jinja2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/python*</Path>
<Path fileType="doc">/usr/share/doc/python-sphinx/LICENSE</Path>
</Files>
</Package>
<Package>
<Name>python-sphinx-docs</Name>
<Summary>Documentation files for python-sphinx</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/python-sphinx</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2019-10-03</Date>
<Version>1.6.5</Version>
<Comment>Rebuild</Comment>
<Name>idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="4">
<Date>2018-09-22</Date>
<Version>1.6.5</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-01-29</Date>
<Version>1.5.2</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>1.3.1</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-07-27</Date>
<Version>1.3.1</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-sphinx</Name>
<Summary xml:lang="tr">Python için döküman üreticisi. HTML, Latex gibi çıktılar üretebiliyor</Summary>
<Description xml:lang="tr">Ö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.</Description>
</Source>
<Package>
<Name>python-sphinx-docs</Name>
<Summary xml:lang="tr">python-sphinx için belgelendirme dosyaları</Summary>
</Package>
</PISI>