117724f21a94ff32f773af4c37be88fe0d2970e3~suv# -*- 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
117724f21a94ff32f773af4c37be88fe0d2970e3~suv# $Id: Portfile 123950 2014-08-16 14:24:07Z jmr@macports.org $
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suvPortSystem 1.0
117724f21a94ff32f773af4c37be88fe0d2970e3~suvPortGroup python 1.0
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suvname py25-setuptools
117724f21a94ff32f773af4c37be88fe0d2970e3~suvversion 5.7
117724f21a94ff32f773af4c37be88fe0d2970e3~suvcategories-append devel
117724f21a94ff32f773af4c37be88fe0d2970e3~suvlicense {PSF ZPL}
117724f21a94ff32f773af4c37be88fe0d2970e3~suvmaintainers jmr openmaintainer
117724f21a94ff32f773af4c37be88fe0d2970e3~suvdescription distutils enhancement for build and distribution
117724f21a94ff32f773af4c37be88fe0d2970e3~suvlong_description \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv setuptools is a collection of enhancements to the Python distutils that \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv allow you to more easily build and distribute Python packages, \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv especially ones that have dependencies on other packages.
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suvplatforms darwin
117724f21a94ff32f773af4c37be88fe0d2970e3~suvsupported_archs noarch
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suvhomepage https://pypi.python.org/pypi/setuptools/
117724f21a94ff32f773af4c37be88fe0d2970e3~suvmaster_sites https://pypi.python.org/packages/source/s/setuptools/
117724f21a94ff32f773af4c37be88fe0d2970e3~suvdistname setuptools-${version}
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suvchecksums md5 81f980854a239d60d074d6ba052e21ed \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv rmd160 ee9eff6c77e6f27e22e2049a6685bb0e624f94b0 \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv sha256 a8bbdb2d67532c5b5cef5ba09553cea45d767378e42c7003347e53ebbe70f482
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suvpython.versions 25
117724f21a94ff32f773af4c37be88fe0d2970e3~suvpython.link_binaries no
117724f21a94ff32f773af4c37be88fe0d2970e3~suvpython.move_binaries no
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suvif {$subport eq $name} {
117724f21a94ff32f773af4c37be88fe0d2970e3~suv if {${python.version} == 25} {
117724f21a94ff32f773af4c37be88fe0d2970e3~suv version 1.4.2
117724f21a94ff32f773af4c37be88fe0d2970e3~suv revision 100
117724f21a94ff32f773af4c37be88fe0d2970e3~suv distname setuptools-${version}
117724f21a94ff32f773af4c37be88fe0d2970e3~suv checksums md5 13951be6711438073fbe50843e7f141f \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv rmd160 b48086a2aae718fe433a8c882d2d9209aa157b0a \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv sha256 263986a60a83aba790a5bffc7d009ac88114ba4e908e5c90e453b3bf2155dbbd
117724f21a94ff32f773af4c37be88fe0d2970e3~suv }
117724f21a94ff32f773af4c37be88fe0d2970e3~suv
117724f21a94ff32f773af4c37be88fe0d2970e3~suv post-destroot {
117724f21a94ff32f773af4c37be88fe0d2970e3~suv xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
117724f21a94ff32f773af4c37be88fe0d2970e3~suv xinstall -m 644 -W ${worksrcpath} CHANGES.txt \
117724f21a94ff32f773af4c37be88fe0d2970e3~suv DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${subport}
117724f21a94ff32f773af4c37be88fe0d2970e3~suv if {${python.version} <= 25} {
117724f21a94ff32f773af4c37be88fe0d2970e3~suv delete "${destroot}${prefix}/bin/easy_install"
117724f21a94ff32f773af4c37be88fe0d2970e3~suv } else {
117724f21a94ff32f773af4c37be88fe0d2970e3~suv ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/"
117724f21a94ff32f773af4c37be88fe0d2970e3~suv }
117724f21a94ff32f773af4c37be88fe0d2970e3~suv }
117724f21a94ff32f773af4c37be88fe0d2970e3~suv livecheck.type none
117724f21a94ff32f773af4c37be88fe0d2970e3~suv#} else {
117724f21a94ff32f773af4c37be88fe0d2970e3~suv# livecheck.type regex
117724f21a94ff32f773af4c37be88fe0d2970e3~suv# livecheck.url ${homepage}
117724f21a94ff32f773af4c37be88fe0d2970e3~suv# livecheck.regex setuptools/(\\d+(\\.\\d+)+)
117724f21a94ff32f773af4c37be88fe0d2970e3~suv}