source: trunk/dports/python/py27-atspi/Portfile

Last change on this file was 146048, checked in by petr@…, 19 months ago

py27-atspi: add supported_archs noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146048 2016-02-26 00:40:40Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            py27-atspi
7set gname       pyatspi
8version         0.4.1
9license         LGPL
10set branch      [join [lrange [split ${version} .] 0 1] .]
11categories      python gnome
12platforms       darwin
13supported_archs noarch
14maintainers     devans openmaintainer
15description     Python bindings to AT-SPI over DBus on GNOME 2
16
17long_description \
18    This module provides a Python client library for the Service Provider Interface \
19    to Assistive Technologies available on the GNOME 2 platform using the DBus \
20    rather than the CORBA infrastructure.
21
22homepage        https://wiki.gnome.org/Accessibility
23master_sites    gnome:sources/${gname}/${branch}/
24distname        ${gname}-${version}
25use_bzip2       yes
26
27checksums       sha256  2d9672e0ca6277c491a0b35421691d96618d9c02e687851ce418811379aa4a2e \
28                rmd160  639fe4fd55a19d885d33870f0be3dee162f74238
29
30depends_lib     port:py27-pygtk \
31                port:dbus-python27
32
33set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
34
35configure.pre_args-delete  --prefix=${prefix}
36configure.pre_args-append  --prefix=${python_prefix}
37configure.args-append      --includedir=${python_prefix}/include/python2.7
38configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
39
40configure.python    ${prefix}/bin/python2.7
41
42post-destroot {
43    set docdir ${prefix}/share/doc/${name}
44    xinstall -d ${destroot}${docdir}
45    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING README \
46        ${destroot}${docdir}
47}
48
49livecheck.type  gnome
50livecheck.name  ${gname}
51livecheck.regex {LATEST-IS-([01]\.\d*[02468](?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.