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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/Attic/PyAmanith-0.3.34.ebuild,v 1.3 2008/05/12 07:25:10 hawking Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/Attic/PyAmanith-0.3.34.ebuild,v 1.4 2010/07/10 20:22:27 arfrever Exp $
4 4
5NEED_PYTHON=2.3 5EAPI="3"
6SUPPORT_PYTHON_ABIS="1"
6 7
7inherit eutils distutils 8inherit distutils eutils
8 9
9DESCRIPTION="Python wrapper for the Amanith 2D vector graphics library" 10DESCRIPTION="Python wrapper for the Amanith 2D vector graphics library"
10HOMEPAGE="http://louhi.kempele.fi/~skyostil/projects/pyamanith/" 11HOMEPAGE="http://louhi.kempele.fi/~skyostil/projects/pyamanith/"
11SRC_URI="http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/${P}.tar.gz" 12SRC_URI="http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/${P}.tar.gz"
12 13
17 18
18RDEPEND=">=media-libs/amanith-0.3" 19RDEPEND=">=media-libs/amanith-0.3"
19DEPEND="${RDEPEND} 20DEPEND="${RDEPEND}
20 >=dev-lang/swig-1.3.29" 21 >=dev-lang/swig-1.3.29"
21 22
22src_unpack() { 23PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing")
24
25PYTHON_MODNAME="amanith.py"
26
27src_prepare() {
23 distutils_src_unpack 28 distutils_src_prepare
24 29
25 # perhaps someone with more swig/distutils clout can make this 30 # perhaps someone with more swig/distutils clout can make this
26 # package stop sucking so hard 31 # package stop sucking so hard
27 sed -i \ 32 sed -i \
28 -e '/include/s:build/amanith/include/::' \ 33 -e '/include/s:build/amanith/include/::' \
29 headers.i 34 headers.i
30 epatch "${FILESDIR}"/${P}-build.patch 35 epatch "${FILESDIR}/${P}-build.patch"
31} 36}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20