Contents of /trunk/extras/pygobject3/pygobject3-3.8.3-r2.smage2
Parent Directory | Revision Log
Revision 19568 -
(show annotations)
(download)
Mon Sep 23 09:07:02 2013 UTC (10 years, 8 months ago) by niro
File size: 690 byte(s)
Mon Sep 23 09:07:02 2013 UTC (10 years, 8 months ago) by niro
File size: 690 byte(s)
-force build against python2
1 | # $Id$ |
2 | |
3 | PNAME="pygobject3" |
4 | PVER="3.8.3" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="dev-python" |
8 | |
9 | DESCRIPTION="Python object library" |
10 | HOMEPAGE="http://www.pygtk.org/" |
11 | |
12 | # gobject-introspection is runtime needed |
13 | DEPEND=">= dev-lang/python-2.7 |
14 | >= dev-python/pycairo-1.10 |
15 | >= dev-libs/libffi-3.0.13 |
16 | >= dev-libs/gobject-introspection-1.36" |
17 | |
18 | SDEPEND=">= dev-util/pkgconfig-0.25" |
19 | |
20 | SRCFILE="${PNAME/3/}-${PVER}.tar.xz" |
21 | SRCDIR="${BUILDDIR}/${PNAME/3/}-${PVER}" |
22 | |
23 | sminclude mbuild |
24 | msetfeature "!check" |
25 | |
26 | SRC_URI=( |
27 | gnome://${PNAME/3/}/${PVER%.*}/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | ) |
30 | |
31 | UP2DATE="updatecmd_gnome ${PNAME/3/}" |
32 | |
33 | src_compile() |
34 | { |
35 | cd ${SRCDIR} |
36 | |
37 | mconfigure --with-python=/usr/bin/python2 || die |
38 | mmake || die |
39 | } |