1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 )
9 DESCRIPTION="Python package to handle polygonal shapes in 2D"
10 HOMEPAGE="https://www.j-raedler.de/projects/polygon/"
11 SRC_URI="https://www.bitbucket.org/jraedler/${PN}2/downloads/Polygon2-${PV}.zip"
15 KEYWORDS="amd64 ppc x86"
17 DEPEND="app-arch/unzip"
19 S=${WORKDIR}/Polygon2-${PV}
21 DOCS=( HISTORY doc/Polygon.txt )
24 ${PYTHON} test/Test.py || die "Tests failed"