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,24 @@
#!/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 pisitools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir="%s-%s" % (get.srcNAME().split("-")[1], get.srcVERSION())
def build():
shelltools.system('sed -i "s:pygmentize:&3:g" setup.py')
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
#pisitools.dohtml("docs/build/*")
#pisitools.insinto("/usr/share/doc/%s/src/" % get.srcNAME(),"docs/src/*")
pisitools.insinto("/usr/share/man", "doc/pygmentize.1", "pygmentize3.1")
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-Pygments</Name>
<Homepage>https://pygments.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>A syntax highlighting package written in Python</Summary>
<Description>python-Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code.</Description>
<Archive sha1sum="5c6714bd6fd950c1478889f7b72fc7f6771d5163" type="targz">https://pypi.python.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-Pygments</Name>
<RuntimeDependencies>
<Dependency>python3-setuptools</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>python3-Pygments-docs</Name>
<Summary>Documentation files for python3-Pygments</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/python3-Pygments</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-01-27</Date>
<Version>2.2.0</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-Pygments</Name>
<Summary xml:lang="tr">Python dilinde yazılmış bir sözdizimi belirtme aracı</Summary>
<Description xml:lang="tr">python3-Pygments, kaynak kodunu güzelleştirmek ihtiyacı duyulan forum sistemleri, wikiler ve diğer uygulamalar gibi her çeşit yazılımda kullanılmak için yazılmış olan genel bir sözdizimi belirtme aracıdır.</Description>
</Source>
<Package>
<Name>python-Pygments-docs</Name>
<Summary xml:lang="tr">python3-Pygments için belgelendirme dosyaları</Summary>
</Package>
</PISI>