| 1 | # -*- 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 |
|---|
| 2 | # $Id$ |
|---|
| 3 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup python 1.0 |
|---|
| 6 | |
|---|
| 7 | set _name apache-libcloud |
|---|
| 8 | set _n [string index ${_name} 0] |
|---|
| 9 | |
|---|
| 10 | name py-libcloud |
|---|
| 11 | version 0.13.2 |
|---|
| 12 | categories-append net |
|---|
| 13 | platforms darwin |
|---|
| 14 | supported_archs noarch |
|---|
| 15 | |
|---|
| 16 | license ASL-2 |
|---|
| 17 | |
|---|
| 18 | maintainers bo.ingv.it:Peter.Danecek openmaintainer |
|---|
| 19 | |
|---|
| 20 | description Apache libcloud a unified interface into the cloud |
|---|
| 21 | |
|---|
| 22 | long_description \ |
|---|
| 23 | Apache Libcloud is a Python library which hides differences between \ |
|---|
| 24 | different cloud provider APIs and allows you to manage different \ |
|---|
| 25 | cloud resources through a unified and easy to use API. |
|---|
| 26 | |
|---|
| 27 | homepage http://libcloud.apache.org/ |
|---|
| 28 | |
|---|
| 29 | distname ${_name}-${version} |
|---|
| 30 | master_sites http://www.apache.org/dist/libcloud/ \ |
|---|
| 31 | https://pypi.python.org/packages/source/${_n}/${_name}/ |
|---|
| 32 | |
|---|
| 33 | checksums md5 d3d127bb21ee73ca5b30bb367949c898 \ |
|---|
| 34 | sha1 ea964c2af3c51d6670683757d0dffd353fa82c0e \ |
|---|
| 35 | rmd160 3ed337637dcae3ca7b876caa0b1bed9437c175d2 \ |
|---|
| 36 | sha256 03b6f18c46737b4b9360521b2c958ab699a75bcc5fdd63dfef7cc69c42b0154b |
|---|
| 37 | |
|---|
| 38 | python.versions 26 27 32 33 34 |
|---|
| 39 | |
|---|
| 40 | if {${name} ne ${subport}} { |
|---|
| 41 | # Adding documentation and examples |
|---|
| 42 | post-destroot { |
|---|
| 43 | set dest_doc ${destroot}${prefix}/share/doc/${subport} |
|---|
| 44 | xinstall -d ${dest_doc} |
|---|
| 45 | xinstall -m 755 -W ${worksrcpath} \ |
|---|
| 46 | CHANGES \ |
|---|
| 47 | HACKING \ |
|---|
| 48 | LICENSE \ |
|---|
| 49 | NOTICE \ |
|---|
| 50 | README \ |
|---|
| 51 | ${dest_doc} |
|---|
| 52 | |
|---|
| 53 | eval copy [glob ${worksrcpath}/example_*.py] ${dest_doc}/examples |
|---|
| 54 | } |
|---|
| 55 | } |
|---|
| 56 | |
|---|
| 57 | livecheck.type regex |
|---|
| 58 | livecheck.url [lindex ${master_sites} 0] |
|---|
| 59 | livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" |
|---|