Modified: trunk/dports/python/py-spyder/Portfile (96111 => 96112)
--- trunk/dports/python/py-spyder/Portfile 2012-08-01 05:06:16 UTC (rev 96111)
+++ trunk/dports/python/py-spyder/Portfile 2012-08-01 05:32:22 UTC (rev 96112)
@@ -4,6 +4,7 @@
PortSystem 1.0
name py-spyder
version 2.1.11
+revision 1
epoch 20111202
PortGroup python 1.0
@@ -78,20 +79,48 @@
${worksrcpath}/doc/conf.py
}
+ # Bare minimum
depends_lib-append \
- port:py${python.version}-h5py \
- port:py${python.version}-htmldocs \
- port:py${python.version}-ipython \
- port:py${python.version}-lint \
- port:py${python.version}-matplotlib \
- port:py${python.version}-pep8 \
- port:py${python.version}-pil \
- port:py${python.version}-pyflakes \
port:py${python.version}-pyqt4 \
- port:py${python.version}-rope \
- port:py${python.version}-scipy \
port:py${python.version}-sphinx
+ variant tiny description {
+ Remove all optional dependencies for quickest install. Dependencies\
+ are detected/enabled at runtime and may be installed separately.
+ } conflicts small {}
+
+ variant small description {
+ Remove most optional dependencies for quicker install. Dependencies\
+ are detected/enabled at runtime and may be installed separately.
+ } conflicts tiny {}
+
+ # These add very little to the install time
+ if {![ variant_isset tiny ]} {
+ depends_lib-append \
+ port:py${python.version}-htmldocs \
+ port:py${python.version}-lint \
+ port:py${python.version}-pep8 \
+ port:py${python.version}-pyflakes \
+ port:py${python.version}-rope
+ }
+
+ # These add substantially to the install time
+ if {![ variant_isset small ] &&
+ ![ variant_isset tiny ] } {
+ depends_lib-append \
+ port:py${python.version}-h5py \
+ port:py${python.version}-ipython \
+ port:py${python.version}-matplotlib \
+ port:py${python.version}-scipy
+ }
+
+ variant pil description {
+ Support image objects in editor through PIL (many dependencies.)
+ } {
+ depends_lib-append \
+ port:py${python.version}-pil
+ }
+
post-destroot {
if {${python.version} == ${python.default_version}} {
ln -s ${python.prefix}/bin/spyder ${destroot}${prefix}/bin/