|
|
@@ -4,10 +4,11 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
name py-webtest |
|
|
version 2.0.29 |
|
|
python.versions 27 35 36 |
|
|
version 2.0.33 |
|
|
revision 0 |
|
|
maintainers nomaintainer |
|
|
platforms darwin |
|
|
supported_archs noarch |
|
|
|
|
|
description Helper to test WSGI applications |
|
|
long_description ${description} |
|
|
@@ -17,29 +18,37 @@ homepage https://pypi.python.org/pypi/WebTest/ |
|
|
distname WebTest-${version} |
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} |
|
|
|
|
|
checksums rmd160 6871665a7592f2f58bd273789330748185cd6d74 \ |
|
|
sha256 dbbccc15ac2465066c95dc3a7de0d30cde3791e886ccbd7e91d5d2a2580c922d \ |
|
|
size 74620 |
|
|
checksums rmd160 dedb6f6a0f7e58898c825e7cbcc6113781cf4a7f \ |
|
|
sha256 41348efe4323a647a239c31cde84e5e440d726ca4f449859264e538d39037fd0 \ |
|
|
size 76081 |
|
|
|
|
|
python.versions 27 35 36 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_build-append \ |
|
|
port:py${python.version}-setuptools |
|
|
|
|
|
depends_lib-append \ |
|
|
port:py${python.version}-beautifulsoup4 \ |
|
|
port:py${python.version}-six \ |
|
|
port:py${python.version}-waitress \ |
|
|
port:py${python.version}-webob |
|
|
|
|
|
depends_test-append \ |
|
|
port:py${python.version}-beautifulsoup4 \ |
|
|
port:py${python.version}-coverage \ |
|
|
port:py${python.version}-cssselect \ |
|
|
port:py${python.version}-funcsigs \ |
|
|
port:py${python.version}-mock \ |
|
|
port:py${python.version}-nose \ |
|
|
port:py${python.version}-pastedeploy \ |
|
|
port:py${python.version}-pbr \ |
|
|
port:py${python.version}-pyquery \ |
|
|
port:py${python.version}-six \ |
|
|
port:py${python.version}-waitress |
|
|
port:py${python.version}-pyquery |
|
|
# TODO: misisng test dependency WSGIProxy2 |
|
|
test.run yes |
|
|
|
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst license.rst \ |
|
|
CHANGELOG.rst contributing.md RELEASING.rst ${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} |