Permalink
Browse files
new port: python/py-hurry.filesize
takes a byte size and returns a human readable string
- Loading branch information
| @@ -0,0 +1,35 @@ | ||
| # -*- 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 | ||
|
|
||
| PortSystem 1.0 | ||
| PortGroup python 1.0 | ||
| PortGroup github 1.0 | ||
|
|
||
| set real_name hurry.filesize | ||
| name py-${real_name} | ||
| version 0.9 | ||
| platforms darwin | ||
| supported_archs noarch | ||
| license ZPL-2.1 | ||
| maintainers nomaintainer | ||
|
|
||
| homepage https://pypi.python.org/pypi/${real_name} | ||
| master_sites pypi:h/${real_name} | ||
| distname ${real_name}-${version} | ||
|
|
||
| description Bytes to human-readable sizes | ||
| long_description \ | ||
| hurry.filesize a simple Python library that can take a number of \ | ||
| bytes and returns a human-readable string with the size in it, in \ | ||
| kilobytes (K), megabytes (M), etc. | ||
|
|
||
| checksums rmd160 ec6d4accdb682361df70ced334c8032a34146e60 \ | ||
| sha256 f5368329adbef86accd3bc9490522340bb79260455ae89b1a42c10f63801b9a6 \ | ||
| size 2810 | ||
|
|
||
| python.versions 27 | ||
|
|
||
| if {${name} ne ${subport}} { | ||
| depends_build-append port:py${python.version}-setuptools | ||
| } | ||
|
|
||
| livecheck.type none |