# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 SUPPORT_MULTIPLE_ABIS=1 PYTHON_COMPAT=( python{2_7,3_2} ) inherit distutils-r1 MY_PV="0.1-5" S="${WORKDIR}/python-librsync-${MY_PV}" DESCRIPTION="Python ctypes wrapper for librsync" HOMEPAGE="https://github.com/smartfile/python-librsync/" SRC_URI="mirror://pypi/p/${PN:0:1}/${PN}-${MY_PV}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="net-libs/librsync" src_test() { testing() { PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py } python_execute_function testing }