blob: ae57588be74c58b41b5c03d1d0f525f2dc638764 (
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
|
# Copyright 1999-2012 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_PV=$(replace_version_separator '_' '') # only needed for beta release
MY_P=${MY_PN}-${MY_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
dev-python/Djblets
dev-python/flup
dev-python/imaging
dev-python/paramiko
dev-python/pygments
dev-python/pytz
dev-python/recaptcha-client
|| ( dev-python/django[sqlite] dev-python/django[mysql] dev-python/django[postgres] )
|| ( ( www-apache/mod_python 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."
elog
elog "For speed and responsiveness, consider installing net-misc/memcached"
elog "and dev-python/python-memcached"
}
|