[145602] trunk/dports/python/py-pep8-157

petr at macports.org petr at macports.org
Wed Feb 10 11:43:55 PST 2016


Revision: 145602
          https://trac.macports.org/changeset/145602
Author:   petr at macports.org
Date:     2016-02-10 11:43:54 -0800 (Wed, 10 Feb 2016)
Log Message:
-----------
py-pep8-157: make port obsolete, replaced by updated py-pep8, resolves 50513, see also #50576.

Added Paths:
-----------
    trunk/dports/python/py-pep8-157/Portfile

Removed Paths:
-------------
    trunk/dports/python/py-pep8-157/Portfile
    trunk/dports/python/py-pep8-157/files/

Deleted: trunk/dports/python/py-pep8-157/Portfile
===================================================================
--- trunk/dports/python/py-pep8-157/Portfile	2016-02-10 19:38:28 UTC (rev 145601)
+++ trunk/dports/python/py-pep8-157/Portfile	2016-02-10 19:43:54 UTC (rev 145602)
@@ -1,63 +0,0 @@
-# -*- 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
-PortGroup           select 1.0
-
-set realname        pep8
-
-name                py-pep8-157
-
-version             1.5.7
-categories-append   devel
-platforms           darwin
-supported_archs     noarch
-license             MIT
-maintainers         petr openmaintainer
-
-description         Python style guide checker
-long_description    \
-    pep8 is a tool to check your Python code against some of the style \
-    conventions in PEP 8 (http://www.python.org/dev/peps/pep-0008/). \
-    This port is pinned to version 1.5.7 required for compatibility with \
-    py-flake8.
-
-homepage            https://pypi.python.org/pypi/${realname}/
-
-master_sites        https://pypi.python.org/packages/source/p/${realname}/
-distname            ${realname}-${version}
-checksums           rmd160  21cb6831c8f239d86e46459f5e0e20cf4a4d95a2 \
-                    sha256  15b42131b25f376165d195fe4e17b0a28311182aaf9330d5eb575bbeda5a6989
-
-python.versions     27 34 35
-
-if {${name} ne ${subport}} {
-    depends_lib-append  port:py${python.version}-setuptools
-    depends_run-append  port:${realname}_select
-    select.group        ${realname}
-    select.file         ${filespath}/${realname}${python.version}
-
-    # To fix the the version conflict between py-flake8 and py-pep8, #47429,
-    # we need a clean corretion path, however py-pep8 and py-pep8-157 are 
-    # conflicting. 
-    pre-activate {
-        set port_c py${python.version}-pep8
-        set port_v 1.6.2
-        if {![catch {set installed [lindex [registry_active ${port_c}] 0]}]} {
-            set _version [lindex $installed 1]
-            if {[vercmp $_version ${port_v}] == 0} {
-                registry_deactivate_composite ${port_c} "" [list ports_nodepcheck 1]
-            }
-        }
-    }
-
-    notes "
-To make the Python ${python.branch} version of pep8 the one that is run\
-when you execute the commands without a version suffix, e.g. 'pep8', run:
-
-port select --set ${select.group} [file tail ${select.file}]
-"
-}
-
-livecheck.type  none

Added: trunk/dports/python/py-pep8-157/Portfile
===================================================================
--- trunk/dports/python/py-pep8-157/Portfile	                        (rev 0)
+++ trunk/dports/python/py-pep8-157/Portfile	2016-02-10 19:43:54 UTC (rev 145602)
@@ -0,0 +1,30 @@
+# -*- 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 realname        pep8
+
+name                py-pep8-157
+version             1.5.7
+revision            1
+replaced_by         py-pep8
+
+PortGroup           obsolete 1.0
+
+platforms           darwin
+supported_archs     noarch
+license             MIT
+maintainers         nomaintainer
+
+python.versions     27 34 35
+
+if {${name} ne ${subport}} {
+    depends_lib
+    replaced_by     py${python.version}-pep8
+
+    PortGroup       obsolete 1.0
+}
+
+livecheck.type  none


Property changes on: trunk/dports/python/py-pep8-157/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160210/1ebec037/attachment.html>


More information about the macports-changes mailing list