python-pyzmq:zeromq python binding moved from contrib
This commit is contained in:
@@ -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 %s" % get.CFLAGS())
|
||||||
|
# fix unused dependency analysis
|
||||||
|
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
|
||||||
|
pythonmodules.compile()
|
||||||
|
|
||||||
|
#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()
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python-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.python</PartOf>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>PyZMQ: Python 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>python-setuptools</Dependency>
|
||||||
|
<Dependency>zeromq-devel</Dependency>
|
||||||
|
<Dependency>python-devel</Dependency>
|
||||||
|
<Dependency>cython</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python-pyzmq</Name>
|
||||||
|
<Summary>PyZMQ: Python bindings for zeromq</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>zeromq</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/python2*</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/python-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>python-pyzmq</Name>
|
||||||
|
<Summary xml:lang="tr">PyZMQ: ZeroMQ için Python bağlayıcıları</Summary>
|
||||||
|
<Description xml:lang="tr">python-pyzmq, ZeroMQ için Python bağlayıcıları içerir.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user