summaryrefslogtreecommitdiff
blob: 5e9c1df97df3a1b1078da373d9b60beea1497f10 (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
# $Header: /var/cvsroot/gentoo-x86/dev-python/Djblets/Djblets-0.7.31.ebuild,v 1.1 2014/09/21 08:23:51 idella4 Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 versionator

DESCRIPTION="A collection of useful extensions for Django"
HOMEPAGE="http://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
}