blob: 0fd3cb2da428288228d3fc60b34a0a1b4042295f (
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
29
30
31
32
33
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/keyring/keyring-1.0.ebuild,v 1.4 2013/01/06 19:36:42 mgorny Exp $
# Ebuild generated by g-pypi 0.2.2 (rev. 214)
EAPI=5
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
inherit distutils-r1 eutils
MY_PN=${PN#python-}
S="${WORKDIR}/${MY_PN}-${PV}"
DESCRIPTION="Provides a easy way to access the system keyring service from
python."
HOMEPAGE="https://bitbucket.org/kang/python-keyring-lib"
SRC_URI="mirror://pypi/k/${MY_PN}/${MY_PN}-${PV}.zip"
LICENSE="PSF-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest
dev-python/pytest-runner
virtual/python-unittest2[${PYTHON_USEDEP}] )"
RDEPEND=""
PATCHES=( "${FILESDIR}/setup-1.0.patch" )
python_test() {
"${PYTHON}" keyring/tests/test_util.py || die
"${PYTHON}" keyring/tests/test_backend.py || die
"${PYTHON}" keyring/tests/test_core.py || die
"${PYTHON}" keyring/tests/test_cli.py || die
}
|