Revision: 115502 https://trac.macports.org/changeset/115502 Author: mojca@macports.org Date: 2014-01-03 10:45:34 -0800 (Fri, 03 Jan 2014) Log Message: ----------- py-libcloud: new port (maintainer, #41781) Added Paths: ----------- trunk/dports/python/py-libcloud/ trunk/dports/python/py-libcloud/Portfile Added: trunk/dports/python/py-libcloud/Portfile =================================================================== --- trunk/dports/python/py-libcloud/Portfile (rev 0) +++ trunk/dports/python/py-libcloud/Portfile 2014-01-03 18:45:34 UTC (rev 115502) @@ -0,0 +1,59 @@ +# -*- 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 +# $Id$ + +PortSystem 1.0 +PortGroup python 1.0 + +set _name apache-libcloud +set _n [string index ${_name} 0] + +name py-libcloud +version 0.13.3 +categories-append net +platforms darwin +supported_archs noarch + +license ASL-2 + +maintainers bo.ingv.it:Peter.Danecek openmaintainer + +description Apache libcloud a unified interface into the cloud + +long_description \ + 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/ + +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 + +python.versions 26 27 32 33 34 + +if {${name} ne ${subport}} { + # 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 \ + ${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}<" Property changes on: trunk/dports/python/py-libcloud/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native
participants (1)
-
mojca@macports.org