1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name py-sip |
---|
6 | version 4.7.3 |
---|
7 | categories python devel |
---|
8 | maintainers blair openmaintainer |
---|
9 | description create Python bindings for C and C++ libraries |
---|
10 | long_description SIP is a tool that makes it very easy to create \ |
---|
11 | Python bindings for C and C++ libraries. \ |
---|
12 | It was originally developed to create PyQt, \ |
---|
13 | the Python bindings for the Qt toolkit, \ |
---|
14 | but can be used to create bindings for any \ |
---|
15 | C or C++ library. |
---|
16 | |
---|
17 | homepage http://www.riverbankcomputing.co.uk/sip/ |
---|
18 | master_sites http://www.riverbankcomputing.com/Downloads/sip4/ \ |
---|
19 | http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \ |
---|
20 | http://gentoo.osuosl.org/distfiles/ \ |
---|
21 | http://www.gtlib.gatech.edu/pub/gentoo/distfiles/ |
---|
22 | |
---|
23 | distname sip-${version} |
---|
24 | checksums md5 a792c58d4d211c65949dac6005eb652b \ |
---|
25 | sha1 dfde22ba283b774dbe54e7f494ae217f6e43f370 \ |
---|
26 | rmd160 7743de67ba947ef4730cf6c902d1047fb2741872 |
---|
27 | dist_subdir python |
---|
28 | |
---|
29 | depends_lib port:python25 |
---|
30 | |
---|
31 | patchfiles patch-siputils.py |
---|
32 | |
---|
33 | configure.cmd ${prefix}/bin/python2.5 configure.py |
---|
34 | configure.pre_args -d ${prefix}/lib/python2.5/site-packages \ |
---|
35 | -e ${prefix}/include/python2.5 \ |
---|
36 | -v ${prefix}/share/sip \ |
---|
37 | -p macx-g++ |
---|
38 | configure.post_args LFLAGS="-F/Library/Frameworks -L${prefix}/lib" |
---|
39 | |
---|
40 | test.run yes |
---|
41 | test.cmd cd siplib && ${prefix}/bin/python2.5 -c 'import sip' |
---|
42 | |
---|
43 | post-destroot { |
---|
44 | xinstall -m 755 -d ${destroot}${prefix}/share/doc |
---|
45 | file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} |
---|
46 | xinstall -m 644 -W ${worksrcpath} LICENSE NEWS README THANKS TODO \ |
---|
47 | ${destroot}${prefix}/share/doc/${name} |
---|
48 | } |
---|