Ticket #51998: new_Portfile_py-isort

File new_Portfile_py-isort, 1.3 KB (added by reneeotten (Renee Otten), 8 years ago)
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$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-isort
8version             4.2.5
9categories-append   devel
10platforms           darwin
11license             MIT
12
13maintainers         nomaintainer
14
15description         A Python utility / library to sort Python imports.
16
17long_description    isort is a Python utility / library to sort imports \
18                    alphabetically, and automatically separated into sections. \
19                    It provides a command line utility, Python library and \
20                    plugins for various editors to quickly sort all your \
21                    imports. It currently cleanly supports Python 2.6 - 3.5 \
22                    using pies to achieve this without ugly hacks and/or py2to3.
23
24homepage            https://github.com/timothycrosley/isort/
25master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
26distname            isort-${version}
27
28checksums           rmd160  bd8e921d3694dc258d36eb226ba6d575dcb4e55e \
29                    sha256  56b20044f43cf6e6783fe95d054e754acca52dd43fbe9277c1bdff835537ea5c
30
31python.versions     27 34 35
32
33if {${name} ne ${subport}} {
34    depends_build-append    port:py${python.version}-setuptools
35    livecheck.type  none
36} else {
37    livecheck.type  pypi
38}