Skip to content
Permalink
Browse files

py-webtest: update to 2.0.33, add py37

- update dependencies
- install files in post-destroot
- add noarch
  • Loading branch information
reneeotten committed Apr 18, 2019
1 parent cdf6adf commit ae48cd6093499b170997c0b79b223f0a59548471
Showing with 21 additions and 12 deletions.
  1. +21 −12 python/py-webtest/Portfile
@@ -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
}

0 comments on commit ae48cd6

Please sign in to comment.
You can’t perform that action at this time.