Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/layman: layman-1.3.1.ebuild ChangeLog
Date: Fri, 05 Feb 2010 01:34:50
Message-Id: E1NdD5q-0001bx-4D@stork.gentoo.org
1 sping 10/02/05 01:34:46
2
3 Modified: ChangeLog
4 Added: layman-1.3.1.ebuild
5 Log:
6 app-portage/layman: Trivial-bump to 1.3.1
7 (Portage version: 2.2_rc61/cvs/Linux i686)
8
9 Revision Changes Path
10 1.99 app-portage/layman/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.99&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?rev=1.99&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/ChangeLog?r1=1.98&r2=1.99
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v
19 retrieving revision 1.98
20 retrieving revision 1.99
21 diff -u -r1.98 -r1.99
22 --- ChangeLog 27 Jan 2010 21:58:26 -0000 1.98
23 +++ ChangeLog 5 Feb 2010 01:34:45 -0000 1.99
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-portage/layman
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.98 2010/01/27 21:58:26 sping Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.99 2010/02/05 01:34:45 sping Exp $
29 +
30 +*layman-1.3.1 (05 Feb 2010)
31 +
32 + 05 Feb 2010; Sebastian Pipping <sping@g.o> +layman-1.3.1.ebuild:
33 + Trivial-bump to 1.3.1
34
35 27 Jan 2010; Sebastian Pipping <sping@g.o> layman-1.3.0-r1.ebuild,
36 layman-9999.ebuild, metadata.xml:
37
38
39
40 1.1 app-portage/layman/layman-1.3.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.3.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/layman/layman-1.3.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: layman-1.3.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.3.1.ebuild,v 1.1 2010/02/05 01:34:45 sping Exp $
50
51 EAPI="2"
52 NEED_PYTHON=2.5
53 SUPPORT_PYTHON_ABIS="1"
54
55 inherit distutils
56
57 DESCRIPTION="A python script for retrieving gentoo overlays."
58 HOMEPAGE="http://layman.sourceforge.net"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="bazaar cvs darcs git mercurial subversion test"
65
66 COMMON_DEPS="dev-lang/python[xml]"
67 DEPEND="${COMMON_DEPS}
68 test? ( dev-util/subversion )"
69 RDEPEND="${COMMON_DEPS}
70 bazaar? ( dev-util/bzr )
71 cvs? ( dev-util/cvs )
72 darcs? ( dev-util/darcs )
73 git? ( dev-util/git )
74 mercurial? ( dev-util/mercurial )
75 subversion? (
76 || (
77 >=dev-util/subversion-1.5.4[webdav-neon]
78 >=dev-util/subversion-1.5.4[webdav-serf]
79 )
80 )"
81 RESTRICT_PYTHON_ABIS="2.4 3.*"
82
83 pkg_setup() {
84 if ! has_version dev-util/subversion; then
85 ewarn "You do not have dev-util/subversion installed!"
86 ewarn "While layman does not exactly depend on this"
87 ewarn "version control system you should note that"
88 ewarn "most available overlays are offered via"
89 ewarn "dev-util/subversion. If you do not install it"
90 ewarn "you will be unable to use these overlays."
91 ewarn
92 fi
93 }
94
95 src_test() {
96 testing() {
97 for suite in layman/tests/{dtest,external}.py ; do
98 PYTHONPATH="." "$(PYTHON)" ${suite} \
99 || die "test suite '${suite}' failed"
100 done
101 }
102 python_execute_function testing
103 }
104
105 src_install() {
106 distutils_src_install
107
108 dodir /etc/layman
109
110 cp etc/* "${D}"/etc/layman/
111
112 doman doc/layman.8
113 dohtml doc/layman.8.html
114
115 keepdir /var/lib/layman
116 }
117
118 pkg_postinst() {
119 distutils_pkg_postinst
120
121 einfo "You are now ready to add overlays into your system."
122 einfo
123 einfo " layman -L"
124 einfo
125 einfo "will display a list of available overlays."
126 einfo
127 elog "Select an overlay and add it using"
128 elog
129 elog " layman -a overlay-name"
130 elog
131 elog "If this is the very first overlay you add with layman,"
132 elog "you need to append the following statement to your"
133 elog "/etc/make.conf file:"
134 elog
135 elog " source /var/lib/layman/make.conf"
136 elog
137 elog "If you modify the 'storage' parameter in the layman"
138 elog "configuration file (/etc/layman/layman.cfg) you will"
139 elog "need to adapt the path given above to the new storage"
140 elog "directory."
141 elog
142 ewarn "Please add the 'source' statement to make.conf only AFTER "
143 ewarn "you added your first overlay. Otherwise portage will fail."
144 epause 5
145 }