dev-python/pypcap: Version 1.2.1.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
Jeroen Roovers
2018-05-01 15:11:38 +02:00
parent 163cda61b4
commit 7b439d141d
2 changed files with 31 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pypcap-1.2.0.tar.gz 134873 BLAKE2B ac9b64077fb6f400a7b06aebb4169dcda6465e8fae2e56451cb9cc74d49a20f7294dea3bb876dfe895ee8181187cb7e3de78cdecf628d738cea1916c542fb2ce SHA512 8046bd314a6cad4aaa0ad2b17aad36011dc234656d9f314644440d7f9a3152ec578e9d58b20c29332f0c59159e019ee967fedb06108e535c9486ab9119b80c99
DIST pypcap-1.2.1.tar.gz 141506 BLAKE2B 66fb9e96f0e7741b4c1b22a54b2d42a952742315b3e054680ca03b7e4f3761331f62b96eee759a4c2419c256cc2e909e040046522c43ed80cc31d19bb98927ab SHA512 987ae06b8aa53047c31bb316d5301a03ab86fe7882394b07cbfd22da78a2f515706485f39b07c0073c549159616605fe2b03ace33e2067c7cdaa4ba9c4f33ae6

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
inherit distutils-r1
DESCRIPTION="Simplified object-oriented Python extension module for libpcap"
HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.org/project/pypcap/"
SRC_URI="https://github.com/pynetwork/pypcap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
RDEPEND="
net-libs/libpcap
"
DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.6-mktemp.patch
)
python_compile() {
local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
distutils-r1_python_compile
}