| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI="5" |
| |
| PYTHON_COMPAT=( python2_7 ) |
| |
| inherit python-single-r1 |
| |
| DESCRIPTION="threaded compressor logic for zlib/lzma" |
| HOMEPAGE="https://code.google.com/p/threadzip/" |
| SRC_URI="https://threadzip.googlecode.com/files/${P}.tar.gz" |
| |
| LICENSE="GPL-3" |
| SLOT="0" |
| KEYWORDS="~amd64 ~x86" |
| IUSE="lzma" |
| |
| DEPEND="" |
| RDEPEND="lzma? ( dev-python/pylzma[${PYTHON_USEDEP}] )" |
| |
| src_install() { |
| local x |
| for x in un '' ; do |
| newbin python/thread${x}zip.py thread${x}zip |
| done |
| python_fix_shebang "${ED}"/usr/bin |
| } |