/[gentoo-x86]/dev-python/ecdsa/ecdsa-0.8.ebuild
Gentoo

Contents of /dev-python/ecdsa/ecdsa-0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Sep 18 04:28:48 2012 UTC (2 years, 3 months ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +2 -2 lines
add missing test to IUSE

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/ecdsa/ecdsa-0.8.ebuild,v 1.1 2012/09/16 20:05:55 blueness Exp $
4
5 EAPI="4"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
9
10 inherit distutils vcs-snapshot
11
12 DESCRIPTION="ECDSA cryptographic signature library in pure Python"
13 HOMEPAGE="http://github.com/warner/python-ecdsa"
14 SRC_URI="https://github.com/warner/python-${PN}/tarball/python-${P} -> ${P}.tar.gz"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="test"
20
21 DEPEND="test? ( dev-libs/openssl:0 )"
22
23 src_test() {
24 testing() {
25 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" ${PN}/test_pyecdsa.py
26 }
27 python_execute_function testing
28 }

  ViewVC Help
Powered by ViewVC 1.1.20