summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyvtk/pyvtk-0.4.74.ebuild')
-rw-r--r--dev-python/pyvtk/pyvtk-0.4.74.ebuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/dev-python/pyvtk/pyvtk-0.4.74.ebuild b/dev-python/pyvtk/pyvtk-0.4.74.ebuild
index a75dd5eb553b..639aa4bf50c8 100644
--- a/dev-python/pyvtk/pyvtk-0.4.74.ebuild
+++ b/dev-python/pyvtk/pyvtk-0.4.74.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyvtk/pyvtk-0.4.74.ebuild,v 1.2 2010/05/26 16:59:26 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyvtk/pyvtk-0.4.74.ebuild,v 1.3 2013/06/14 09:57:06 jlec Exp $
-EAPI="2"
+EAPI=5
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit distutils eutils
+inherit distutils-r1
MY_P=PyVTK-${PV}
@@ -16,15 +15,10 @@ HOMEPAGE="http://cens.ioc.ee/projects/pyvtk/"
SRC_URI="http://cens.ioc.ee/projects/pyvtk/rel-0.x/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}"/${MY_P}
-RESTRICT_PYTHON_ABIS="3.*"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}.patch
- distutils_src_prepare
-}
+PATCHES=( "${FILESDIR}"/${P}.patch )