Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mgorny:master commit in: app-portage/smart-live-rebuild/
Date: Fri, 01 Jul 2011 13:21:58
Message-Id: 0092e93470d894f9c4d45d0a4d77f200a0f110f3.mgorny@gentoo
1 commit: 0092e93470d894f9c4d45d0a4d77f200a0f110f3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 1 13:00:02 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 13:00:02 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=0092e934
7
8 app-portage/smart-live-rebuild: Transform into a mixed-mode ebuild.
9
10 (Portage version: 2.2.0_alpha41_p36/git/Linux x86_64, signed Manifest commit with key 42B9401D)
11
12 ---
13 app-portage/smart-live-rebuild/Manifest | 12 ++++++------
14 .../smart-live-rebuild-9999.ebuild | 15 ++++++++++++---
15 2 files changed, 18 insertions(+), 9 deletions(-)
16
17 diff --git a/app-portage/smart-live-rebuild/Manifest b/app-portage/smart-live-rebuild/Manifest
18 index d1f8562..d0de2e6 100644
19 --- a/app-portage/smart-live-rebuild/Manifest
20 +++ b/app-portage/smart-live-rebuild/Manifest
21 @@ -1,14 +1,14 @@
22 -----BEGIN PGP SIGNED MESSAGE-----
23 Hash: SHA256
24
25 -EBUILD smart-live-rebuild-9999.ebuild 901 RMD160 6d5bf93213720acef3a6aefea33d1eec065bf584 SHA1 b3fe03210100a4a85815bfb65b98e0b03e514b69 SHA256 2dc734604ac9e4380b89571a21d0f7d28eabad2565704d5f369460c4ab181c05
26 +EBUILD smart-live-rebuild-9999.ebuild 1032 RMD160 fb178bb21b5634f98f8a43381c45520bfd87f122 SHA1 dd27b3f58bde70749211d485db19bed094ddb59a SHA256 bff904ccc8a2bdd477de3fb0ba6c6413bfa520f655d11497ff3d9113c0d8e69e
27 MISC metadata.xml 796 RMD160 358469f641ef0d136f76289c280567e405673e27 SHA1 706422582a8061a8aad51326791efa4d5ad544f0 SHA256 a4a0b96b0ae1f66de606a48b64952b7079e9376a51b0c152607bedd365dba461
28 -----BEGIN PGP SIGNATURE-----
29 Version: GnuPG v2.0.17 (GNU/Linux)
30
31 -iJwEAQEIAAYFAk4IV3UACgkQfXuS5UK5QB1NjwQAn04bmG24vo1azlhWcEz6GtYB
32 -75XzA1PJ9QIDemmD0FIMU/SLLnR5IUa6HgzBFJArbeZ/+5J8kKNDjFvkwjJ/E/Tp
33 -1rBwrv8eRw5fNpvxPVfmVrTWoK7QvMcgEqTL2SJuETcjJ8HxQn0Qcrb8bBrWp93g
34 -dKqDRMuMxC31hYwGvmc=
35 -=yrJ6
36 +iJwEAQEIAAYFAk4NxNIACgkQfXuS5UK5QB1k8wP9GQFSFM7w8cqmq1Bj0trd8fKW
37 +JGI7NMBf2L58tdJqy96OxHFABdzUeqrGQ03crXtSchQzNrAH0sT5XquPQpyagXXh
38 +p7gLag6vf2zXDsS/SvaWl8MK5VmAixmDAO908C+ONETiqX5qWGP0IgeEFrKW/lMd
39 +WxMhtN2MuWvikF1pcWo=
40 +=YxlI
41 -----END PGP SIGNATURE-----
42
43 diff --git a/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild b/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild
44 index a1f859c..3021802 100644
45 --- a/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild
46 +++ b/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild
47 @@ -9,23 +9,32 @@ SUPPORT_PYTHON_ABIS=1
48 RESTRICT_PYTHON_ABIS='2.4 2.5'
49 DISTUTILS_SRC_TEST=setup.py # tests fail with py3k right now
50
51 +inherit base distutils
52 +
53 +#if LIVE
54 EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
55 http://github.com/mgorny/${PN}.git"
56 -inherit base distutils git-2
57 +inherit git-2
58 +#endif
59
60 DESCRIPTION="Check live packages for updates and emerge them as necessary"
61 HOMEPAGE="https://github.com/mgorny/smart-live-rebuild/"
62 -SRC_URI=""
63 +SRC_URI="http://cloud.github.com/downloads/mgorny/${PN}/${P}.tar.bz2"
64
65 LICENSE="BSD-2"
66 SLOT="0"
67 -KEYWORDS=""
68 +KEYWORDS="~amd64 ~x86"
69 IUSE=""
70
71 RDEPEND=">=sys-apps/portage-2.1.8.3"
72
73 PYTHON_MODNAME=smartliverebuild
74
75 +#if LIVE
76 +KEYWORDS=
77 +SRC_URI=
78 +#endif
79 +
80 src_prepare() {
81 base_src_prepare
82 distutils_src_prepare