summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2011-12-01 12:55:24 +0000
committerBrian Harring <ferringb@gentoo.org>2011-12-01 12:55:24 +0000
commit7182deec1c03c677b88904983f197055859b9568 (patch)
tree819ef67202d494cfcbf627aed100fdefec49a099 /sys-apps
parentQA: do not try to be smart about setting dependencies, when the tricks don't ... (diff)
downloadgentoo-2-7182deec1c03c677b88904983f197055859b9568.tar.gz
gentoo-2-7182deec1c03c677b88904983f197055859b9568.tar.bz2
gentoo-2-7182deec1c03c677b88904983f197055859b9568.zip
drop old plugincache wiping code that is now invalidly causing issues; >0.7.6.1 will be fixed for the same in the next 24 hours
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pkgcore/ChangeLog5
-rw-r--r--sys-apps/pkgcore/pkgcore-9999.ebuild21
2 files changed, 5 insertions, 21 deletions
diff --git a/sys-apps/pkgcore/ChangeLog b/sys-apps/pkgcore/ChangeLog
index fba1fc09c02c..146d7e9f4631 100644
--- a/sys-apps/pkgcore/ChangeLog
+++ b/sys-apps/pkgcore/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/pkgcore
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.133 2011/12/01 09:21:28 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.134 2011/12/01 12:55:24 ferringb Exp $
+
+ 01 Dec 2011; Brian Harring <ferringb@gentoo.org> pkgcore-9999.ebuild:
+ drop old plugincache wiping code that now is causing issues
*pkgcore-0.7.6.1 (01 Dec 2011)
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild
index 9c1d873a15d3..845ef311544a 100644
--- a/sys-apps/pkgcore/pkgcore-9999.ebuild
+++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild,v 1.3 2011/09/20 02:53:25 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild,v 1.4 2011/12/01 12:55:24 ferringb Exp $
EAPI="3"
DISTUTILS_SRC_TEST="setup.py"
@@ -52,23 +52,4 @@ src_install() {
pkg_postinst() {
distutils_pkg_postinst
pplugincache
-
- if [[ -d "${ROOT}etc/pkgcore/plugins" ]]; then
- elog "You still have an /etc/pkgcore/plugins from pkgcore 0.1."
- elog "It is unused by pkgcore >= 0.2, remove it now."
- die "remove /etc/pkgcore/plugins from pkgcore 0.1"
- fi
-
- # This is left behind by pkgcore 0.2.
- rm -f "${ROOT}"$(python_get_sitedir)/pkgcore/plugins/plugincache
-}
-
-pkg_postrm() {
- # Careful not to remove this on up/downgrades.
- local sitep="${ROOT}"$(python_get_sitedir)/site-packages
- if [[ -e "${sitep}/pkgcore/plugins/plugincache2" ]] &&
- ! [[ -e "${sitep}/pkgcore/plugin.py" ]]; then
- rm "${sitep}/pkgcore/plugins/plugincache2"
- fi
- distutils_pkg_postrm
}