summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/pkpgcounter/pkpgcounter-3.50.ebuild')
-rw-r--r--net-print/pkpgcounter/pkpgcounter-3.50.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/net-print/pkpgcounter/pkpgcounter-3.50.ebuild b/net-print/pkpgcounter/pkpgcounter-3.50.ebuild
index b2a2e22f24ed..89377290839f 100644
--- a/net-print/pkpgcounter/pkpgcounter-3.50.ebuild
+++ b/net-print/pkpgcounter/pkpgcounter-3.50.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/pkpgcounter/pkpgcounter-3.50.ebuild,v 1.2 2011/04/05 05:53:33 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/pkpgcounter/pkpgcounter-3.50.ebuild,v 1.3 2011/04/05 21:42:03 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
inherit distutils
@@ -13,15 +16,18 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="psyco" # psyco is available only for x86
-DEPEND="dev-lang/python
- dev-python/imaging
+DEPEND="dev-python/imaging
x86? ( psyco? ( dev-python/psyco ) )"
-
RDEPEND="${DEPEND}"
DOCS="BUGS CREDITS NEWS README PKG-INFO"
PYTHON_MODNAME="pkpgpdls"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_install() {
distutils_src_install