1 # Copyright 1999-2012 Gentoo Foundation |
|
2 # Distributed under the terms of the GNU General Public License v2 |
|
3 # $Header: $ |
|
4 |
|
5 EAPI=5 |
|
6 |
|
7 PYTHON_COMPAT=( python2_6 python2_7 ) |
|
8 SUPPORT_PYTHON_ABIS="1" |
|
9 RESTRICT_PYTHON_ABIS="3.*" |
|
10 |
|
11 inherit distutils-r1 versionator |
|
12 |
|
13 MY_PN=ReviewBoard |
|
14 MY_PV=$(replace_version_separator '_' '') # only needed for beta release |
|
15 MY_P=${MY_PN}-${MY_PV} |
|
16 |
|
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" |
|
20 |
|
21 LICENSE="MIT" |
|
22 SLOT="0" |
|
23 KEYWORDS="~amd64 ~x86" |
|
24 IUSE="" |
|
25 |
|
26 RDEPEND="dev-python/django-evolution |
|
27 dev-python/flup |
|
28 dev-python/imaging |
|
29 >=dev-python/paramiko-1.9.0 |
|
30 >=dev-python/pygments-1.5 |
|
31 dev-python/pytz |
|
32 dev-python/recaptcha-client |
|
33 dev-python/docutils |
|
34 >=dev-python/pytz-2012h |
|
35 dev-python/python-memcached |
|
36 dev-python/python-dateutil:python-2 |
|
37 dev-python/feedparser |
|
38 =dev-python/django-pipeline-1.2.24 |
|
39 dev-python/django-extensions |
|
40 >=dev-python/Djblets-0.7.11 |
|
41 >=dev-python/markdown-2.2.1 |
|
42 >=dev-python/mimeparse-0.1.3 |
|
43 dev-python/jsmin |
|
44 || ( =dev-python/django-1.4.5[sqlite] |
|
45 =dev-python/django-1.4.5[mysql] |
|
46 =dev-python/django-1.4.5[postgres] ) |
|
47 || ( ( www-apache/mod_wsgi www-servers/apache ) virtual/httpd-fastcgi )" |
|
48 |
|
49 S=${WORKDIR}/${MY_P} |
|
50 |
|
51 pkg_postinst() { |
|
52 elog "You must install any VCS tool you wish ${PN} to support." |
|
53 elog "dev-util/cvs, dev-vcs/git, dev-vcs/mercurial or dev-util/subversion." |
|
54 elog |
|
55 elog "Enable the mysql, postgres or sqlite USEflag on dev-python/django" |
|
56 elog "to use the corresponding database backend." |
|
57 elog |
|
58 elog "For speed and responsiveness, consider installing net-misc/memcached" |
|
59 elog "and dev-python/python-memcached" |
|
60 elog "You should install dev-util/RBTools to get the post-review binary" |
|
61 } |
|