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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | set base_name awesome-slugify |
---|
7 | name py-awesome_slugify |
---|
8 | version 1.6.5 |
---|
9 | python.versions 27 33 34 35 36 |
---|
10 | categories-append textproc |
---|
11 | platforms darwin |
---|
12 | maintainers @esafak |
---|
13 | license GPL-3 |
---|
14 | |
---|
15 | description Flexible slugify function |
---|
16 | long_description ${description} |
---|
17 | |
---|
18 | homepage https://pypi.python.org/pypi/$base_name |
---|
19 | master_sites pypi:a/$base_name |
---|
20 | |
---|
21 | checksums rmd160 b7faf1a2205e60d807b105819d555cefc9182bda \ |
---|
22 | sha256 bbdec3fa2187917473a2efad092b57f7125a55f841a7cf6a1773178d32ccfd71 |
---|
23 | |
---|
24 | distname ${base_name}-${version} |
---|
25 | |
---|
26 | if {${name} ne ${subport}} { |
---|
27 | livecheck.type none |
---|
28 | |
---|
29 | depends_build-append port:py${python.version}-setuptools |
---|
30 | |
---|
31 | depends_lib-append port:py${python.version}-nose \ |
---|
32 | port:py${python.version}-regex \ |
---|
33 | port:py${python.version}-unidecode |
---|
34 | } else { |
---|
35 | livecheck.type regex |
---|
36 | livecheck.url ${homepage} |
---|
37 | livecheck.regex $base_name (\\d+(\\.\\d+)+) |
---|
38 | } |
---|