/[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.4 - (hide annotations) (download)
Sat Jul 10 20:22:27 2010 UTC (10 years, 3 months ago) by arfrever
Branch: MAIN
Changes since 1.3: +12 -7 lines
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20