python3-pypcap:moved from contrib
This commit is contained in:
@@ -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 get
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pythonmodules
|
||||
|
||||
def build():
|
||||
# suppress compiler warnings
|
||||
shelltools.export("CFLAGS", "%s -fno-strict-aliasing -Wno-unused-function -Wno-implicit-function-declaration -Wno-deprecated-declarations" % get.CFLAGS())
|
||||
# fix unused direct 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", pyVer="3")
|
||||
|
||||
def check():
|
||||
pythonmodules.compile("test", pyVer="3")
|
||||
|
||||
def install():
|
||||
pythonmodules.install(pyVer="3")
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python3-pypcap</Name>
|
||||
<Homepage>https://github.com/pynetwork/pypcap</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.language.python3</PartOf>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python3 pcap module</Summary>
|
||||
<Description>This is a simplified object-oriented Python wrapper for libpcap - the current tcpdump.org version, and the WinPcap port for Windows.</Description>
|
||||
<Archive sha1sum="4be296c8612eb910cf573670d08a2ebe0a485389" type="targz">https://pypi.org/packages/source/p/pypcap/pypcap-1.2.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libpcap-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<!-- documentation files-->
|
||||
<!--<Dependency>python3-mock</Dependency>-->
|
||||
<!--<Dependency>python3-sphinx</Dependency>-->
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python3-pypcap</Name>
|
||||
<Summary>Python3 pcap module</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libpcap</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3*</Path>
|
||||
<Path fileType="doc">/usr/share/doc/python3-pypcap</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2019-12-13</Date>
|
||||
<Version>1.2.3</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-pypcap</Name>
|
||||
<Summary xml:lang="tr">Python3 pcap modülü</Summary>
|
||||
<Description xml:lang="tr">python3-pypcap, python3 için basitleştirilmiş, nesne tabanlı bir sarmalayıcı modüldür.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user