# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="4" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.*" inherit eutils distutils if [[ ${PV} == "9999" ]] ; then inherit git-2 EGIT_REPO_URI="git://github.com/alex/${PN}.git" SRC_URI="" else SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" fi DESCRIPTION="Tagging framework for Django" HOMEPAGE="http://${PN}.readthedocs.org/en/latest/" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="test" DEPEND="dev-python/django" RDEPEND="dev-python/setuptools ${DEPEND}" src_unpack() { if [[ ${PV} == "9999" ]] ; then git-2_src_unpack else unpack ${A} fi cd "${S}" }