<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/410f8429a16de8c696bda97a1665d5ca3199cb2c">https://github.com/macports/macports-ports/commit/410f8429a16de8c696bda97a1665d5ca3199cb2c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 410f842 py-bottle: adopt, add py37, upgrade and misc improvements/fixes
</span>410f842 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 410f8429a16de8c696bda97a1665d5ca3199cb2c
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Wed Jul 4 23:03:41 2018 +0800
<span style='display:block; white-space:pre;color:#404040;'> py-bottle: adopt, add py37, upgrade and misc improvements/fixes
</span>---
python/py-bottle/Portfile | 23 +++++++++++++++++------
python/py-bottle/files/patch-fix-tests.diff | 12 ++++++++++++
2 files changed, 29 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-bottle/Portfile b/python/py-bottle/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 61515fe..0cf2ccd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-bottle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-bottle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span>
PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,11 +7,11 @@ set _name bottle
</span> set _n [string index ${_name} 0]
name py-${_name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.12.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.12.13
</span>
categories-append devel
license MIT
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {yan12125 @yan12125} openmaintainer
</span>
description Fast, simple and lightweight WSGI micro web-framework for python
long_description Bottle is a fast, simple and lightweight WSGI micro web-framework \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,12 +27,23 @@ homepage http://bottlepy.org/
</span> master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36 37
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 eef8c9d10ef39436aad0c776bf0bd23a5dcf15f8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 fe0a24b59385596d02df7ae7845fe7d7135eea73799d03348aeb9f3771500051
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 9acefd4abaaaeed1ca3cb90ec3e4d2d1df68e40b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 39b751aee0b167be8dffb63ca81b735bbf1dd0905b3bc42761efedee8f123355 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 70870
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/bottlepy/bottle/pull/795
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-fix-tests.diff
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd python${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target test/testall.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
} else {
livecheck.url https://pypi.python.org/pypi/${_name}/json
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-bottle/files/patch-fix-tests.diff b/python/py-bottle/files/patch-fix-tests.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..503e009
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-bottle/files/patch-fix-tests.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- test/test_environ.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ test/test_environ.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -640,7 +640,7 @@ def test_delete_cookie(self):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ response.delete_cookie('name')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cookies = [value for name, value in response.headerlist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if name.title() == 'Set-Cookie']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- self.assertTrue('name=;' in cookies[0])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ self.assertTrue('Max-Age=-1' in cookies[0])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def test_set_header(self):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ response = BaseResponse()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>