[87808] trunk/dports/python

Ryan Schmidt ryandesign at macports.org
Sun Dec 11 16:17:50 PST 2011


On Dec 6, 2011, at 23:48, jameskyle at macports.org wrote:

> Revision: 87808
>          http://trac.macports.org/changeset/87808
> Author:   jameskyle at macports.org
> Date:     2011-12-06 21:48:36 -0800 (Tue, 06 Dec 2011)
> Log Message:
> -----------
> Added client for nova api
> 
> Added Paths:
> -----------
>    trunk/dports/python/py27-novaclient/
>    trunk/dports/python/py27-novaclient/Portfile
> 
> Added: trunk/dports/python/py27-novaclient/Portfile
> ===================================================================
> --- trunk/dports/python/py27-novaclient/Portfile	                        (rev 0)
> +++ trunk/dports/python/py27-novaclient/Portfile	2011-12-07 05:48:36 UTC (rev 87808)
> @@ -0,0 +1,29 @@
> +# -*- 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         python27 1.0
> +
> +name              py27-novaclient
> +distname          python-novaclient
> +version           master

"master" is not an acceptable version. Indicate which specific version is being built, then make the port build that version.


> +categories        python net
> +platforms         darwin
> +maintainers       nomaintainer
> +license           Apache
> +supported_archs   noarch
> +
> +description       Command line for openstack api
> +long_description  This is a client for the OpenStack Nova API. There's a Python \
> +                  API (the novaclient module), and a command-line script (nova). \
> +                  Each implements 100% of the OpenStack Nova API.
> +homepage          https://github.com/rackspace/python-novaclient
> +fetch.type        git
> +git.url           https://github.com/rackspace/${distname}.git
> +git.branch        ${version}
> +
> +pre-fetch {
> +    ui_msg "-->  Fetching from git repository..."
> +}

There is no need to print such a message; if there were, it should be done by MacPorts base, not by each individual port that uses git.




More information about the macports-dev mailing list