| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.0.1.ebuild,v 1.4 2005/08/27 20:04:33 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.0.1.ebuild,v 1.6 2006/01/29 11:33:03 grobian Exp $ |
| 4 | |
4 | |
| 5 | EAPI="prefix" |
5 | EAPI="prefix" |
| 6 | |
6 | |
| 7 | inherit distutils |
7 | inherit eutils distutils |
| 8 | |
8 | |
| 9 | DESCRIPTION="Python Cryptography Toolkit" |
9 | DESCRIPTION="Python Cryptography Toolkit" |
| 10 | HOMEPAGE="http://www.amk.ca/python/code/crypto.html" |
10 | HOMEPAGE="http://www.amk.ca/python/code/crypto.html" |
| 11 | SRC_URI="http://www.amk.ca/files/python/crypto/${P}.tar.gz" |
11 | SRC_URI="http://www.amk.ca/files/python/crypto/${P}.tar.gz" |
|
|
12 | |
|
|
13 | LICENSE="freedist" |
|
|
14 | SLOT="0" |
| 12 | KEYWORDS="~amd64 ~ppc-macos ~x86 ~x86-macos" |
15 | KEYWORDS="~amd64 ~ppc-macos ~x86 ~x86-macos" |
| 13 | LICENSE="freedist" |
16 | IUSE="bindist" |
|
|
17 | |
| 14 | DEPEND="virtual/python" |
18 | DEPEND="virtual/python" |
| 15 | SLOT="0" |
19 | |
| 16 | IUSE="" |
20 | src_unpack() { |
|
|
21 | unpack ${A} |
|
|
22 | cd "${S}" |
|
|
23 | use bindist && epatch "${FILESDIR}"/${P}-bindist.patch |
|
|
24 | } |
|
|
25 | |
|
|
26 | src_test() { |
|
|
27 | python ./test.py || die "test failed" |
|
|
28 | } |
|
|
29 | |
| 17 | DOCS="ACKS ChangeLog LICENSE MANIFEST PKG-INFO README TODO Doc/pycrypt.tex" |
30 | DOCS="ACKS ChangeLog PKG-INFO README TODO Doc/pycrypt.tex" |