Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.4.7.15.ebuild
Date: Fri, 30 Jan 2009 04:22:46
Message-Id: E1LSktx-0002cE-33@stork.gentoo.org
1 jmbsvicetto 09/01/30 04:22:45
2
3 Modified: ChangeLog
4 Added: pkgcore-0.4.7.15.ebuild
5 Log:
6 Bump to 0.4.7.15 as requested by ferringb.
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.74 sys-apps/pkgcore/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.74&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.74&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.73&r2=1.74
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
19 retrieving revision 1.73
20 retrieving revision 1.74
21 diff -u -r1.73 -r1.74
22 --- ChangeLog 9 Jan 2009 19:11:07 -0000 1.73
23 +++ ChangeLog 30 Jan 2009 04:22:44 -0000 1.74
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/pkgcore
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.73 2009/01/09 19:11:07 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.74 2009/01/30 04:22:44 jmbsvicetto Exp $
29 +
30 +*pkgcore-0.4.7.15 (30 Jan 2009)
31 +
32 + 30 Jan 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
33 + +pkgcore-0.4.7.15.ebuild:
34 + Bump to 0.4.7.15 as requested by ferringb.
35
36 09 Jan 2009; Patrick Lauer <patrick@g.o> -pkgcore-0.4.7.4.ebuild,
37 -pkgcore-0.4.7.5.ebuild, -pkgcore-0.4.7.6.ebuild, -pkgcore-0.4.7.7.ebuild,
38
39
40
41 1.1 sys-apps/pkgcore/pkgcore-0.4.7.15.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.7.15.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.7.15.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pkgcore-0.4.7.15.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.7.15.ebuild,v 1.1 2009/01/30 04:22:45 jmbsvicetto Exp $
51
52 inherit distutils eutils
53
54 DESCRIPTION="pkgcore package manager"
55 HOMEPAGE="http://www.pkgcore.org"
56 SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
61 IUSE="doc"
62
63 RDEPEND=">=dev-lang/python-2.4
64 >=dev-python/snakeoil-0.2
65 >=app-shells/bash-3.0
66 || ( >=dev-lang/python-2.5 dev-python/pycrypto )"
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 }