From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 272261382C5 for ; Tue, 1 May 2018 13:12:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45611E0929; Tue, 1 May 2018 13:12:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C941E0929 for ; Tue, 1 May 2018 13:12:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 50E03335C87 for ; Tue, 1 May 2018 13:12:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97ADC281 for ; Tue, 1 May 2018 13:11:58 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1525180298.7b439d141d32f40b0cccdb8832093104ba3044ef.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypcap/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypcap/Manifest dev-python/pypcap/pypcap-1.2.1.ebuild X-VCS-Directories: dev-python/pypcap/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 7b439d141d32f40b0cccdb8832093104ba3044ef X-VCS-Branch: master Date: Tue, 1 May 2018 13:11:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: feebaf02-125a-4c04-a3ef-6554b7a9d32f X-Archives-Hash: c22a351ee3e092ddca5f7d3df01750db commit: 7b439d141d32f40b0cccdb8832093104ba3044ef Author: Jeroen Roovers gentoo org> AuthorDate: Tue May 1 13:11:38 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue May 1 13:11:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b439d14 dev-python/pypcap: Version 1.2.1. Package-Manager: Portage-2.3.31, Repoman-2.3.9 dev-python/pypcap/Manifest | 1 + dev-python/pypcap/pypcap-1.2.1.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest index 63e6b6525ec..20fc03dc3a3 100644 --- a/dev-python/pypcap/Manifest +++ b/dev-python/pypcap/Manifest @@ -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 diff --git a/dev-python/pypcap/pypcap-1.2.1.ebuild b/dev-python/pypcap/pypcap-1.2.1.ebuild new file mode 100644 index 00000000000..f0425cdf8a9 --- /dev/null +++ b/dev-python/pypcap/pypcap-1.2.1.ebuild @@ -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 +}