blob: 9b5da0a242ec759d74a33d83e4c7c9584b71f2a1 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.0.8a.ebuild,v 1.1 2008/06/23 06:30:39 dev-zero Exp $
inherit distutils
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
DESCRIPTION="ASN.1 types and codecs (BER, CER, DER) implementation."
HOMEPAGE="http://pyasn1.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""
src_install() {
DOCS="CHANGES"
distutils_src_install
dohtml doc/*
insinto /usr/share/doc/${PF}
doins -r examples
}
src_test() {
export PYTHONPATH="${PYTHONPATH}:${S}/build/lib"
python_version
"${python}" test/suite.py || die "tests failed"
}
|