Gentoo Archives: gentoo-commits

From: "Brian Harring (ferringb)" <ferringb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.7.1.ebuild pkgcore-0.7.ebuild
Date: Sat, 03 Sep 2011 08:22:46
Message-Id: 20110903082235.7913120051@flycatcher.gentoo.org
1 ferringb 11/09/03 08:22:35
2
3 Modified: ChangeLog
4 Added: pkgcore-0.7.1.ebuild
5 Removed: pkgcore-0.7.ebuild
6 Log:
7 verbump to 0.7.1 for bugs reported by users (timing figures :/)
8
9 (Portage version: 2.1.10.6/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.121 sys-apps/pkgcore/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.121&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.121&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.120&r2=1.121
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
21 retrieving revision 1.120
22 retrieving revision 1.121
23 diff -u -r1.120 -r1.121
24 --- ChangeLog 2 Sep 2011 23:06:33 -0000 1.120
25 +++ ChangeLog 3 Sep 2011 08:22:35 -0000 1.121
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-apps/pkgcore
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.120 2011/09/02 23:06:33 ferringb Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.121 2011/09/03 08:22:35 ferringb Exp $
31 +
32 +*pkgcore-0.7.1 (03 Sep 2011)
33 +
34 + 03 Sep 2011; Brian Harring <ferringb@g.o> -pkgcore-0.7.ebuild,
35 + +pkgcore-0.7.1.ebuild, -files/0.7-racy-slot-shadowing.patch:
36 + verbump to 0.7.1, pruning 0.7; bugfixes reported by users. Would've been
37 + nice if they spotted it in -9999 rather than hours after a release :/
38
39 *pkgcore-0.7 (02 Sep 2011)
40
41
42
43
44 1.1 sys-apps/pkgcore/pkgcore-0.7.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-0.7.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-0.7.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: pkgcore-0.7.1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.7.1.ebuild,v 1.1 2011/09/03 08:22:35 ferringb Exp $
54
55 EAPI="3"
56 DISTUTILS_SRC_TEST="setup.py"
57
58 inherit distutils
59
60 DESCRIPTION="pkgcore package manager"
61 HOMEPAGE="http://pkgcore.googlecode.com/"
62 SRC_URI="http://pkgcore.googlecode.com/files/${P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
67 IUSE="doc"
68
69 RDEPEND=">=dev-lang/python-2.4
70 >=dev-python/snakeoil-0.4.2
71 dev-python/pyparsing
72 || ( >=dev-lang/python-2.5 dev-python/pycrypto )"
73 DEPEND="${RDEPEND}
74 doc? ( >=dev-python/docutils-0.4 )"
75
76 DOCS="AUTHORS NEWS"
77
78 pkg_setup() {
79 # disable snakeoil 2to3 caching...
80 unset PY2TO3_CACHEDIR
81 python_pkg_setup
82 }
83
84 src_compile() {
85 distutils_src_compile
86
87 if use doc; then
88 ./build_docs.py || die "doc building failed"
89 fi
90 }
91
92 src_install() {
93 distutils_src_install
94
95 if use doc; then
96 dohtml -r doc dev-notes
97 doman man/*.1
98 fi
99 }
100
101 pkg_postinst() {
102 distutils_pkg_postinst
103 pplugincache
104
105 if [[ -d "${ROOT}etc/pkgcore/plugins" ]]; then
106 elog "You still have an /etc/pkgcore/plugins from pkgcore 0.1."
107 elog "It is unused by pkgcore >= 0.2, remove it now."
108 die "remove /etc/pkgcore/plugins from pkgcore 0.1"
109 fi
110
111 # This is left behind by pkgcore 0.2.
112 rm -f "${ROOT}"$(python_get_sitedir)/pkgcore/plugins/plugincache
113 }
114
115 pkg_postrm() {
116 # Careful not to remove this on up/downgrades.
117 local sitep="${ROOT}"$(python_get_sitedir)/site-packages
118 if [[ -e "${sitep}/pkgcore/plugins/plugincache2" ]] &&
119 ! [[ -e "${sitep}/pkgcore/plugin.py" ]]; then
120 rm "${sitep}/pkgcore/plugins/plugincache2"
121 fi
122 distutils_pkg_postrm
123 }