diff --git a/programming/language/python3/python3-pypcap/actions.py b/programming/language/python3/python3-pypcap/actions.py new file mode 100644 index 0000000000..4a8a0cfe52 --- /dev/null +++ b/programming/language/python3/python3-pypcap/actions.py @@ -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") \ No newline at end of file diff --git a/programming/language/python3/python3-pypcap/pspec.xml b/programming/language/python3/python3-pypcap/pspec.xml new file mode 100644 index 0000000000..fb9190a513 --- /dev/null +++ b/programming/language/python3/python3-pypcap/pspec.xml @@ -0,0 +1,49 @@ + + + + + python3-pypcap + https://github.com/pynetwork/pypcap + + Blue DeviL + bluedevil@sctzine.com + + programming.language.python3 + BSD + library + Python3 pcap module + This is a simplified object-oriented Python wrapper for libpcap - the current tcpdump.org version, and the WinPcap port for Windows. + https://pypi.org/packages/source/p/pypcap/pypcap-1.2.3.tar.gz + + libpcap-devel + python3-devel + python3-setuptools + + + + + + + + python3-pypcap + Python3 pcap module + + libpcap + python3 + + + /usr/lib/python3* + /usr/share/doc/python3-pypcap + + + + + + 2019-12-13 + 1.2.3 + First pisi release + Blue DeviL + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/language/python3/python3-pypcap/translations.xml b/programming/language/python3/python3-pypcap/translations.xml new file mode 100644 index 0000000000..e760bfb97a --- /dev/null +++ b/programming/language/python3/python3-pypcap/translations.xml @@ -0,0 +1,8 @@ + + + + python3-pypcap + Python3 pcap modülü + python3-pypcap, python3 için basitleştirilmiş, nesne tabanlı bir sarmalayıcı modüldür. + + \ No newline at end of file