1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="3.*"
11 inherit distutils python versionator
14 MY_PV=$(replace_version_separator '_' '') # only needed for beta release
15 MY_P=${MY_PN}-${MY_PV}
17 DESCRIPTION="A web-based tool for tracking of pending code changes to help code reviews"
18 HOMEPAGE="http://www.reviewboard.org/"
19 SRC_URI="http://downloads.${PN}.org/releases/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
23 KEYWORDS="~amd64 ~x86"
26 RDEPEND="dev-python/django-evolution
33 dev-python/recaptcha-client
34 || ( dev-python/django[sqlite] dev-python/django[mysql] dev-python/django[postgres] )
35 || ( ( www-apache/mod_python www-servers/apache ) virtual/httpd-fastcgi )"
40 distutils_pkg_postinst
41 elog "You must install any VCS tool you wish ${PN} to support."
42 elog "dev-util/cvs, dev-vcs/git, dev-vcs/mercurial or dev-util/subversion."
44 elog "Enable the mysql, postgres or sqlite USEflag on dev-python/django"
45 elog "to use the corresponding database backend."
47 elog "For speed and responsiveness, consider installing net-misc/memcached"
48 elog "and dev-python/python-memcached"