Commits

reneeotten authored and Frank Schima committed 951499c5e04
py-blessings: update to 1.7, add py37

- update dependencies - use python.rootname, update livecheck - install files in post-destroot
No tags

python/py-blessings/Portfile

Modified
1 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 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 5
6 6 name py-blessings
7 -set real_name blessings
8 -version 1.6.1
7 +version 1.7
8 +revision 0
9 9 maintainers nomaintainer
10 -python.versions 27 34 35 36
10 +python.versions 27 34 35 36 37
11 11
12 12 description A thin, practical wrapper around terminal formatting, positioning, and more
13 13 long_description ${description}
14 14 platforms darwin
15 15 supported_archs noarch
16 16 license MIT
17 17
18 18 homepage https://github.com/erikrose/blessings
19 -master_sites pypi:b/${real_name}/
20 -distname ${real_name}-${version}
21 -checksums rmd160 56381887db40a66014ea3ce6ae2d9490c0669be4 \
22 - sha256 74919575885552e14bc24a68f8b539690bd1b5629180faa830b1a25b8c7fb6ea \
23 - size 20122
19 +master_sites pypi:b/${python.rootname}/
20 +distname ${python.rootname}-${version}
21 +checksums rmd160 684c638f95ece792dac0e7b5d65d9c139cdb88f4 \
22 + sha256 98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d \
23 + size 28194
24 24
25 25 if {${name} ne ${subport}} {
26 - depends_build port:py${python.version}-setuptools
26 + depends_build-append \
27 + port:py${python.version}-setuptools
28 +
29 + depends_lib-append \
30 + port:py${python.version}-six
31 +
32 + post-destroot {
33 + xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
34 + xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
35 + ${destroot}${prefix}/share/doc/${subport}
36 + }
37 +
38 + livecheck.type none
27 39 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut