[117675] trunk/dports/python/py-libcloud/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Fri Mar 7 14:56:55 PST 2014
Revision: 117675
https://trac.macports.org/changeset/117675
Author: macsforever2000 at macports.org
Date: 2014-03-07 14:56:55 -0800 (Fri, 07 Mar 2014)
Log Message:
-----------
py-libcloud: Update to version 0.14.1. (#42584)
Modified Paths:
--------------
trunk/dports/python/py-libcloud/Portfile
Modified: trunk/dports/python/py-libcloud/Portfile
===================================================================
--- trunk/dports/python/py-libcloud/Portfile 2014-03-07 22:56:37 UTC (rev 117674)
+++ trunk/dports/python/py-libcloud/Portfile 2014-03-07 22:56:55 UTC (rev 117675)
@@ -8,11 +8,10 @@
set _n [string index ${_name} 0]
name py-libcloud
-version 0.13.3
+version 0.14.1
categories-append net
platforms darwin
supported_archs noarch
-
license Apache-2
maintainers bo.ingv.it:Peter.Danecek openmaintainer
@@ -30,30 +29,44 @@
master_sites http://www.apache.org/dist/libcloud/ \
https://pypi.python.org/packages/source/${_n}/${_name}/
-checksums md5 0578aeb0fb5fbff04447ee15d45e4032 \
- sha1 6225e7387a66a2e65e2113847f17a2683b18c173 \
- rmd160 1cf9305e23a785f0395a4798b5d9007136962cc4 \
- sha256 8f1d40a37951a90ad957a73595316ed2f1a6e466e231f4e36be6d1a6d997673f
+checksums md5 0a645fcf3d8615ff1065f4ff9f663af4 \
+ sha1 e587c9c3519e7d061f3c2fb232af8ace593c8156 \
+ rmd160 6921ef826426109e1e92dde60ea266a56bcb234a \
+ sha256 fafe7a0945aff31fe24bbb0e8598427725ae235ce8541c776159b88af8b17a28
python.versions 26 27 32 33 34
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+
if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ # Testing
+ test.run yes
+
+ if {${test.run}} {
+ depends_build-append port:py${python.version}-mock
+
+ set test_dir ${worksrcpath}/libcloud/test
+ pre-test { copy ${test_dir}/secrets.py-dist ${test_dir}/secrets.py }
+ post-test { delete ${test_dir}/secrets.py }
+ }
+
# Adding documentation and examples
post-destroot {
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${dest_doc}
xinstall -m 755 -W ${worksrcpath} \
- CHANGES \
- HACKING \
LICENSE \
NOTICE \
- README \
+ CHANGES.rst \
+ README.rst \
${dest_doc}
eval copy [glob ${worksrcpath}/example_*.py] ${dest_doc}/examples
}
+
+ livecheck.type none
}
-
-livecheck.type regex
-livecheck.url [lindex ${master_sites} 0]
-livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140307/1b984ca3/attachment.html>
More information about the macports-changes
mailing list