1 |
commit: b639487f79283a96ed387baa1781c62c47bb766c |
2 |
Author: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 4 04:06:35 2011 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Feb 4 04:06:35 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-guis.git;a=commit;h=b639487f79283a96ed387baa1781c62c47bb766c |
7 |
|
8 |
Initial port of the layman-8888 ebuild to overlord-9999 |
9 |
|
10 |
--- |
11 |
app-portage/overlord/ChangeLog | 9 +++ |
12 |
app-portage/overlord/Manifest | 3 + |
13 |
app-portage/overlord/metadata.xml | 17 +++++ |
14 |
app-portage/overlord/overlord-9999.ebuild | 107 +++++++++++++++++++++++++++++ |
15 |
4 files changed, 136 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/app-portage/overlord/ChangeLog b/app-portage/overlord/ChangeLog |
18 |
new file mode 100644 |
19 |
index 0000000..f27ad69 |
20 |
--- /dev/null |
21 |
+++ b/app-portage/overlord/ChangeLog |
22 |
@@ -0,0 +1,9 @@ |
23 |
+# ChangeLog for app-portage/layman |
24 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
25 |
+# $Header: Exp $ |
26 |
+ |
27 |
+*overlord-9999 (03 Feb 2011) |
28 |
+ |
29 |
+ 03 Feb 2011; Brian Dolbec <brian.dolbec@×××××.com> +overlord-9999.ebuild: |
30 |
+ initial copy/edit of the layman-8888.ebuild for the project development |
31 |
+ version. |
32 |
|
33 |
diff --git a/app-portage/overlord/Manifest b/app-portage/overlord/Manifest |
34 |
new file mode 100644 |
35 |
index 0000000..593c154 |
36 |
--- /dev/null |
37 |
+++ b/app-portage/overlord/Manifest |
38 |
@@ -0,0 +1,3 @@ |
39 |
+EBUILD overlord-9999.ebuild 2803 RMD160 30e20cd25c3b865878a679c91ba82e5a3cdedfa6 SHA1 7580cae30e7586fb9b11a185844a81973198ae0e SHA256 31729e90e0fdccf3349ac37503faa7bd75cb8058f4034431edc1096f56ad1945 |
40 |
+MISC ChangeLog 419 RMD160 7b368473ce4787df672a3eeb9f910e751a1797f8 SHA1 4ede2010df55206b37af0870c3d9ba389655dfe3 SHA256 e294940047b0079f16d9b87a3d642918748242710e4adf6ab76f21dd708e53fe |
41 |
+MISC metadata.xml 787 RMD160 8eb69e7a49c273da69a9e6e6b514c0ed2f9890e2 SHA1 24e072a2d591f3b5e3733e85b0a5d5b91c7eef24 SHA256 a555029640c0b859e1d9a593d865b2f4c6126b2a57c6d31883e13fa55fdc7187 |
42 |
|
43 |
diff --git a/app-portage/overlord/metadata.xml b/app-portage/overlord/metadata.xml |
44 |
new file mode 100644 |
45 |
index 0000000..70da95e |
46 |
--- /dev/null |
47 |
+++ b/app-portage/overlord/metadata.xml |
48 |
@@ -0,0 +1,17 @@ |
49 |
+<?xml version="1.0" encoding="UTF-8"?> |
50 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
51 |
+<pkgmetadata> |
52 |
+<herd>tools-portage</herd> |
53 |
+<longdescription lang='en'>This is a development version used development of it's api's</longdescription> |
54 |
+<maintainer> |
55 |
+ <email>brian.dolbec@×××××.com</email> |
56 |
+ <name>Brian Dolbec (dol-sen)</name> |
57 |
+ <description>This is an experimental version used to develop the new api.</description> |
58 |
+</maintainer> |
59 |
+<use> |
60 |
+ <flag name='bazaar'>Support <pkg>dev-vcs/bzr</pkg> based overlays</flag> |
61 |
+ <flag name='darcs'>Support <pkg>dev-vcs/darcs</pkg> based overlays</flag> |
62 |
+ <flag name='git'>Support <pkg>dev-vcs/git</pkg> based overlays</flag> |
63 |
+ <flag name='mercurial'>Support <pkg>dev-vcs/mercurial</pkg> based overlays</flag> |
64 |
+</use> |
65 |
+</pkgmetadata> |
66 |
|
67 |
diff --git a/app-portage/overlord/overlord-9999.ebuild b/app-portage/overlord/overlord-9999.ebuild |
68 |
new file mode 100644 |
69 |
index 0000000..b57aa85 |
70 |
--- /dev/null |
71 |
+++ b/app-portage/overlord/overlord-9999.ebuild |
72 |
@@ -0,0 +1,107 @@ |
73 |
+# Copyright 1999-2010 Gentoo Foundation |
74 |
+# Distributed under the terms of the GNU General Public License v2 |
75 |
+# $Header: Exp $ |
76 |
+ |
77 |
+EAPI="2" |
78 |
+PYTHON_DEPEND="2:2.5" |
79 |
+SUPPORT_PYTHON_ABIS="1" |
80 |
+EGIT_BRANCH="master" |
81 |
+ |
82 |
+inherit eutils distutils git |
83 |
+ |
84 |
+DESCRIPTION="An experimental development version of overlord, a python script for retrieving gentoo overlays." |
85 |
+HOMEPAGE="http://dev.gentooexperimental.org/~dol-sen/" |
86 |
+SRC_URI="" |
87 |
+EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/overlord.git" |
88 |
+ |
89 |
+LICENSE="GPL-2" |
90 |
+SLOT="0" |
91 |
+KEYWORDS="" |
92 |
+IUSE="bazaar cvs darcs git mercurial subversion test" |
93 |
+ |
94 |
+COMMON_DEPS="dev-lang/python[xml]" |
95 |
+DEPEND="${COMMON_DEPS} |
96 |
+ test? ( dev-vcs/subversion ) |
97 |
+ app-text/xmlto" |
98 |
+RDEPEND="${COMMON_DEPS} |
99 |
+ bazaar? ( dev-vcs/bzr ) |
100 |
+ cvs? ( dev-vcs/cvs ) |
101 |
+ darcs? ( dev-vcs/darcs ) |
102 |
+ git? ( dev-vcs/git ) |
103 |
+ mercurial? ( dev-vcs/mercurial ) |
104 |
+ subversion? ( |
105 |
+ || ( |
106 |
+ >=dev-vcs/subversion-1.5.4[webdav-neon] |
107 |
+ >=dev-vcs/subversion-1.5.4[webdav-serf] |
108 |
+ ) |
109 |
+ )" |
110 |
+RESTRICT_PYTHON_ABIS="2.4 3.*" |
111 |
+ |
112 |
+pkg_setup() { |
113 |
+ if ! has_version dev-vcs/subversion; then |
114 |
+ ewarn "You do not have dev-vcs/subversion installed!" |
115 |
+ ewarn "While overlord does not exactly depend on this" |
116 |
+ ewarn "version control system you should note that" |
117 |
+ ewarn "most available overlays are offered via" |
118 |
+ ewarn "dev-vcs/subversion. If you do not install it" |
119 |
+ ewarn "you will be unable to use these overlays." |
120 |
+ ewarn |
121 |
+ fi |
122 |
+} |
123 |
+ |
124 |
+src_test() { |
125 |
+ testing() { |
126 |
+ for suite in layman/tests/{dtest,external}.py ; do |
127 |
+ PYTHONPATH="." "$(PYTHON)" ${suite} \ |
128 |
+ || die "test suite '${suite}' failed" |
129 |
+ done |
130 |
+ } |
131 |
+ python_execute_function testing |
132 |
+} |
133 |
+ |
134 |
+src_compile() { |
135 |
+ distutils_src_compile |
136 |
+ emake -C doc || die "emake -C doc failed" |
137 |
+} |
138 |
+ |
139 |
+src_install() { |
140 |
+ distutils_src_install |
141 |
+ |
142 |
+ dodir /etc/overlord |
143 |
+ |
144 |
+ cp etc/overlord.cfg "${D}"/etc/overlord/ |
145 |
+ |
146 |
+ doman doc/overlord.8 |
147 |
+ dohtml doc/overlord.8.html |
148 |
+ |
149 |
+ keepdir /var/lib/layman |
150 |
+} |
151 |
+ |
152 |
+pkg_postinst() { |
153 |
+ distutils_pkg_postinst |
154 |
+ |
155 |
+ einfo "You are now ready to add overlays into your system." |
156 |
+ einfo |
157 |
+ einfo " lord -L" |
158 |
+ einfo |
159 |
+ einfo "will display a list of available overlays." |
160 |
+ einfo |
161 |
+ elog "Select an overlay and add it using" |
162 |
+ elog |
163 |
+ elog " lord -a overlay-name" |
164 |
+ elog |
165 |
+ elog "If this is the very first overlay you add with overlord or layman," |
166 |
+ elog "you need to append the following statement to your" |
167 |
+ elog "/etc/make.conf file:" |
168 |
+ elog |
169 |
+ elog " source /var/lib/layman/make.conf" |
170 |
+ elog |
171 |
+ elog "If you modify the 'storage' parameter in the overlord" |
172 |
+ elog "configuration file (/etc/overlord/overlord.cfg) you will" |
173 |
+ elog "need to adapt the path given above to the new storage" |
174 |
+ elog "directory." |
175 |
+ elog |
176 |
+ ewarn "Please add the 'source' statement to make.conf only AFTER " |
177 |
+ ewarn "you added your first overlay. Otherwise portage will fail." |
178 |
+ epause 5 |
179 |
+} |