source: trunk/dports/gnome/gnome-python27-extras/Portfile @ 80071

Last change on this file since 80071 was 80071, checked in by jeremyhu@…, 6 years ago

gnome: Add python27 versions of various gnome ports

Based on python26 versions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 80071 2011-07-03 23:25:02Z jeremyhu@macports.org $
3
4PortSystem          1.0
5
6name                gnome-python27-extras
7version             2.25.3
8
9categories          gnome python
10platforms           darwin
11maintainers         nomaintainer
12
13description         "Extra" Python modules for some GNOME Desktop libraries.
14long_description    ${description}\
15                                        egg-recent, gksu, gksu2, gksui, gtkmozembed are not built.\
16                                        File a bug if you need them.
17
18homepage            http://www.pygtk.org/
19
20set myname          gnome-python-extras
21set branch          [join [lrange [split ${version} .] 0 1] .]
22
23master_sites        gnome:sources/${myname}/${branch}
24distname            ${myname}-${version}
25dist_subdir         ${myname}
26
27checksums           md5     9f3b7ec5c57130b96061cb486b79c076 \
28                    sha1    e69e5288466c960ed6f985bb10c9969b21ed85a4 \
29                    rmd160  e09bc0152512e2caa61626a7dc788d7336f24e46
30
31use_bzip2           yes
32
33depends_lib         port:py27-eggtrayicon \
34                    port:py27-gdl \
35                    port:py27-gda \
36                    port:py27-gtkhtml2 \
37                    port:py27-gtkspell
38
39patchfiles          patch-configure.diff
40
41configure.args-append            --disable-allbindings
42
43set python.branch   2.7
44set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
45set python.bin      ${python.prefix}/bin/python${python.branch}
46
47configure.args-append       --prefix=${python.prefix}
48configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
49
50configure.python        ${python.bin}
51configure.env-append    PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.7/bin/pygobject-codegen-2.0
52
53livecheck.type      regex
54livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
55livecheck.regex     {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.