source: trunk/dports/python/py-setuptools/Portfile @ 140277

Last change on this file since 140277 was 140277, checked in by jmr@…, 5 years ago

py-setuptools: update to 18.3.1, add 35 subport (#47177)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 140277 2015-09-16 13:31:30Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-setuptools
8version             18.3.1
9categories-append   devel
10license             {PSF ZPL}
11maintainers         jmr openmaintainer
12description         distutils enhancement for build and distribution
13long_description \
14    setuptools is a collection of enhancements to the Python distutils that \
15    allow you to more easily build and distribute Python packages, \
16    especially ones that have dependencies on other packages.
17
18platforms           darwin
19supported_archs     noarch
20
21homepage            https://pypi.python.org/pypi/setuptools/
22master_sites        https://pypi.python.org/packages/source/s/setuptools/
23distname            setuptools-${version}
24
25checksums           md5    748187b93152fa60287dfb896837fd7c \
26                    rmd160 ca3ff17b13b49cc0710c2f92a611651f0073f08e \
27                    sha256 2fa230727104b07e522deec17929e84e041c9047e392c055347a02b0d5ca874d
28
29python.versions     26 27 33 34 35
30python.link_binaries no
31
32if {$subport ne $name} {
33    post-destroot {
34       xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
35       xinstall -m 644 -W ${worksrcpath} CHANGES.txt \
36          DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${subport}
37       ln -s ${python.prefix}/bin/easy_install-${python.branch} ${destroot}${prefix}/bin
38    }
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       ${homepage}
43    livecheck.regex     setuptools/(\\d+(\\.\\d+)+)
44}
Note: See TracBrowser for help on using the repository browser.