Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/graaff:master commit in: dev-util/reviewboard/
Date: Fri, 04 Mar 2016 06:08:52
Message-Id: 1457071571.6b1c392d96de948d9614ed562a3e3ffdacb348b9.graaff@gentoo
1 commit: 6b1c392d96de948d9614ed562a3e3ffdacb348b9
2 Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
3 AuthorDate: Fri Mar 4 06:06:11 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 4 06:06:11 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=6b1c392d
7
8 cleanup
9
10 Package-Manager: portage-2.2.26
11 RepoMan-Options: --force
12
13 dev-util/reviewboard/Manifest | 2 -
14 dev-util/reviewboard/reviewboard-2.0.20.ebuild | 126 ------------------------
15 dev-util/reviewboard/reviewboard-2.5.1.1.ebuild | 126 ------------------------
16 3 files changed, 254 deletions(-)
17
18 diff --git a/dev-util/reviewboard/Manifest b/dev-util/reviewboard/Manifest
19 index 8cbef5a..14ca298 100644
20 --- a/dev-util/reviewboard/Manifest
21 +++ b/dev-util/reviewboard/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST ReviewBoard-2.0.20.tar.gz 8360873 SHA256 cb83d5aabcb2a685043cd2dd516b833e6f73d3777fcbd0402a3c347f8ac75196 SHA512 9a6f9e1bc3a59264f365b4ce057cb4961e8ead03cc11735e909e280109a5a30a9ec12d16eb2679e7b8e83abe92fc7caacfa82ca1d31ee487e54c6891880ed7aa WHIRLPOOL ead1ff1af5e0d6239822c498e8b87044a3fb93b5a7f8fe94588f0e2f8b9766f13f88dbfe7c4b25d482bc7618621105871c9d60f1193f32b6450b9cdf0a2f441e
24 -DIST ReviewBoard-2.5.1.1.tar.gz 12734864 SHA256 96cbef615fc654dbb4220257ecc49d6e569b183fe92c2150fcd676ac84f7a892 SHA512 920bf14817b442df973e493707668e39ede1365dc528a67811009e142ac325c5f89b0e176397b2ef6a68c2558c237258c09ec333a814c1c1a9f2e6a8b95b05cf WHIRLPOOL 0059a96e3dbe7ae59cda3b7d4034ecb21adc6b8911fdd211e54ce542ff2ec6d3e7bfc9cbfd694f10494ff55db012685c51bd634fb85e2e55d3987799b340a414
25 DIST ReviewBoard-2.5.2.tar.gz 12736246 SHA256 cdd8635a73cdfd3f8ee962a2c9bf2ccad2b117768d667e0e75fa839f7244913f SHA512 141d33fcfb1d6e45a7b19d692c044f857e484f10adad9bd18f5e9eb87ebb77c470d503851e9a7afe4deb778ed964190c06ae5b3571f16d4ce007caf1ef7479bc WHIRLPOOL 2d1635d265fbfed32ccd84c2a2858d1194f808970a4d889001ab8a5d802afdb8aa2f2ee216508aa5a99dbc98b65caae2acf23e7b044132e890296ee6764ba09e
26 DIST ReviewBoard-2.5.3.tar.gz 13034851 SHA256 3508c698fd1da0369e7b4379de43cbe8d1bb369b0cef373d77455d741eacbdd9 SHA512 b92a7d3c877eed815734308db681eba626d9523a0fd1f55abeb50cb29ffa67de6b7b69f224601dee81f92146e7351a775b95f174f5dd61ebfdab26a52559ef63 WHIRLPOOL b28650bbb7235dc12bb312a3286899f6b8155a63d1ec8e832dee3573ec86bfb3e483c91dba80667eacc4a2f37cc367dadbf3bf0711e54e14df57f2792be15ae9
27
28 diff --git a/dev-util/reviewboard/reviewboard-2.0.20.ebuild b/dev-util/reviewboard/reviewboard-2.0.20.ebuild
29 deleted file mode 100644
30 index 66ba44f..0000000
31 --- a/dev-util/reviewboard/reviewboard-2.0.20.ebuild
32 +++ /dev/null
33 @@ -1,126 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -PYTHON_COMPAT=( python2_7 )
40 -PYTHON_REQ_USE="sqlite"
41 -
42 -inherit distutils-r1
43 -
44 -MY_PN="ReviewBoard"
45 -DESCRIPTION="A web-based code review tool that offers developers an easy way to handle code reviews"
46 -HOMEPAGE="http://www.reviewboard.org/"
47 -SRC_URI="https://downloads.reviewboard.org/releases/${MY_PN}/2.0/${MY_PN}-${PV}.tar.gz"
48 -KEYWORDS="~amd64 ~x86"
49 -IUSE="codebase doc manual rnotes test"
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -S=${WORKDIR}/${MY_PN}-${PV}
54 -
55 -RDEPEND=">=dev-python/django-1.6.11.1[${PYTHON_USEDEP},sqlite]
56 - <dev-python/django-1.7[${PYTHON_USEDEP},sqlite]
57 - >=dev-python/django-evolution-0.7.5[${PYTHON_USEDEP}]
58 - <dev-python/django-evolution-0.8[${PYTHON_USEDEP}]
59 - >=dev-python/django-haystack-2.3.1[${PYTHON_USEDEP}]
60 - dev-python/django-multiselectfield[${PYTHON_USEDEP}]
61 - >=dev-python/Djblets-0.8.22[${PYTHON_USEDEP}]
62 - <dev-python/Djblets-0.9[${PYTHON_USEDEP}]
63 - >=dev-python/pygments-1.6[${PYTHON_USEDEP}]
64 - dev-python/docutils[${PYTHON_USEDEP}]
65 - >=dev-python/markdown-2.6.0[${PYTHON_USEDEP}]
66 - <dev-python/markdown-2.7[${PYTHON_USEDEP}]
67 - >=dev-python/paramiko-1.12[${PYTHON_USEDEP}]
68 - >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
69 - >=dev-python/mimeparse-0.1.3[${PYTHON_USEDEP}]
70 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
71 - dev-python/python-memcached[${PYTHON_USEDEP}]
72 - >=dev-python/pytz-2012h[${PYTHON_USEDEP}]
73 - dev-python/recaptcha-client[${PYTHON_USEDEP}]
74 - >=dev-python/whoosh-2.6[${PYTHON_USEDEP}]"
75 -DEPEND="${RDEPEND}
76 - dev-python/setuptools[${PYTHON_USEDEP}]
77 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
78 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
79 -
80 -REQUIRED_USE="doc? ( || ( codebase manual rnotes ) )"
81 -# Tests mostly access the inet and when run mostly fail
82 -RESTRICT=test
83 -
84 -python_prepare_all() {
85 - # Running uglify is a problem right now, so skip this step. Rather
86 - # have newer versions than compacted javascript.
87 - sed -e "s/'pipeline.compressors.uglifyjs.UglifyJSCompressor'/None/" -i reviewboard/settings.py || die
88 -
89 - # https://github.com/reviewboard/reviewboard/commit/b1b8867deb7cd857003d8abbf16e85897b0cb4bf
90 - # # The version bordering of python-dateutil is long out of date and wrong since end of March 2012!
91 - sed -e 's:==1.5:>=1.5:' -i setup.py || die
92 -
93 - # Use newer markdown version still available
94 - sed -i -e '/markdown/ s/2.4/2.6/g' setup.py || die
95 -
96 - distutils-r1_python_prepare_all
97 -}
98 -
99 -python_compile_all() {
100 - # See https://code.google.com/p/reviewboard/issues/ #3009
101 - # until build of manual can find and use ROOT_URLCONF, only possible build path for manual
102 - # requires sacrificing the resources section, all of which call on ROOT_URLCONF
103 - local msg="Generating docs for"
104 - if use doc; then
105 - if use manual; then
106 - rm -rf docs/manual/webapi//2.0/resources/ || die
107 - einfo;einfo "$msg manual"
108 - DJANGO_SETTINGS_MODULE="django.conf" emake -C docs/manual html
109 - fi
110 -
111 - if use codebase; then
112 - pushd docs/codebase &> /dev/null
113 - ln -sf ../../contrib/internal/conf/settings_local.py .
114 - popd &> /dev/null
115 - einfo;einfo "$msg codebase"
116 - emake -C docs/codebase html
117 - fi
118 -
119 - if use rnotes; then
120 - einfo;einfo "$msg release notes"
121 - emake -C docs/releasenotes html
122 - fi
123 - fi
124 -}
125 -
126 -python_test() {
127 - pushd ${PN} > /dev/null
128 - ln -sf contrib/internal/conf/settings_local.py .
129 - "${PYTHON}" manage.py test || die
130 -}
131 -
132 -python_install_all() {
133 - if use doc; then
134 - if use manual; then
135 - insinto /usr/share/doc/${PF}/manual
136 - doins -r docs/manual/_build/html/
137 - fi
138 - if use codebase; then
139 - insinto /usr/share/doc/${PF}/codebase
140 - doins -r docs/codebase/_build/html/
141 - fi
142 - if use rnotes; then
143 - insinto /usr/share/doc/${PF}/release_notes
144 - doins -r docs/releasenotes/_build/html/
145 - fi
146 - fi
147 - distutils-r1_python_install_all
148 -}
149 -
150 -pkg_postinst() {
151 - elog "You must install any VCS tool you wish ${PN} to support."
152 - elog "dev-util/cvs, dev-vcs/git, dev-vcs/mercurial or dev-util/subversion."
153 - elog
154 - elog "Enable the mysql, postgres or sqlite USEflag on dev-python/django"
155 - elog "to use the corresponding database backend."
156 - elog
157 - elog "For speed and responsiveness, consider installing net-misc/memcached"
158 - elog "and dev-python/python-memcached"
159 -}
160
161 diff --git a/dev-util/reviewboard/reviewboard-2.5.1.1.ebuild b/dev-util/reviewboard/reviewboard-2.5.1.1.ebuild
162 deleted file mode 100644
163 index c9e615a..0000000
164 --- a/dev-util/reviewboard/reviewboard-2.5.1.1.ebuild
165 +++ /dev/null
166 @@ -1,126 +0,0 @@
167 -# Copyright 1999-2015 Gentoo Foundation
168 -# Distributed under the terms of the GNU General Public License v2
169 -# $Id$
170 -
171 -EAPI=5
172 -PYTHON_COMPAT=( python2_7 )
173 -PYTHON_REQ_USE="sqlite"
174 -
175 -inherit distutils-r1
176 -
177 -MY_PN="ReviewBoard"
178 -DESCRIPTION="A web-based code review tool that offers developers an easy way to handle code reviews"
179 -HOMEPAGE="http://www.reviewboard.org/"
180 -SRC_URI="http://downloads.reviewboard.org/releases/${MY_PN}/2.5/${MY_PN}-${PV}.tar.gz"
181 -KEYWORDS="~amd64 ~x86"
182 -IUSE="codebase doc manual rnotes test"
183 -
184 -LICENSE="MIT"
185 -SLOT="0"
186 -S=${WORKDIR}/${MY_PN}-${PV}
187 -
188 -RDEPEND=">=dev-python/django-1.6.11.1[${PYTHON_USEDEP},sqlite]
189 - <dev-python/django-1.7[${PYTHON_USEDEP},sqlite]
190 - >=dev-python/django-evolution-0.7.5[${PYTHON_USEDEP}]
191 - <dev-python/django-evolution-0.8[${PYTHON_USEDEP}]
192 - >=dev-python/django-haystack-2.3.1[${PYTHON_USEDEP}]
193 - dev-python/django-multiselectfield[${PYTHON_USEDEP}]
194 - >=dev-python/Djblets-0.9[${PYTHON_USEDEP}]
195 - <dev-python/Djblets-0.10[${PYTHON_USEDEP}]
196 - >=dev-python/pygments-1.6[${PYTHON_USEDEP}]
197 - dev-python/docutils[${PYTHON_USEDEP}]
198 - >=dev-python/markdown-2.6.0[${PYTHON_USEDEP}]
199 - <dev-python/markdown-2.7[${PYTHON_USEDEP}]
200 - >=dev-python/paramiko-1.12[${PYTHON_USEDEP}]
201 - >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
202 - >=dev-python/mimeparse-0.1.3[${PYTHON_USEDEP}]
203 - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
204 - dev-python/python-memcached[${PYTHON_USEDEP}]
205 - >=dev-python/pytz-2012h[${PYTHON_USEDEP}]
206 - dev-python/recaptcha-client[${PYTHON_USEDEP}]
207 - >=dev-python/whoosh-2.6[${PYTHON_USEDEP}]"
208 -DEPEND="${RDEPEND}
209 - dev-python/setuptools[${PYTHON_USEDEP}]
210 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
211 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
212 -
213 -REQUIRED_USE="doc? ( || ( codebase manual rnotes ) )"
214 -# Tests mostly access the inet and when run mostly fail
215 -RESTRICT=test
216 -
217 -python_prepare_all() {
218 - # Running uglify is a problem right now, so skip this step. Rather
219 - # have newer versions than compacted javascript.
220 - sed -e "s/'pipeline.compressors.uglifyjs.UglifyJSCompressor'/None/" -i reviewboard/settings.py || die
221 -
222 - # https://github.com/reviewboard/reviewboard/commit/b1b8867deb7cd857003d8abbf16e85897b0cb4bf
223 - # # The version bordering of python-dateutil is long out of date and wrong since end of March 2012!
224 - sed -e 's:==1.5:>=1.5:' -i setup.py || die
225 -
226 - # Use newer markdown version still available
227 - sed -i -e '/markdown/ s/2.4/2.6/g' setup.py || die
228 -
229 - distutils-r1_python_prepare_all
230 -}
231 -
232 -python_compile_all() {
233 - # See https://code.google.com/p/reviewboard/issues/ #3009
234 - # until build of manual can find and use ROOT_URLCONF, only possible build path for manual
235 - # requires sacrificing the resources section, all of which call on ROOT_URLCONF
236 - local msg="Generating docs for"
237 - if use doc; then
238 - if use manual; then
239 - rm -rf docs/manual/webapi//2.0/resources/ || die
240 - einfo;einfo "$msg manual"
241 - DJANGO_SETTINGS_MODULE="django.conf" emake -C docs/manual html
242 - fi
243 -
244 - if use codebase; then
245 - pushd docs/codebase &> /dev/null
246 - ln -sf ../../contrib/internal/conf/settings_local.py .
247 - popd &> /dev/null
248 - einfo;einfo "$msg codebase"
249 - emake -C docs/codebase html
250 - fi
251 -
252 - if use rnotes; then
253 - einfo;einfo "$msg release notes"
254 - emake -C docs/releasenotes html
255 - fi
256 - fi
257 -}
258 -
259 -python_test() {
260 - pushd ${PN} > /dev/null
261 - ln -sf contrib/internal/conf/settings_local.py .
262 - "${PYTHON}" manage.py test || die
263 -}
264 -
265 -python_install_all() {
266 - if use doc; then
267 - if use manual; then
268 - insinto /usr/share/doc/${PF}/manual
269 - doins -r docs/manual/_build/html/
270 - fi
271 - if use codebase; then
272 - insinto /usr/share/doc/${PF}/codebase
273 - doins -r docs/codebase/_build/html/
274 - fi
275 - if use rnotes; then
276 - insinto /usr/share/doc/${PF}/release_notes
277 - doins -r docs/releasenotes/_build/html/
278 - fi
279 - fi
280 - distutils-r1_python_install_all
281 -}
282 -
283 -pkg_postinst() {
284 - elog "You must install any VCS tool you wish ${PN} to support."
285 - elog "dev-util/cvs, dev-vcs/git, dev-vcs/mercurial or dev-util/subversion."
286 - elog
287 - elog "Enable the mysql, postgres or sqlite USEflag on dev-python/django"
288 - elog "to use the corresponding database backend."
289 - elog
290 - elog "For speed and responsiveness, consider installing net-misc/memcached"
291 - elog "and dev-python/python-memcached"
292 -}