Commits
Renee Otten authored b0c4254a9a7
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-iminuit |
7 7 | version 1.3.8 |
8 8 | revision 0 |
9 - | maintainers nomaintainer |
10 9 | |
11 10 | categories-append science |
12 - | description MINUIT from Python - Fitting like a boss |
13 - | long_description ${description} |
14 - | |
15 11 | platforms darwin |
16 12 | license LGPL |
13 + | maintainers nomaintainer |
14 + | |
15 + | description MINUIT from Python - Fitting like a boss |
16 + | long_description ${description} |
17 17 | |
18 18 | homepage https://iminuit.readthedocs.io/en/latest/ |
19 19 | master_sites pypi:i/iminuit/ |
20 20 | distname iminuit-${version} |
21 + | |
21 22 | checksums rmd160 49ac4486c695bb9389e0e9adc06a09b54e1a178f \ |
22 23 | sha256 ec7515a9dcb75b3a95563b12027f0e2543c6c2e0db3043248771a7576281e35d \ |
23 24 | size 496459 |
24 25 | |
25 26 | python.versions 27 35 36 37 38 |
26 27 | |
27 28 | if {${name} ne ${subport}} { |
28 29 | depends_build-append \ |
29 - | port:py${python.version}-setuptools \ |
30 - | port:py${python.version}-cython |
30 + | port:py${python.version}-setuptools \ |
31 + | port:py${python.version}-cython |
31 32 | |
32 - | depends_lib-append port:py${python.version}-numpy |
33 + | depends_lib-append \ |
34 + | port:py${python.version}-numpy |
33 35 | |
34 - | depends_test-append port:py${python.version}-pytest \ |
35 - | port:py${python.version}-pytest-runner |
36 + | depends_test-append \ |
37 + | port:py${python.version}-pytest \ |
38 + | port:py${python.version}-pytest-runner |
36 39 | |
37 40 | pre-test { |
38 41 | test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*] |
39 42 | } |
40 43 | test.run yes |
41 44 | test.target pytest |
42 45 | |
43 46 | post-destroot { |
44 47 | set docdir ${prefix}/share/doc/${subport} |
45 48 | xinstall -d ${destroot}${docdir} |