| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/dingus/dingus-0.3.4.ebuild,v 1.2 2012/04/28 19:35:17 xarthisius Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
PYTHON_DEPEND="2" |
| 7 |
SUPPORT_PYTHON_ABIS=1 |
| 8 |
RESTRICT_PYTHON_ABIS="3.*" |
| 9 |
|
| 10 |
inherit distutils |
| 11 |
|
| 12 |
DESCRIPTION="A record-then-assert mocking library" |
| 13 |
HOMEPAGE="http://pypi.python.org/pypi/dingus/" |
| 14 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
| 15 |
|
| 16 |
LICENSE="MIT" |
| 17 |
SLOT="0" |
| 18 |
IUSE="" |
| 19 |
KEYWORDS="~amd64 ~x86" |
| 20 |
|
| 21 |
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
| 22 |
|
| 23 |
DEPEND="dev-python/setuptools" |
| 24 |
RDEPEND="" |
| 25 |
|
| 26 |
src_prepare() { |
| 27 |
sed -i -e '/data_files/d' setup.py || die #413769 |
| 28 |
distutils_src_prepare |
| 29 |
} |