/[gentoo-x86]/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild
Gentoo

Contents of /dev-python/PyAmanith/PyAmanith-0.3.34.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon May 12 07:25:10 2008 UTC (12 years, 5 months ago) by hawking
Branch: MAIN
Changes since 1.2: +8 -6 lines
Use NEED_PYTHON to depend on python. Use distutils_src_unpack. swig is not a runtime dependency, bug 221467.
(Portage version: 2.1.5_rc10)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild,v 1.2 2006/10/13 17:03:03 pythonhead Exp $
4
5 NEED_PYTHON=2.3
6
7 inherit eutils distutils
8
9 DESCRIPTION="Python wrapper for the Amanith 2D vector graphics library"
10 HOMEPAGE="http://louhi.kempele.fi/~skyostil/projects/pyamanith/"
11 SRC_URI="http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/${P}.tar.gz"
12
13 LICENSE="as-is"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND=">=media-libs/amanith-0.3"
19 DEPEND="${RDEPEND}
20 >=dev-lang/swig-1.3.29"
21
22 src_unpack() {
23 distutils_src_unpack
24
25 # perhaps someone with more swig/distutils clout can make this
26 # package stop sucking so hard
27 sed -i \
28 -e '/include/s:build/amanith/include/::' \
29 headers.i
30 epatch "${FILESDIR}"/${P}-build.patch
31 }

  ViewVC Help
Powered by ViewVC 1.1.20