# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set _name apache-libcloud
set _n [string index ${_name} 0]
maintainers {petr @petrrr} openmaintainer
description Apache libcloud a unified interface into the cloud
Apache Libcloud is a Python library which hides differences between \
different cloud provider APIs and allows you to manage different \
cloud resources through a unified and easy to use API.
homepage http://libcloud.apache.org/
master_sites http://www.apache.org/dist/libcloud/ \
https://pypi.python.org/packages/source/${_n}/${_name}/
distname ${_name}-${version}
checksums sha1 18c60d7a0b3f872c24527aaf386a543fa8c79e9b \
rmd160 14c8d03e1b821afce479d83f2522fe33f1cdfcc5 \
sha256 0e2eee3802163bd0605975ed1e284cafc23203919bfa80c0cc5d3cd2543aaf97 \
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_build-append port:py${python.version}-mock \
port:py${python.version}-requests \
port:py${python.version}-requests-mock \
port:py${python.version}-pytest \
port:py${python.version}-pytest-runner
set test_dir ${worksrcpath}/libcloud/test
pre-test { copy -force ${test_dir}/secrets.py-dist ${test_dir}/secrets.py }
post-test { delete ${test_dir}/secrets.py }
# Adding documentation and examples
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -W ${worksrcpath} \