[106910] trunk/dports/python/py-setuptools

jmr at macports.org jmr at macports.org
Tue Jun 11 06:14:23 PDT 2013


Revision: 106910
          https://trac.macports.org/changeset/106910
Author:   jmr at macports.org
Date:     2013-06-11 06:14:23 -0700 (Tue, 11 Jun 2013)
Log Message:
-----------
py-setuptools: update to 0.7.2 (#39237), now merged with distribute upstream

Added Paths:
-----------
    trunk/dports/python/py-setuptools/Portfile

Removed Paths:
-------------
    trunk/dports/python/py-setuptools/Portfile

Deleted: trunk/dports/python/py-setuptools/Portfile
===================================================================
--- trunk/dports/python/py-setuptools/Portfile	2013-06-11 11:06:20 UTC (rev 106909)
+++ trunk/dports/python/py-setuptools/Portfile	2013-06-11 13:14:23 UTC (rev 106910)
@@ -1,29 +0,0 @@
-# $Id$
-
-PortSystem			1.0
-
-name				py-setuptools
-replaced_by         py24-distribute
-version				0.6c11
-revision            1
-categories      	python devel
-maintainers			nomaintainer
-description			distutils enhancement for build and distribution
-long_description \
-	setuptools is a collection of enhancements to the Python distutils that \
-	allow you to more easily build and distribute Python packages, \
-	especially ones that have dependencies on other packages.
-
-platforms			darwin
-
-homepage			http://peak.telecommunity.com/DevCenter/setuptools
-distfiles
-archive_sites
-
-use_configure	no
-pre-configure {
-    ui_error "${name} has been replaced by ${replaced_by}. Please install ${replaced_by} instead."
-    return -code error "obsolete port"
-}
-
-livecheck.type      none

Copied: trunk/dports/python/py-setuptools/Portfile (from rev 106905, trunk/dports/python/py-distribute/Portfile)
===================================================================
--- trunk/dports/python/py-setuptools/Portfile	                        (rev 0)
+++ trunk/dports/python/py-setuptools/Portfile	2013-06-11 13:14:23 UTC (rev 106910)
@@ -0,0 +1,53 @@
+# -*- 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
+
+name                py-setuptools
+version             0.7.2
+categories-append   devel
+license             {PSF ZPL}
+maintainers         jmr openmaintainer
+description         distutils enhancement for build and distribution
+long_description \
+    setuptools is a collection of enhancements to the Python distutils that \
+    allow you to more easily build and distribute Python packages, \
+    especially ones that have dependencies on other packages.
+
+platforms           darwin
+supported_archs     noarch
+
+homepage            https://pypi.python.org/pypi/setuptools/
+master_sites        https://pypi.python.org/packages/source/s/setuptools/
+distname            setuptools-${version}
+
+checksums           md5    de44cd90f8a1c713d6c2bff67bbca65d \
+                    rmd160 f9a740efa19994855853223f3f59954a47e38744 \
+                    sha256 ebca524b7fcc122e4eb9b5304c34e0fdedfb5e66dcebd642aeb0670ae464fc9a
+
+python.versions     24 25 26 27 31 32 33
+python.default_version 27
+python.link_binaries no
+python.move_binaries no
+
+if {$subport != $name} {
+    post-destroot {
+       xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+       xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \
+          DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${subport}
+       if {${python.version} <= 25} {
+          delete "${destroot}${prefix}/bin/easy_install"
+       } else {
+          ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/"
+       }
+       foreach exe [glob -directory "${destroot}${python.pkgd}/setuptools" *.exe] {
+          file delete $exe
+       }
+    }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}
+    livecheck.regex     setuptools/(\\d+(\\.\\d+)+)
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130611/26ca0663/attachment.html>


More information about the macports-changes mailing list