[125909] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon Sep 29 03:14:23 PDT 2014


Revision: 125909
          https://trac.macports.org/changeset/125909
Author:   jmr at macports.org
Date:     2014-09-29 03:14:22 -0700 (Mon, 29 Sep 2014)
Log Message:
-----------
py26-tvnamer: use unified python portgroup, use a proper version, license, noarch

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-tvnamer/

Modified: trunk/dports/python/py-tvnamer/Portfile
===================================================================
--- trunk/dports/python/py26-tvnamer/Portfile	2014-09-29 06:23:16 UTC (rev 125907)
+++ trunk/dports/python/py-tvnamer/Portfile	2014-09-29 10:14:22 UTC (rev 125909)
@@ -2,23 +2,29 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-tvnamer
-version                 master
+name                    py-tvnamer
+version                 2.3
+license                 public-domain
 platforms               darwin
+supported_archs         noarch
 maintainers             nomaintainer
 description             Renames files in a standard way that's easily parsable \
                         For example, foo.bar.s02e03.m4v becomes \"foo bar \
                         \[02x03\].m4v
 long_description        ${description}
 
-homepage                http://github.com/dbr/tvnamer
-master_sites            ${homepage}
-distname                tvnamer-${version}
-fetch.type              git
-git.url                 git://github.com/dbr/tvnamer.git
-git.branch              ${version}
+homepage                https://github.com/dbr/tvnamer
+master_sites            ${homepage}/archive/
+distname                ${version}
+checksums               rmd160 d37cf8afecf4e52e1277b87463c7cbba382be7df \
+                        sha256 c28836f4c9263ee8ad6994788ad35f00e66fa1bd602e876364cd9b938f2843c8
+worksrcdir              tvnamer-${version}
 
-depends_lib             port:py26-tvdb \
-                        port:py26-simplejson
+python.versions         26
+
+if {$subport ne $name} {
+    depends_lib             port:py${python.version}-tvdb \
+                            port:py${python.version}-simplejson
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140929/cb325c98/attachment-0001.html>


More information about the macports-changes mailing list