blob: bfaebbd7bea8232293b434f7afa3d5706eaa287f (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-2.0.3.ebuild,v 1.2 2010/11/10 22:29:29 patrick Exp $
EAPI=3
PYTHON_DEPEND="*"
SUPPORT_PYTHON_ABIS=1
inherit distutils
DESCRIPTION="A pure Python module designed to help make the creation and analysis of binary data as simple and natural as possible"
HOMEPAGE="http://python-bitstring.googlecode.com/"
SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
src_test() {
testing() {
PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_${PN}.py
}
pushd test > /dev/null
python_execute_function testing
popd > /dev/null
}
|