Skip to content
Permalink
Browse files

py-libcloud: Update to version 0.14.1. (https://trac.macports.org/tic…

…ket/42584)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117675 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
mf2k committed Mar 7, 2014
1 parent b983319 commit a2dc0378a45d2645061094cad49b731458e6b1be
Showing with 26 additions and 13 deletions.
  1. +26 −13 python/py-libcloud/Portfile
@@ -8,11 +8,10 @@ set _name apache-libcloud
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 @@ distname ${_name}-${version}
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 regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
livecheck.type none
}

0 comments on commit a2dc037

Please sign in to comment.
You can’t perform that action at this time.