source: trunk/dports/python/py-gobject/Portfile @ 33474

Last change on this file since 33474 was 33474, checked in by gui_dos@…, 10 years ago

py-gobject, py-cairo, py-gtk2: sync with the py25-* counterparts

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 33474 2008-01-27 15:58:35Z gui_dos@macports.org $
2
3PortSystem      1.0
4
5name            py-gobject
6set my_name     pygobject
7version         2.14.1
8set branch      [join [lrange [split ${version} .] 0 1] .]
9categories      python gnome
10maintainers     nomaintainer
11description     Python bindings for GObject.
12
13long_description \
14    PyGObject provides a convenient wrapper for the GObject+ library \
15    for use in Python programs, and takes care of many of the boring details \
16    such as managing memory and type casting. \
17    When combined with PyGTK, PyORBit and gnome-python, \
18    it can be used to write full featured Gnome applications.
19
20homepage        http://www.pygtk.org/
21master_sites    gnome:sources/${my_name}/${branch}/
22distname        ${my_name}-${version}
23use_bzip2       yes
24
25checksums       md5 d403998bc0c5034b21bd75ae7b704f4a \
26                sha1 5904370097e24b54e71257e1ed0de062c5138d11 \
27                rmd160 086d96f059a7317f828e9b8265a9bf62420c3c1b
28
29depends_build   port:pkgconfig
30depends_lib     port:glib2 \
31                port:libxslt \
32                port:python24
33
34configure.args  --disable-glibtest
35
36configure.python    ${prefix}/bin/python2.4
37
38platform darwin 9 {
39    post-patch {
40        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/gobject/Makefile.in
41    }
42}
43
44test.run        yes
45test.env        PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
46test.target     check
47
48post-destroot {
49    set docdir ${prefix}/share/doc/${name}-${version}
50    xinstall -d ${destroot}${docdir}
51    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
52        ${destroot}${docdir}
53}
54
55livecheck.check regex
56livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
57livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.