Commits
reneeotten authored and Frank Schima committed 56672605aa8
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-managesieve |
7 - | version 0.4.2 |
8 - | categories python mail |
9 - | license {PSF GPL} |
7 + | version 0.6 |
8 + | revision 0 |
9 + | categories-append mail |
10 + | license {PSF GPL-3} |
10 11 | platforms darwin freebsd |
11 12 | supported_archs noarch |
12 13 | maintainers nomaintainer |
13 14 | |
14 15 | description Protocol for remotely managing Sieve scripts |
15 16 | long_description A Protocol for remotely managing Sieve Scripts. A \ |
16 17 | MANGAGESIEVE client library for remotely managing \ |
17 18 | Sieve scripts, including an interactive sieveshell. |
18 19 | |
19 - | homepage https://packages.python.org/managesieve/ |
20 + | homepage https://managesieve.readthedocs.io/ |
20 21 | master_sites pypi:m/managesieve/ |
21 22 | distname managesieve-${version} |
22 - | use_bzip2 yes |
23 - | checksums md5 c252b3d06dc3419dcf3bff815f485b7a \ |
24 - | sha1 39ab53e80a039df8b1213d8cb636580a22f2fec7 \ |
25 - | rmd160 c1a2753ea5276a3807160ca70bd5b1ff452c8ba6 |
23 + | checksums rmd160 aa42c2f1a7cc16e36eb59b4a9d23351b83b45c26 \ |
24 + | sha256 ee70e298e9b68eb81f93d52a1320a034fdc182f3927fdd551836fc93b0ed2c5f \ |
25 + | size 54013 |
26 26 | |
27 - | python.versions 27 |
27 + | python.versions 27 37 |
28 28 | |
29 29 | if {${name} ne ${subport}} { |
30 - | depends_build port:py${python.version}-setuptools |
30 + | depends_build-append \ |
31 + | port:py${python.version}-setuptools \ |
32 + | port:py${python.version}-pytest-runner |
33 + | |
31 34 | post-destroot { |
32 - | xinstall -m 644 -W ${worksrcpath} draft-martin-managesieve-07.txt \ |
33 - | HISTORY README TODO ${destroot}${prefix}/share/doc/${subport} |
35 + | set docdir ${prefix}/share/doc/${subport} |
36 + | xinstall -d ${destroot}${docdir} |
37 + | xinstall -m 0644 -W ${worksrcpath} README.txt \ |
38 + | TODO HISTORY ${destroot}${docdir} |
34 39 | } |
40 + | |
41 + | depends_test-append \ |
42 + | port:py${python.version}-pytest |
43 + | test.run yes |
44 + | test.cmd py.test-${python.branch} |
45 + | test.target |
46 + | test.env PYTHONPATH=${worksrcpath}/build/lib |
47 + | |
48 + | |
49 + | livecheck.type none |
35 50 | } |