# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="4" PYTHON_DEPEND="3:3.3" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="2.* 3.[012]" inherit eutils distutils if [[ ${PV} == "9999" ]] ; then inherit git-2 EGIT_BRANCH="master" EGIT_REPO_URI="git://tremily.us/${PN}.git" SRC_URI="" else SRC_URI="http://git.tremily.us/?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz" fi DESCRIPTION="Python module and tools for communicating in the Assuan protocol." HOMEPAGE="http://blog.tremily.us/posts/${PN}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc test" RDEPEND="" DEPEND="${RDEPEND} test? ( dev-python/nose )" src_unpack() { if [[ ${PV} == "9999" ]] ; then git-2_src_unpack else unpack ${A} fi cd "${S}" } src_install() { distutils_src_install dodoc README }