From 54bc4a26f39ca00f920ef98f5bf7b5b504194121 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Mon, 27 Jul 2015 16:57:52 +0300 Subject: [PATCH 1/5] docutils:moved into main for pisi 2.0 --- office/misc/docutils/actions.py | 19 +++++++ .../latex-default-output-encoding-utf8.diff | 23 +++++++++ office/misc/docutils/pspec.xml | 50 +++++++++++++++++++ office/misc/docutils/translations.xml | 8 +++ 4 files changed, 100 insertions(+) create mode 100644 office/misc/docutils/actions.py create mode 100644 office/misc/docutils/files/latex-default-output-encoding-utf8.diff create mode 100644 office/misc/docutils/pspec.xml create mode 100644 office/misc/docutils/translations.xml diff --git a/office/misc/docutils/actions.py b/office/misc/docutils/actions.py new file mode 100644 index 0000000000..046720e226 --- /dev/null +++ b/office/misc/docutils/actions.py @@ -0,0 +1,19 @@ +#!/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 shelltools +from pisi.actionsapi import get + +def install(): + pythonmodules.install() + + pisitools.dodoc("COPYING.txt", "PKG-INFO", "README.txt") + + #Remove .py extensions from scripts in /usr/bin + for f in shelltools.ls("%s/usr/bin" % get.installDIR()): + pisitools.domove("/usr/bin/%s" % f, "/usr/bin", f.replace(".py", "")) diff --git a/office/misc/docutils/files/latex-default-output-encoding-utf8.diff b/office/misc/docutils/files/latex-default-output-encoding-utf8.diff new file mode 100644 index 0000000000..1b3d7a545a --- /dev/null +++ b/office/misc/docutils/files/latex-default-output-encoding-utf8.diff @@ -0,0 +1,23 @@ +Index: docutils-0.6/docutils/writers/latex2e/__init__.py +=================================================================== +--- docutils-0.6.orig/docutils/writers/latex2e/__init__.py ++++ docutils-0.6/docutils/writers/latex2e/__init__.py +@@ -35,7 +35,7 @@ class Writer(writers.Writer): + + settings_spec = ( + 'LaTeX-Specific Options', +- 'The LaTeX "--output-encoding" default is "latin-1:strict".', ++ 'The LaTeX "--input-encoding" default is "UTF-8:strict".', + (('Specify documentclass. Default is "article".', + ['--documentclass'], + {'default': 'article', }), +@@ -186,7 +186,8 @@ class Writer(writers.Writer): + {'default': None, }), + ),) + +- settings_defaults = {'output_encoding': 'latin-1', ++ settings_defaults = {'output_encoding': 'utf8', ++ 'input_encoding': 'utf8', + 'sectnum_depth': 0 # updated by SectNum transform + } + diff --git a/office/misc/docutils/pspec.xml b/office/misc/docutils/pspec.xml new file mode 100644 index 0000000000..488a77208d --- /dev/null +++ b/office/misc/docutils/pspec.xml @@ -0,0 +1,50 @@ + + + + + docutils + http://docutils.sourceforge.net + + PisiLinux Community + admins@pisilinux.org + + public-domain + library + A library for processing plaintext documentation + A library for processing plaintext documentation into useful formats, such as HTML, XML, and LaTeX. + mirrors://sourceforge/docutils/docutils-0.11.tar.gz + + + + docutils + + /usr/lib + /usr/bin + /usr/share/doc + + + + + + 2014-02-26 + 0.11 + Rebuild for python 2.7.6 + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-01-22 + 0.11 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2010-10-13 + 0.7 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/office/misc/docutils/translations.xml b/office/misc/docutils/translations.xml new file mode 100644 index 0000000000..d3f5ab0754 --- /dev/null +++ b/office/misc/docutils/translations.xml @@ -0,0 +1,8 @@ + + + + docutils + Düz yazı belgelendirme işleme için kütüphane + Librería para procesamiento de texto plano para conversión a formatos útiles como HTML, XML, y LaTeX. + + From 8ea2c601449b062f8cc4249f4aa36ce5238b79af Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Mon, 27 Jul 2015 16:58:22 +0300 Subject: [PATCH 2/5] py-Jinja2:moved into main for pisi 2.0 --- .../language/python/python-Jinja2/actions.py | 30 +++++++++ .../drop_next_import_from_docs-jinjaext.patch | 15 +++++ .../language/python/python-Jinja2/pspec.xml | 65 +++++++++++++++++++ .../python/python-Jinja2/translations.xml | 13 ++++ 4 files changed, 123 insertions(+) create mode 100644 programming/language/python/python-Jinja2/actions.py create mode 100644 programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch create mode 100644 programming/language/python/python-Jinja2/pspec.xml create mode 100644 programming/language/python/python-Jinja2/translations.xml diff --git a/programming/language/python/python-Jinja2/actions.py b/programming/language/python/python-Jinja2/actions.py new file mode 100644 index 0000000000..0cad700f1c --- /dev/null +++ b/programming/language/python/python-Jinja2/actions.py @@ -0,0 +1,30 @@ +#!/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 autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +examples = "%s/%s/examples" % (get.docDIR(), get.srcNAME()) + +WorkDir = "Jinja2-%s" % get.srcVERSION() + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + pisitools.insinto(examples, "examples/*") + + #Create docs with python-Sphinx + #shelltools.cd("docs") + #autotools.make("html") + #shelltools.cd("..") + #pisitools.dohtml("Jinja2-%s/docs/_build/html/*" % get.srcVERSION()) + pisitools.dodoc("CHANGES") diff --git a/programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch b/programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch new file mode 100644 index 0000000000..c078b06c2d --- /dev/null +++ b/programming/language/python/python-Jinja2/files/drop_next_import_from_docs-jinjaext.patch @@ -0,0 +1,15 @@ +Description: drop next import from docs/jinjaext.py + next is not available in jinja2/utils.py and all Python versions supported by + Jessie already support this function, no need for backwards compatible wrapper +Author: Piotr Ożarowski +--- jinja2-2.7.orig/docs/jinjaext.py ++++ jinja2-2.7/docs/jinjaext.py +@@ -23,7 +23,7 @@ from pygments.style import Style + from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic + from jinja2 import Environment, FileSystemLoader +-from jinja2.utils import next ++#from jinja2.utils import next + + + def parse_rst(state, content_offset, doc): diff --git a/programming/language/python/python-Jinja2/pspec.xml b/programming/language/python/python-Jinja2/pspec.xml new file mode 100644 index 0000000000..38e5a07f5b --- /dev/null +++ b/programming/language/python/python-Jinja2/pspec.xml @@ -0,0 +1,65 @@ + + + + + python-Jinja2 + http://jinja.pocoo.org/2/ + + PisiLinux Community + admins@pisilinux.org + + as-is + app:console + A small but fast and easy to use stand-alone template engine written in pure python + Jinja2 is the rewritten version of Jinja, sandboxed template engine written in pure Python. It provides a Django like non-XML syntax and compiles templates into executable python code. It's basically a combination of Django templates and python code. + https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.2.tar.gz + + + + python-setuptools + python-MarkupSafe + + + drop_next_import_from_docs-jinjaext.patch + + + + + python-Jinja2 + + /usr/lib/python* + /usr/share/doc/python-Jinja2/LICENSE + + + + + python-Jinja2-docs + + /usr/share/doc/python-Jinja2 + + + + + + 2014-02-27 + 2.7.2 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-11-09 + 2.7.1 + Version bump + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2012-10-29 + 2.6 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + \ No newline at end of file diff --git a/programming/language/python/python-Jinja2/translations.xml b/programming/language/python/python-Jinja2/translations.xml new file mode 100644 index 0000000000..e318cb96b6 --- /dev/null +++ b/programming/language/python/python-Jinja2/translations.xml @@ -0,0 +1,13 @@ + + + + python-Jinja2 + Küçük, hızlı ve kullanımı kolay, sadece python ile yazılmış bir bağımsız şablon üreteci + Jinja2, sadece python ile yazılmış bir şablon üreteci olan Jinja'nın yeniden yazılmış bir versiyonudur. Django benzeri XML-olmayan bir sözdizimi sağlar ve şablonları derleyip çalıştırılabilir python programları haline getirir. Temel olarak Django şablonları ve python kodunun birleşimi bir programdır. + + + + python-Jinja2-docs + python-Jinja2 için belgelendirme dosyaları + + From 26417da46e5a06526e05bcafc5590a4fc1fb41e1 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Mon, 27 Jul 2015 16:59:02 +0300 Subject: [PATCH 3/5] py-PyYAML:moved into main for pisi 2.0 --- .../language/python/python-PyYAML/actions.py | 19 +++++++ .../language/python/python-PyYAML/pspec.xml | 49 +++++++++++++++++++ .../python/python-PyYAML/translations.xml | 9 ++++ 3 files changed, 77 insertions(+) create mode 100644 programming/language/python/python-PyYAML/actions.py create mode 100644 programming/language/python/python-PyYAML/pspec.xml create mode 100644 programming/language/python/python-PyYAML/translations.xml diff --git a/programming/language/python/python-PyYAML/actions.py b/programming/language/python/python-PyYAML/actions.py new file mode 100644 index 0000000000..c6d236f88b --- /dev/null +++ b/programming/language/python/python-PyYAML/actions.py @@ -0,0 +1,19 @@ +#!/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 = "PyYAML-%s" % get.srcVERSION() + +def build(): + pythonmodules.compile() + +def install(): + pythonmodules.install() + + pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples") diff --git a/programming/language/python/python-PyYAML/pspec.xml b/programming/language/python/python-PyYAML/pspec.xml new file mode 100644 index 0000000000..85801b5723 --- /dev/null +++ b/programming/language/python/python-PyYAML/pspec.xml @@ -0,0 +1,49 @@ + + + + + python-PyYAML + http://pyyaml.org/wiki/PyYAML + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + The next generation YAML parser and emitter for Python + python-pyyaml is the next generation YAML parser and emitter for Python. + http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz + + libyaml-devel + python-devel + + + + + python-PyYAML + + libyaml + + + /usr/lib + /usr/share/doc + + + + + + 2015-07-27 + 3.11 + version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2011-06-04 + 3.10 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/language/python/python-PyYAML/translations.xml b/programming/language/python/python-PyYAML/translations.xml new file mode 100644 index 0000000000..4027a090a3 --- /dev/null +++ b/programming/language/python/python-PyYAML/translations.xml @@ -0,0 +1,9 @@ + + + + python-pyyaml + Python için yeni nesil YAML ayrıştırıcısı + python-pyyaml python için yeni nesil YAML ayrıştırıcısıdır. + + + From 2e57e119156bc69ab6320004683cefaf1eb1d16f Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Mon, 27 Jul 2015 16:59:26 +0300 Subject: [PATCH 4/5] py-sphinx:moved into main for pisi 2.0 --- .../language/python/python-sphinx/actions.py | 28 ++++++++ .../python-sphinx/files/remove_docutils.patch | 12 ++++ .../language/python/python-sphinx/pspec.xml | 71 +++++++++++++++++++ .../python/python-sphinx/translations.xml | 13 ++++ 4 files changed, 124 insertions(+) create mode 100644 programming/language/python/python-sphinx/actions.py create mode 100644 programming/language/python/python-sphinx/files/remove_docutils.patch create mode 100644 programming/language/python/python-sphinx/pspec.xml create mode 100644 programming/language/python/python-sphinx/translations.xml 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ı + + From 1b755809c459c8d84703e095f0b20edaa48026c9 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Mon, 27 Jul 2015 17:00:10 +0300 Subject: [PATCH 5/5] kapidox:fixed build dep --- desktop/kde/framework/kapidox/pspec.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/kde/framework/kapidox/pspec.xml b/desktop/kde/framework/kapidox/pspec.xml index b02b66f47e..ce7450cd39 100755 --- a/desktop/kde/framework/kapidox/pspec.xml +++ b/desktop/kde/framework/kapidox/pspec.xml @@ -17,6 +17,7 @@ python-Jinja2 python-PyYAML qt5-base-devel + cmake extra-cmake-modules @@ -48,6 +49,6 @@ First Release Stefan Gronewold(groni) groni@pisilinux.org - +