1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT="python2_6 python2_7"
9 inherit eutils python-distutils-ng
11 DESCRIPTION="A fairly simple module, it provide only raw yEnc encoding/decoding"
12 HOMEPAGE="http://www.golug.it/yenc.html"
13 SRC_URI="http://www.golug.it/pub/${PN}/${P}.tar.gz"
21 # Remove forced CFLAG on setup.py
22 epatch "${FILESDIR}/${PN}-remove-cflags.patch"
26 PYTHONPATH="$(ls -d build/lib.*)" \
27 "${PYTHON}" test/test.py || die "Test failed."
31 python-distutils-ng_src_install
33 dodoc doc/${PN}-draft.1.3.txt