# Copyright 1999-2014 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Id$ | |
EAPI=5 | |
PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) | |
inherit distutils-r1 | |
DESCRIPTION="parse() is the opposite of format()" | |
HOMEPAGE="https://github.com/r1chardj0n3s/parse" | |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" | |
LICENSE="BSD" | |
SLOT="0" | |
KEYWORDS="~amd64" | |
IUSE="" | |
DEPEND="" | |
RDEPEND="" | |
python_test() { | |
"${PYTHON}" test_parse.py || die "Tests failed under ${EPYTHON}" | |
} |