summaryrefslogtreecommitdiff
blob: 427d277041e0574d246bb68a99fb886078bec0c0 (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/BitVector/BitVector-2.0.ebuild,v 1.1 2010/08/17 16:55:40 grozin Exp $

EAPI=3
PYTHON_DEPEND=2
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils

DESCRIPTION="A pure-Python memory-efficient packed representation for bit arrays"
HOMEPAGE="http://rvl4.ecn.purdue.edu/~kak/dist/${P}.html"
SRC_URI="http://rvl4.ecn.purdue.edu/~kak/dist/${P}.tar.gz"

LICENSE="PSF-2.4"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

src_test() {
	testing() {
		PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" Test.py
	}
	pushd Test${PN} > /dev/null
	python_execute_function testing
	popd > /dev/null
}