Merge lp:~registry/bzr-gentoo-overlay/bzr-overlay-dev into lp:~malept/bzr-gentoo-overlay/overlay-main

Proposed by Christian Faulhammer
Status: Superseded
Proposed branch: lp:~registry/bzr-gentoo-overlay/bzr-overlay-dev
Merge into: lp:~malept/bzr-gentoo-overlay/overlay-main
Diff against target: None lines
To merge this branch: bzr merge lp:~registry/bzr-gentoo-overlay/bzr-overlay-dev
Reviewer Review Type Date Requested Status
Mark Lee Abstain
Review via email: mp+4293@code.launchpad.net

This proposal has been superseded by a proposal from 2009-03-14.

To post a comment you must log in.
Revision history for this message
Christian Faulhammer (fauli) wrote :

Some improvements for the current bzr.eclass...after some testing the Gentoo tree will see the same version.

Revision history for this message
Christian Faulhammer (fauli) wrote :

I'd really like to see this branch getting merged as the bzr.eclass has some substantial improvements I want to get tested in the "main" tree before putting it into Portage.

Revision history for this message
Mark Lee (malept) wrote :

I'd prefer it if the changes were separate from serkan's, or wait until serkan addresses the questions I have about his changes (see other merge proposal).

review: Abstain
235. By Christian Faulhammer

Merge from main line revision 235

236. By Christian Faulhammer

bzr.eclass: Fix a typo

237. By Christian Faulhammer

bzr.eclass: Make the check for the deprecated EBZR_BRANCH variable actually work

238. By Christian Faulhammer

Kill all occurences of EBZR_BRANCH from mainline-merged ebuilds

239. By Christian Faulhammer

bzr.eclass: Revert revision 230

The loop was intended to work on wildcarded patch ranges given in
EBZR_PATCHES, so reintroduce it. Spotted by ulm who broke it in the
first place. :)

240. By Christian Faulhammer

bzr.eclass: Add a comment to explain that loop

241. By Christian Faulhammer

package.mask: collect all live ebuilds in one masking section

242. By Christian Faulhammer

package.mask: unmask nautilus-python

243. By Christian Faulhammer

bzr-cia, bzr-git, bzr-vimdiff, bzr: Straighten EBZR_REPO_URI as catched by Mark Lee

244. By Christian Faulhammer

bzr-eclass: get rid of repository variable

EBZR_REPO_URI can be used instead. Catched by Mark Lee.

245. By Mark Lee

bzr-vimdiff: fix branch URI.

246. By Christian Faulhammer

merge from trunk revision 280

247. By Christian Faulhammer

bzr.eclass: Remove it as it has been imported into the official Gentoo repository

248. By Christian Faulhammer

bzr-gtk: Restrict dev-util/bzr to everything below 1.16

249. By Christian Faulhammer

bzr-gtk: Adding an live ebuild

250. By Christian Faulhammer

bzr-gtk: fix Bazaar dependency for live ebuild

251. By Christian Faulhammer

mask live bzr-stats package

252. By Christian Faulhammer

bzr-xmloutput: version bump

253. By Christian Faulhammer

merge from trunk 281

254. By Christian Faulhammer

merge from trunk 283

255. By Christian Faulhammer

Mask bzr release candidate

256. By Christian Faulhammer

merge from trunk 284

257. By Christian Faulhammer

bzr-gtk: Fix Manifest file

258. By Christian Faulhammer

merge from trunk 285

259. By Christian Faulhammer

bzr-gtk: Merge live ebuild with 0.96 series

260. By Christian Faulhammer

merge from trunk 291

261. By Christian Faulhammer

merge with trunk 296

262. By Christian Faulhammer

bzr-gtk: It works with Bazaar 1.18 RC1, so adjust dependencies

263. By Christian Faulhammer

merge from trunk 297

264. By Christian Faulhammer

nautilus-python now in Portage tree, thus remove

265. By Christian Faulhammer

bzr-svn: It works with Bazaar 1.18RC1, so adjust dependencies

266. By Christian Faulhammer

merge with trunk 300

267. By Christian Faulhammer

bzr-explorer: New package

268. By Christian Faulhammer

Merge with trunk

269. By Christian Faulhammer

merge with trunk 302

270. By Christian Faulhammer

merge with trunk 307

271. By Christian Faulhammer

merge with trunk 309

272. By Christian Faulhammer

dev-util/bzr-difftools: initial commit

273. By Christian Faulhammer

Mask bzr-difftools live package

274. By Christian Faulhammer

Mask bzrtools 2.0.0 package to match Bazaar

275. By Christian Faulhammer

Add missing metadata.xml files and update Manifests

276. By Christian Faulhammer

merge from trunk 311

277. By Christian Faulhammer

remove spurious mask for Bazaar 2.0

278. By Christian Faulhammer

merge from trunk 318

279. By Christian Faulhammer

merge from trunk revision 321

280. By Christian Faulhammer

merge from trunk revision 325

281. By Christian Faulhammer

remove bzr-svn, is in Portage tree now

282. By Christian Faulhammer

remove subvertpy, is in Portage tree now

283. By Christian Faulhammer

bzr-rewrite: Adjust DESCRIPTION a bit

284. By Christian Faulhammer

bzr-rewrite: Remove spurious files directory

285. By Christian Faulhammer

bzr-dbzs: Remove spurious files directory

286. By Christian Faulhammer

bzr-config: Remove spurious files directory

287. By Christian Faulhammer

bzr-vimdiff: Remove spurious files directory

288. By Christian Faulhammer

merge from trum revision 330

289. By Christian Faulhammer

merge from trunk 336

290. By Christian Faulhammer

subvertpy has been bumped in main tree, removing

291. By Christian Faulhammer

merge from trunk revision 337

292. By Christian Faulhammer

www-apps/loggerhead: Add init script written by Aaron Mavrinac in http://ezod.livejournal.com/27170.html

293. By Christian Faulhammer

www-apps/loggerhead: add conf.d file

294. By Christian Faulhammer

merge from trunk revision 339

295. By Christian Faulhammer

bzr-explorer: version bump

296. By Christian Faulhammer

bzrtools: use python_get_libdir() to determine search path

297. By Christian Faulhammer

bzrtools: Add metadata.xml

298. By Christian Faulhammer

bzrtools: Add explicit RDEPEND

299. By Christian Faulhammer

merge with trunk revision 343

300. By Christian Faulhammer

dulwich: In Portage tree, so removing

301. By Christian Faulhammer

bzr-svn: In Portage tree, so removing

302. By Christian Faulhammer

package.mask: Removing mask for dulwich live ebuild

303. By Martin von Gagern

Added www-apps/trac-bzr-0.3.0

304. By Christian Faulhammer

Remove dev-python/testtools, now available in main tree

305. By Christian Faulhammer

merge with trunk 349

306. By Christian Faulhammer

Remove dev-python/testtools, now available in main tree, for sure

307. By Christian Faulhammer

merge from trunk revision 351

308. By Christian Faulhammer

merge from trunk revision 353

309. By Christian Faulhammer

merge from trunk revision 355

310. By Christian Faulhammer

merge from trunk revision 356

311. By Christian Faulhammer

bzr-gtk: version bump

312. By Christian Faulhammer

merge from trunk revision 357

313. By Christian Faulhammer

bzr-gtk: Correct dependency on bzr

314. By Christian Faulhammer

merge from trunk revision 358

315. By Christian Faulhammer

Change category for all plugins from dev-util/ to dev-vcs/ as it is done in the main tree

316. By Christian Faulhammer

Adjust dependencies for new category

317. By Christian Faulhammer

Move some more package dependencies to dev-vcs

318. By Christian Faulhammer

Move mask to dev-vcs category

319. By Christian Faulhammer

bzr: Remove spurious comment line in Emacs support file, elisp-common.eclass will handle description

320. By Christian Faulhammer

pkgmove from dev-util to dev-vcs category

321. By Christian Faulhammer

bzr-explorer: In main tree now

322. By Christian Faulhammer

merge from trunk revision 358

323. By Christian Faulhammer

merge from trunk revision 359

324. By Christian Faulhammer

merge from lp:~gagern/bzr-gentoo-overlay/trac-bzr revision 304

325. By Christian Faulhammer

bzr-rewrite: Transferred to main tree

326. By Martin von Gagern

dev-vcs/bzr-bash-completion-1.0.2: new package

327. By Christian Faulhammer

bzr-hg: mercurial has moved category

328. By Christian Faulhammer

vcscommand: mercurial and git have moved category

329. By Christian Faulhammer

vcscommand: version bump

330. By Christian Faulhammer

merge from trunk 361

331. By Christian Faulhammer

bzr: version bump

332. By Christian Faulhammer

trac-bzr: ChangeLog not really needed here

333. By Christian Faulhammer

bzr-bash-completion: ChangeLog not really needed here

334. By Christian Faulhammer

remove bzr-xmloutput, in official Portage tree

335. By Christian Faulhammer

merge from main tree revision 367

336. By Martin von Gagern

bzr-bash-completion: version bump to 1.1.0.

337. By Martin von Gagern

bzr-bash-completion: version bump to 1.2.0.

338. By Christian Faulhammer

merge from trunk revision 370

339. By Christian Faulhammer

bzr: version bump to 2.2 Beta 4

340. By Christian Faulhammer

bzr: sync with main tree to use proper python.eclass variables

341. By Christian Faulhammer

bzr-gtk: sync with main tree to use proper python.eclass variables

342. By Christian Faulhammer

bzrtools: sync with main tree to use proper python.eclass variables

343. By Christian Faulhammer

bzr-gtk: fix Manifest

344. By Christian Faulhammer

bzr-git: version bump

345. By Christian Faulhammer

trac-bzr: version bump

346. By Christian Faulhammer

Mask 2.2.0 of bzrtools

347. By Christian Faulhammer

merge from trunk revision 371

348. By Christian Faulhammer

bzrtools: Restrict to Python 2

349. By Christian Faulhammer

bzrtools: Restrict to Python 2

350. By Christian Faulhammer

bzr-bash-completion: Merged with Bazaar 2.2 series

351. By Christian Faulhammer

bzr-bisect: Restrict to Python 2

352. By Christian Faulhammer

bzr-cia: Restrict to Python 2

353. By Christian Faulhammer

bzr: Correctly restrict to Python 2

354. By Christian Faulhammer

bzr-config: Restrict to Python 2

355. By Christian Faulhammer

bzr-dbzs: Restrict to Python 2

356. By Christian Faulhammer

bzr-difftools: Restrict to Python 2

357. By Christian Faulhammer

bzr-git: Restrict to Python 2

358. By Christian Faulhammer

bzr-gtk: Restrict to Python 2

359. By Christian Faulhammer

Adjust copyright years

360. By Christian Faulhammer

bzr-hg: Restrict to Python 2

361. By Christian Faulhammer

bzr-interactive: Restrict to Python 2

362. By Christian Faulhammer

bzr-loom: Restrict to Python 2

363. By Christian Faulhammer

bzr-pager: Restrict to Python 2

364. By Christian Faulhammer

bzr-search: Restrict to Python 2

365. By Christian Faulhammer

bzr-stats: Restrict to Python 2

366. By Christian Faulhammer

bzr-svn: Restrict to Python 2

367. By Christian Faulhammer

bzr-vimdiff: Restrict to Python 2

368. By Christian Faulhammer

Fix manifests

369. By Christian Faulhammer

Keyword all packages ~amd64

370. By Christian Faulhammer

bzr-vim: Keyword ~amd64

371. By Christian Faulhammer

pyftpdlib: Support Python ABIs

372. By Christian Faulhammer

pyftpdlib: version bump

373. By Christian Faulhammer

pyftpdlib: add ~amd64

374. By Christian Faulhammer

bzr-gedit: add ~amd64

375. By Christian Faulhammer

pykerberos: add ~amd64

376. By Martin von Gagern

trac-bzr: version bump

377. By Christian Faulhammer

bzr-git: Non-live version has been imported into Portage

378. By Christian Faulhammer

bzr, bzrtools: Clean up old versions

379. By Christian Faulhammer

Drop KEYWORDS on all live ebuilds

380. By Christian Faulhammer

bzr-svn: Remove, is in Portage with newer version

Unmerged revisions

380. By Christian Faulhammer

bzr-svn: Remove, is in Portage with newer version

379. By Christian Faulhammer

Drop KEYWORDS on all live ebuilds

378. By Christian Faulhammer

bzr, bzrtools: Clean up old versions

377. By Christian Faulhammer

bzr-git: Non-live version has been imported into Portage

376. By Martin von Gagern

trac-bzr: version bump

375. By Christian Faulhammer

pykerberos: add ~amd64

374. By Christian Faulhammer

bzr-gedit: add ~amd64

373. By Christian Faulhammer

pyftpdlib: add ~amd64

372. By Christian Faulhammer

pyftpdlib: version bump

371. By Christian Faulhammer

pyftpdlib: Support Python ABIs

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dev-util/bzr-loom/Manifest'
2--- dev-util/bzr-loom/Manifest 2009-02-13 17:24:08 +0000
3+++ dev-util/bzr-loom/Manifest 2009-03-04 13:30:01 +0000
4@@ -1,4 +1,4 @@
5 AUX bzr-loom-1.3-setup-fix.patch 344 RMD160 a0176310cc8c2f8149f07c2d9ac47e80ab698a27 SHA1 9f485a9677f3f1d14a9f6e1b5412db2cca275cf4 SHA256 b29e54737a602e62fb65cd1555931d87dc3d4dadc2927bb19360e087dec8fad2
6-EBUILD bzr-loom-1.3.ebuild 509 RMD160 23eeed521afabbb9e0e08aacf37f3ac778a43b3f SHA1 3ab199d82f2337c43af68115870089533577a917 SHA256 e0433b3b882476286586a7d7db3a87c6d32ddc8ef453dfbbaa9bac315ec111af
7-EBUILD bzr-loom-9999.ebuild 496 RMD160 bf88472471d6e1488bf3ee55c42ed9fde38c0722 SHA1 ab35f4f292840b5e32a358866acb996f00590707 SHA256 14fbdc9ef60c70416aec0b7a828410c6f5d32d4eff51b97530e97e0ae9031701
8+EBUILD bzr-loom-1.3.ebuild 494 RMD160 1b9c2b6b39aa16f03b9ae674451e04723b849ad3 SHA1 73615bf77d3035eea8e6f94fca639eb082b1faa9 SHA256 20e3b1317308617e256d0bfb3e59aa0663c4bd03db5a8dcc84e6d6e769110912
9+EBUILD bzr-loom-9999.ebuild 490 RMD160 c81b5e169dde62a7c7d8a18c50979352f98b83c7 SHA1 bb52269af97452221f3d0ee3e5d6fcbeeed70c9f SHA256 02a7a02f0465f59afff84172039d140cf68f95a192e029911e96b4b26056f3f0
10 MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
11
12=== modified file 'dev-util/bzr-loom/bzr-loom-1.3.ebuild'
13--- dev-util/bzr-loom/bzr-loom-1.3.ebuild 2009-02-13 17:24:08 +0000
14+++ dev-util/bzr-loom/bzr-loom-1.3.ebuild 2009-03-04 13:30:01 +0000
15@@ -1,4 +1,4 @@
16-# Copyright 1999-2007 Gentoo Foundation
17+# Copyright 1999-2009 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: $
20
21@@ -8,8 +8,7 @@
22 threads"
23 HOMEPAGE="https://launchpad.net/bzr-loom/"
24 SRC_URI=""
25-EBZR_REPO_URI="lp:${PN}"
26-EBZR_BRANCH="1.3"
27+EBZR_REPO_URI="lp:${PN}/1.3"
28
29 LICENSE="GPL-2"
30 SLOT="0"
31@@ -19,7 +18,8 @@
32 DEPEND=">=dev-util/bzr-1.0_rc1"
33 RDEPEND=""
34
35+EBZR_PATCHES="${PN}-1.3-setup-fix.patch"
36+
37 src_unpack() {
38 bzr_src_unpack
39- epatch "${FILESDIR}"/${P}-setup-fix.patch
40 }
41
42=== modified file 'dev-util/bzr-loom/bzr-loom-9999.ebuild'
43--- dev-util/bzr-loom/bzr-loom-9999.ebuild 2009-02-13 17:24:08 +0000
44+++ dev-util/bzr-loom/bzr-loom-9999.ebuild 2009-03-04 13:30:01 +0000
45@@ -1,4 +1,4 @@
46-# Copyright 1999-2007 Gentoo Foundation
47+# Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: $
50
51@@ -18,7 +18,8 @@
52 DEPEND=">=dev-util/bzr-1.0_rc1"
53 RDEPEND=""
54
55+EBZR_PATCHES="${PN}-1.3-setup-fix.patch"
56+
57 src_unpack() {
58 bzr_src_unpack
59- epatch "${FILESDIR}"/${PN}-1.3-setup-fix.patch
60 }
61
62=== modified file 'dev-util/bzr-search/Manifest'
63--- dev-util/bzr-search/Manifest 2009-02-13 16:05:06 +0000
64+++ dev-util/bzr-search/Manifest 2009-03-07 03:07:43 +0000
65@@ -1,2 +1,2 @@
66-EBUILD bzr-search-9999.ebuild 413 RMD160 d042f9f3bbc92b3209ad774451081e6b76b9fd0d SHA1 7d25005d304084140bd34b230fa0e73f964a00f3 SHA256 bc7a52768b91fd4868cd35ef64d2ca1d67b8e1ed182bb18f566d757759802276
67+EBUILD bzr-search-9999.ebuild 403 RMD160 a324b6dafe8fbc826a2e1777c35927aa8a07603d SHA1 149a7df35bea41b099c5369e01960c369cd52af8 SHA256 70582827032d05464884e20236017a1dc4d798e97e2c6099517b7049dd6ccb2c
68 MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
69
70=== modified file 'dev-util/bzr-search/bzr-search-9999.ebuild'
71--- dev-util/bzr-search/bzr-search-9999.ebuild 2009-02-13 15:15:59 +0000
72+++ dev-util/bzr-search/bzr-search-9999.ebuild 2009-03-07 03:07:43 +0000
73@@ -4,7 +4,7 @@
74
75 inherit distutils bzr
76
77-DESCRIPTION="Generates indices of bzr revisions which can then be searched quickly"
78+DESCRIPTION="Generates indices of bzr revisions which can then be searched quickly"
79 HOMEPAGE="https://launchpad.net/bzr-search"
80 SRC_URI=""
81 EBZR_REPO_URI="lp:bzr-search"
82
83=== modified file 'dev-util/bzr-vimdiff/Manifest'
84--- dev-util/bzr-vimdiff/Manifest 2009-02-14 15:28:45 +0000
85+++ dev-util/bzr-vimdiff/Manifest 2009-03-03 23:44:39 +0000
86@@ -1,2 +1,2 @@
87-EBUILD bzr-vimdiff-9999.ebuild 730 RMD160 93b78d8edd0c2223caebd13a185c38626fb999a7 SHA1 6511b643178649adb108020e00459a98da52eff3 SHA256 e7e83f2e0c3fde98a6f0ef38e5b22f1d3d56fc463923b71157f11cee5b760ccc
88+EBUILD bzr-vimdiff-9999.ebuild 626 RMD160 575829c7fedf184a4ec7affab022470635dcc49a SHA1 8cc07664264502f575b094acfe0ca054e92b9e43 SHA256 b0d50119f201f44bf05cf516c9b12026a846b12f8d129cd6e78f15f460c65b81
89 MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
90
91=== modified file 'dev-util/bzr-vimdiff/bzr-vimdiff-9999.ebuild'
92--- dev-util/bzr-vimdiff/bzr-vimdiff-9999.ebuild 2009-02-14 15:28:45 +0000
93+++ dev-util/bzr-vimdiff/bzr-vimdiff-9999.ebuild 2009-03-03 23:44:39 +0000
94@@ -1,4 +1,4 @@
95-# Copyright 1999-2007 Gentoo Foundation
96+# Copyright 1999-2009 Gentoo Foundation
97 # Distributed under the terms of the GNU General Public License v2
98 # $Header: $
99
100@@ -7,8 +7,7 @@
101 DESCRIPTION="Bazaar plugin that displays differences between revisions of a file
102 using (g)vimdiff"
103 HOMEPAGE="https://launchpad.net/bzr-vimdiff"
104-EBZR_REPO_URI="lp:///~bzr/bzr-vimdiff/"
105-EBZR_BRANCH="vimdiff"
106+EBZR_REPO_URI="lp:///~bzr/bzr-vimdiff/vimdiff"
107
108 LICENSE="GPL-2"
109 SLOT="0"
110@@ -23,10 +22,6 @@
111 )"
112 S="${WORKDIR}"/${P}
113
114-pkg_setup() {
115- export EBZR_REVISION=`echo "${PV}" | sed -e 's:^.\+_pre\(.*\)$:\1:g' `
116-}
117-
118 src_install() {
119 python_version
120 insinto /usr/lib/python${PYVER}/site-packages/bzrlib/plugins/vimdiff
121
122=== modified file 'dev-util/bzr/Manifest'
123--- dev-util/bzr/Manifest 2009-02-20 08:08:09 +0000
124+++ dev-util/bzr/Manifest 2009-03-07 03:06:52 +0000
125@@ -3,4 +3,4 @@
126 AUX bzr-0.90-tests-sgid.patch 611 RMD160 09a40cb4424e7dc86b48a577152cc7297c6333db SHA1 b7c42cb9b5cd5de4ebe11378870c6cf8eae52591 SHA256 e7514aa51c23405ba619c323b1bd6dbafffe5c584d8274d4e1df0c2347fd55a7
127 DIST bzr-1.12.tar.gz 4001912 RMD160 20f02d036c03a279d9808bb84ab375039cf4cf2a SHA1 ad220b5ebc299d30feff680031b54685b2318bc7 SHA256 45658319296425b55ad1bb881adc27a311a5d429b3352b8088b2bdb722afe7b8
128 EBUILD bzr-1.12.ebuild 2967 RMD160 7e45c087612774661ac32934afcb8b2f8db849f7 SHA1 70e565d1ac7fe09fed7b32f021cee5e1f3be4ee9 SHA256 2fcb6e2012f87b18ecd8b16f835c9dff590368e84042a953c99471b5416c18b7
129-EBUILD bzr-9999.ebuild 2787 RMD160 5d0b770ba6b7b69c22a1cc1abf1cd122a52228eb SHA1 5af3f68d7fa3a39dd076f45888bdb3f6369344ca SHA256 4aeb88359b3b1cf7441c6d0b5c4f9285d2abe086e20e1614b90d49165cc73e69
130+EBUILD bzr-9999.ebuild 2795 RMD160 67794c9d660997e53ea659d6daab12d7f0863c34 SHA1 2ee5f5501357e926ca56d80912d0283cb24e3c40 SHA256 c2811f49ae05c3bbbb0602ecabca1365a557e89e0cc200ef7c9a445a01d2f658
131
132=== modified file 'dev-util/bzr/bzr-9999.ebuild'
133--- dev-util/bzr/bzr-9999.ebuild 2009-02-20 08:08:09 +0000
134+++ dev-util/bzr/bzr-9999.ebuild 2009-03-07 03:06:52 +0000
135@@ -2,6 +2,8 @@
136 # Distributed under the terms of the GNU General Public License v2
137 # $Header: $
138
139+EAPI=1
140+
141 NEED_PYTHON=2.4
142
143 inherit distutils bash-completion elisp-common eutils versionator bzr
144
145=== modified file 'eclass/bzr.eclass'
146--- eclass/bzr.eclass 2009-02-24 16:02:58 +0000
147+++ eclass/bzr.eclass 2009-03-07 12:29:58 +0000
148@@ -15,14 +15,17 @@
149 # (distributed source control management system).
150 # The eclass was originally derived from the git eclass.
151 #
152-# Note: Just set EBZR_REPO_URI to the url of the branch and the src_unpack
153-# this eclass provides will put an export of the branch in ${WORKDIR}/${PN}.
154+# Note: Just set EBZR_REPO_URI to the URI of the branch and the src_unpack()
155+# of this eclass will put an export of the branch in ${WORKDIR}/${PN}.
156
157 inherit eutils
158
159 EBZR="bzr.eclass"
160
161-EXPORT_FUNCTIONS src_unpack
162+case "${EAPI:-0}" in
163+ 0|1) EXPORT_FUNCTIONS src_unpack ;;
164+ *) EXPORT_FUNCTIONS src_unpack src_prepare ;;
165+esac
166
167 HOMEPAGE="http://bazaar-vcs.org/"
168 DESCRIPTION="Based on the ${EBZR} eclass"
169@@ -31,32 +34,32 @@
170
171 # @ECLASS-VARIABLE: EBZR_STORE_DIR
172 # @DESCRIPTION:
173-# The dir to store the bzr sources.
174+# The directory to store all fetched Bazaar live sources.
175 EBZR_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/bzr-src"
176
177 # @ECLASS-VARIABLE: EBZR_FETCH_CMD
178 # @DESCRIPTION:
179-# The bzr command to fetch the sources.
180+# The Bazaar command to fetch the sources.
181 EBZR_FETCH_CMD="bzr checkout --lightweight"
182
183 # @ECLASS-VARIABLE: EBZR_UPDATE_CMD
184 # @DESCRIPTION:
185-# The bzr command to update the sources.
186+# The Bazaar command to update the sources.
187 EBZR_UPDATE_CMD="bzr update"
188
189 # @ECLASS-VARIABLE: EBZR_DIFF_CMD
190 # @DESCRIPTION:
191-# The bzr command to get the diff output.
192+# The Bazaar command to get the diff output.
193 EBZR_DIFF_CMD="bzr diff"
194
195 # @ECLASS-VARIABLE: EBZR_EXPORT_CMD
196 # @DESCRIPTION:
197-# The bzr command to export a branch.
198+# The Bazaar command to export a branch.
199 EBZR_EXPORT_CMD="bzr export"
200
201 # @ECLASS-VARIABLE: EBZR_REVNO_CMD
202 # @DESCRIPTION:
203-# The bzr command to list revision number of the branch.
204+# The Bazaar command to list a revision number of the branch.
205 EBZR_REVNO_CMD="bzr revno"
206
207 # @ECLASS-VARIABLE: EBZR_OPTIONS
208@@ -66,7 +69,7 @@
209
210 # @ECLASS-VARIABLE: EBZR_REPO_URI
211 # @DESCRIPTION:
212-# The repository uri for the source package.
213+# The repository URI for the source package.
214 #
215 # @CODE
216 # Supported protocols:
217@@ -77,7 +80,7 @@
218 # - lp:
219 # @CODE
220 #
221-# Note: lp: seems to be an alias to https://launchpad.net
222+# Note: lp: seems to be an alias for https://launchpad.net
223 EBZR_REPO_URI="${EBZR_REPO_URI:-}"
224
225 # @ECLASS-VARIABLE: EBZR_BOOTSTRAP
226@@ -88,29 +91,24 @@
227 # @ECLASS-VARIABLE: EBZR_PATCHES
228 # @DESCRIPTION:
229 # bzr eclass can apply patches in bzr_bootstrap().
230-# you can use regexp in this valiable like *.diff or *.patch or etc.
231-# NOTE: this patches will applied before EBZR_BOOTSTRAP is processed.
232+# You can use regular expressions in this variable like *.diff or
233+# *.patch and the like.
234+# NOTE: These patches will bei applied before EBZR_BOOTSTRAP is processed.
235 #
236 # Patches are searched both in ${PWD} and ${FILESDIR}, if not found in either
237 # location, the installation dies.
238 EBZR_PATCHES="${EBZR_PATCHES:-}"
239
240-# @ECLASS-VARIABLE: EBZR_BRANCH
241-# @DESCRIPTION:
242-# The branch to fetch in bzr_fetch().
243-#
244-# default: trunk
245-EBZR_BRANCH="${EBZR_BRANCH:-trunk}"
246-
247 # @ECLASS-VARIABLE: EBZR_REVISION
248 # @DESCRIPTION:
249-# Revision to get, if not latest (see http://bazaar-vcs.org/BzrRevisionSpec or
250-# bzr help revisionspec)
251+# Revision to fetch, defaults to the latest (see
252+# http://bazaar-vcs.org/BzrRevisionSpec or bzr help revisionspec)
253 EBZR_REVISION="${EBZR_REVISION:-}"
254
255 # @ECLASS-VARIABLE: EBZR_CACHE_DIR
256 # @DESCRIPTION:
257-# The dir to store the source for the package, relative to EBZR_STORE_DIR.
258+# The directory to store the source for the package, relative to
259+# EBZR_STORE_DIR.
260 #
261 # default: ${PN}
262 EBZR_CACHE_DIR="${EBZR_CACHE_DIR:-${PN}}"
263@@ -133,35 +131,28 @@
264
265 # @FUNCTION: bzr_update
266 # @DESCRIPTION:
267-# Updates the source code from a repository, via ${EBZR_FETCH_CMD}.
268+# Updates the source code from a repository, via ${EBZR_UPDATE_CMD}.
269 bzr_update() {
270 local repository="${1}";
271- local branch_dir="${2}";
272-
273- if [ -d "${EBZR_BRANCH_DIR}"/.bzr/repository/ ]; then
274- einfo "Re-fetching the branch to save space..."
275- rm -rf "${EBZR_BRANCH_DIR}"
276- bzr_initial_fetch "${repository}" "${EBZR_BRANCH_DIR}"
277- else
278-
279- # update branch
280- einfo "bzr update start -->"
281- einfo " repository: ${repository}"
282-
283- pushd "${EBZR_BRANCH_DIR}"
284- ${EBZR_UPDATE_CMD} ${EBZR_OPTIONS} \
285- || die "${EBZR}: can't update from ${repository}."
286- popd
287- fi
288+
289+ # update branch
290+ einfo "bzr update start -->"
291+ einfo " repository: ${repository}"
292+
293+ pushd "${EBZR_BRANCH_DIR}" > /dev/null
294+ ${EBZR_UPDATE_CMD} ${EBZR_OPTIONS} \
295+ || die "${EBZR}: can't update from ${repository}."
296+ popd > /dev/null
297 }
298
299
300 # @FUNCTION: bzr_fetch
301 # @DESCRIPTION:
302-# Wrapper function to fetch sources from bazaar via bzr fetch or bzr update,
303-# depending on whether there is an existing working copy in ${EBZR_BRANCH_DIR}.
304+# Wrapper function to fetch sources from a Bazaar repository via bzr
305+# fetch or bzr update, depending on whether there is an existing
306+# working copy in ${EBZR_BRANCH_DIR}.
307 bzr_fetch() {
308- local EBZR_BRANCH_DIR repository
309+ local EBZR_BRANCH_DIR repository="${EBZR_REPO_URI}"
310
311 # EBZR_REPO_URI is empty.
312 [[ ${EBZR_REPO_URI} ]] || die "${EBZR}: EBZR_REPO_URI is empty."
313@@ -193,7 +184,7 @@
314 export SANDBOX_WRITE="${SANDBOX_WRITE%%:/}"
315 fi
316
317- pushd "${EBZR_STORE_DIR}" || die "${EBZR}: can't chdir to ${EBZR_STORE_DIR}"
318+ pushd "${EBZR_STORE_DIR}" > /dev/null || die "${EBZR}: can't chdir to ${EBZR_STORE_DIR}"
319
320 EBZR_BRANCH_DIR="${EBZR_STORE_DIR}/${EBZR_CACHE_DIR}"
321
322@@ -202,17 +193,15 @@
323
324 debug-print "${FUNCNAME}: EBZR_OPTIONS = ${EBZR_OPTIONS}"
325
326- if [[ -n ${EBZR_BRANCH} ]] ; then
327- repository="${EBZR_REPO_URI}/${EBZR_BRANCH}"
328- else
329- repository="${EBZR_REPO_URI}"
330- fi
331-
332 # Run bzr_initial_fetch() only if the branch has not been pulled
333 # before or if the existing local copy is a full checkout (as did
334 # an older version of bzr.eclass)
335 if [[ ! -d ${EBZR_BRANCH_DIR} ]] ; then
336 bzr_initial_fetch "${repository}" "${EBZR_BRANCH_DIR}"
337+ elif [[ -d "${EBZR_BRANCH_DIR}"/.bzr/repository/ ]]; then
338+ einfo "Re-fetching the branch to save space..."
339+ rm -rf "${EBZR_BRANCH_DIR}"
340+ bzr_initial_fetch "${repository}" "${EBZR_BRANCH_DIR}"
341 else
342 bzr_update "${repository}" "${EBZR_BRANCH_DIR}"
343 fi
344@@ -232,16 +221,16 @@
345
346 einfo "Revision ${revision} is now in ${WORKDIR}/${P}"
347
348- popd
349+ popd > /dev/null
350 }
351
352 # @FUNCTION: bzr_bootstrap
353 # @DESCRIPTION:
354-# Apply patches in ${EBZR_PATCHES} and run ${EBZR_BOOTSTRAP} if specified
355+# Apply patches in ${EBZR_PATCHES} and run ${EBZR_BOOTSTRAP} if specified.
356 bzr_bootstrap() {
357- local patch lpatch
358+ local patch
359
360- pushd "${S}"
361+ pushd "${S}" > /dev/null
362
363 if [[ -n ${EBZR_PATCHES} ]] ; then
364 einfo "apply patches -->"
365@@ -249,14 +238,10 @@
366 for patch in ${EBZR_PATCHES} ; do
367 if [[ -f ${patch} ]] ; then
368 epatch ${patch}
369+ elif [[ -f "${FILESDIR}/${patch}" ]] ; then
370+ epatch "${FILESDIR}/${patch}"
371 else
372- for lpatch in "${FILESDIR}"/${patch} ; do
373- if [[ -f ${lpatch} ]] ; then
374- epatch ${lpatch}
375- else
376- die "${EBZR}: ${patch} is not found"
377- fi
378- done
379+ die "${EBZR}: ${patch} is not found"
380 fi
381 done
382 fi
383@@ -275,13 +260,29 @@
384 fi
385 fi
386
387- popd
388+ popd > /dev/null
389 }
390
391 # @FUNCTION: bzr_src_unpack
392 # @DESCRIPTION:
393-# default src_unpack. fetch and bootstrap.
394+# Default src_unpack(). Includes bzr_fetch() and bootstrap().
395 bzr_src_unpack() {
396+ if [ -n ${EBZR_BRANCH} ]; then
397+ # This test will go away on 01 Jan 2010
398+ eerror "This ebuild uses EBZR_BRANCH which is not supported anymore"
399+ eerror "by the bzr.eclass. Please report this to the ebuild maintainer."
400+ die "EBZR_BRANCH still defined"
401+ fi
402 bzr_fetch || die "${EBZR}: unknown problem in bzr_fetch()."
403+ case "${EAPI:-0}" in
404+ 0|1) bzr_src_prepare ;;
405+ esac
406+}
407+
408+# @FUNCTION: bzr_src_prepare
409+# @DESCRIPTION:
410+# Default src_prepare(). Executes bzr_bootstrap() for patch
411+# application and Make file generation (if needed).
412+bzr_src_prepare() {
413 bzr_bootstrap || die "${EBZR}: unknown problem in bzr_bootstrap()."
414 }

Subscribers

People subscribed via source and target branches

to status/vote changes: