/[gentoo-x86]/dev-python/polygon/polygon-3.0.4.ebuild
Gentoo

Contents of /dev-python/polygon/polygon-3.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Nov 11 13:08:01 2012 UTC (7 months, 1 week ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
keyword ~ppc, bug #442318

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-3.0.4.ebuild,v 1.4 2012/06/21 01:26:52 jdhore Exp $
4
5 EAPI=3
6 PYTHON_DEPEND="3"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="2.*"
9
10 inherit distutils
11
12 DESCRIPTION="Python package to handle polygonal shapes in 2D"
13 HOMEPAGE="http://www.j-raedler.de/projects/polygon"
14 SRC_URI="mirror://github/jraedler/Polygon3/Polygon-${PV}a-src.zip"
15
16 LICENSE="LGPL-2"
17 SLOT="3"
18 KEYWORDS="amd64 ~ppc x86"
19 IUSE=""
20
21 RDEPEND=""
22 DEPEND="${RDEPEND}
23 app-arch/unzip"
24
25 S="${WORKDIR}/Polygon-${PV}"
26
27 src_test() {
28 testing() {
29 PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" test/Test.py
30 }
31 python_execute_function testing
32 }
33
34 src_install() {
35 distutils_src_install
36 dodoc HISTORY doc/Polygon.txt
37 }

  ViewVC Help
Powered by ViewVC 1.1.20