# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pypacker/pypacker-1.3.ebuild,v 1.0 2013/01/02 01:01:01 arfrever Exp $ EAPI="3" PYTHON_DEPEND="3" SUPPORT_PYTHON_ABIS=1 RESTRICT_PYTHON_ABIS="2.*" inherit distutils eutils vcs-snapshot DESCRIPTION="Fast and simple packet creating / parsing supporting various protocols." HOMEPAGE="https://github.com/mike01/pypacker" SRC_URI="https://github.com/mike01/${PN}/tarball/v${PV} -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 arm x86" IUSE="examples" DEPEND="" RDEPEND="" DOCS="AUTHORS CHANGES HACKING README" #src_compile() { # distutils_src_compile #} src_test() { testing() { PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/test_pypacker.py } python_execute_function testing } src_install() { distutils_src_install if use examples; then insinto /usr/share/doc/${PF} doins -r examples fi }