2015-03-07 22:23:18 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2012-04-27 16:10:45 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-03-09 22:56:36 +03:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-digest/python-digest-1.7-r1.ebuild,v 1.5 2015/03/08 23:57:11 pacho Exp $
|
2012-04-27 16:10:45 +04:00
|
|
|
|
2013-05-31 02:10:18 +04:00
|
|
|
EAPI=5
|
2014-04-08 13:20:57 +04:00
|
|
|
PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )
|
2012-04-27 16:10:45 +04:00
|
|
|
|
2013-05-31 02:10:18 +04:00
|
|
|
inherit distutils-r1
|
2012-04-27 16:10:45 +04:00
|
|
|
|
2012-05-04 18:38:41 +04:00
|
|
|
DESCRIPTION="A Python library to aid in implementing HTTP Digest Authentication"
|
2012-04-27 16:10:45 +04:00
|
|
|
HOMEPAGE="http://pypi.python.org/pypi/python-digest/ https://bitbucket.org/akoha/python-digest/"
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
2015-03-09 22:56:36 +03:00
|
|
|
KEYWORDS="amd64 x86"
|
2012-04-27 16:10:45 +04:00
|
|
|
IUSE="test"
|
2013-05-31 02:10:18 +04:00
|
|
|
DISTUTILS_IN_SOURCE_BUILD=1
|
2012-04-27 16:10:45 +04:00
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
RDEPEND=""
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-python/setuptools"
|
|
|
|
|
2013-05-31 02:10:18 +04:00
|
|
|
PATCHES=( "${FILESDIR}"/${P}-unittest.patch )
|
2012-04-27 16:10:45 +04:00
|
|
|
|
2013-05-31 02:10:18 +04:00
|
|
|
python_test() {
|
|
|
|
"${PYTHON}" ${PN/-/_}/tests.py || die "Tests failed under ${EPYTHON}"
|
2012-04-27 16:10:45 +04:00
|
|
|
}
|