# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.7_alpha3.ebuild,v 1.1 2010/03/15 18:52:35 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" DISTUTILS_SRC_TEST="nosetests" inherit distutils MY_P="${PN}-${PV/_alpha/a}" DESCRIPTION="CSS Cascading Style Sheets parser and library for Python" HOMEPAGE="http://code.google.com/p/cssutils http://pypi.python.org/pypi/cssutils" SRC_URI="http://cssutils.googlecode.com/files/${MY_P}.zip http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${MY_P}.zip" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" RDEPEND=">=dev-python/setuptools-0.6_rc7-r1" DEPEND="${RDEPEND} app-arch/unzip test? ( dev-python/minimock )" RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" src_install() { distutils_src_install rm -fr "${ED}"usr/lib*/python*/site-packages/tests }