# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )

inherit distutils-r1

DESCRIPTION="django CMS plugins with common utilities"
HOMEPAGE="https://pypi.python.org/pypi/aldryn-common"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"

RDEPEND="
	dev-python/aldryn-boilerplates
	dev-python/six
	>=dev-python/django-sortedm2m-1.2.2
"

DEPEND="
	${RDEPEND}
	dev-python/setuptools
"

src_prepare() {
	epatch "${FILESDIR}/exclude_tests.patch"
}