From: | "Markus Ullmann (jokey)" <jokey@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.4.7.2.ebuild |
Date: | Thu, 08 May 2008 11:11:21 |
Message-Id: | E1Ju41v-0004fS-7H@stork.gentoo.org |
1 | jokey 08/05/08 11:11:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pkgcore-0.4.7.2.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.5_rc6) |
8 | |
9 | Revision Changes Path |
10 | 1.59 sys-apps/pkgcore/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.59&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.59&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.58&r2=1.59 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v |
19 | retrieving revision 1.58 |
20 | retrieving revision 1.59 |
21 | diff -u -r1.58 -r1.59 |
22 | --- ChangeLog 6 May 2008 00:30:39 -0000 1.58 |
23 | +++ ChangeLog 8 May 2008 11:11:18 -0000 1.59 |
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.58 2008/05/06 00:30:39 kingtaco Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.59 2008/05/08 11:11:18 jokey Exp $ |
29 | + |
30 | +*pkgcore-0.4.7.2 (08 May 2008) |
31 | + |
32 | + 08 May 2008; Markus Ullmann <jokey@g.o> +pkgcore-0.4.7.2.ebuild: |
33 | + Version bump |
34 | |
35 | *pkgcore-0.4.7.1 (06 May 2008) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 sys-apps/pkgcore/pkgcore-0.4.7.2.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.7.2.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.4.7.2.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: pkgcore-0.4.7.2.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.7.2.ebuild,v 1.1 2008/05/08 11:11:18 jokey 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 |