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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Aug 18 13:00:03 2013 UTC (14 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Migrate to distutils-r1, bug #481494

(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2013 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.2 2012/09/18 04:28:48 mr_bones_ Exp $
4
5 EAPI=5
6
7 # pypy has test failures with some BadSignatureErrors
8 PYTHON_COMPAT=( python{2_6,2_7} )
9
10 inherit distutils-r1 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 python_test() {
24 cd "${TMPDIR}" || die
25 "${PYTHON}" "${BUILD_DIR}"/lib/${PN}/test_pyecdsa.py \
26 || die "Tests fail with ${EPYTHON}"
27 }

  ViewVC Help
Powered by ViewVC 1.1.20