blob: f255301e7870c13e75d4b32ee2fc775fe1e7c13f (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.0.1.ebuild,v 1.6 2006/01/29 11:33:03 grobian Exp $
inherit eutils distutils
DESCRIPTION="Python Cryptography Toolkit"
HOMEPAGE="http://www.amk.ca/python/code/crypto.html"
SRC_URI="http://www.amk.ca/files/python/crypto/${P}.tar.gz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~sh ~sparc ~x86"
IUSE="bindist"
DEPEND="virtual/python"
src_unpack() {
unpack ${A}
cd "${S}"
use bindist && epatch "${FILESDIR}"/${P}-bindist.patch
}
src_test() {
python ./test.py || die "test failed"
}
DOCS="ACKS ChangeLog PKG-INFO README TODO Doc/pycrypt.tex"
|