Gentoo Archives: gentoo-commits

From: "Luis F. Araujo (araujo)" <araujo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.4.6.ebuild
Date: Wed, 30 Apr 2008 02:26:55
Message-Id: E1Jr21z-0006N3-6r@stork.gentoo.org
1 araujo 08/04/30 02:26:51
2
3 Modified: ChangeLog
4 Added: pkgcore-0.4.6.ebuild
5 Log:
6 Revbumping pkgcore to 0.4.6
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.56 sys-apps/pkgcore/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.56&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.56&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.55&r2=1.56
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
19 retrieving revision 1.55
20 retrieving revision 1.56
21 diff -u -r1.55 -r1.56
22 --- ChangeLog 20 Apr 2008 15:08:49 -0000 1.55
23 +++ ChangeLog 30 Apr 2008 02:26:50 -0000 1.56
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/pkgcore
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.55 2008/04/20 15:08:49 jokey Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.56 2008/04/30 02:26:50 araujo Exp $
29 +
30 +*pkgcore-0.4.6 (30 Apr 2008)
31 +
32 + 30 Apr 2008; Luis F. Araujo <araujo@g.o> +pkgcore-0.4.6.ebuild:
33 + Revbumping pkgcore to version 0.4.6
34
35 20 Apr 2008; Markus Ullmann <jokey@g.o> pkgcore-0.4.2.ebuild,
36 pkgcore-0.4.3.ebuild, pkgcore-0.4.4.ebuild, pkgcore-0.4.5.ebuild:
37
38
39
40 1.1 sys-apps/pkgcore/pkgcore-0.4.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pkgcore-0.4.6.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.6.ebuild,v 1.1 2008/04/30 02:26:50 araujo Exp $
50
51 inherit distutils eutils
52
53 DESCRIPTION="pkgcore package manager"
54 HOMEPAGE="http://www.pkgcore.org"
55 SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="doc"
61
62 RDEPEND=">=dev-lang/python-2.4
63 >=dev-python/snakeoil-0.2
64 >=app-shells/bash-3.0
65 || ( >=dev-lang/python-2.5 dev-python/pycrypto )
66 !>app-arch/lzma-4.50"
67 DEPEND="${RDEPEND}
68 doc? ( >=dev-python/docutils-0.4 )"
69
70 DOCS="AUTHORS NEWS"
71
72 src_compile() {
73 distutils_src_compile
74
75 if use doc; then
76 ./build_docs.py || die "doc building failed"
77 fi
78 }
79
80 src_install() {
81 distutils_src_install
82
83 if use doc; then
84 dohtml -r doc dev-notes
85 doman man/*.1
86 fi
87
88 dodoc doc/*.rst man/*.rst
89 docinto dev-notes
90 dodoc dev-notes/*.rst
91 }
92
93 pkg_postinst() {
94 distutils_pkg_postinst
95 pplugincache
96
97 if [[ -d "${ROOT}etc/pkgcore/plugins" ]]; then
98 elog "You still have an /etc/pkgcore/plugins from pkgcore 0.1."
99 elog "It is unused by pkgcore >= 0.2, remove it now."
100 die "remove /etc/pkgcore/plugins from pkgcore 0.1"
101 fi
102
103 # This is left behind by pkgcore 0.2.
104 rm -f "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/pkgcore/plugins/plugincache
105 }
106
107 pkg_postrm() {
108 python_version
109 # Careful not to remove this on up/downgrades.
110 local sitep="${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages
111 if [[ -e "${sitep}/pkgcore/plugins/plugincache2" ]] &&
112 ! [[ -e "${sitep}/pkgcore/plugin.py" ]]; then
113 rm "${sitep}/pkgcore/plugins/plugincache2"
114 fi
115 distutils_pkg_postrm
116 }
117
118 src_test() {
119 "${python}" setup.py test || die "testing returned non zero"
120 }
121
122
123
124 --
125 gentoo-commits@l.g.o mailing list