summaryrefslogtreecommitdiff
blob: c305a1ec9c3b9d79523d77cb334ab83b923d2ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 versionator

DESCRIPTION="A collection of useful extensions for Django"
HOMEPAGE="https://github.com/djblets/djblets"
SRC_URI="http://downloads.reviewboard.org/releases/${PN}/$(get_version_component_range 1-2)/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-python/django-1.4.13[${PYTHON_USEDEP}]
		=dev-python/django-1.4*[${PYTHON_USEDEP}]
		virtual/python-imaging[${PYTHON_USEDEP}]
		>=dev-python/django-pipeline-1.2.24[${PYTHON_USEDEP}]
		>=dev-python/feedparser-5.1.2[${PYTHON_USEDEP}]
		dev-python/pytz[${PYTHON_USEDEP}]
		dev-python/django-evolution[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

python_prepare_all() {
	# use pillow, not PIL
	sed -e 's/PIL/pillow/' -i setup.py Djblets.egg-info/requires.txt || die
	distutils-r1_python_prepare_all
}