summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.6.ebuild44
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-util/pkgcore-checks/ChangeLog b/dev-util/pkgcore-checks/ChangeLog
index 1e0175e775c2..3e9a9cfaa3ee 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.36 2008/11/21 02:17:46 jmbsvicetto Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/ChangeLog,v 1.37 2009/10/22 10:37:58 patrick Exp $
+
+*pkgcore-checks-0.4.6 (22 Oct 2009)
+
+ 22 Oct 2009; Patrick Lauer <patrick@gentoo.org>
+ +pkgcore-checks-0.4.6.ebuild:
+ Bump
*pkgcore-checks-0.4.5 (21 Nov 2008)
diff --git a/dev-util/pkgcore-checks/pkgcore-checks-0.4.6.ebuild b/dev-util/pkgcore-checks/pkgcore-checks-0.4.6.ebuild
new file mode 100644
index 000000000000..5da37d381fa9
--- /dev/null
+++ b/dev-util/pkgcore-checks/pkgcore-checks-0.4.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 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.6.ebuild,v 1.1 2009/10/22 10:37:58 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.4.7.12
+ dev-python/snakeoil
+ >=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
+}