summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-10-23 01:33:03 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-10-23 01:33:03 +0000
commitf0a53b56e079c657016d613050b9d712e7d105f5 (patch)
treee1f5f4815fb6bc2fa4d33e09f6fa2b2e972dc069 /dev-util/pkgcore-checks/pkgcore-checks-0.4.4.ebuild
parentMinor dependency fix for monolithic qt4, add myself as maintainer. (diff)
downloadgentoo-2-f0a53b56e079c657016d613050b9d712e7d105f5.tar.gz
gentoo-2-f0a53b56e079c657016d613050b9d712e7d105f5.tar.bz2
gentoo-2-f0a53b56e079c657016d613050b9d712e7d105f5.zip
Bumped pkgcore-checks to 0.4.4 and updated pkgcore dep as requested by ferringb.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'dev-util/pkgcore-checks/pkgcore-checks-0.4.4.ebuild')
-rw-r--r--dev-util/pkgcore-checks/pkgcore-checks-0.4.4.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/pkgcore-checks/pkgcore-checks-0.4.4.ebuild b/dev-util/pkgcore-checks/pkgcore-checks-0.4.4.ebuild
new file mode 100644
index 000000000000..60c4266f398e
--- /dev/null
+++ b/dev-util/pkgcore-checks/pkgcore-checks-0.4.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 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.4.ebuild,v 1.1 2008/10/23 01:33:03 jmbsvicetto 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
+}