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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | set _name radical.utils |
---|
8 | set _n [string index ${_name} 0] |
---|
9 | |
---|
10 | name py-radical-utils |
---|
11 | version 0.5.0 |
---|
12 | categories-append net parallel devel |
---|
13 | platforms darwin |
---|
14 | supported_archs noarch |
---|
15 | |
---|
16 | maintainers bo.ingv.it:Peter.Danecek openmaintainer |
---|
17 | |
---|
18 | license MIT |
---|
19 | |
---|
20 | description Shared code and tools for various Radical Group projects |
---|
21 | |
---|
22 | long_description This Python package contains shared code and tools for \ |
---|
23 | various Radical Group projects. Sometimes we call it the \ |
---|
24 | Radical Kitchen Sink. |
---|
25 | |
---|
26 | homepage https://github.com/saga-project/${_name}/ |
---|
27 | |
---|
28 | distname ${_name}-${version} |
---|
29 | master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ |
---|
30 | |
---|
31 | checksums md5 c9dc08c2e64cd104532890da6f4d9499 \ |
---|
32 | rmd160 d8503f87aada1ca145cebabcb6fe7b02bac4e8d8 \ |
---|
33 | sha256 4f2ae3abb049f3c08c0a7aa79e699ac767098cf19ba04df8009ccd0e8f4cbcec |
---|
34 | |
---|
35 | python.versions 26 27 |
---|
36 | |
---|
37 | if {${name} ne ${subport}} { |
---|
38 | depends_build-append port:py${python.version}-setuptools |
---|
39 | depends_lib-append port:py${python.version}-colorama |
---|
40 | |
---|
41 | # Adding documentation |
---|
42 | post-destroot { |
---|
43 | set dest_doc ${destroot}${prefix}/share/doc/${subport} |
---|
44 | xinstall -d ${dest_doc} |
---|
45 | xinstall -m 755 -W ${worksrcpath} \ |
---|
46 | CHANGES.md \ |
---|
47 | LICENSE.md \ |
---|
48 | README.md \ |
---|
49 | ${dest_doc} |
---|
50 | |
---|
51 | delete ${dest_doc}/examples |
---|
52 | copy ${worksrcpath}/examples ${dest_doc}/examples |
---|
53 | } |
---|
54 | } |
---|
55 | |
---|
56 | livecheck.type regex |
---|
57 | livecheck.url ${master_sites} |
---|
58 | livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" |
---|