[126520] trunk/dports/python

petr at macports.org petr at macports.org
Sat Oct 11 01:17:03 PDT 2014


Revision: 126520
          https://trac.macports.org/changeset/126520
Author:   petr at macports.org
Date:     2014-10-11 01:17:03 -0700 (Sat, 11 Oct 2014)
Log Message:
-----------
py-django-nose: update to 1.2, remove py{25,31,32}, add py34 subports, change license, add livecheck, update py-graveyard

Modified Paths:
--------------
    trunk/dports/python/py-django-nose/Portfile
    trunk/dports/python/py-graveyard/Portfile

Modified: trunk/dports/python/py-django-nose/Portfile
===================================================================
--- trunk/dports/python/py-django-nose/Portfile	2014-10-11 07:52:21 UTC (rev 126519)
+++ trunk/dports/python/py-django-nose/Portfile	2014-10-11 08:17:03 UTC (rev 126520)
@@ -3,25 +3,36 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-django-nose
-set real_name       django-nose
-version             0.1.3
-python.versions     25 26 27 31 32
-python.default_version 25
+set _name           django-nose
+set _n              [string index ${_name} 0]
+
+name                py-${_name}
+version             1.2
+python.versions     26 27 34
+
 categories-append   devel
 platforms           darwin
-license             GNU LGPL
+license             BSD
 maintainers         nomaintainer
+
 description         Django test runner that uses nose
 long_description    ${description}
 
-homepage            http://github.com/jbalogh/django-nose
-master_sites        http://pypi.python.org/packages/source/d/${real_name}
-distname            ${real_name}-${version}
-checksums           rmd160  5c3779679cc4475b104d742f638acf03dd7e84bd \
-                    sha256  c007569b8be981d7756fb4da5e4921d25a1a82601fc10e1b44fafa5eeebad495
+homepage            http://github.com/jbalogh/${_name}
+master_sites        http://pypi.python.org/packages/source/${_n}/${_name}
+distname            ${_name}-${version}
 
+checksums           md5     199d5358317a804b39fe05d806cab427 \
+                    rmd160  bdd535ec8bbd042eab00c47b605848ad67b14fdd \
+                    sha256  9aae16b562866a4ddaa5e8978729abadbbed544728d88e0b9c9af7b31dd072ed
+
 if {${name} ne ${subport}} {
     depends_lib     port:py${python.version}-django \
                     port:py${python.version}-nose
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   [lindex ${master_sites} 0]
+    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
 }

Modified: trunk/dports/python/py-graveyard/Portfile
===================================================================
--- trunk/dports/python/py-graveyard/Portfile	2014-10-11 07:52:21 UTC (rev 126519)
+++ trunk/dports/python/py-graveyard/Portfile	2014-10-11 08:17:03 UTC (rev 126520)
@@ -43,6 +43,7 @@
 creoleparser        0.7.4_1     25 26
 dap                 2.2.6.7_1   24 25 26
 des                 2.0.1_1     24 25 26 31 32
+django-nose         1.2         25 31 32
 markdown            2.4.1_1     26 31 32 33
 markdown2           2.1.0_1     24 25 26 31 32
 mimeparse           0.1.3_1     24 25 26 31 32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141011/ba9075f1/attachment.html>


More information about the macports-changes mailing list