# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/apse/apse-0.2-r2.ebuild,v 1.1 2013/01/20 00:45:10 mgorny Exp $ EAPI=5 PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) inherit distutils-r1 MY_P="Apse-${PV}" DESCRIPTION="Approximate String Matching in Python." HOMEPAGE="http://www.personal.psu.edu/staff/i/u/iua1/python/apse/" SRC_URI="http://www.personal.psu.edu/staff/i/u/iua1/python/${PN}/dist/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" IUSE="" RDEPEND="" DEPEND="&2 "${@}" || die } python_test() { "${PYTHON}" test/test_Apse.py || die "Tests fail with ${EPYTHON}" }