From aa03abc7bd66029b7994c711d958ddebe089ae4f Mon Sep 17 00:00:00 2001 From: blshkv Date: Thu, 21 Apr 2016 15:59:06 +0800 Subject: [PATCH] dpkt: fork and bump v1.8.7, upstream #580580 --- dev-python/dpkt/Manifest | 1 + dev-python/dpkt/dpkt-1.8.7.ebuild | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 dev-python/dpkt/Manifest create mode 100644 dev-python/dpkt/dpkt-1.8.7.ebuild diff --git a/dev-python/dpkt/Manifest b/dev-python/dpkt/Manifest new file mode 100644 index 000000000..3dcb2de0f --- /dev/null +++ b/dev-python/dpkt/Manifest @@ -0,0 +1 @@ +DIST dpkt-1.8.7.tar.gz 113902 SHA256 132e227f017e5681ce262ac02b45f2ebd6a0653450aa1009620df603dd119c04 SHA512 0de4cdb7b81fc6daf0f5478de23b9757599be759f7add2ae09620bb980882b46e64a0dd267124a8434a9cf6d62107a7ac5818d29343c325ac907337b9a65fc67 WHIRLPOOL 7305a5a4691a2e1b2febd941f2ef6e4bb1ed7894139eb518ac4be7322e9545f435e5b948c3f277810606679a8177a3ce204c2025007eb23b639519e984383506 diff --git a/dev-python/dpkt/dpkt-1.8.7.ebuild b/dev-python/dpkt/dpkt-1.8.7.ebuild new file mode 100644 index 000000000..47b177364 --- /dev/null +++ b/dev-python/dpkt/dpkt-1.8.7.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols" +HOMEPAGE="https://github.com/kbandla/dpkt" +SRC_URI="https://github.com/kbandla/dpkt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="examples" + +DEPEND="" +RDEPEND="" + +DOCS=( AUTHORS CHANGES ) + +python_test() { + "${PYTHON}" tests/test-perf2.py || die +} + +src_install() { + distutils-r1_src_install + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +}