# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyserial/pyserial-2.5-r1.ebuild,v 1.9 2011/08/27 21:19:46 neurogeek Exp $ EAPI="3" SUPPORT_PYTHON_ABIS="1" inherit distutils eutils DESCRIPTION="Python Serial Port Extension" HOMEPAGE="http://pyserial.sourceforge.net/ http://sourceforge.net/projects/pyserial/ http://pypi.python.org/pypi/pyserial" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="PSF-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" IUSE="" DEPEND="" RDEPEND="" DOCS="CHANGES.txt README.txt" PYTHON_MODNAME="serial" src_prepare() { distutils_src_prepare epatch "${FILESDIR}/${P}-python-3.patch" }