blob: c6b1a715608e4bf6dcef89a77e74dda55995f3dc (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils python versionator
MY_PN=ReviewBoard
MY_P=${MY_PN}-${PV}
DESCRIPTION="A web-based tool for tracking of pending code changes to help code reviews"
HOMEPAGE="http://www.reviewboard.org/"
SRC_URI="http://downloads.${PN}.org/releases/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-python/django-evolution-0.6.4
>=dev-python/Djblets-0.6.11
dev-python/flup
dev-python/imaging
dev-python/paramiko
dev-python/pygments
dev-python/python-memcached
dev-python/pytz
dev-python/recaptcha-client
|| ( ( dev-db/sqlite:3 dev-python/django[sqlite] )
( >=dev-db/mysql-5.0.31 dev-python/django[mysql] )
( dev-python/django[postgres] ) )
|| ( ( www-apache/mod_wsgi www-servers/apache ) virtual/httpd-fastcgi )"
S=${WORKDIR}/${MY_P}
pkg_postinst() {
distutils_pkg_postinst
elog "You must install any VCS tool you wish ${PN} to support."
elog "dev-util/cvs, dev-vcs/git, dev-vcs/mercurial or dev-util/subversion."
elog
elog "Enable the mysql, postgres or sqlite USEflag on dev-python/django"
elog "to use the corresponding database backend. The RB devs recommend that sqlite should"
elog "only be used for testing purposes."
elog
elog "For speed and responsiveness, consider installing net-misc/memcached"
elog "and dev-python/python-memcached"
}
|