gentoo/dev-python/httpauth/httpauth-0.3.ebuild
Louis Sautier 6a817fdc08
dev-python/httpauth: add py3.6 and pypy{,3} to PYTHON_COMPAT.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
2017-09-22 15:11:52 +02:00

27 lines
609 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} )
inherit distutils-r1
DESCRIPTION="A WSGI middleware that secures routes using HTTP Digest Authentication"
HOMEPAGE="https://github.com/jonashaag/httpauth/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
python_test() {
nosetests tests.py || die "tests failed with ${EPYTHON}"
}