1 |
idella4 13/08/01 14:05:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: reviewboard-1.7.12.ebuild |
5 |
Log: |
6 |
bump, fixes Bug #478470 |
7 |
|
8 |
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-util/reviewboard/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/reviewboard/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/reviewboard/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/reviewboard/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/reviewboard/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 8 Jul 2013 21:01:02 -0000 1.3 |
24 |
+++ ChangeLog 1 Aug 2013 14:05:10 -0000 1.4 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-util/reviewboard |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/reviewboard/ChangeLog,v 1.3 2013/07/08 21:01:02 floppym Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/reviewboard/ChangeLog,v 1.4 2013/08/01 14:05:10 idella4 Exp $ |
30 |
+ |
31 |
+*reviewboard-1.7.12 (01 Aug 2013) |
32 |
+ |
33 |
+ 01 Aug 2013; Ian Delaney <idella4@g.o> +reviewboard-1.7.12.ebuild: |
34 |
+ bump, fixes Bug #478470 |
35 |
|
36 |
08 Jul 2013; Mike Gilbert <floppym@g.o> metadata.xml: |
37 |
Drop python herd, add idella4 and kensington as maintainers. |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/reviewboard/reviewboard-1.7.12.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/reviewboard/reviewboard-1.7.12.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/reviewboard/reviewboard-1.7.12.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: reviewboard-1.7.12.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/reviewboard/reviewboard-1.7.12.ebuild,v 1.1 2013/08/01 14:05:10 idella4 Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
54 |
|
55 |
inherit distutils-r1 |
56 |
|
57 |
MY_PN="ReviewBoard" |
58 |
DESCRIPTION="A web-based code review tool that offers developers an easy way to handle code reviews" |
59 |
HOMEPAGE="http://www.reviewboard.org/" |
60 |
SRC_URI="http://downloads.reviewboard.org/releases/${MY_PN}/1.7/${MY_PN}-${PV}.tar.gz" |
61 |
KEYWORDS="~amd64 ~x86" |
62 |
IUSE="codebase doc manual rnotes test" |
63 |
|
64 |
LICENSE="MIT" |
65 |
SLOT="0" |
66 |
S=${WORKDIR}/${MY_PN}-${PV} |
67 |
|
68 |
RDEPEND=">=dev-python/django-1.4.3[${PYTHON_USEDEP}] |
69 |
<dev-python/django-1.5[${PYTHON_USEDEP}] |
70 |
>=dev-python/django-evolution-0.6.7[${PYTHON_USEDEP}] |
71 |
>=dev-python/django-pipeline-1.2.24[${PYTHON_USEDEP}] |
72 |
>=dev-python/Djblets-0.7.7[${PYTHON_USEDEP}] |
73 |
>=dev-python/pygments-1.5[${PYTHON_USEDEP}] |
74 |
dev-python/docutils[${PYTHON_USEDEP}] |
75 |
>=dev-python/markdown-2.2.1[${PYTHON_USEDEP}] |
76 |
>=dev-python/paramiko-1.7.6[${PYTHON_USEDEP}] |
77 |
>=dev-python/mimeparse-0.1.3[${PYTHON_USEDEP}] |
78 |
dev-python/python-dateutil[${PYTHON_USEDEP}] |
79 |
dev-python/python-memcached[${PYTHON_USEDEP}] |
80 |
dev-python/pytz[${PYTHON_USEDEP}] |
81 |
dev-python/recaptcha-client[${PYTHON_USEDEP}]" |
82 |
DEPEND="${RDEPEND} |
83 |
dev-python/setuptools[${PYTHON_USEDEP}] |
84 |
test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
85 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
86 |
|
87 |
REQUIRED_USE="doc? ( || ( codebase manual rnotes ) )" |
88 |
# Tests mostly access the inet and when run mostly fail |
89 |
RESTRICT=test |
90 |
|
91 |
PATCHES=( "${FILESDIR}"/docs.patch ) |
92 |
|
93 |
python_prepare_all() { |
94 |
# Higher versions do not support python-2.5, while reviewboard upstream |
95 |
# still does. We do not support python-2.5 for this package as it will |
96 |
# prevent downgrades for some of our dependencies. |
97 |
sed -i setup.py \ |
98 |
-e "s/python-dateutil==1.5/python-dateutil/" \ |
99 |
-e "s/django-pipeline>=1.2.24,<1.3/django-pipeline>=1.2.24/" || die |
100 |
|
101 |
distutils-r1_python_prepare_all |
102 |
} |
103 |
|
104 |
python_compile_all() { |
105 |
# See http://code.google.com/p/reviewboard/issues/ #3009 |
106 |
# until build of manual can find and use ROOT_URLCONF, only possible build path for manual |
107 |
# requires sacrificing the resources section, all of which call on ROOT_URLCONF |
108 |
local msg="Generating docs for" |
109 |
if use doc; then |
110 |
if use manual; then |
111 |
rm -rf docs/manual/webapi//2.0/resources/ || die |
112 |
einfo;einfo "$msg manual" |
113 |
DJANGO_SETTINGS_MODULE="django.conf" emake -C docs/manual html |
114 |
fi |
115 |
if use codebase; then |
116 |
pushd docs/codebase &> /dev/null |
117 |
ln -sf ../../contrib/internal/conf/settings_local.py . |
118 |
popd &> /dev/null |
119 |
einfo;einfo "$msg codebase" |
120 |
emake -C docs/codebase html |
121 |
fi |
122 |
|
123 |
if use rnotes; then |
124 |
einfo;einfo "$msg release notes" |
125 |
emake -C docs/releasenotes html |
126 |
fi |
127 |
fi |
128 |
} |
129 |
|
130 |
python_test() { |
131 |
pushd ${PN} > /dev/null |
132 |
ln -sf contrib/internal/conf/settings_local.py . |
133 |
"${PYTHON}" manage.py test || die |
134 |
} |
135 |
|
136 |
python_install_all() { |
137 |
if use doc; then |
138 |
if use manual; then |
139 |
insinto /usr/share/doc/${PF}/manual |
140 |
doins -r docs/manual/_build/html/ |
141 |
fi |
142 |
if use codebase; then |
143 |
insinto /usr/share/doc/${PF}/codebase |
144 |
doins -r docs/codebase/_build/html/ |
145 |
fi |
146 |
if use rnotes; then |
147 |
insinto /usr/share/doc/${PF}/release_notes |
148 |
doins -r docs/releasenotes/_build/html/ |
149 |
fi |
150 |
fi |
151 |
distutils-r1_python_install_all |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
elog "You must install any VCS tool you wish ${PN} to support." |
156 |
elog "dev-util/cvs, dev-vcs/git, dev-vcs/mercurial or dev-util/subversion." |
157 |
elog |
158 |
elog "Enable the mysql, postgres or sqlite USEflag on dev-python/django" |
159 |
elog "to use the corresponding database backend." |
160 |
elog |
161 |
elog "For speed and responsiveness, consider installing net-misc/memcached" |
162 |
elog "and dev-python/python-memcached" |
163 |
} |