dpkt: fork and bump v1.8.7, upstream #580580

This commit is contained in:
blshkv 2016-04-21 15:59:06 +08:00
parent e719323dfa
commit aa03abc7bd
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 36 additions and 0 deletions

1
dev-python/dpkt/Manifest Normal file
View file

@ -0,0 +1 @@
DIST dpkt-1.8.7.tar.gz 113902 SHA256 132e227f017e5681ce262ac02b45f2ebd6a0653450aa1009620df603dd119c04 SHA512 0de4cdb7b81fc6daf0f5478de23b9757599be759f7add2ae09620bb980882b46e64a0dd267124a8434a9cf6d62107a7ac5818d29343c325ac907337b9a65fc67 WHIRLPOOL 7305a5a4691a2e1b2febd941f2ef6e4bb1ed7894139eb518ac4be7322e9545f435e5b948c3f277810606679a8177a3ce204c2025007eb23b639519e984383506

View file

@ -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
}