1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_6 )
8 DESCRIPTION="Simplified object-oriented Python extension module for libpcap"
9 HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.org/project/pypcap/"
10 SRC_URI="https://github.com/pynetwork/pypcap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
21 dev-python/setuptools[${PYTHON_USEDEP}]
24 "${FILESDIR}"/${PN}-1.1.6-mktemp.patch
28 local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
29 distutils-r1_python_compile