python3-pyzmq:zeromq python3 binding moved from contrib

This commit is contained in:
blue-devil
2020-01-19 17:38:16 +03:00
parent 862567917a
commit dd414f505a
3 changed files with 82 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
shelltools.export("CFLAGS", "-Wno-implicit-function-declaration -Wno-unused-but-set-variable -Wno-nonnull -Wno-tautological-compare -Wno-deprecated-declarations %s" % get.CFLAGS())
# fix unused dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
pythonmodules.compile(pyVer="3")
#pythonmodules.run("setup.py build_sphinx")
#def check():
# pythonmodules.compile("test")
def install():
# suppress compiler warnings
pisitools.cflags.add("-Wno-implicit-function-declaration")
pythonmodules.install(pyVer="3")
@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-pyzmq</Name>
<Homepage>https://github.com/zeromq/pyzmq/</Homepage>
<Packager>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<License>BSD</License>
<PartOf>programming.language.python3</PartOf>
<IsA>library</IsA>
<Summary>PyZMQ: Python3 bindings for zeromq</Summary>
<Description>This package contains Python bindings for ØMQ. ØMQ is a lightweight and fast messaging implementation.</Description>
<Archive sha1sum="d88bf269fed045e05473c7c32dddb861f473f33d" type="targz">https://github.com/zeromq/pyzmq/archive/v18.1.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>zeromq-devel</Dependency>
<Dependency>cython3</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-pyzmq</Name>
<Summary>PyZMQ: Python3 bindings for zeromq</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency>zeromq</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc/python3-pyzmq</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-12-31</Date>
<Version>18.1.1</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-pyzmq</Name>
<Summary xml:lang="tr">PyZMQ: ZeroMQ için Python3 bağlayıcıları</Summary>
<Description xml:lang="tr">python3-pyzmq, ZeroMQ için Python3 bağlayıcıları içerir.</Description>
</Source>
</PISI>