python3-pycparser:moved from contrib

This commit is contained in:
blue-devil
2020-02-22 02:32:30 +03:00
parent 783066c66d
commit a6655f8bcf
3 changed files with 74 additions and 0 deletions
@@ -0,0 +1,22 @@
#!/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 shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
pythonmodules.compile(pyVer="3")
def check():
pythonmodules.run("tests/all_tests.py", pyVer="3")
def install():
pythonmodules.install(pyVer="3")
for dirs in ["examples"]:
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)
@@ -0,0 +1,44 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-pycparser</Name>
<Homepage>https://github.com/eliben/pycparser</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Complete C99 parser in pure Python</Summary>
<Description>pycparser is a parser for the C language, written in pure Python. It is a module designed to be easily integrated into applications that need to parse C source code.</Description>
<Archive sha1sum="141582eb2a5ad9fee9bb7646cecb024f0406be8a" type="targz">https://github.com/eliben/pycparser/archive/release_v2.19.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-pycparser</Name>
<Summary>Complete C99 parser in pure Python</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-pycparser</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-11-07</Date>
<Version>2.19</Version>
<Comment>First pisi release</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-pycparser</Name>
<Summary xml:lang="tr">Python ile yazılmış C99 cözümleyicisi.</Summary>
<Description xml:lang="tr">pycparser, C kaynak kodunu çözümlemesi gereken uygulamalara kolaylıkla bütünleşebilen bir python modülüdür.</Description>
</Source>
</PISI>