|
|
@@ -3,10 +3,9 @@ |
|
|
PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
set real_name supervisor |
|
|
|
|
|
name py-supervisor |
|
|
version 3.1.4 |
|
|
version 4.0.1 |
|
|
revision 0 |
|
|
platforms darwin |
|
|
supported_archs noarch |
|
|
license BSD ZPL-2.1 |
|
|
@@ -20,38 +19,27 @@ long_description \ |
|
|
|
|
|
homepage http://supervisord.org |
|
|
|
|
|
master_sites pypi:s/${real_name} |
|
|
master_sites pypi:s/${python.rootname} |
|
|
distname supervisor-${version} |
|
|
|
|
|
checksums rmd160 47f0fabb2f3298a28a9f49a8d09815a531d77c44 \ |
|
|
sha256 82f75089f719a7a3ca87f35c89a03c20fd3c0912552c96eb6fa40274ced6604e |
|
|
checksums rmd160 259962831368a94b193de888c0dfc3ddf7e1db7d \ |
|
|
sha256 3268709d7e3d4e728f88fd06a29215916e1e59ff5fad5fead9de856df6f98382 \ |
|
|
size 433742 |
|
|
|
|
|
python.versions 27 |
|
|
python.versions 27 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_lib-append port:py${python.version}-setuptools \ |
|
|
port:py${python.version}-elementtree \ |
|
|
port:py${python.version}-meld3 \ |
|
|
port:py${python.version}-medusa |
|
|
|
|
|
test.run yes |
|
|
depends_lib-append \ |
|
|
port:py${python.version}-meld3 \ |
|
|
port:py${python.version}-setuptools |
|
|
|
|
|
post-destroot { |
|
|
file delete -force ${destroot}${prefix}/doc |
|
|
xinstall -m 644 -W ${worksrcpath} \ |
|
|
README.rst \ |
|
|
CHANGES.txt \ |
|
|
COPYRIGHT.txt \ |
|
|
LICENSES.txt \ |
|
|
TODO.txt \ |
|
|
docs/plugins.rst \ |
|
|
supervisor/skel/sample.conf \ |
|
|
${destroot}${prefix}/share/doc/${subport} |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} CHANGES.rst COPYRIGHT.txt \ |
|
|
LICENSES.txt README.rst supervisor/skel/sample.conf \ |
|
|
docs/plugins.rst ${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} else { |
|
|
livecheck.type regex |
|
|
livecheck.url https://pypi.python.org/pypi/${real_name}/json |
|
|
livecheck.regex "\"${real_name}-(\[.\\d\]+)\\${extract.suffix}\"" |
|
|
} |