diff options
Diffstat (limited to 'dev-python/pylibpcap/pylibpcap-0.6.4-r1.ebuild')
-rw-r--r-- | dev-python/pylibpcap/pylibpcap-0.6.4-r1.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/pylibpcap/pylibpcap-0.6.4-r1.ebuild b/dev-python/pylibpcap/pylibpcap-0.6.4-r1.ebuild new file mode 100644 index 00000000000..9c21a59e32e --- /dev/null +++ b/dev-python/pylibpcap/pylibpcap-0.6.4-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to libpcap" +HOMEPAGE="http://sourceforge.net/projects/pylibpcap/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~x86" +IUSE="examples" + +RDEPEND="net-libs/libpcap" +DEPEND="${RDEPEND}" + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |