blob: 00c04cd2de91d1bb25334910aa065ddb9b7ddeb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/apipkg/apipkg-1.0.ebuild,v 1.1 2010/10/16 20:41:30 arfrever Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="py.test"
inherit distutils
MY_P="${PN}-${PV/_beta/b}"
DESCRIPTION="apipkg: namespace control and lazy-import mechanism"
HOMEPAGE="http://pypi.python.org/pypi/apipkg"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND=""
S="${WORKDIR}/${MY_P}"
DOCS="CHANGELOG README.txt"
PYTHON_MODNAME="apipkg.py"
src_prepare() {
distutils_src_prepare
# Disable failing test.
sed -e "s/test_onfirstaccess_setsnewattr/_&/" -i test_apipkg.py
}
|