You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
742 B
37 lines
742 B
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A Python web-widget library"
|
|
HOMEPAGE="http://jderose.fedorapeople.org/wehjit"
|
|
SRC_URI="http://jderose.fedorapeople.org/${PN}/${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE="test"
|
|
|
|
RDEPEND="dev-python/genshi
|
|
dev-python/assets[${PYTHON_USEDEP}]
|
|
dev-python/paste[${PYTHON_USEDEP}]
|
|
dev-python/pygments[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
DOCS=( README NEWS )
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-SkipTest.patch )
|
|
|
|
python_test() {
|
|
if [[ "${EPYTHON:6:3}" == '2.6' ]]; then
|
|
nosetests -I test_app* -e=*getitem
|
|
else
|
|
nosetests
|
|
fi
|
|
}
|