[126377] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed Oct 8 21:54:33 PDT 2014


Revision: 126377
          https://trac.macports.org/changeset/126377
Author:   jmr at macports.org
Date:     2014-10-08 21:54:32 -0700 (Wed, 08 Oct 2014)
Log Message:
-----------
py27-novaclient: use unified python portgroup, use a proper version, correct license

Modified Paths:
--------------
    trunk/dports/python/py-novaclient/Portfile

Added Paths:
-----------
    trunk/dports/python/py-novaclient/

Removed Paths:
-------------
    trunk/dports/python/py27-novaclient/

Modified: trunk/dports/python/py-novaclient/Portfile
===================================================================
--- trunk/dports/python/py27-novaclient/Portfile	2014-10-09 03:58:40 UTC (rev 126372)
+++ trunk/dports/python/py-novaclient/Portfile	2014-10-09 04:54:32 UTC (rev 126377)
@@ -2,32 +2,32 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         python27 1.0
+PortGroup         python 1.0
 
-name              py27-novaclient
-distname          python-novaclient
-version           master
+name              py-novaclient
+version           2.20.0
 categories-append net
 platforms         darwin
 maintainers       nomaintainer
-license           Apache
+license           Apache-2
 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           git://github.com/openstack/python-novaclient.git
-git.branch        ${version}
+homepage          https://github.com/openstack/python-novaclient
+master_sites      ${homepage}/archive/
+distname          ${version}
+checksums         rmd160 a9513106de5a33bcd6e52d440d9b0d9f958b0478 \
+                  sha256 23384bd96d05c5fb276bb935f8b83d829cae5a2d0310196a97c65d35915711a5
+worksrcdir        python-novaclient-${version}
 
-depends_lib      port:py27-prettytable \
-                 port:py27-httplib2 \
-                 port:py27-simplejson \
-                 port:py27-iso8601
-pre-fetch {
-    ui_msg "-->  Fetching from git repository..."
+python.versions   27
+
+if {$subport ne $name} {
+    depends_lib      port:py${python.version}-prettytable \
+                     port:py${python.version}-httplib2 \
+                     port:py${python.version}-simplejson \
+                     port:py${python.version}-iso8601
 }
-
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141008/28c772e9/attachment.html>


More information about the macports-changes mailing list