Ticket #26494: Portfile.4

File Portfile.4, 1.2 KB (added by list-ener@…, 14 years ago)

Portfile for python/py27-pyside

Line 
1# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem      1.0
5PortGroup   qt4 1.0
6PortGroup   cmake 1.0
7
8name            py27-pyside
9version         1.0.0-beta5
10#revision    1
11categories      python devel
12platforms       macosx
13maintainers     openmaintainer
14description     PySide is a set of Python bindings for the Qt4 toolkit
15long_description \
16                PySide is a set of Python bindings for the Qt4 toolkit.
17homepage        http://www.pyside.org/
18master_sites    http://www.pyside.org/files/
19distname        pyside-qt4.7+[join [split ${version} "-"] "~"]
20use_bzip2           yes
21dist_subdir         python
22
23checksums           md5     d6d7eae6744875fcf9862a827ab6c4aa \
24                    sha1    c39d5be65dfa931e380fa1b0eaa5ef9a7a9aa69f \
25                    rmd160  9e05a7bf90351f43765fe8f762234cba0d86cee1
26
27depends_lib-append      port:shiboken
28
29worksrcdir          ${distname}/build
30
31configure.args-append   ..
32
33post-extract {
34    # Need to create the build dir:
35    file mkdir ${worksrcpath}
36}
37
38set pyversion 2.7
39set pyversion_join [join [split ${pyversion} "."] ""]
40
41test.run        yes
42test.cmd        cd qt && ${prefix}/bin/python${pyversion} -c 'import PySide'