python3-*:First release

This commit is contained in:
Rmys
2019-01-29 13:56:34 +03:00
parent 87bef02972
commit 4d73e9872c
25 changed files with 909 additions and 2 deletions
@@ -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(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
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*", "README*")
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-Jinja2</Name>
<Homepage>https://jinja.pocoo.org/2/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>app:console</IsA>
<Summary>A small but fast and easy to use stand-alone template engine written in pure python</Summary>
<Description>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.</Description>
<Archive sha1sum="34b69e5caab12ee37b9df69df9018776c008b7b8" type="targz">https://pypi.python.org/packages/56/e6/332789f295cf22308386cf5bbd1f4e00ed11484299c5d7383378cf48ba47/Jinja2-2.10.tar.gz</Archive>
<BuildDependencies>
<!-- For creating documentations-->
<!--<Dependency>python3-sphinx</Dependency>-->
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-MarkupSafe</Dependency>
</BuildDependencies>
<Patches>
</Patches>
</Source>
<Package>
<Name>python3-Jinja2</Name>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-Jinja2/LICENSE</Path>
</Files>
</Package>
<Package>
<Name>python3-Jinja2-docs</Name>
<Files>
<Path fileType="doc">/usr/share/doc/python3-Jinja2</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-01-28</Date>
<Version>2.10</Version>
<Comment>First release.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-Jinja2</Name>
<Summary xml:lang="tr">Küçük, hızlı ve kullanımı kolay, sadece python ile yazılmış bir bağımsız şablon üreteci</Summary>
<Description xml:lang="tr">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.</Description>
</Source>
<Package>
<Name>python-Jinja2-docs</Name>
<Summary xml:lang="tr">python3-Jinja2 için belgelendirme dosyaları</Summary>
</Package>
</PISI>