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