python3-cffi:moved from contrib

This commit is contained in:
blue-devil
2020-02-22 02:20:31 +03:00
parent dc01f45805
commit c3ffb12007
3 changed files with 95 additions and 0 deletions
@@ -0,0 +1,27 @@
#!/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():
# suppress compiler warnings
pisitools.cflags.add("-Wno-deprecated-declarations")
# fix unused dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared")
pythonmodules.compile(pyVer="3")
#def check():
# pythonmodules.run("-m pytest c/ testing/", pyVer="3")
def install():
pythonmodules.install(pyVer="3")
for dirs in ["demo"]:
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-cffi</Name>
<Homepage>https://cffi.readthedocs.io/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>MIT</License>
<IsA>library</IsA>
<Summary>Foreign Function Interface for Python calling C code</Summary>
<Description>Foreign Function Interface for Python calling C code</Description>
<Archive sha1sum="e4f62a0dac09e94bb98c3a78b061a8c7da8c1721" type="targz">https://bitbucket.org/cffi/cffi/get/v1.14.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>libffi-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-cffi</Name>
<Summary>Foreign Function Interface for Python calling C code</Summary>
<RuntimeDependencies>
<Dependency>python3-six</Dependency>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-cffi</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2020-02-08</Date>
<Version>1.14.0</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="2">
<Date>2019-12-11</Date>
<Version>1.13.2</Version>
<Comment>Rebuilt and split packages</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="1">
<Date>2019-11-07</Date>
<Version>1.13.2</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-cffi</Name>
<Summary xml:lang="tr">Python3 için C kodu çağıran dış fonksiyon arayüzü.</Summary>
<Description xml:lang="tr">python3-cffi, python3 için C kodu çağıran dış fonksiyon arayüzü sunar.</Description>
</Source>
</PISI>