1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name pyxml |
---|
6 | version 0.8.2 |
---|
7 | categories devel textproc |
---|
8 | maintainers ryanwilcox@mac.com |
---|
9 | description XML Tools for Python |
---|
10 | long_description A package of all the tools required for writing basic XML applications in Python |
---|
11 | platforms darwin |
---|
12 | homepage http://pyxml.sourceforge.net/ |
---|
13 | master_sites \ |
---|
14 | http://unc.dl.sourceforge.net/sourceforge/${name}/ \ |
---|
15 | http://telia.dl.sourceforge.net/sourceforge/${name}/ \ |
---|
16 | http://easynews.dl.sourceforge.net/sourceforge/${name}/ \ |
---|
17 | http://umn.dl.sourceforge.net/sourceforge/${name}/ \ |
---|
18 | http://twtelecom.dl.sourceforge.net/sourceforge/${name}/ \ |
---|
19 | http://belnet.dl.sourceforge.net/sourceforge/${name}/ \ |
---|
20 | http://switch.dl.sourceforge.net/sourceforge/${name}/ \ |
---|
21 | http://cesnet.dl.sourceforge.net/sourceforge/${name}/ |
---|
22 | distname PyXML-0.8.2 |
---|
23 | checksums md5 089949423213bfee633e016da54cb90c |
---|
24 | |
---|
25 | depends_build bin:python:python |
---|
26 | depends_lib lib:libexpat.0:expat |
---|
27 | |
---|
28 | configure {} |
---|
29 | |
---|
30 | variant darwin { |
---|
31 | #patch files are darwin specific |
---|
32 | patchfiles patch-setup.py.diff |
---|
33 | } |
---|
34 | |
---|
35 | build {} |
---|
36 | build.args --prefix=${destroot}${prefix} |
---|
37 | build.cmd python setup.py build --with-libexpat=${prefix} |
---|
38 | |
---|
39 | install.args --prefix=${destroot}${prefix} |
---|
40 | install.destroot {} |
---|
41 | install.cmd ${prefix}/bin/python setup.py |
---|
42 | |
---|
43 | post-install { |
---|
44 | # remind user to define/add installed path to python path |
---|
45 | # copied from the twisted port file |
---|
46 | ui_msg "\nBe sure the install path is included in your python path:" |
---|
47 | ui_msg "setenv PYTHONPATH \$PYTHONPATH:${prefix}/lib/python2.2/site-packages\n" |
---|
48 | } |
---|