diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-12-15 13:13:44 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-12-15 13:13:44 +0000 |
| commit | 9a4a4f948ece0cdd0aa7a65904ad8457f6453e09 (patch) | |
| tree | 3036055a8cb8f8c182ca360ace55f5361f1801b5 /packaging/macosx/ports/python/py26-setuptools | |
| parent | Add rotate nodes parameter (diff) | |
| download | inkscape-9a4a4f948ece0cdd0aa7a65904ad8457f6453e09.tar.gz inkscape-9a4a4f948ece0cdd0aa7a65904ad8457f6453e09.zip | |
packaging/macosx: update local python ports (MacPorts drops support for Python 2.5 and 2.6)
(bzr r13798.1.1)
Diffstat (limited to 'packaging/macosx/ports/python/py26-setuptools')
| -rw-r--r-- | packaging/macosx/ports/python/py26-setuptools/Portfile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/packaging/macosx/ports/python/py26-setuptools/Portfile b/packaging/macosx/ports/python/py26-setuptools/Portfile new file mode 100644 index 000000000..054d9a6b5 --- /dev/null +++ b/packaging/macosx/ports/python/py26-setuptools/Portfile @@ -0,0 +1,61 @@ +# -*- 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: Portfile 125953 2014-09-30 10:58:10Z jmr@macports.org $ + +PortSystem 1.0 +PortGroup python 1.0 + +name py-setuptools +version 6.0.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 b79fab610e362fe8e3a9cb92fb9d95ef \ + rmd160 5040f99a8ee3cd5b4040dc1e0a4d7cd9d5e7f7b1 \ + sha256 7029f6ca93e6a78112f1f621f79cab1a611901697a4c131bc5ef2f7a429825f7 + +python.versions 26 +python.version 26 +python.link_binaries no +python.move_binaries no + +if {$subport eq $name} { + + revision 100 + + if {${python.version} <= 25} { + version 1.4.2 + distname setuptools-${version} + checksums md5 13951be6711438073fbe50843e7f141f \ + rmd160 b48086a2aae718fe433a8c882d2d9209aa157b0a \ + sha256 263986a60a83aba790a5bffc7d009ac88114ba4e908e5c90e453b3bf2155dbbd + } + + post-destroot { + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} + xinstall -m 644 -W ${worksrcpath} CHANGES.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/" + } + } + livecheck.type none +#} else { +# livecheck.type regex +# livecheck.url ${homepage} +# livecheck.regex setuptools/(\\d+(\\.\\d+)+) +} |
