/[gentoo-x86]/dev-python/keyczar/keyczar-0.715.ebuild
Gentoo

Contents of /dev-python/keyczar/keyczar-0.715.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 8 23:52:09 2015 UTC (5 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable, bug 540290

(Portage version: 2.2.17/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/keyczar/keyczar-0.715.ebuild,v 1.2 2015/03/06 22:27:16 pacho Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 ) #appears py2 friendly only
7
8 inherit distutils-r1
9
10 MY_PN=python-${PN}
11 MY_P=${MY_PN}-${PV}
12
13 DESCRIPTION="Toolkit for safe and simple cryptography"
14 HOMEPAGE="http://www.keyczar.org https://pypi.python.org/pypi/python-keyczar/"
15 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
16
17 LICENSE="Apache-2.0"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE="doc"
21
22 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
23 RDEPEND="${DEPEND}
24 >=dev-python/pycrypto-2.0[${PYTHON_USEDEP}]
25 dev-python/pyasn1[${PYTHON_USEDEP}]"
26
27 S=${WORKDIR}/${MY_P}
28
29 python_test() {
30 cd tests/keyczar_tests
31 ${PYTHON} alltests.py || die "tests fail with ${EPYTHON}"
32 }
33
34 python_install_all() {
35 use doc && dodoc doc/pycrypt*
36
37 distutils-r1_python_install_all
38 }

  ViewVC Help
Powered by ViewVC 1.1.20