Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/pkgcore-checks: pkgcore-checks-0.4.12.ebuild ChangeLog pkgcore-checks-0.4.10.ebuild pkgcore-checks-0.4.9.ebuild
Date: Sun, 27 Dec 2009 14:41:34
Message-Id: E1NOuJG-0002Ng-CU@stork.gentoo.org
1 patrick 09/12/27 14:41:30
2
3 Modified: ChangeLog
4 Added: pkgcore-checks-0.4.12.ebuild
5 Removed: pkgcore-checks-0.4.10.ebuild
6 pkgcore-checks-0.4.9.ebuild
7 Log:
8 Bump, remove old
9 (Portage version: 2.2_rc61/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.42 dev-util/pkgcore-checks/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/ChangeLog?rev=1.42&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/ChangeLog?rev=1.42&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/ChangeLog?r1=1.41&r2=1.42
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v
21 retrieving revision 1.41
22 retrieving revision 1.42
23 diff -u -r1.41 -r1.42
24 --- ChangeLog 21 Dec 2009 07:15:49 -0000 1.41
25 +++ ChangeLog 27 Dec 2009 14:41:30 -0000 1.42
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-util/pkgcore-checks
28 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.41 2009/12/21 07:15:49 mr_bones_ Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.42 2009/12/27 14:41:30 patrick Exp $
31 +
32 +*pkgcore-checks-0.4.12 (27 Dec 2009)
33 +
34 + 27 Dec 2009; Patrick Lauer <patrick@g.o>
35 + -pkgcore-checks-0.4.9.ebuild, -pkgcore-checks-0.4.10.ebuild,
36 + +pkgcore-checks-0.4.12.ebuild:
37 + Bump, remove old
38
39 *pkgcore-checks-0.4.11 (21 Dec 2009)
40
41
42
43
44 1.1 dev-util/pkgcore-checks/pkgcore-checks-0.4.12.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/pkgcore-checks-0.4.12.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/pkgcore-checks/pkgcore-checks-0.4.12.ebuild?rev=1.1&content-type=text/plain
48
49 Index: pkgcore-checks-0.4.12.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/pkgcore-checks-0.4.12.ebuild,v 1.1 2009/12/27 14:41:30 patrick Exp $
54
55 inherit distutils
56
57 DESCRIPTION="pkgcore developmental repoman replacement"
58 HOMEPAGE="http://www.pkgcore.org/"
59 SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE=""
65
66 RDEPEND=">=sys-apps/pkgcore-0.5.5
67 >=dev-python/snakeoil-0.3.3
68 >=dev-lang/python-2.4"
69 DEPEND="${RDEPEND}"
70
71 DOCS="NEWS AUTHORS"
72
73 PYTHON_MODNAME=pkgcore_checks
74
75 src_test() {
76 "${python}" setup.py test || die "tests returned non zero"
77 }
78
79 pkg_postinst() {
80 einfo "updating pkgcore plugin cache"
81 pplugincache pkgcore_checks.plugins pkgcore.plugins
82 distutils_pkg_postinst
83 }
84
85 pkg_postrm() {
86 python_version
87 # Careful not to remove this on up/downgrades.
88 local sitep="${ROOT}"usr/lib/python${PYVER}/site-packages
89 if [[ -e "${sitep}/pkgcore_checks/plugins/plugincache2" ]] &&
90 ! [[ -e "${sitep}/pkgcore_checks/base.py" ]]; then
91 rm "${sitep}/pkgcore_checks/plugins/plugincache2"
92 fi
93 distutils_pkg_postrm
94 }