summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-01-09 02:39:34 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-01-09 02:39:34 +0000
commita1e729aea8b676447043b91578c241ff3e5e6770 (patch)
tree4e5fcecb0415a1c8dd5b91a94a961b2b527f35e5 /dev-util/pkgcore-checks
parentBump (diff)
downloadgentoo-2-a1e729aea8b676447043b91578c241ff3e5e6770.tar.gz
gentoo-2-a1e729aea8b676447043b91578c241ff3e5e6770.tar.bz2
gentoo-2-a1e729aea8b676447043b91578c241ff3e5e6770.zip
Bump
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/pkgcore-checks')
-rw-r--r--dev-util/pkgcore-checks/ChangeLog10
-rw-r--r--dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild44
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-util/pkgcore-checks/ChangeLog b/dev-util/pkgcore-checks/ChangeLog
index 79dcc5c4cbc5..7dc8600eb83b 100644
--- a/dev-util/pkgcore-checks/ChangeLog
+++ b/dev-util/pkgcore-checks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/pkgcore-checks
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.43 2009/12/28 15:17:37 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.44 2010/01/09 02:39:34 patrick Exp $
+
+*pkgcore-checks-0.4.13 (09 Jan 2010)
+
+ 09 Jan 2010; Patrick Lauer <patrick@gentoo.org>
+ +pkgcore-checks-0.4.13.ebuild:
+ Bump
28 Dec 2009; Patrick Lauer <patrick@gentoo.org>
pkgcore-checks-0.4.12.ebuild:
diff --git a/dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild b/dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild
new file mode 100644
index 000000000000..9deec9da08bf
--- /dev/null
+++ b/dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/pkgcore-checks-0.4.13.ebuild,v 1.1 2010/01/09 02:39:34 patrick Exp $
+
+inherit distutils
+
+DESCRIPTION="pkgcore developmental repoman replacement"
+HOMEPAGE="http://www.pkgcore.org/"
+SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=sys-apps/pkgcore-0.5.9
+ >=dev-python/snakeoil-0.3.6
+ >=dev-lang/python-2.4"
+DEPEND="${RDEPEND}"
+
+DOCS="NEWS AUTHORS"
+
+PYTHON_MODNAME=pkgcore_checks
+
+src_test() {
+ "${python}" setup.py test || die "tests returned non zero"
+}
+
+pkg_postinst() {
+ einfo "updating pkgcore plugin cache"
+ pplugincache pkgcore_checks.plugins pkgcore.plugins
+ distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ python_version
+ # Careful not to remove this on up/downgrades.
+ local sitep="${ROOT}"usr/lib/python${PYVER}/site-packages
+ if [[ -e "${sitep}/pkgcore_checks/plugins/plugincache2" ]] &&
+ ! [[ -e "${sitep}/pkgcore_checks/base.py" ]]; then
+ rm "${sitep}/pkgcore_checks/plugins/plugincache2"
+ fi
+ distutils_pkg_postrm
+}